A Discrete-Event Network Simulator
API
wifi-standards.h File Reference
#include <map>
#include <list>
#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.

Namespaces

namespace  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::WifiStandard {
  ns3::WIFI_STANDARD_UNSPECIFIED , ns3::WIFI_STANDARD_80211a , ns3::WIFI_STANDARD_80211b , ns3::WIFI_STANDARD_80211g ,
  ns3::WIFI_STANDARD_80211p , ns3::WIFI_STANDARD_80211n , ns3::WIFI_STANDARD_80211ac , ns3::WIFI_STANDARD_80211ax ,
  ns3::WIFI_STANDARD_80211be
}
 Identifies the IEEE 802.11 specifications that a Wifi device can be configured to use. More...
 

Functions

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

Variables

const std::map< WifiStandard, std::list< WifiPhyBand > > ns3::wifiStandards
 map a given standard configured by the user to the allowed PHY bands More...