Lines Matching refs:tx_mtu
1196 UINT16 tx_mtu = 0; in l2cble_update_data_length() local
1210 (tx_mtu < (p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD))) in l2cble_update_data_length()
1211 tx_mtu = p_lcb->p_fixed_ccbs[i]->tx_data_len + L2CAP_PKT_OVERHEAD; in l2cble_update_data_length()
1215 if (tx_mtu > BTM_BLE_DATA_SIZE_MAX) in l2cble_update_data_length()
1216 tx_mtu = BTM_BLE_DATA_SIZE_MAX; in l2cble_update_data_length()
1219 if (p_lcb->tx_data_len != tx_mtu) in l2cble_update_data_length()
1220 BTM_SetBleDataLength(p_lcb->remote_bd_addr, tx_mtu); in l2cble_update_data_length()
1256 void l2cble_set_fixed_channel_tx_data_length(BD_ADDR remote_bda, UINT16 fix_cid, UINT16 tx_mtu) in l2cble_set_fixed_channel_tx_data_length() argument
1261 L2CAP_TRACE_DEBUG("%s TX MTU = %d", __FUNCTION__, tx_mtu); in l2cble_set_fixed_channel_tx_data_length()
1275 if (tx_mtu > BTM_BLE_DATA_SIZE_MAX) in l2cble_set_fixed_channel_tx_data_length()
1276 tx_mtu = BTM_BLE_DATA_SIZE_MAX; in l2cble_set_fixed_channel_tx_data_length()
1278 p_lcb->p_fixed_ccbs[cid]->tx_data_len = tx_mtu; in l2cble_set_fixed_channel_tx_data_length()