22 #ifndef WIFI_TX_VECTOR_H
23 #define WIFI_TX_VECTOR_H
25 #include <ns3/wifi-mode.h>
81 bool shortGuardInterval,
84 uint32_t channelWidth,
140 uint8_t
GetNss (
void)
const;
146 void SetNss (uint8_t nss);
void SetShortGuardInterval(bool guardinterval)
Sets if short gurad interval is being used.
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.
bool m_shortGuardInterval
true if short GI is going to be used
void SetStbc(bool stbc)
Sets if STBC is being used.
bool IsShortGuardInterval(void) const
represent a single transmission modeA WifiMode is implemented by a single integer which is used to lo...
uint8_t GetTxPowerLevel(void) const
void SetChannelWidth(uint32_t channelWidth)
Sets the selected channelWidth (in MHz)
uint8_t m_nss
number of streams
uint8_t GetNess(void) const
uint32_t m_channelWidth
channel width in MHz
uint32_t GetChannelWidth(void) const
bool IsStbc(void) const
Check if STBC is used or not.
uint8_t m_retries
The DATA_RETRIES/RTS_RETRIES parameter for Click radiotap information.
void SetNss(uint8_t nss)
Sets the number of Nss refer to IEEE 802.11n Table 20-28 for explanation and range.
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
void SetAggregation(bool aggregation)
Sets if PSDU contains A-MPDU.
void SetTxPowerLevel(uint8_t powerlevel)
Sets the selected transmission power level.
bool m_stbc
Flag whether the PSDU contains A-MPDU.
void SetMode(WifiMode mode)
Sets the selected payload transmission mode.
uint8_t GetNss(void) const
void SetNess(uint8_t ness)
Sets the Ness number refer to IEEE 802.11n Table 20-6 for explanation.
void SetRetries(uint8_t retries)
Sets the number of retries.
uint8_t GetRetries(void) const
uint8_t m_ness
number of streams in beamforming
WifiMode GetMode(void) const
bool m_txPowerLevelInitialized
uint8_t m_txPowerLevel
The TXPWR_LEVEL parameter in Table 15-4.
WifiMode m_mode
The DATARATE parameter in Table 15-4.