From cdd7bb9e99692691e9a99b85b97d49651ecae1ce Mon Sep 17 00:00:00 2001 From: Matias Richart Date: Thu, 2 Feb 2017 20:51:32 +0100 Subject: [PATCH] wifi: (fixes #2606) Ideal manager checks the remote station is HT/VHT compatible when searching for modes --- RELEASE_NOTES | 1 + src/wifi/model/ideal-wifi-manager.cc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index bb88563e5..b4e3688b8 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -70,6 +70,7 @@ Bugs fixed - Bug 2601 - HT stations should use 40 MHz channel width if the configured channel width is set to 80 or 160 MHz - Bug 2604 - QosData frames with Block Ack policy should be separated by SIFS as long as they belong to the same TXOP - Bug 2605 - A HT/VHT station transmitting to a legacy access point results in a null throughput +- Bug 2606 - Ideal rate manager does not work correctly when a HT/VHT station is transmitting to a legacy access point - Bug 2607 - Minstrel HT manager results in an endless loop when a 802.11ac station is transmitting to a 802.11a access point - Bug 2614 - RIP header version should be set to 2 - Bug 2627 - Ipv6RawSocket does not honor the bound interface when sending packets diff --git a/src/wifi/model/ideal-wifi-manager.cc b/src/wifi/model/ideal-wifi-manager.cc index 402698f3a..a3287a2c4 100644 --- a/src/wifi/model/ideal-wifi-manager.cc +++ b/src/wifi/model/ideal-wifi-manager.cc @@ -279,7 +279,8 @@ IdealWifiManager::DoGetDataTxVector (WifiRemoteStation *st) } else { - if (HasVhtSupported () == true || HasHtSupported () == true) + if ((HasVhtSupported () == true || HasHtSupported () == true) + && (GetHtSupported (st) == true || GetVhtSupported (st) == true)) { for (uint32_t i = 0; i < GetNMcsSupported (station); i++) {