From 777bd2f48027230686c4aeee3e6b061499f930b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Sun, 8 Sep 2024 12:00:36 +0200 Subject: [PATCH] wifi: Remove unnecessary assert hit when creating a non-HT duplicate PSD for 80+80MHz operating channel --- src/wifi/model/non-ht/ofdm-phy.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wifi/model/non-ht/ofdm-phy.cc b/src/wifi/model/non-ht/ofdm-phy.cc index 2460e4f05..dd5feeeda 100644 --- a/src/wifi/model/non-ht/ofdm-phy.cc +++ b/src/wifi/model/non-ht/ofdm-phy.cc @@ -357,7 +357,6 @@ Ptr OfdmPhy::GetTxPowerSpectralDensity(double txPowerW, Ptr ppdu) const { const auto& centerFrequencies = ppdu->GetTxCenterFreqs(); - NS_ASSERT(centerFrequencies.size() == 1); const auto& txVector = ppdu->GetTxVector(); const auto channelWidth = txVector.GetChannelWidth(); NS_LOG_FUNCTION(this << centerFrequencies.front() << channelWidth << txPowerW);