Bugzilla – Bug 2315
Problem when BACK Request is part of an A-MPDU
Last modified: 2016-03-01 14:43:49 UTC
When BACK Request is sent as part of an A-MPDU the, it is not count as a MPDU in ampdu tag. See ForwardDown in mac-low: if (hdr->IsBlockAckReq ()) { ampdutag.SetNoOfMpdus (queueSize - 1); } However, when receiving the MPDUs in StartReceivePreambleAndHeader in yans-wifi-phy, it is not considered if it is a BACK request and m_mpdusNum is always decreased. This makes the last MPDU to not be received correctly.
Matias, thanks for reporting, I will have a look.
Created attachment 2311 [details] proposed fix to solve this bug I agree, I do not see a reason for having size-1 when a BAR is piggybacked. I checked back in the code and I do not think this change might hurt. On the contrary, I suspect this bug is present for a while bug was only detected now (assert is triggered since proposed fix for bug 2313)
IMPORTANT fix, setting also to LAST CALL
The patch works for me. I don't see any problems with the change.
pushed in changeset 11944:9d01f88b6c2c