Home
last modified time | relevance | path

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

/system/bt/internal_include/
Dbt_target.h51 (L2CAP_MTU_SIZE - L2CAP_MIN_OFFSET - RFCOMM_DATA_OVERHEAD)
511 #ifndef L2CAP_MTU_SIZE
512 #define L2CAP_MTU_SIZE 1691 macro
966 #define BNEP_MIN_MTU_SIZE L2CAP_MTU_SIZE
/system/bt/stack/rfcomm/
Dport_utils.cc165 if ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) >= packet_size) { in port_select_mtu()
166 p_port->mtu = ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) / packet_size * in port_select_mtu()
172 p_port->mtu = L2CAP_MTU_SIZE - RFCOMM_DATA_OVERHEAD; in port_select_mtu()
Drfc_mx_fsm.cc562 cfg.mtu = L2CAP_MTU_SIZE; in rfc_mx_send_config_req()
Dport_api.cc196 uint16_t rfcomm_mtu = L2CAP_MTU_SIZE - RFCOMM_DATA_OVERHEAD; in RFCOMM_CreateConnection()
/system/bt/stack/test/rfcomm/
Dstack_rfcomm_test.cc153 tL2CAP_CFG_INFO cfg_req = {.mtu_present = true, .mtu = L2CAP_MTU_SIZE}; in ConnectServerL2cap()
295 tL2CAP_CFG_INFO cfg_req = {.mtu_present = true, .mtu = L2CAP_MTU_SIZE}; in TestConnectClientPortL2cap()
442 char buffer[L2CAP_MTU_SIZE] = {}; in ReceiveAndVerifyIncomingTransmission()
444 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()
786 tL2CAP_CFG_INFO peer_cfg_rsp = {.mtu_present = true, .mtu = L2CAP_MTU_SIZE}; in TEST_F()
/system/bt/stack/gap/
Dgap_conn.cc252 &p_ccb->ertm_info, L2CAP_MTU_SIZE); in GAP_ConnOpen()
903 local_mtu_size = L2CAP_MTU_SIZE; in gap_config_ind()
1109 p_ccb->rem_mtu_size = L2CAP_MTU_SIZE; in gap_allocate_ccb()
/system/bt/stack/l2cap/
Dl2c_fcr.cc1997 if (p_fcr->mps > (L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS)) in l2c_fcr_adj_our_req_options()
1998 p_fcr->mps = L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS; in l2c_fcr_adj_our_req_options()
2167 if ((p_cfg->mtu_present) && (p_cfg->mtu > L2CAP_MTU_SIZE)) { in l2c_fcr_renegotiate_chan()
2169 p_cfg->mtu = L2CAP_MTU_SIZE; in l2c_fcr_renegotiate_chan()
Dl2c_api.cc872 if ((p_cfg->mtu_present) && (p_cfg->mtu > L2CAP_MTU_SIZE)) { in L2CA_ConfigReq()
874 p_cfg->mtu = L2CAP_MTU_SIZE; in L2CA_ConfigReq()
Dl2c_utils.cc1156 UINT16_TO_STREAM(p, L2CAP_MTU_SIZE); in l2cu_send_peer_info_rsp()
1476 p_ccb->max_rx_mtu = L2CAP_MTU_SIZE; in l2cu_allocate_ccb()
1865 if ((!p_cfg->fcr_present) && (p_cfg->mtu > L2CAP_MTU_SIZE)) in l2cu_process_peer_cfg_req()
1866 p_cfg->mtu = L2CAP_MTU_SIZE; in l2cu_process_peer_cfg_req()
/system/bt/device/src/
Dcontroller.cc114 L2CAP_MTU_SIZE, SCO_HOST_BUFFER_SIZE, L2CAP_HOST_FC_ACL_BUFS, 10)); in start_up()