Lines Matching refs:num_segs
1280 UINT16 num_segs; in l2c_link_send_to_lower() local
1333 num_segs = (p_buf->len - HCI_DATA_PREAMBLE_SIZE + acl_data_size - 1) / acl_data_size; in l2c_link_send_to_lower()
1339 num_segs = 1; in l2c_link_send_to_lower()
1345 if (num_segs > xmit_window) in l2c_link_send_to_lower()
1347 num_segs = xmit_window; in l2c_link_send_to_lower()
1351 if (num_segs > (p_lcb->link_xmit_quota - p_lcb->sent_not_acked)) in l2c_link_send_to_lower()
1353 num_segs = (p_lcb->link_xmit_quota - p_lcb->sent_not_acked); in l2c_link_send_to_lower()
1358 p_buf->layer_specific = num_segs; in l2c_link_send_to_lower()
1362 l2cb.controller_le_xmit_window -= num_segs; in l2c_link_send_to_lower()
1364 l2cb.ble_round_robin_unacked += num_segs; in l2c_link_send_to_lower()
1369 l2cb.controller_xmit_window -= num_segs; in l2c_link_send_to_lower()
1372 l2cb.round_robin_unacked += num_segs; in l2c_link_send_to_lower()
1375 p_lcb->sent_not_acked += num_segs; in l2c_link_send_to_lower()