From 7112e718dc1ccc80a745d3fd5cc34718f48b0842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Wed, 6 Feb 2019 21:30:23 +0100 Subject: [PATCH] wifi: Revert a previous change in IdealWifiManager that is causing much lower performance and irregularities (cherry picked from commit 8d5cd31b78fb862d7e9280ca3bc7468306ab6168) --- src/wifi/model/ideal-wifi-manager.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wifi/model/ideal-wifi-manager.cc b/src/wifi/model/ideal-wifi-manager.cc index 714d8743c..8925aa5e5 100644 --- a/src/wifi/model/ideal-wifi-manager.cc +++ b/src/wifi/model/ideal-wifi-manager.cc @@ -282,16 +282,12 @@ void IdealWifiManager::DoReportFinalRtsFailed (WifiRemoteStation *station) { NS_LOG_FUNCTION (this << station); - IdealWifiRemoteStation *st = (IdealWifiRemoteStation *)station; - st->m_lastSnrObserved = 0.0; } void IdealWifiManager::DoReportFinalDataFailed (WifiRemoteStation *station) { NS_LOG_FUNCTION (this << station); - IdealWifiRemoteStation *st = (IdealWifiRemoteStation *)station; - st->m_lastSnrObserved = 0.0; } WifiTxVector