Searched refs:L2CAP_MTU_SIZE (Results 1 – 10 of 10) sorted by relevance
/packages/modules/Bluetooth/system/internal_include/ |
D | bt_target.h | 44 (L2CAP_MTU_SIZE - L2CAP_MIN_OFFSET - RFCOMM_DATA_OVERHEAD) 304 #ifndef L2CAP_MTU_SIZE 305 #define L2CAP_MTU_SIZE 1691 macro 580 #define BNEP_MTU_SIZE L2CAP_MTU_SIZE
|
/packages/modules/Bluetooth/system/stack/rfcomm/ |
D | port_utils.cc | 167 if ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) >= packet_size) { in port_select_mtu() 168 p_port->mtu = ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) / packet_size * in port_select_mtu() 173 p_port->mtu = L2CAP_MTU_SIZE - RFCOMM_DATA_OVERHEAD; in port_select_mtu()
|
D | rfc_l2cap_if.cc | 78 true /* enable_snoop */, nullptr, L2CAP_MTU_SIZE, 0, 0)) { in rfcomm_l2cap_if_init()
|
D | port_api.cc | 203 uint16_t rfcomm_mtu = L2CAP_MTU_SIZE - RFCOMM_DATA_OVERHEAD; in RFCOMM_CreateConnectionWithSecurity()
|
/packages/modules/Bluetooth/system/stack/test/rfcomm/ |
D | stack_rfcomm_test.cc | 156 tL2CAP_CFG_INFO cfg_req = {.mtu_present = true, .mtu = L2CAP_MTU_SIZE}; in ConnectServerL2cap() 299 tL2CAP_CFG_INFO cfg_req = {.mtu_present = true, .mtu = L2CAP_MTU_SIZE}; in TestConnectClientPortL2cap() 446 char buffer[L2CAP_MTU_SIZE] = {}; in ReceiveAndVerifyIncomingTransmission() 448 int status = PORT_ReadData(port_handle, buffer, L2CAP_MTU_SIZE, &length); in ReceiveAndVerifyIncomingTransmission() 767 tL2CAP_CFG_INFO our_cfg_req = {.mtu_present = true, .mtu = L2CAP_MTU_SIZE}; in TEST_F()
|
/packages/modules/Bluetooth/system/stack/gap/ |
D | gap_conn.cc | 781 local_mtu_size = L2CAP_MTU_SIZE; in gap_config_ind() 961 p_ccb->rem_mtu_size = L2CAP_MTU_SIZE; in gap_allocate_ccb()
|
/packages/modules/Bluetooth/system/stack/fuzzers/ |
D | l2cap_fuzzer.cc | 212 L2CAP_MTU_SIZE, 0, BTM_SEC_NONE), in Fuzz()
|
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_api.cc | 872 if (p_cfg->mtu > L2CAP_MTU_SIZE) { in L2CA_ReconfigCreditBasedConnsReq() 874 p_cfg->mtu = L2CAP_MTU_SIZE; in L2CA_ReconfigCreditBasedConnsReq()
|
D | l2c_fcr.cc | 1745 if ((p_cfg->mtu_present) && (p_cfg->mtu > L2CAP_MTU_SIZE)) { in l2c_fcr_renegotiate_chan() 1747 p_cfg->mtu = L2CAP_MTU_SIZE; in l2c_fcr_renegotiate_chan()
|
D | l2c_utils.cc | 1137 UINT16_TO_STREAM(p, L2CAP_MTU_SIZE); in l2cu_send_peer_info_rsp() 1854 if ((!p_cfg->fcr_present) && (p_cfg->mtu > L2CAP_MTU_SIZE)) in l2cu_process_peer_cfg_req() 1855 p_cfg->mtu = L2CAP_MTU_SIZE; in l2cu_process_peer_cfg_req()
|