21 #ifndef HE_OPERATION_H
22 #define HE_OPERATION_H
24 #include "ns3/wifi-information-element.h"
iterator in a Buffer instance
The HE Operation Information Element.
void SetBssColor(uint8_t bssColor)
Set the BSS color.
uint8_t m_heSupported
This is used to decide whether this element should be added to the frame or not.
uint8_t m_dualBeacon
Dual Beacon.
uint8_t GetBssColor(void) const
Get the BSS color.
uint32_t GetHeOperationParameters(void) const
Return the HE Operation Parameters field in the HE Operation information element.
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
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
uint8_t m_maxBssidIndicator
max BSSID indicator
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
uint8_t m_twtRequired
TWT required.
uint16_t GetBasicHeMcsAndNssSet(void) const
Return the Basic HE-MCS And Nss field in the HE Operation information element.
uint8_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.
WifiInformationElementId ElementId() const override
void SerializeInformationField(Buffer::Iterator start) const override
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
uint8_t DeserializeInformationField(Buffer::Iterator start, uint8_t length) override
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
void SetHeSupported(uint8_t heSupported)
Set the HE supported information element.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::ostream & operator<<(std::ostream &os, const Angles &a)
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.