Searched refs:L2CAP_MTU_SIZE (Results 1 – 10 of 10) sorted by relevance
/system/bt/internal_include/ |
D | bt_target.h | 51 (L2CAP_MTU_SIZE - L2CAP_MIN_OFFSET - RFCOMM_DATA_OVERHEAD) 511 #ifndef L2CAP_MTU_SIZE 512 #define L2CAP_MTU_SIZE 1691 macro 971 #define BNEP_MIN_MTU_SIZE L2CAP_MTU_SIZE
|
/system/bt/stack/rfcomm/ |
D | port_utils.cc | 165 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()
|
D | rfc_mx_fsm.cc | 562 cfg.mtu = L2CAP_MTU_SIZE; in rfc_mx_send_config_req()
|
D | port_api.cc | 207 uint16_t rfcomm_mtu = L2CAP_MTU_SIZE - RFCOMM_DATA_OVERHEAD; in RFCOMM_CreateConnection()
|
/system/bt/stack/test/rfcomm/ |
D | stack_rfcomm_test.cc | 153 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/ |
D | gap_conn.cc | 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/device/src/ |
D | controller.cc | 111 L2CAP_MTU_SIZE, SCO_HOST_BUFFER_SIZE, L2CAP_HOST_FC_ACL_BUFS, 10)); in start_up()
|
/system/bt/stack/l2cap/ |
D | l2c_api.cc | 843 if ((p_cfg->mtu_present) && (p_cfg->mtu > L2CAP_MTU_SIZE)) { in L2CA_ConfigReq() 845 p_cfg->mtu = L2CAP_MTU_SIZE; in L2CA_ConfigReq() 2050 *mtu = L2CAP_MTU_SIZE; in L2CA_GetConnectionConfig()
|
D | l2c_fcr.cc | 2029 if (p_fcr->mps > (L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS)) in l2c_fcr_adj_our_req_options() 2030 p_fcr->mps = L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS; in l2c_fcr_adj_our_req_options() 2193 if ((p_cfg->mtu_present) && (p_cfg->mtu > L2CAP_MTU_SIZE)) { in l2c_fcr_renegotiate_chan() 2195 p_cfg->mtu = L2CAP_MTU_SIZE; in l2c_fcr_renegotiate_chan()
|
D | l2c_utils.cc | 1154 UINT16_TO_STREAM(p, L2CAP_MTU_SIZE); in l2cu_send_peer_info_rsp() 1474 p_ccb->max_rx_mtu = L2CAP_MTU_SIZE; in l2cu_allocate_ccb() 1863 if ((!p_cfg->fcr_present) && (p_cfg->mtu > L2CAP_MTU_SIZE)) in l2cu_process_peer_cfg_req() 1864 p_cfg->mtu = L2CAP_MTU_SIZE; in l2cu_process_peer_cfg_req()
|