wifi: Create PHY entity for 802.11be STAs
This commit is contained in:
committed by
Sebastien Deronne
parent
9faa0b6079
commit
9ea775b0e9
@@ -71,7 +71,7 @@ const std::set<FrequencyChannelInfo> WifiPhyOperatingChannel::m_frequencyChannel
|
||||
{ std::make_tuple (10, 2457, 40, WIFI_PHY_OFDM_CHANNEL, WIFI_PHY_BAND_2_4GHZ) },
|
||||
{ std::make_tuple (11, 2462, 40, WIFI_PHY_OFDM_CHANNEL, WIFI_PHY_BAND_2_4GHZ) },
|
||||
|
||||
// Now the 5 GHz channels used for 802.11a/n/ac/ax
|
||||
// Now the 5 GHz channels used for 802.11a/n/ac/ax/be
|
||||
// 20 MHz channels
|
||||
{ std::make_tuple (36, 5180, 20, WIFI_PHY_OFDM_CHANNEL, WIFI_PHY_BAND_5GHZ) },
|
||||
{ std::make_tuple (40, 5200, 20, WIFI_PHY_OFDM_CHANNEL, WIFI_PHY_BAND_5GHZ) },
|
||||
@@ -148,7 +148,7 @@ const std::set<FrequencyChannelInfo> WifiPhyOperatingChannel::m_frequencyChannel
|
||||
{ std::make_tuple (181, 5910, 5, WIFI_PHY_80211p_CHANNEL, WIFI_PHY_BAND_5GHZ) },
|
||||
{ std::make_tuple (183, 5920, 5, WIFI_PHY_80211p_CHANNEL, WIFI_PHY_BAND_5GHZ) },
|
||||
|
||||
// Now the 6 GHz channels (802.11ax only)
|
||||
// Now the 6 GHz channels for 802.11ax/be
|
||||
// 20 MHz channels
|
||||
{ std::make_tuple (1, 5945, 20, WIFI_PHY_OFDM_CHANNEL, WIFI_PHY_BAND_6GHZ) },
|
||||
{ std::make_tuple (5, 5965, 20, WIFI_PHY_OFDM_CHANNEL, WIFI_PHY_BAND_6GHZ) },
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include "wifi-ppdu.h"
|
||||
#include "ns3/dsss-phy.h"
|
||||
#include "ns3/erp-ofdm-phy.h"
|
||||
#include "ns3/he-phy.h" //includes OFDM, HT, and VHT
|
||||
#include "ns3/eht-phy.h" //also includes OFDM, HT, VHT and HE
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
@@ -870,6 +870,7 @@ WifiPhy::Configure80211be (void)
|
||||
{
|
||||
NS_LOG_FUNCTION (this);
|
||||
Configure80211ax ();
|
||||
AddPhyEntity (WIFI_MOD_CLASS_EHT, Create<EhtPhy> ());
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user