Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_fcr.cc267 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in l2c_fcr_is_flow_controlled()
271 p_ccb->peer_cfg.fcr.tx_win_sz)) { in l2c_fcr_is_flow_controlled()
317 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { in prepare_I_frame()
372 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame()
787 p_ccb->local_cid, p_ccb->fcrb.num_tries, p_ccb->peer_cfg.fcr.max_transmit, in l2c_fcr_proc_tout()
790 if ((p_ccb->peer_cfg.fcr.max_transmit != 0) && in l2c_fcr_proc_tout()
791 (++p_ccb->fcrb.num_tries > p_ccb->peer_cfg.fcr.max_transmit)) { in l2c_fcr_proc_tout()
1278 (p_ccb->peer_cfg.fcr.max_transmit != 0) && in retransmit_i_frames()
1279 (p_ccb->fcrb.num_tries >= p_ccb->peer_cfg.fcr.max_transmit)) { in retransmit_i_frames()
1284 p_ccb->peer_cfg.fcr.max_transmit, in retransmit_i_frames()
[all …]
Dl2c_utils.cc899 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) { in l2cu_send_peer_disc_req()
1404 memset(&p_ccb->peer_cfg, 0, sizeof(tL2CAP_CFG_INFO)); in l2cu_allocate_ccb()
1407 p_ccb->our_cfg.flush_to = p_ccb->peer_cfg.flush_to = L2CAP_NO_AUTOMATIC_FLUSH; in l2cu_allocate_ccb()
1408 p_ccb->our_cfg.mtu = p_ccb->peer_cfg.mtu = L2CAP_DEFAULT_MTU; in l2cu_allocate_ccb()
1409 p_ccb->our_cfg.qos.service_type = p_ccb->peer_cfg.qos.service_type = in l2cu_allocate_ccb()
1411 p_ccb->our_cfg.qos.token_rate = p_ccb->peer_cfg.qos.token_rate = in l2cu_allocate_ccb()
1413 p_ccb->our_cfg.qos.token_bucket_size = p_ccb->peer_cfg.qos.token_bucket_size = in l2cu_allocate_ccb()
1415 p_ccb->our_cfg.qos.peak_bandwidth = p_ccb->peer_cfg.qos.peak_bandwidth = in l2cu_allocate_ccb()
1417 p_ccb->our_cfg.qos.latency = p_ccb->peer_cfg.qos.latency = in l2cu_allocate_ccb()
1419 p_ccb->our_cfg.qos.delay_variation = p_ccb->peer_cfg.qos.delay_variation = in l2cu_allocate_ccb()
[all …]
Dl2c_link.cc706 p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, p_ccb->ccb_priority, in l2c_link_adjust_chnl_allocation()
1223 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2cu_get_next_channel_in_rr()
1230 if ((p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && in l2cu_get_next_channel_in_rr()
1291 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2cu_get_next_buffer_to_send()
1299 if ((p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && in l2cu_get_next_buffer_to_send()
1353 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2cu_get_next_buffer_to_send()
1366 (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE)) in l2cu_get_next_buffer_to_send()
Dl2c_csm.cc116 p_ccb->local_cid, p_ccb->connection_initiator, &p_ccb->peer_cfg); in l2c_csm_indicate_connection_open()
1077 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) { in l2c_csm_config()
1119 p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE); in l2c_csm_config()
1176 if (p_ccb->our_cfg.fcr.mode != p_ccb->peer_cfg.fcr.mode) { in l2c_csm_config()
1203 p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE); in l2c_csm_config()
1333 p_ccb->peer_cfg.mtu_present = false; in l2c_csm_open()
1334 p_ccb->peer_cfg.flush_to_present = false; in l2c_csm_open()
1335 p_ccb->peer_cfg.qos_present = false; in l2c_csm_open()
1451 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in l2c_csm_open()
1731 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2c_enqueue_peer_data()
Dl2c_main.cc174 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data()
203 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE) in l2c_rcv_acl_data()
924 mtu = p_ccb->peer_cfg.mtu; in l2c_data_write()
Dl2c_ble.cc441 temp_p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
592 temp_p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
789 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
841 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
Dl2c_api.cc606 bool L2CA_GetPeerLECocConfig(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument
615 if (peer_cfg != NULL) in L2CA_GetPeerLECocConfig()
616 memcpy(peer_cfg, &p_ccb->peer_conn_cfg, sizeof(tL2CAP_LE_CFG_INFO)); in L2CA_GetPeerLECocConfig()
1580 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) { in L2CA_FlushChannel()
Dl2c_int.h318 tL2CAP_CFG_INFO peer_cfg; /* Peer's saved configuration options */ member
/packages/modules/Bluetooth/system/stack/test/common/
Dmock_l2cap_layer.cc101 tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_ReconfigCreditBasedConnsReq() argument
102 return l2cap_interface->ReconfigCreditBasedConnsReq(bd_addr, lcids, peer_cfg); in L2CA_ReconfigCreditBasedConnsReq()
Dmock_l2cap_layer.h55 tL2CAP_LE_CFG_INFO* peer_cfg) = 0;
90 … bool(const RawAddress& p_bd_addr, std::vector<uint16_t> &lcids, tL2CAP_LE_CFG_INFO* peer_cfg));
/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_l2cap_api.h512 std::function<bool(uint16_t cid, tL2CAP_LE_CFG_INFO* peer_cfg)> body{
513 [](uint16_t cid, tL2CAP_LE_CFG_INFO* peer_cfg) { return false; }};
514 bool operator()(uint16_t cid, tL2CAP_LE_CFG_INFO* peer_cfg) { in operator()
515 return body(cid, peer_cfg); in operator()
Dmock_stack_l2cap_api.h185 std::function<bool(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg)> body{
189 bool operator()(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg) { in operator()
190 return body(lcid, peer_cfg); in operator()
Dmock_stack_l2cap_api.cc143 bool L2CA_GetPeerLECocConfig(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument
145 return test::mock::stack_l2cap_api::L2CA_GetPeerLECocConfig(lcid, peer_cfg); in L2CA_GetPeerLECocConfig()
/packages/modules/Bluetooth/system/main/shim/
Dl2c_api.h152 bool L2CA_GetPeerLECocConfig(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg);
/packages/modules/Bluetooth/system/stack/test/
Dstack_l2cap_test.cc137 .peer_cfg = {}, // tL2CAP_CFG_INFO Peer's saved configuration options
/packages/modules/Bluetooth/system/stack/include/
Dl2c_api.h502 tL2CAP_LE_CFG_INFO* peer_cfg);