Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sco_hci.cc445 static size_t get_supported_packet_size(size_t pkt_size, in get_supported_packet_size()
449 btm_wbs_supported_pkt_size[i] != pkt_size; in get_supported_packet_size()
455 log::warn("Unsupported packet size {}", (unsigned long)pkt_size); in get_supported_packet_size()
475 size_t init(size_t pkt_size) { in init()
484 pkt_size = get_supported_packet_size(pkt_size, &buf_size); in init()
485 if (pkt_size == packet_size) return packet_size; in init()
486 packet_size = pkt_size; in init()
671 size_t init(size_t pkt_size) { in init() argument
681 return msbc_info->init(pkt_size); in init()
895 static size_t get_supported_packet_size(size_t pkt_size, in get_supported_packet_size()
[all …]
Dbtm_sco_hfp_hal_linux.cc43 size_t pkt_size; member
105 .pkt_size = rp->wbs_pkt_len, in cache_codec_capabilities()
115 .pkt_size = rp->wbs_pkt_len, in cache_codec_capabilities()
122 c.pkt_size); in cache_codec_capabilities()
444 return c.pkt_size; in get_packet_size()
Dbtm_sco.h69 size_t init(size_t pkt_size);
138 size_t init(size_t pkt_size);
/packages/modules/Bluetooth/system/stack/test/btm/
Dsco_hci_test.cc369 for (auto [pkt_size, buf_size] : irregular_packet_to_buffer_size) { in TEST_F()
370 ASSERT_EQ(buf_size % pkt_size, 0u); in TEST_F()
372 bluetooth::audio::sco::wbs::init(pkt_size); in TEST_F()
383 while (payload.size() <= pkt_size) { in TEST_F()
388 msbc_zero_packet.size() - (payload.size() - pkt_size); in TEST_F()
389 payload.resize(pkt_size); in TEST_F()
392 for (size_t iter = 0, decodable = 0; iter < 2 * buf_size / pkt_size; in TEST_F()
411 while (payload.size() < pkt_size) { in TEST_F()
417 (payload.size() - pkt_size) % msbc_zero_packet.size(); in TEST_F()
419 payload.resize(pkt_size); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_acl.cc1513 uint16_t pkt_size = 0; in BTM_GetMaxPacketSize() local
1526 pkt_size = HCI_EDR3_DH5_PACKET_SIZE; in BTM_GetMaxPacketSize()
1528 pkt_size = HCI_EDR2_DH5_PACKET_SIZE; in BTM_GetMaxPacketSize()
1530 pkt_size = HCI_EDR3_DH3_PACKET_SIZE; in BTM_GetMaxPacketSize()
1532 pkt_size = HCI_DH5_PACKET_SIZE; in BTM_GetMaxPacketSize()
1534 pkt_size = HCI_EDR2_DH3_PACKET_SIZE; in BTM_GetMaxPacketSize()
1536 pkt_size = HCI_DM5_PACKET_SIZE; in BTM_GetMaxPacketSize()
1538 pkt_size = HCI_DH3_PACKET_SIZE; in BTM_GetMaxPacketSize()
1540 pkt_size = HCI_DM3_PACKET_SIZE; in BTM_GetMaxPacketSize()
1542 pkt_size = HCI_EDR3_DH1_PACKET_SIZE; in BTM_GetMaxPacketSize()
[all …]