wifi: Always add PPDU received with unsupported modulation as interference
This commit is contained in:
committed by
Stefano Avallone
parent
719d4ff458
commit
e5b30b5c0e
@@ -1612,11 +1612,8 @@ WifiPhy::StartReceivePreamble (Ptr<WifiPpdu> ppdu, RxPowerWattPerChannelBand& rx
|
||||
{
|
||||
//TODO find a fallback PHY for receiving the PPDU (e.g. 11a for 11ax due to preamble structure)
|
||||
NS_LOG_DEBUG ("Unsupported modulation received (" << modulation << "), consider as noise");
|
||||
if (ppdu->GetTxDuration () > m_state->GetDelayUntilIdle ())
|
||||
{
|
||||
m_interference.Add (ppdu, ppdu->GetTxVector (), rxDuration, rxPowersW);
|
||||
SwitchMaybeToCcaBusy (GetMeasurementChannelWidth (nullptr));
|
||||
}
|
||||
m_interference.Add (ppdu, ppdu->GetTxVector (), rxDuration, rxPowersW);
|
||||
SwitchMaybeToCcaBusy (GetMeasurementChannelWidth (nullptr));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user