20 #ifndef HT_CAPABILITIES_H
21 #define HT_CAPABILITIES_H
24 #include "ns3/buffer.h"
25 #include "ns3/attribute-helper.h"
26 #include "ns3/wifi-information-element.h"
32 #define MAX_SUPPORTED_MCS (77)
uint8_t m_rxMcsBitmask[MAX_SUPPORTED_MCS]
ATTRIBUTE_HELPER_HEADER(ObjectFactory)
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)
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.
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
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) ...
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)