Home
last modified time | relevance | path

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

/system/bt/stack/l2cap/
Dl2c_link.cc1118 uint16_t num_segs; in l2c_link_send_to_lower() local
1152 num_segs = (p_buf->len - HCI_DATA_PREAMBLE_SIZE + acl_data_size - 1) / in l2c_link_send_to_lower()
1157 num_segs = 1; in l2c_link_send_to_lower()
1161 if (num_segs > xmit_window) { in l2c_link_send_to_lower()
1162 num_segs = xmit_window; in l2c_link_send_to_lower()
1166 if (num_segs > (p_lcb->link_xmit_quota - p_lcb->sent_not_acked)) { in l2c_link_send_to_lower()
1167 num_segs = (p_lcb->link_xmit_quota - p_lcb->sent_not_acked); in l2c_link_send_to_lower()
1172 p_buf->layer_specific = num_segs; in l2c_link_send_to_lower()
1174 l2cb.controller_le_xmit_window -= num_segs; in l2c_link_send_to_lower()
1175 if (p_lcb->link_xmit_quota == 0) l2cb.ble_round_robin_unacked += num_segs; in l2c_link_send_to_lower()
[all …]