Searched refs:l2cap_length (Results 1 - 2 of 2) sorted by relevance

/system/bt/hci/src/
H A Dpacket_fragmenter.c126 uint16_t l2cap_length; local
131 STREAM_TO_UINT16(l2cap_length, stream);
148 uint16_t full_length = l2cap_length + L2CAP_HEADER_SIZE + HCI_ACL_PREAMBLE_SIZE;
151 LOG_WARN("%s found l2cap full length %d less than the hci length %d.", __func__, l2cap_length, packet->len);
/system/bt/hci/test/
H A Dpacket_fragmenter_test.cpp138 uint16_t l2cap_length = data_length - 2; // l2cap length field, 2 for the pretend channel id borrowed from the data local
152 UINT16_TO_STREAM(packet_data, l2cap_length);
182 uint16_t l2cap_length; local
185 STREAM_TO_UINT16(l2cap_length, data);
189 EXPECT_EQ(expected_data_length - 2, l2cap_length); // -2 for the pretend channel id

Completed in 42 milliseconds