22 #include "ns3/assert.h"
33 m_supportedChannelWidth(0),
36 m_shortGuardInterval20(0),
37 m_shortGuardInterval40(0),
40 m_htDelayedBlockAck(0),
44 m_fortyMhzIntolerant(0),
45 m_lsigProtectionSupport(0),
47 m_minMpduStartSpace(0),
50 m_rxHighestSupportedDataRate(0),
53 m_txRxMcsSetUnequal(0),
54 m_txMaxNSpatialStreams(0),
55 m_txUnequalModulation(0),
233 for(uint64_t i=0 ; i < 77;i++)
257 for(uint64_t i=63 ; i >0 ;i--)
277 for (uint64_t i=12; i>0;i--)
303 uint8_t ampduparam = i.
ReadU8 ();
327 is >> c1 >> c2 >> c3 >>c4;
uint8_t m_rxMcsBitmask[MAX_SUPPORTED_MCS]
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input
uint32_t m_reservedMcsSet3
void SetGreenfield(uint8_t greenfield)
uint8_t m_supportedChannelWidth
#define MAX_SUPPORTED_MCS
This defines the maximum number of supported MCSs that a STA is allowed to have.
void SetHtSupported(uint8_t htsupported)
uint64_t GetSupportedMcsSet2(void) const
void SetRxMcsBitmask(uint8_t index)
#define NS_ASSERT(condition)
The Ht Capabilities Information ElementThis class knows how to serialise and deserialise the Ht Capab...
uint8_t GetSupportedChannelWidth(void) const
uint8_t m_shortGuardInterval40
void SetAmpduParameters(uint8_t ctrl)
uint8_t m_fortyMhzIntolerant
iterator in a Buffer instance
uint8_t m_txMcsSetDefined
void SetShortGuardInterval20(uint8_t shortguardinterval)
uint8_t GetGreenfield(void) const
uint8_t m_txMaxNSpatialStreams
uint64_t GetSupportedMcsSet1(void) const
uint16_t m_rxHighestSupportedDataRate
uint8_t GetShortGuardInterval20(void) const
bool IsSupportedMcs(uint8_t mcs)
uint8_t m_reservedMcsSet1
uint8_t m_reservedMcsSet2
WifiInformationElementId ElementId() const
Own unique Element ID.
NS_LOG_COMPONENT_DEFINE("HtCapabilities")
uint8_t m_htDelayedBlockAck
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
uint8_t GetAmpduParameters(void) const
uint8_t m_txRxMcsSetUnequal
void SerializeInformationField(Buffer::Iterator start) const
Serialize information (i.e., the body of the IE, not including the Element ID and length octets) ...
void SetSupportedMcsSet(uint64_t ctrl1, uint64_t ctrl2)
uint8_t GetInformationFieldSize() const
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
uint8_t GetLdpc(void) const
void SetHtCapabilitiesInfo(uint16_t ctrl)
uint16_t GetHtCapabilitiesInfo(void) const
uint8_t m_minMpduStartSpace
void SetLdpc(uint8_t ldpc)
uint8_t * GetRxMcsBitmask()
uint8_t m_txUnequalModulation
uint16_t ReadLsbtohU16(void)
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
uint8_t DeserializeInformationField(Buffer::Iterator start, uint8_t length)
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets) ...
ATTRIBUTE_HELPER_CPP(ObjectFactory)
uint64_t ReadLsbtohU64(void)
uint16_t GetSerializedSize() const
Return the serialized size of this HT capability information element.
uint8_t m_shortGuardInterval20
Buffer::Iterator Serialize(Buffer::Iterator start) const
This information element is a bit special in that it is only included if the STA is an HT STA...
uint8_t m_lsigProtectionSupport
void SetSupportedChannelWidth(uint8_t supportedchannelwidth)