Home
last modified time | relevance | path

Searched refs:peer_cfg (Results 1 – 18 of 18) sorted by relevance

/system/bt/stack/l2cap/
Dl2c_fcr.cc268 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in l2c_fcr_is_flow_controlled()
272 p_ccb->peer_cfg.fcr.tx_win_sz)) { in l2c_fcr_is_flow_controlled()
318 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in prepare_I_frame()
373 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame()
782 p_ccb->local_cid, p_ccb->fcrb.num_tries, p_ccb->peer_cfg.fcr.max_transmit, in l2c_fcr_proc_tout()
785 if ((p_ccb->peer_cfg.fcr.max_transmit != 0) && in l2c_fcr_proc_tout()
786 (++p_ccb->fcrb.num_tries > p_ccb->peer_cfg.fcr.max_transmit)) { in l2c_fcr_proc_tout()
1273 (p_ccb->peer_cfg.fcr.max_transmit != 0) && in retransmit_i_frames()
1274 (p_ccb->fcrb.num_tries >= p_ccb->peer_cfg.fcr.max_transmit)) { in retransmit_i_frames()
1279 p_ccb->peer_cfg.fcr.max_transmit, in retransmit_i_frames()
[all …]
Dl2c_utils.cc902 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) { in l2cu_send_peer_disc_req()
1406 memset(&p_ccb->peer_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in l2cu_allocate_ccb()
1409 p_ccb->our_cfg.flush_to = p_ccb->peer_cfg.flush_to = L2CAP_NO_AUTOMATIC_FLUSH; in l2cu_allocate_ccb()
1410 p_ccb->our_cfg.mtu = p_ccb->peer_cfg.mtu = L2CAP_DEFAULT_MTU; in l2cu_allocate_ccb()
1411 p_ccb->our_cfg.qos.service_type = p_ccb->peer_cfg.qos.service_type = in l2cu_allocate_ccb()
1413 p_ccb->our_cfg.qos.token_rate = p_ccb->peer_cfg.qos.token_rate = in l2cu_allocate_ccb()
1415 p_ccb->our_cfg.qos.token_bucket_size = p_ccb->peer_cfg.qos.token_bucket_size = in l2cu_allocate_ccb()
1417 p_ccb->our_cfg.qos.peak_bandwidth = p_ccb->peer_cfg.qos.peak_bandwidth = in l2cu_allocate_ccb()
1419 p_ccb->our_cfg.qos.latency = p_ccb->peer_cfg.qos.latency = in l2cu_allocate_ccb()
1421 p_ccb->our_cfg.qos.delay_variation = p_ccb->peer_cfg.qos.delay_variation = in l2cu_allocate_ccb()
[all …]
Dl2c_csm.cc99 p_ccb->local_cid, p_ccb->connection_initiator, &p_ccb->peer_cfg); in l2c_csm_indicate_connection_open()
487 p_ccb->peer_cfg.mtu, p_ccb->remote_id); in l2c_csm_term_w4_sec_comp()
971 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) { in l2c_csm_config()
1059 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) { in l2c_csm_config()
1203 p_ccb->peer_cfg.mtu_present = false; in l2c_csm_open()
1204 p_ccb->peer_cfg.flush_to_present = false; in l2c_csm_open()
1205 p_ccb->peer_cfg.qos_present = false; in l2c_csm_open()
1299 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_csm_open()
1557 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2c_enqueue_peer_data()
Dl2c_link.cc736 p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, p_ccb->ccb_priority, in l2c_link_adjust_chnl_allocation()
1429 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2cu_get_next_channel_in_rr()
1436 if ((p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && in l2cu_get_next_channel_in_rr()
1494 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2cu_get_next_buffer_to_send()
1502 if ((p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && in l2cu_get_next_buffer_to_send()
1551 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2cu_get_next_buffer_to_send()
1564 (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE)) in l2cu_get_next_buffer_to_send()
Dl2c_api.cc598 bool L2CA_GetPeerLECocConfig(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument
600 return bluetooth::shim::L2CA_GetPeerLECocConfig(lcid, peer_cfg); in L2CA_GetPeerLECocConfig()
611 if (peer_cfg != NULL) in L2CA_GetPeerLECocConfig()
612 memcpy(peer_cfg, &p_ccb->peer_conn_cfg, sizeof(tL2CAP_LE_CFG_INFO)); in L2CA_GetPeerLECocConfig()
1572 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) { in L2CA_FlushChannel()
Dl2c_main.cc204 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data()
233 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data()
1017 mtu = p_ccb->peer_cfg.mtu; in l2c_data_write()
Dl2c_ble.cc595 temp_p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
719 temp_p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
920 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
976 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
Dl2c_int.h325 tL2CAP_CFG_INFO peer_cfg; /* Peer's saved configuration options */ member
/system/bt/stack/test/common/
Dmock_l2cap_layer.cc91 tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_ReconfigCreditBasedConnsReq() argument
92 return l2cap_interface->ReconfigCreditBasedConnsReq(bd_addr, lcids, peer_cfg); in L2CA_ReconfigCreditBasedConnsReq()
Dmock_l2cap_layer.h51 tL2CAP_LE_CFG_INFO* peer_cfg) = 0;
84 … bool(const RawAddress& p_bd_addr, std::vector<uint16_t> &lcids, tL2CAP_LE_CFG_INFO* peer_cfg));
Dmock_main_shim_l2c_api.cc66 tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument
/system/bt/test/mock/
Dmock_stack_l2cap_api.h200 std::function<bool(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg)> body{
201 [](uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg) { return false; }};
202 bool operator()(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg) { in operator()
203 return body(lcid, peer_cfg); in operator()
Dmock_main_shim_l2cap_api.h550 std::function<bool(uint16_t cid, tL2CAP_LE_CFG_INFO* peer_cfg)> body{
551 [](uint16_t cid, tL2CAP_LE_CFG_INFO* peer_cfg) { return false; }};
552 bool operator()(uint16_t cid, tL2CAP_LE_CFG_INFO* peer_cfg) { in operator()
553 return body(cid, peer_cfg); in operator()
Dmock_stack_l2cap_api.cc162 bool L2CA_GetPeerLECocConfig(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument
164 return test::mock::stack_l2cap_api::L2CA_GetPeerLECocConfig(lcid, peer_cfg); in L2CA_GetPeerLECocConfig()
Dmock_main_shim_l2cap_api.cc325 tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument
328 peer_cfg); in L2CA_GetPeerLECocConfig()
/system/bt/main/shim/
Dl2c_api.h151 bool L2CA_GetPeerLECocConfig(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg);
Dl2c_api.cc1538 bool L2CA_GetPeerLECocConfig(uint16_t cid, tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument
1549 peer_cfg->mtu = mtu; in L2CA_GetPeerLECocConfig()
/system/bt/stack/include/
Dl2c_api.h468 tL2CAP_LE_CFG_INFO* peer_cfg);