Lines Matching refs:remaining_length
93 uint16_t remaining_length = packet->len; in fragment_and_dispatch_acl() local
101 while (remaining_length > max_packet_size) { in fragment_and_dispatch_acl()
111 remaining_length -= max_data_size; in fragment_and_dispatch_acl()
112 packet->len = remaining_length; in fragment_and_dispatch_acl()
117 UINT16_TO_STREAM(stream, remaining_length - HCI_ACL_PREAMBLE_SIZE); in fragment_and_dispatch_acl()
139 uint16_t remaining_length = packet->len; in fragment_and_dispatch_iso() local
149 if (remaining_length <= max_packet_size) { in fragment_and_dispatch_iso()
153 while (remaining_length > max_packet_size) { in fragment_and_dispatch_iso()
163 remaining_length -= max_data_size; in fragment_and_dispatch_iso()
164 packet->len = remaining_length; in fragment_and_dispatch_iso()
168 if (remaining_length > max_packet_size) { in fragment_and_dispatch_iso()
175 UINT16_TO_STREAM(stream, remaining_length - HCI_ISO_PREAMBLE_SIZE); in fragment_and_dispatch_iso()