29     m_guardInterval (800),
 
   33     m_aggregation (false),
 
   35     m_modeInitialized (false),
 
   36     m_txPowerLevelInitialized (false)
 
   43                             uint16_t guardInterval,
 
   51     m_txPowerLevel (powerLevel),
 
   52     m_preamble (preamble),
 
   53     m_channelWidth (channelWidth),
 
   54     m_guardInterval (guardInterval),
 
   58     m_aggregation (aggregation),
 
   60     m_modeInitialized (true),
 
   61     m_txPowerLevelInitialized (true)
 
   80       NS_FATAL_ERROR (
"WifiTxVector txPowerLevel must be set before using");
 
  203           return (modeName != 
"VhtMcs9");
 
  210           return (modeName != 
"VhtMcs6");
 
  214           return (modeName != 
"VhtMcs9");
 
  221           return (modeName != 
"VhtMcs9");
 
  229   os << 
"mode: " << v.
GetMode () <<
 
  234     " NTx: " << +v.
GetNTx () <<
 
  235     " Nss: " << +v.
GetNss () <<
 
uint16_t GetGuardInterval(void) const 
 
uint8_t m_nTx
number of TX antennas 
 
uint8_t m_channelWidth
channel width in MHz 
 
This class mimics the TXVECTOR which is to be passed to the PHY in order to define the parameters whi...
 
bool IsAggregation(void) const 
Checks whether the PSDU contains A-MPDU. 
 
void SetStbc(bool stbc)
Sets if STBC is being used. 
 
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate. 
 
represent a single transmission modeA WifiMode is implemented by a single integer which is used to lo...
 
uint8_t GetTxPowerLevel(void) const 
 
uint8_t m_nss
number of spatial streams 
 
uint8_t GetChannelWidth(void) const 
 
WifiPreamble
The type of preamble to be used by an IEEE 802.11 transmission. 
 
bool IsValid(void) const 
The standard disallows certain combinations of WifiMode, number of spatial streams, and channel widths. 
 
void SetGuardInterval(uint16_t guardInterval)
Sets the guard interval duration (in nanoseconds) 
 
uint8_t GetNess(void) const 
 
std::string GetUniqueName(void) const 
 
uint16_t m_guardInterval
guard interval duration in nanoseconds 
 
bool IsStbc(void) const 
Check if STBC is used or not. 
 
void SetNss(uint8_t nss)
Sets the number of Nss refer to IEEE 802.11n Table 20-28 for explanation and range. 
 
bool m_modeInitialized
Internal initialization flag. 
 
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output 
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
void SetAggregation(bool aggregation)
Sets if PSDU contains A-MPDU. 
 
void SetPreambleType(WifiPreamble preamble)
Sets the preamble type. 
 
void SetTxPowerLevel(uint8_t powerlevel)
Sets the selected transmission power level. 
 
void SetNTx(uint8_t nTx)
Sets the number of TX antennas. 
 
bool m_aggregation
Flag whether the PSDU contains A-MPDU. 
 
bool m_stbc
STBC used or not. 
 
void SetMode(WifiMode mode)
Sets the selected payload transmission mode. 
 
WifiPreamble GetPreambleType(void) const 
 
uint8_t GetNss(void) const 
 
uint8_t GetNTx(void) const 
 
void SetNess(uint8_t ness)
Sets the Ness number refer to IEEE 802.11n Table 20-6 for explanation. 
 
void SetChannelWidth(uint8_t channelWidth)
Sets the selected channelWidth (in MHz) 
 
uint8_t m_ness
number of spatial streams in beamforming 
 
WifiMode GetMode(void) const 
 
bool m_txPowerLevelInitialized
Internal initialization flag. 
 
uint8_t m_txPowerLevel
The TXPWR_LEVEL parameter in Table 15-4. 
 
WifiMode m_mode
The DATARATE parameter in Table 15-4. 
 
WifiPreamble m_preamble
preamble