13#include "ns3/wifi-information-element.h"
14#include "ns3/wifi-opt-field.h"
34 void Print(std::ostream& os)
const override;
53 void Print(std::ostream& os)
const;
88 void Print(std::ostream& os)
const;
128 void Print(std::ostream& os)
const;
iterator in a Buffer instance
The HE Operation Information Element.
OptFieldWithPresenceInd< OpInfo6GHz > m_6GHzOpInfo
6 GHz Operation Information field
void Print(std::ostream &os) const override
Generate human-readable form of IE.
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 pair (ns...
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)
uint16_t GetInformationFieldSize() const override
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
uint16_t m_basicHeMcsAndNssSet
Basic HE-MCS And NSS set (use setter to set value)
WifiInformationElementId ElementId() const override
Get the wifi information element ID.
HeOperationParams m_heOpParams
HE Operation Parameters field.
void SerializeInformationField(Buffer::Iterator start) const override
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
BssColorInfo m_bssColorInfo
BSS Color Information field.
OptFieldWithPresenceInd is a class modeling an optional field (in an Information Element,...
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.
BSS Color Information field.
void Serialize(Buffer::Iterator &start) const
Serialize the BSS Color Information field.
uint8_t m_bssColorDisabled
BSS Color Disabled.
void Print(std::ostream &os) const
Print the content of the BSS Color Information field.
uint8_t m_bssColor
BSS Color.
uint16_t Deserialize(Buffer::Iterator &start)
Deserialize the BSS Color Information field.
uint16_t GetSerializedSize() const
uint8_t m_partialBssColor
Partial BSS Color.
HE Operation Parameters field.
uint8_t m_erSuDisable
ER SU Disable.
void Print(std::ostream &os) const
Print the content of the HE Operation Parameters field.
void Serialize(Buffer::Iterator &start) const
Serialize the HE Operation Parameters field.
uint8_t m_vhOpPresent
VHT Operation Information Present (value 1 unsupported)
bool m_6GHzOpPresent
6 GHz Operation Information Present (do not set, it is set by the OptFieldWithPresenceInd)
uint8_t m_coHostedBss
Co-Hosted BSS (value 1 unsupported)
uint16_t GetSerializedSize() const
uint16_t Deserialize(Buffer::Iterator &start)
Deserialize the HE Operation Parameters field.
uint8_t m_defaultPeDuration
Default PE Duration.
uint8_t m_twtRequired
TWT Required.
uint16_t m_txopDurRtsThresh
TXOP Duration RTS Threshold.
6 GHz Operation Information field
uint8_t m_chCntrFreqSeg0
Channel center frequency segment 0.
void Print(std::ostream &os) const
Print the content of the 6 GHz Operation Information field.
uint8_t m_chWid
Channel Width.
uint16_t GetSerializedSize() const
uint8_t m_chCntrFreqSeg1
Channel center frequency segment 1.
uint8_t m_minRate
Minimum Rate.
uint16_t Deserialize(Buffer::Iterator &start)
Deserialize the 6 GHz Operation Information field.
uint8_t m_regInfo
Regulatory Info.
uint8_t m_dupBeacon
Duplicate Beacon.
void Serialize(Buffer::Iterator &start) const
Serialize the 6 GHz Operation Information field.
uint8_t m_primCh
Primary Channel.