/aosp12/system/bt/stack/l2cap/ |
H A D | l2c_fcr.cc | 268 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() 373 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) in prepare_I_frame() 785 if ((p_ccb->peer_cfg.fcr.max_transmit != 0) && in l2c_fcr_proc_tout() 1273 (p_ccb->peer_cfg.fcr.max_transmit != 0) && in retransmit_i_frames() 1279 p_ccb->peer_cfg.fcr.max_transmit, in retransmit_i_frames() 1675 p_cfg->fcr.mode = p_ccb->peer_cfg.fcr.mode; in l2c_fcr_adj_our_rsp_options() 1678 p_cfg->fcr.mps = p_ccb->peer_cfg.fcr.mps; in l2c_fcr_adj_our_rsp_options() 1841 p_ccb->peer_cfg.fcs = p_cfg->fcs; in l2c_fcr_process_peer_cfg_req() 1850 p_cfg->fcr.mps = p_ccb->peer_cfg.mtu; in l2c_fcr_process_peer_cfg_req() [all …]
|
H A D | l2c_utils.cc | 1830 p_ccb->peer_cfg.mtu = p_cfg->mtu; in l2cu_process_peer_cfg_req() 1831 p_ccb->peer_cfg.mtu_present = true; in l2cu_process_peer_cfg_req() 1841 p_cfg->mtu = p_ccb->peer_cfg.mtu; in l2cu_process_peer_cfg_req() 1851 p_ccb->peer_cfg.flush_to_present = true; in l2cu_process_peer_cfg_req() 1856 else if (p_ccb->peer_cfg.flush_to_present && in l2cu_process_peer_cfg_req() 1868 p_ccb->peer_cfg.qos = p_cfg->qos; in l2cu_process_peer_cfg_req() 1869 p_ccb->peer_cfg.qos_present = true; in l2cu_process_peer_cfg_req() 1879 p_cfg->qos = p_ccb->peer_cfg.qos; in l2cu_process_peer_cfg_req() 2009 p_ccb->peer_cfg.qos = p_cfg->qos; in l2cu_process_our_cfg_rsp() 2367 packet_size, p_ccb->peer_cfg.fcr.mps); in l2cu_adjust_out_mps() [all …]
|
H A D | l2c_csm.cc | 99 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()
|
H A D | l2c_link.cc | 736 p_ccb->local_cid, p_ccb->peer_cfg.fcr.mode, p_ccb->ccb_priority, in l2c_link_adjust_chnl_allocation() 1433 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2cu_get_next_channel_in_rr() 1440 if ((p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && in l2cu_get_next_channel_in_rr() 1498 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2cu_get_next_buffer_to_send() 1506 if ((p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) && in l2cu_get_next_buffer_to_send() 1555 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE) { in l2cu_get_next_buffer_to_send() 1568 (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE)) in l2cu_get_next_buffer_to_send()
|
H A D | l2c_api.cc | 598 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()
|
H A D | l2c_main.cc | 204 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()
|
H A D | l2c_ble.cc | 595 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() 925 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd() 981 p_ccb->peer_cfg.fcr.mode = L2CAP_FCR_LE_COC_MODE; in l2cble_process_sig_cmd()
|
H A D | l2c_int.h | 325 tL2CAP_CFG_INFO peer_cfg; /* Peer's saved configuration options */ member
|
/aosp12/system/bt/stack/test/common/ |
H A D | mock_l2cap_layer.cc | 91 tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_ReconfigCreditBasedConnsReq() argument 92 return l2cap_interface->ReconfigCreditBasedConnsReq(bd_addr, lcids, peer_cfg); in L2CA_ReconfigCreditBasedConnsReq()
|
H A D | mock_l2cap_layer.h | 51 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));
|
H A D | mock_main_shim_l2c_api.cc | 66 tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument
|
/aosp12/system/bt/test/mock/ |
H A D | mock_stack_l2cap_api.h | 200 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()
|
H A D | mock_main_shim_l2cap_api.h | 550 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()
|
H A D | mock_stack_l2cap_api.cc | 162 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()
|
H A D | mock_main_shim_l2cap_api.cc | 325 tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument 328 peer_cfg); in L2CA_GetPeerLECocConfig()
|
/aosp12/system/bt/main/shim/ |
H A D | l2c_api.h | 151 bool L2CA_GetPeerLECocConfig(uint16_t lcid, tL2CAP_LE_CFG_INFO* peer_cfg);
|
H A D | l2c_api.cc | 1538 bool L2CA_GetPeerLECocConfig(uint16_t cid, tL2CAP_LE_CFG_INFO* peer_cfg) { in L2CA_GetPeerLECocConfig() argument 1549 peer_cfg->mtu = mtu; in L2CA_GetPeerLECocConfig()
|
/aosp12/system/bt/stack/include/ |
H A D | l2c_api.h | 468 tL2CAP_LE_CFG_INFO* peer_cfg);
|