wifi: Add initial PHY support for 802.11be

This commit is contained in:
Sébastien Deronne
2022-02-19 19:00:05 +01:00
committed by Stefano Avallone
parent f0e9f13480
commit a14fe4a51c
3 changed files with 16 additions and 0 deletions

View File

@@ -448,6 +448,7 @@ SpectrumWifiPhy::GetBandBandwidth (void) const
}
break;
case WIFI_STANDARD_80211ax:
case WIFI_STANDARD_80211be:
// Use OFDM subcarrier width of 78.125 KHz as band granularity
bandBandwidth = 78125;
break;

View File

@@ -831,6 +831,13 @@ WifiPhy::Configure80211ax (void)
AddPhyEntity (WIFI_MOD_CLASS_HE, Create<HePhy> ());
}
void
WifiPhy::Configure80211be (void)
{
NS_LOG_FUNCTION (this);
Configure80211ax ();
}
void
WifiPhy::ConfigureStandard (WifiStandard standard)
{
@@ -876,6 +883,9 @@ WifiPhy::ConfigureStandard (WifiStandard standard)
case WIFI_STANDARD_80211ax:
Configure80211ax ();
break;
case WIFI_STANDARD_80211be:
Configure80211be ();
break;
case WIFI_STANDARD_UNSPECIFIED:
default:
NS_ASSERT_MSG (false, "Unsupported standard");

View File

@@ -1211,6 +1211,11 @@ private:
* supported rates for 802.11ax standard.
*/
void Configure80211ax (void);
/**
* Configure WifiPhy with appropriate channel frequency and
* supported rates for 802.11be standard.
*/
void Configure80211be (void);
/**
* Configure the device MCS set with the appropriate HtMcs modes for
* the number of available transmit spatial streams