From cbfa25a84058770bfadaef446c2d941b2a547796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Sun, 29 Nov 2020 21:19:43 +0100 Subject: [PATCH] wifi: Use non-HT instead of legacy in WifiPhy --- src/wifi/model/wifi-phy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wifi/model/wifi-phy.cc b/src/wifi/model/wifi-phy.cc index 7d59e1357..4bc82516a 100644 --- a/src/wifi/model/wifi-phy.cc +++ b/src/wifi/model/wifi-phy.cc @@ -2872,7 +2872,7 @@ WifiPhy::ContinueReceiveHeader (Ptr event) InterferenceHelper::SnrPer snrPer = m_interference.CalculateNonHtPhyHeaderSnrPer (event, GetBand (channelWidth)); NS_LOG_DEBUG ("snr(dB)=" << RatioToDb (snrPer.snr) << ", per=" << snrPer.per); - if (m_random->GetValue () > snrPer.per) //legacy PHY header reception succeeded + if (m_random->GetValue () > snrPer.per) //non-HT PHY header reception succeeded { NS_LOG_DEBUG ("Received non-HT PHY header"); WifiTxVector txVector = event->GetTxVector ();