wifi: Small changes for 11ac/11ax
(cherry picked from commit 0684a0083da975bbe2965a1380064ef263a870b0)
This commit is contained in:
@@ -1092,11 +1092,15 @@ void
|
||||
WifiPhy::Configure80211ax (void)
|
||||
{
|
||||
NS_LOG_FUNCTION (this);
|
||||
Configure80211n ();
|
||||
if (Is5Ghz (GetFrequency ()))
|
||||
{
|
||||
Configure80211ac ();
|
||||
}
|
||||
else
|
||||
{
|
||||
Configure80211n ();
|
||||
}
|
||||
|
||||
m_deviceMcsSet.push_back (WifiPhy::GetHeMcs0 ());
|
||||
m_deviceMcsSet.push_back (WifiPhy::GetHeMcs1 ());
|
||||
m_deviceMcsSet.push_back (WifiPhy::GetHeMcs2 ());
|
||||
@@ -1248,8 +1252,6 @@ WifiPhy::ConfigureStandard (WifiPhyStandard standard)
|
||||
ConfigureHolland ();
|
||||
break;
|
||||
case WIFI_PHY_STANDARD_80211n_2_4GHZ:
|
||||
Configure80211n ();
|
||||
break;
|
||||
case WIFI_PHY_STANDARD_80211n_5GHZ:
|
||||
Configure80211n ();
|
||||
break;
|
||||
@@ -1257,8 +1259,6 @@ WifiPhy::ConfigureStandard (WifiPhyStandard standard)
|
||||
Configure80211ac ();
|
||||
break;
|
||||
case WIFI_PHY_STANDARD_80211ax_2_4GHZ:
|
||||
Configure80211ax ();
|
||||
break;
|
||||
case WIFI_PHY_STANDARD_80211ax_5GHZ:
|
||||
Configure80211ax ();
|
||||
break;
|
||||
|
||||
@@ -1340,7 +1340,7 @@ WifiRemoteStationManager::AddBasicMode (WifiMode mode)
|
||||
NS_LOG_FUNCTION (this << mode);
|
||||
if (mode.GetModulationClass () == WIFI_MOD_CLASS_HT || mode.GetModulationClass () == WIFI_MOD_CLASS_VHT || mode.GetModulationClass () == WIFI_MOD_CLASS_HE)
|
||||
{
|
||||
NS_FATAL_ERROR ("It is not allowed to add a (V)HT rate in the BSSBasicRateSet!");
|
||||
NS_FATAL_ERROR ("It is not allowed to add a HT, VHT or HE rate in the BSSBasicRateSet!");
|
||||
}
|
||||
for (uint8_t i = 0; i < GetNBasicModes (); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user