A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-spectrum-value-helper.h File Reference
#include "spectrum-value.h"
+ Include dependency graph for wifi-spectrum-value-helper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ns3::FrequencyRange
 Struct defining a frequency range between minFrequency (MHz) and maxFrequency (MHz). More...
 
class  ns3::WifiSpectrumValueHelper
 This class defines all functions to create a spectrum model for Wi-Fi based on a a spectral model aligned with an OFDM subcarrier spacing of 312.5 KHz (model also reused for DSSS modulations) More...
 

Namespaces

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

Typedefs

using ns3::WifiSpectrumBandIndices = std::pair< uint32_t, uint32_t >
 typedef for a pair of start and stop sub-band indices
 

Functions

bool ns3::operator!= (const FrequencyRange &lhs, const FrequencyRange &rhs)
 Compare two FrequencyRange values.
 
bool ns3::operator< (const FrequencyRange &lhs, const FrequencyRange &rhs)
 Compare two FrequencyRange values.
 
std::ostream & ns3::operator<< (std::ostream &os, const FrequencyRange &freqRange)
 Serialize FrequencyRange values to ostream (human-readable).
 
bool ns3::operator== (const FrequencyRange &lhs, const FrequencyRange &rhs)
 Compare two FrequencyRange values.
 

Variables

constexpr FrequencyRange ns3::WHOLE_WIFI_SPECTRUM = {2401, 7125}
 Identifier for the frequency range covering the whole wifi spectrum.
 
constexpr FrequencyRange ns3::WIFI_SPECTRUM_2_4_GHZ = {2401, 2483}
 Identifier for the frequency range covering the wifi spectrum in the 2.4 GHz band.
 
constexpr FrequencyRange ns3::WIFI_SPECTRUM_5_GHZ = {5170, 5915}
 Identifier for the frequency range covering the wifi spectrum in the 5 GHz band.
 
constexpr FrequencyRange ns3::WIFI_SPECTRUM_6_GHZ = {5945, 7125}
 Identifier for the frequency range covering the wifi spectrum in the 6 GHz band.