21 #ifndef WIFI_STANDARD_H
22 #define WIFI_STANDARD_H
26 #include "ns3/abort.h"
78 return (os <<
"802.11a");
80 return (os <<
"802.11b");
82 return (os <<
"802.11g");
84 return (os <<
"802.11p");
86 return (os <<
"802.11n");
88 return (os <<
"802.11ac");
90 return (os <<
"802.11ax");
93 return (os <<
"UNSPECIFIED");
121 return (os <<
"802.11");
123 return (os <<
"802.11n");
125 return (os <<
"802.11ac");
127 return (os <<
"802.11ax");
129 return (os <<
"UNSPECIFIED");
163 return (os <<
"802.11a");
165 return (os <<
"802.11b");
167 return (os <<
"802.11g");
169 return (os <<
"802.11p");
171 return (os <<
"802.11n-2.4GHz");
173 return (os <<
"802.11n-5GHz");
175 return (os <<
"802.11ac");
177 return (os <<
"802.11ax-2.4GHz");
179 return (os <<
"802.11ax-5GHz");
181 return (os <<
"802.11ax-6GHz");
183 return (os <<
"UNSPECIFIED");
#define NS_ABORT_MSG(msg)
Unconditional abnormal program termination with a message.
WifiPhyStandard
Identifies the PHY specification that a Wifi device is configured to use.
WifiStandard
Identifies the allowed configurations that a Wifi device is configured to use.
FrequencyChannelType
Enumeration of frequency channel types.
WifiPhyBand
Identifies the PHY band.
WifiMacStandard
Identifies the MAC specification that a Wifi device is configured to use.
@ WIFI_PHY_STANDARD_80211a
OFDM PHY (Clause 17)
@ WIFI_PHY_STANDARD_80211n_2_4GHZ
HT PHY for the 2.4 GHz band (clause 20)
@ WIFI_PHY_STANDARD_80211b
DSSS PHY (Clause 15) and HR/DSSS PHY (Clause 18)
@ WIFI_PHY_STANDARD_80211ac
VHT PHY (clause 22)
@ WIFI_PHY_STANDARD_80211_5MHZ
OFDM PHY for the 5 GHz band (Clause 17 with 5 MHz channel bandwidth)
@ WIFI_PHY_STANDARD_UNSPECIFIED
Unspecified.
@ WIFI_PHY_STANDARD_80211n_5GHZ
HT PHY for the 5 GHz band (clause 20)
@ WIFI_PHY_STANDARD_80211ax
HE PHY (clause 26)
@ WIFI_PHY_STANDARD_80211p
OFDM PHY (Clause 17 - amendment for 10 MHz and 5 MHz channels)
@ WIFI_PHY_STANDARD_80211g
ERP-OFDM PHY (Clause 19, Section 19.5)
@ WIFI_PHY_STANDARD_80211n
HT PHY (clause 20)
@ WIFI_PHY_STANDARD_80211_10MHZ
OFDM PHY for the 5 GHz band (Clause 17 with 10 MHz channel bandwidth)
@ WIFI_STANDARD_80211n_5GHZ
@ WIFI_STANDARD_80211ax_5GHZ
@ WIFI_STANDARD_80211n_2_4GHZ
@ WIFI_STANDARD_80211ax_2_4GHZ
@ WIFI_STANDARD_80211ax_6GHZ
@ WIFI_PHY_80211p_CHANNEL
@ WIFI_PHY_BAND_6GHZ
The 6 GHz band.
@ WIFI_PHY_BAND_2_4GHZ
The 2.4 GHz band.
@ WIFI_PHY_BAND_5GHZ
The 5 GHz band.
@ WIFI_MAC_STANDARD_80211ax
@ WIFI_MAC_STANDARD_80211ac
@ WIFI_MAC_STANDARD_80211n
@ WIFI_MAC_STANDARD_80211
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint16_t GetDefaultChannelWidth(WifiPhyStandard standard, WifiPhyBand band)
Get the default channel width for the given PHY standard and band.
const std::map< WifiStandard, WifiStandardInfo > wifiStandards
map a given standard configured by the user to the corresponding WifiStandardInfo
FrequencyChannelType GetFrequencyChannelType(WifiPhyStandard standard)
Get the type of the frequency channel for the given PHY standard.
std::ostream & operator<<(std::ostream &os, const Angles &a)
uint16_t GetMaximumChannelWidth(WifiPhyStandard standard)
Get the maximum channel width in MHz allowed for the given PHY standard.
hold PHY and MAC information based on the selected standard.
WifiPhyBand phyBand
the PHY band
WifiMacStandard macStandard
the MAC standard
WifiPhyStandard phyStandard
the PHY standard