A Discrete-Event Network Simulator
API
wifi-standards.h File Reference
#include <map>
#include "wifi-phy-band.h"
#include "ns3/abort.h"
+ Include dependency graph for wifi-standards.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ns3::WifiStandardInfo
 hold PHY and MAC information based on the selected standard. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Enumerations

enum  ns3::FrequencyChannelType : uint8_t { ns3::WIFI_PHY_DSSS_CHANNEL = 0, ns3::WIFI_PHY_OFDM_CHANNEL, ns3::WIFI_PHY_80211p_CHANNEL }
 Enumeration of frequency channel types. More...
 
enum  ns3::WifiMacStandard { ns3::WIFI_MAC_STANDARD_80211, ns3::WIFI_MAC_STANDARD_80211n, ns3::WIFI_MAC_STANDARD_80211ac, ns3::WIFI_MAC_STANDARD_80211ax }
 Identifies the MAC specification that a Wifi device is configured to use. More...
 
enum  ns3::WifiPhyStandard {
  ns3::WIFI_PHY_STANDARD_80211a, ns3::WIFI_PHY_STANDARD_80211b, ns3::WIFI_PHY_STANDARD_80211g, ns3::WIFI_PHY_STANDARD_80211_10MHZ,
  ns3::WIFI_PHY_STANDARD_80211_5MHZ, ns3::WIFI_PHY_STANDARD_80211p, ns3::WIFI_PHY_STANDARD_80211n_2_4GHZ, ns3::WIFI_PHY_STANDARD_80211n_5GHZ,
  ns3::WIFI_PHY_STANDARD_80211n, ns3::WIFI_PHY_STANDARD_80211ac, ns3::WIFI_PHY_STANDARD_80211ax, ns3::WIFI_PHY_STANDARD_UNSPECIFIED
}
 Identifies the PHY specification that a Wifi device is configured to use. More...
 
enum  ns3::WifiStandard {
  ns3::WIFI_STANDARD_80211a, ns3::WIFI_STANDARD_80211b, ns3::WIFI_STANDARD_80211g, ns3::WIFI_STANDARD_80211p,
  ns3::WIFI_STANDARD_80211n_2_4GHZ, ns3::WIFI_STANDARD_80211n_5GHZ, ns3::WIFI_STANDARD_80211ac, ns3::WIFI_STANDARD_80211ax_2_4GHZ,
  ns3::WIFI_STANDARD_80211ax_5GHZ, ns3::WIFI_STANDARD_80211ax_6GHZ
}
 Identifies the allowed configurations that a Wifi device is configured to use. More...
 

Functions

uint16_t ns3::GetDefaultChannelWidth (WifiPhyStandard standard, WifiPhyBand band)
 Get the default channel width for the given PHY standard and band. More...
 
FrequencyChannelType ns3::GetFrequencyChannelType (WifiPhyStandard standard)
 Get the type of the frequency channel for the given PHY standard. More...
 
uint16_t ns3::GetMaximumChannelWidth (WifiPhyStandard standard)
 Get the maximum channel width in MHz allowed for the given PHY standard. More...
 
std::ostream & ns3::operator<< (std::ostream &os, WifiPhyStandard standard)
 Stream insertion operator. More...
 
std::ostream & ns3::operator<< (std::ostream &os, WifiMacStandard standard)
 Stream insertion operator. More...
 
std::ostream & ns3::operator<< (std::ostream &os, WifiStandard standard)
 Stream insertion operator. More...
 

Variables

const std::map< WifiStandard, WifiStandardInfo > ns3::wifiStandards
 map a given standard configured by the user to the corresponding WifiStandardInfo More...