Home
last modified time | relevance | path

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

/system/bt/hci/src/
Dpacket_fragmenter.c83 uint16_t max_packet_size = max_data_size + HCI_ACL_PREAMBLE_SIZE; in fragment_and_dispatch()
106 UINT16_TO_STREAM(stream, remaining_length - HCI_ACL_PREAMBLE_SIZE); in fragment_and_dispatch()
138 assert(acl_length == packet->len - HCI_ACL_PREAMBLE_SIZE); in reassemble_and_dispatch()
159 uint16_t full_length = l2cap_length + L2CAP_HEADER_SIZE + HCI_ACL_PREAMBLE_SIZE; in reassemble_and_dispatch()
163 if (check_uint16_overflow(l2cap_length, (L2CAP_HEADER_SIZE + HCI_ACL_PREAMBLE_SIZE)) || in reassemble_and_dispatch()
188 UINT16_TO_STREAM(stream, full_length - HCI_ACL_PREAMBLE_SIZE); in reassemble_and_dispatch()
200 packet->offset = HCI_ACL_PREAMBLE_SIZE; in reassemble_and_dispatch()
201 uint16_t projected_offset = partial_packet->offset + (packet->len - HCI_ACL_PREAMBLE_SIZE); in reassemble_and_dispatch()
Dhci_layer.c60 HCI_ACL_PREAMBLE_SIZE,
/system/bt/hci/include/
Dhci_internals.h24 #define HCI_ACL_PREAMBLE_SIZE 4 macro
/system/bt/hci/test/
Dpacket_fragmenter_test.cpp106 int packet_data_length = packet->len - HCI_ACL_PREAMBLE_SIZE; in expect_packet_fragmented()
Dhci_layer_test.cpp144 int packet_data_length = data_length - HCI_ACL_PREAMBLE_SIZE; in expect_packet()