Bugzilla – Bug 2929
Prevent IdealWifiManager from adding incompatible modes in IEEE 802.11ac
Last modified: 2020-04-18 09:37:59 EDT
Created attachment 3112 [details] Patch WifiMode throws an error message when a mode is used with incompatible channel widths or spatial streams. For instance, when channel 36 (20 MHz channel) is used with ideal wifi manager, the following message is thrown: assert failed. cond="IsAllowed (channelWidth, nss)", msg="VHT MCS 9 forbidden at 20 MHz when NSS is 1", file=../src/wifi/model/wifi-mode.cc, line=214 However, the user has no control over which MCSs are added to Ideal Wifi Manager, despite knowing that MCS 9 is incompatible when Channel 36. This patch simply prevents IdealWifiManager from adding incompatible modes.
Varun, do you have any test case to reproduce the assert?
Created attachment 3113 [details] Test Case The test case is a modified version of examples/wireless/wifi-tcp.cc IdealWifiManager is used with channel number 36, which is a 20 MHz channel.
This bug can be closed, in the meantime there is a check in Ideal whether a mode is valid or not, and if not is getting skipped.