A Discrete-Event Network Simulator
API
ns3::WifiSpectrumModelId Struct Reference

Wifi Spectrum Model structure. More...

+ Collaboration diagram for ns3::WifiSpectrumModelId:

Public Member Functions

 WifiSpectrumModelId (uint32_t f, uint16_t w, double b, uint16_t g)
 Constructor. More...
 

Public Attributes

double m_bandBandwidth
 width of each band (in Hz) More...
 
uint32_t m_centerFrequency
 center frequency (in MHz) More...
 
uint16_t m_channelWidth
 channel width (in MHz) More...
 
uint16_t m_guardBandwidth
 guard band width (in MHz) More...
 

Detailed Description

Wifi Spectrum Model structure.

Definition at line 37 of file wifi-spectrum-value-helper.cc.

Constructor & Destructor Documentation

◆ WifiSpectrumModelId()

ns3::WifiSpectrumModelId::WifiSpectrumModelId ( uint32_t  f,
uint16_t  w,
double  b,
uint16_t  g 
)

Constructor.

Parameters
fthe frequency (in MHz)
wthe channel width (in MHz)
bthe width of each band (in Hz)
gthe guard band width (in MHz)

Definition at line 53 of file wifi-spectrum-value-helper.cc.

References f(), and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_bandBandwidth

double ns3::WifiSpectrumModelId::m_bandBandwidth

width of each band (in Hz)

Definition at line 49 of file wifi-spectrum-value-helper.cc.

Referenced by ns3::operator<().

◆ m_centerFrequency

uint32_t ns3::WifiSpectrumModelId::m_centerFrequency

center frequency (in MHz)

Definition at line 47 of file wifi-spectrum-value-helper.cc.

Referenced by ns3::operator<().

◆ m_channelWidth

uint16_t ns3::WifiSpectrumModelId::m_channelWidth

channel width (in MHz)

Definition at line 48 of file wifi-spectrum-value-helper.cc.

Referenced by ns3::operator<().

◆ m_guardBandwidth

uint16_t ns3::WifiSpectrumModelId::m_guardBandwidth

guard band width (in MHz)

Definition at line 50 of file wifi-spectrum-value-helper.cc.

Referenced by ns3::operator<().


The documentation for this struct was generated from the following file: