wifi: Do not send VHT capabilities when operating in 2.4 GHz band
This commit is contained in:
committed by
Deronne Sebastien
parent
afed498f29
commit
1753765862
@@ -765,7 +765,7 @@ WifiHelper::Install (const WifiPhyHelper &phyHelper,
|
||||
Ptr<HtConfiguration> htConfiguration = CreateObject<HtConfiguration> ();
|
||||
device->SetHtConfiguration (htConfiguration);
|
||||
}
|
||||
if (it->second.phyStandard >= WIFI_PHY_STANDARD_80211ac)
|
||||
if ((it->second.phyStandard >= WIFI_PHY_STANDARD_80211ac) && (it->second.phyBand != WIFI_PHY_BAND_2_4GHZ))
|
||||
{
|
||||
Ptr<VhtConfiguration> vhtConfiguration = CreateObject<VhtConfiguration> ();
|
||||
device->SetVhtConfiguration (vhtConfiguration);
|
||||
|
||||
Reference in New Issue
Block a user