Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/stack/rfcomm/
Dport_utils.c166 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 * packet_size) - RFCOMM_DATA_OV… in port_select_mtu()
173 p_port->mtu = L2CAP_MTU_SIZE - RFCOMM_DATA_OVERHEAD; in port_select_mtu()
Drfc_mx_fsm.c566 cfg.mtu = L2CAP_MTU_SIZE; in rfc_mx_send_config_req()
Dport_api.c162 rfcomm_mtu = L2CAP_MTU_SIZE - RFCOMM_DATA_OVERHEAD; in RFCOMM_CreateConnection()
/external/bluetooth/bluedroid/include/
Dbt_target.h78 #define BTA_RFC_MTU_SIZE (L2CAP_MTU_SIZE-L2CAP_MIN_OFFSET-RFCOMM_DATA_OVERHEAD)
1272 #ifndef L2CAP_MTU_SIZE
1273 #define L2CAP_MTU_SIZE 1691 macro
1333 #define L2CAP_UCD_MTU L2CAP_MTU_SIZE
2010 #define BNEP_MIN_MTU_SIZE L2CAP_MTU_SIZE
/external/libnfc-nci/src/include/
Dbt_target.h985 #ifndef L2CAP_MTU_SIZE
986 #define L2CAP_MTU_SIZE 1691 macro
1061 #define L2CAP_UCD_MTU L2CAP_MTU_SIZE
1920 #define BNEP_MIN_MTU_SIZE L2CAP_MTU_SIZE
/external/bluetooth/bluedroid/stack/btm/
Dbtm_devctl.c690 acl_buf_size = (BTM_ACL_BUF_SIZE < L2CAP_MTU_SIZE) ? BTM_ACL_BUF_SIZE : L2CAP_MTU_SIZE; in btm_read_hci_buf_size_complete()
692 acl_buf_size = L2CAP_MTU_SIZE; in btm_read_hci_buf_size_complete()
/external/bluetooth/bluedroid/stack/l2cap/
Dl2c_api.c460 if ( (p_cfg->mtu_present) && (p_cfg->mtu > L2CAP_MTU_SIZE) ) in L2CA_ConfigReq()
463 p_cfg->mtu = L2CAP_MTU_SIZE; in L2CA_ConfigReq()
Dl2c_fcr.c1942 if (p_fcr->mps > (L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS)) in l2c_fcr_adj_our_req_options()
1943 p_fcr->mps = L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS; in l2c_fcr_adj_our_req_options()
2115 if ( (p_cfg->mtu_present) && (p_cfg->mtu > L2CAP_MTU_SIZE) ) in l2c_fcr_renegotiate_chan()
2118 p_cfg->mtu = L2CAP_MTU_SIZE; in l2c_fcr_renegotiate_chan()
Dl2c_utils.c1436 p_ccb->max_rx_mtu = L2CAP_MTU_SIZE; in l2cu_allocate_ccb()
1781 if ( (p_cfg->fcr_present == FALSE) && (p_cfg->mtu > L2CAP_MTU_SIZE) ) in l2cu_process_peer_cfg_req()
1782 p_cfg->mtu = L2CAP_MTU_SIZE; in l2cu_process_peer_cfg_req()
Dl2c_link.c1583 if ((total_len + hci_len) <= (L2CAP_MTU_SIZE + HCI_DATA_PREAMBLE_SIZE)) in l2cap_link_chk_pkt_start()