Home
last modified time | relevance | path

Searched refs:tx_mtu (Results 1 – 7 of 7) sorted by relevance

/system/bt/btif/src/
Dbtif_sock_l2cap.cc88 uint16_t tx_mtu; member
326 sock->tx_mtu = L2CAP_LE_MIN_MTU; in btsock_l2cap_alloc_l()
382 uint16_t tx_mtu) { in send_app_connect_signal() argument
389 cs.max_tx_packet_size = tx_mtu; in send_app_connect_signal()
474 accept_rs->tx_mtu = sock->tx_mtu = p_open->tx_mtu; in on_srv_l2cap_psm_connect_l()
499 accept_rs->app_fd, sock->rx_mtu, p_open->tx_mtu); in on_srv_l2cap_psm_connect_l()
525 accept_rs->tx_mtu = sock->tx_mtu = p_open->tx_mtu; in on_srv_l2cap_le_connect_l()
548 accept_rs->app_fd, sock->rx_mtu, p_open->tx_mtu); in on_srv_l2cap_le_connect_l()
555 sock->tx_mtu = p_open->tx_mtu; in on_cl_l2cap_psm_connect_l()
563 sock->rx_mtu, p_open->tx_mtu)) { in on_cl_l2cap_psm_connect_l()
[all …]
/system/bt/stack/l2cap/
Dl2c_ble.cc967 uint16_t tx_mtu = 0; in l2cble_update_data_length() local
978 (tx_mtu < (p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD))) in l2cble_update_data_length()
979 tx_mtu = p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD; in l2cble_update_data_length()
983 if (tx_mtu > BTM_BLE_DATA_SIZE_MAX) tx_mtu = BTM_BLE_DATA_SIZE_MAX; in l2cble_update_data_length()
986 if (p_lcb->tx_data_len != tx_mtu) in l2cble_update_data_length()
987 BTM_SetBleDataLength(p_lcb->remote_bd_addr, tx_mtu); in l2cble_update_data_length()
1024 uint16_t tx_mtu) { in l2cble_set_fixed_channel_tx_data_length() argument
1028 L2CAP_TRACE_DEBUG("%s TX MTU = %d", __func__, tx_mtu); in l2cble_set_fixed_channel_tx_data_length()
1039 if (tx_mtu > BTM_BLE_DATA_SIZE_MAX) tx_mtu = BTM_BLE_DATA_SIZE_MAX; in l2cble_set_fixed_channel_tx_data_length()
1041 p_lcb->p_fixed_ccbs[cid]->tx_data_len = tx_mtu; in l2cble_set_fixed_channel_tx_data_length()
[all …]
Dl2c_int.h818 const RawAddress& remote_bda, uint16_t fix_cid, uint16_t tx_mtu);
/system/bt/bta/include/
Dbta_jv_api.h191 int32_t tx_mtu; /* The transmit MTU */ member
199 int32_t tx_mtu; /* The transmit MTU */ member
/system/bt/stack/include/
Dl2c_api.h951 uint16_t tx_mtu);
/system/bt/bta/jv/
Dbta_jv_act.cc868 evt_data.l2c_open.tx_mtu = GAP_ConnGetRemMtuSize(gap_handle); in bta_jv_l2cap_client_cback()
1019 evt_data.l2c_open.tx_mtu = GAP_ConnGetRemMtuSize(gap_handle); in bta_jv_l2cap_server_cback()
2077 open_evt.l2c_open.tx_mtu = 23; /* 23, why not ?*/ in fcchan_conn_chng_cbk()
/system/bt/bta/hearing_aid/
Dhearing_aid.cc1305 uint16_t tx_mtu = GAP_ConnGetRemMtuSize(gap_handle); in GapCallback() local
1307 LOG(INFO) << "GAP_EVT_CONN_OPENED " << address << ", tx_mtu=" << tx_mtu; in GapCallback()