wifi: Update TXOP holder when receiving a BlockAckReq frame

This commit is contained in:
Stefano Avallone
2024-02-09 16:08:35 +01:00
parent 738613e0e3
commit b19dd21407

View File

@@ -719,7 +719,7 @@ QosFrameExchangeManager::FindTxopHolder(const WifiMacHeader& hdr, const WifiTxVe
// The TXOP holder address is the MAC address from the Address 2 field of the frame
// that initiated a frame exchange sequence, except if this is a CTS frame, in which
// case the TXOP holder address is the Address 1 field. (Sec. 10.23.2.4 of 802.11-2020)
if ((hdr.IsQosData() || hdr.IsMgt() || hdr.IsRts()) &&
if ((hdr.IsQosData() || hdr.IsMgt() || hdr.IsRts() || hdr.IsBlockAckReq()) &&
(hdr.GetAddr1() == m_bssid || hdr.GetAddr2() == m_bssid))
{
return hdr.GetAddr2();