27 m_defaultPEDuration(0),
29 m_heDurationBasedRtsThreshold(0),
31 m_maxBssidIndicator(0),
32 m_txBssidIndicator(0),
33 m_bssColorDisabled(0),
35 m_basicHeMcsAndNssSet(0xfffc)
96 NS_ASSERT((maxHeMcs >= 7 && maxHeMcs <= 11) && (nss >= 1 && nss <= 8));
104 else if (maxHeMcs > 7)
108 else if (maxHeMcs == 7)
114 const uint16_t mask = ~(0x03 << ((nss - 1) * 2));
iterator in a Buffer instance
void Print(std::ostream &os) const override
Generate human-readable form of IE.
void SetBssColor(uint8_t bssColor)
Set the BSS color.
uint8_t m_dualBeacon
Dual Beacon.
void SetMaxHeMcsPerNss(uint8_t nss, uint8_t maxHeMcs)
Set the Basic HE-MCS and NSS field in the HE Operation information element by specifying the tuple (n...
uint8_t m_partialBssColor
partial BSS color
WifiInformationElementId ElementIdExt() const override
Get the wifi information element ID extension.
uint16_t DeserializeInformationField(Buffer::Iterator start, uint16_t length) override
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
uint8_t m_maxBssidIndicator
max BSSID indicator
uint8_t GetBssColor() const
Get the BSS color.
uint8_t m_twtRequired
TWT required.
uint16_t GetInformationFieldSize() const override
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
uint8_t m_txBssidIndicator
TX BSSID indicator.
uint8_t m_bssColor
BSS color.
void SetHeOperationParameters(uint32_t ctrl)
Set the HE Operation Parameters field in the HE Operation information element.
uint8_t m_defaultPEDuration
default PE duration
uint16_t m_basicHeMcsAndNssSet
basic HE MCS NSS set
uint16_t m_heDurationBasedRtsThreshold
HE duration based RTS threshold.
uint8_t m_bssColorDisabled
BSS color disabled.
uint16_t GetBasicHeMcsAndNssSet() const
Return the Basic HE-MCS And Nss field in the HE Operation information element.
uint32_t GetHeOperationParameters() const
Return the HE Operation Parameters field in the HE Operation information element.
WifiInformationElementId ElementId() const override
Get the wifi information element ID.
void SerializeInformationField(Buffer::Iterator start) const override
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
#define NS_ABORT_UNLESS(cond)
Abnormal program termination if a condition is false.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.