From 8ecb93f5725862eb1bd044b2e03fdb165d37e84c Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Thu, 12 Sep 2024 22:30:33 +0200 Subject: [PATCH] wifi: Fix S-MPDU TX duration computation with BlockAck ack policy Reported by Rami Abdallah --- RELEASE_NOTES.md | 1 + src/wifi/model/ht/ht-frame-exchange-manager.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index c2255bd4f..d2220c677 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -49,6 +49,7 @@ The required Doxygen version for documentation generation is version 1.11. - (wifi) Retransmit procedures have been aligned with the standard specifications. - (wifi) Clear PSDU map if no immediate response expected with BAR-BA ack sequence +- (wifi) Fix S-MPDU TX duration computation with BlockAck ack policy ## Release 3.43 diff --git a/src/wifi/model/ht/ht-frame-exchange-manager.cc b/src/wifi/model/ht/ht-frame-exchange-manager.cc index 739ade5e1..57246f054 100644 --- a/src/wifi/model/ht/ht-frame-exchange-manager.cc +++ b/src/wifi/model/ht/ht-frame-exchange-manager.cc @@ -632,7 +632,7 @@ HtFrameExchangeManager::SendDataFrame(Ptr peekedItem, { // a QoS data frame using the Block Ack policy can be followed by a BlockAckReq // frame and a BlockAck frame. Such a sequence is handled by the HT FEM - SendPsduWithProtection(Create(mpdu, false), txParams); + SendPsduWithProtection(GetWifiPsdu(mpdu, txParams.m_txVector), txParams); } else {