[bt][l2cap] ERTM TxEngine: add max_transmissions
After exhausting retries for the receiver-ready poll message, we'll need to close the L2CAP channel. As a step towards that goal, add a max transmissions argument to the ERTM TxEngine ctor (and corresponding field in the object). Bug: BT-442 Test: bt-host-unittests Change-Id: Id68f7a0069f63a5827d55dd663ae05420a7ee6c5
Showing
- src/connectivity/bluetooth/core/bt-host/l2cap/enhanced_retransmission_mode_tx_engine.cc 2 additions, 1 deletion...e/bt-host/l2cap/enhanced_retransmission_mode_tx_engine.cc
- src/connectivity/bluetooth/core/bt-host/l2cap/enhanced_retransmission_mode_tx_engine.h 5 additions, 1 deletion...re/bt-host/l2cap/enhanced_retransmission_mode_tx_engine.h
- src/connectivity/bluetooth/core/bt-host/l2cap/enhanced_retransmission_mode_tx_engine_unittest.cc 37 additions, 31 deletions.../l2cap/enhanced_retransmission_mode_tx_engine_unittest.cc
Loading
Please register or sign in to comment