From ee09494ddfb0640854c6546466c372ed4d30e2ba Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Sun, 19 May 2024 10:57:14 +0200 Subject: [PATCH] wifi: Remove redundant (and incorrect) condition in MPDU aggregator --- src/wifi/model/mpdu-aggregator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wifi/model/mpdu-aggregator.cc b/src/wifi/model/mpdu-aggregator.cc index 73971844c..1821f2e32 100644 --- a/src/wifi/model/mpdu-aggregator.cc +++ b/src/wifi/model/mpdu-aggregator.cc @@ -162,7 +162,7 @@ MpduAggregator::GetMaxAmpduSize(Mac48Address recipient, maxAmpduSize = std::min(maxAmpduSize, ehtCapabilities->GetMaxAmpduLength()); } - else if (modulation >= WIFI_MOD_CLASS_HE || m_mac->Is6GhzBand(m_linkId)) + else if (modulation >= WIFI_MOD_CLASS_HE) { NS_ABORT_MSG_IF(!heCapabilities, "HE Capabilities element not received");