From b19dd214074455ddcd0eb684070348c3cd5bea11 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Fri, 9 Feb 2024 16:08:35 +0100 Subject: [PATCH] wifi: Update TXOP holder when receiving a BlockAckReq frame --- src/wifi/model/qos-frame-exchange-manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wifi/model/qos-frame-exchange-manager.cc b/src/wifi/model/qos-frame-exchange-manager.cc index 1a175ab6e..c0de28402 100644 --- a/src/wifi/model/qos-frame-exchange-manager.cc +++ b/src/wifi/model/qos-frame-exchange-manager.cc @@ -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();