Home
last modified time | relevance | path

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

/system/bt/stack/l2cap/
Dl2c_link.cc1108 uint16_t num_segs; in l2c_link_send_to_lower() local
1142 num_segs = (p_buf->len - HCI_DATA_PREAMBLE_SIZE + acl_data_size - 1) / in l2c_link_send_to_lower()
1147 num_segs = 1; in l2c_link_send_to_lower()
1151 if (num_segs > xmit_window) { in l2c_link_send_to_lower()
1152 num_segs = xmit_window; in l2c_link_send_to_lower()
1156 if (num_segs > (p_lcb->link_xmit_quota - p_lcb->sent_not_acked)) { in l2c_link_send_to_lower()
1157 num_segs = (p_lcb->link_xmit_quota - p_lcb->sent_not_acked); in l2c_link_send_to_lower()
1162 p_buf->layer_specific = num_segs; in l2c_link_send_to_lower()
1164 l2cb.controller_le_xmit_window -= num_segs; in l2c_link_send_to_lower()
1165 if (p_lcb->link_xmit_quota == 0) l2cb.ble_round_robin_unacked += num_segs; in l2c_link_send_to_lower()
[all …]