wifi: Do not use the received PPDU to compute the measurement channel width if its received signal is too weak to process

This commit is contained in:
Sebastien Deronne
2022-06-14 20:05:05 +02:00
parent 7757f2c5d8
commit 00a07ea95f

View File

@@ -349,7 +349,7 @@ SpectrumWifiPhy::StartRx (Ptr<SpectrumSignalParameters> rxParams)
NS_LOG_INFO ("Received signal too weak to process: " << WToDbm (totalRxPowerW) << " dBm");
m_interference->Add (wifiRxParams->ppdu, wifiRxParams->ppdu->GetTxVector (), rxDuration,
rxPowerW);
SwitchMaybeToCcaBusy (GetMeasurementChannelWidth (wifiRxParams->ppdu));
SwitchMaybeToCcaBusy (GetMeasurementChannelWidth (nullptr));
return;
}