wifi: Do not retransmit block ack request if inactivity timer has expired

Fixes #2928
This commit is contained in:
Alexander Krotov
2018-06-13 18:35:37 +03:00
parent 56059a894f
commit d47616a913

View File

@@ -785,6 +785,20 @@ bool BlockAckManager::NeedBarRetransmission (uint8_t tid, uint16_t seqNumber, Ma
{
return false;
}
else if (it->second.first.m_inactivityEvent.IsExpired ())
{
/*
* According to "11.5.4 Error recovery upon a peer failure",
* DELBA should be issued after inactivity timeout,
* so block ack request should not be retransmitted anymore.
*
* Otherwise we risk retransmitting BAR forever if condition
* above is never met and the STA is not available.
*
* See https://www.nsnam.org/bugzilla/show_bug.cgi?id=2928 for details.
*/
return false;
}
else
{
return true;