Home
last modified time | relevance | path

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

/system/bt/hci/src/
Dpacket_fragmenter.c43 #define L2CAP_HEADER_SIZE 4 macro
153 if (acl_length < L2CAP_HEADER_SIZE) { in reassemble_and_dispatch()
154 …AG, "%s L2CAP packet too small (%d < %d). Dropping it.", __func__, packet->len, L2CAP_HEADER_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()
/system/bt/btif/src/
Dbtif_debug_btsnoop.c77 static const size_t L2CAP_HEADER_SIZE = 4; in btsnoop_calculate_packet_length() local
98 size_t len_hci_acl = HCI_ACL_HEADER_SIZE + L2CAP_HEADER_SIZE; in btsnoop_calculate_packet_length()