Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/test/eatt/
Deatt_test.cc478 uint16_t new_mtu = 300; in TEST_F() local
479 eatt_instance_->ReconfigureAll(test_address, new_mtu); in TEST_F()
483 tL2CAP_LE_CFG_INFO cfg = {.result = L2CAP_CFG_OK, .mtu = new_mtu}; in TEST_F()
492 ASSERT_TRUE(channel->rx_mtu_ == new_mtu); in TEST_F()
505 uint16_t new_mtu = 300; in TEST_F() local
506 eatt_instance_->ReconfigureAll(test_address, new_mtu); in TEST_F()
511 .mtu = new_mtu}; in TEST_F()
520 ASSERT_TRUE(channel->rx_mtu_ != new_mtu); in TEST_F()
533 uint16_t new_mtu = 300; in TEST_F() local
534 eatt_instance_->Reconfigure(test_address, connected_cids_[1], new_mtu); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/stack/eatt/
Deatt_impl.h796 void reconfigure(const RawAddress& bd_addr, uint16_t cid, uint16_t new_mtu) { in reconfigure()
809 if (new_mtu <= channel->rx_mtu_) { in reconfigure()
810 log::error("Invalid mtu: 0x{:x}", new_mtu); in reconfigure()
818 .mtu = new_mtu, in reconfigure()
830 void reconfigure_all(const RawAddress& bd_addr, uint16_t new_mtu) { in reconfigure_all()
831 log::info("Device {}, new mtu {}", bd_addr, new_mtu); in reconfigure_all()
853 if (new_mtu <= EATT_MIN_MTU_MPS) { in reconfigure_all()
854 log::error("Invalid mtu: 0x{:x}", new_mtu); in reconfigure_all()
860 .mtu = new_mtu, in reconfigure_all()