wifi: Remove unnecessary assert hit when creating a non-HT duplicate PSD for 80+80MHz operating channel
This commit is contained in:
committed by
Sébastien Deronne
parent
32a2883385
commit
777bd2f480
@@ -357,7 +357,6 @@ Ptr<SpectrumValue>
|
||||
OfdmPhy::GetTxPowerSpectralDensity(double txPowerW, Ptr<const WifiPpdu> 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);
|
||||
|
||||
Reference in New Issue
Block a user