Home
last modified time | relevance | path

Searched refs:L2CAP_MTU_SIZE (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/system/internal_include/
Dbt_target.h44 (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/
Dport_utils.cc167 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()
Drfc_l2cap_if.cc78 true /* enable_snoop */, nullptr, L2CAP_MTU_SIZE, 0, 0)) { in rfcomm_l2cap_if_init()
Dport_api.cc203 uint16_t rfcomm_mtu = L2CAP_MTU_SIZE - RFCOMM_DATA_OVERHEAD; in RFCOMM_CreateConnectionWithSecurity()
/packages/modules/Bluetooth/system/stack/test/rfcomm/
Dstack_rfcomm_test.cc156 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/
Dgap_conn.cc781 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/
Dl2cap_fuzzer.cc212 L2CAP_MTU_SIZE, 0, BTM_SEC_NONE), in Fuzz()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_api.cc872 if (p_cfg->mtu > L2CAP_MTU_SIZE) { in L2CA_ReconfigCreditBasedConnsReq()
874 p_cfg->mtu = L2CAP_MTU_SIZE; in L2CA_ReconfigCreditBasedConnsReq()
Dl2c_fcr.cc1745 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()
Dl2c_utils.cc1137 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()