Home
last modified time | relevance | path

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

/system/bt/hci/src/
Dpacket_fragmenter.cc92 uint16_t max_packet_size = max_data_size + HCI_ACL_PREAMBLE_SIZE; in fragment_and_dispatch_acl() local
101 while (remaining_length > max_packet_size) { in fragment_and_dispatch_acl()
107 packet->len = max_packet_size; in fragment_and_dispatch_acl()
138 uint16_t max_packet_size = max_data_size + HCI_ISO_PREAMBLE_SIZE; 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()
159 packet->len = max_packet_size; in fragment_and_dispatch_iso()
168 if (remaining_length > max_packet_size) { in fragment_and_dispatch_iso()
/system/core/fastboot/
Dudp_test.cpp54 static std::string InitPacket(uint16_t sequence, uint16_t version, uint16_t max_packet_size) { in InitPacket() argument
56 PacketValue(version) + PacketValue(max_packet_size); in InitPacket()
424 for (uint16_t max_packet_size : {512, 1024, 1200}) { in TEST_F()
425 ASSERT_TRUE(InitializeTransport(0, max_packet_size)); in TEST_F()
428 size_t max_data_size = max_packet_size - 4; in TEST_F()
/system/core/libusbhost/include/usbhost/
Dusbhost.h48 int max_packet_size; member
/system/core/libusbhost/
Dusbhost.c717 req->max_packet_size = __le16_to_cpu(ep_desc->wMaxPacketSize); in usb_request_new()