22 #ifndef HT_CAPABILITIES_H 
   23 #define HT_CAPABILITIES_H 
   26 #include "ns3/buffer.h" 
   27 #include "ns3/attribute-helper.h" 
   28 #include "ns3/wifi-information-element.h" 
   34 #define MAX_SUPPORTED_MCS  (77) 
uint8_t GetMaxAmsduLength(void) const 
 
uint8_t m_rxMcsBitmask[MAX_SUPPORTED_MCS]
 
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input 
 
void SetTxMcsSetDefined(uint8_t txmcssetdefined)
 
uint8_t m_rxStaggeredSoundingCapable
 
uint32_t m_reservedMcsSet3
 
uint8_t GetLSigProtectionSupport(void) const 
 
void SetGreenfield(uint8_t greenfield)
 
void SetTxBfCapabilities(uint32_t ctrl)
Set the Transmit Beamforming (TxBF) Capabilties field in the HT Capabilities information element...
 
uint8_t m_explicitNoncompressedSteeringCapable
 
uint8_t m_supportedChannelWidth
 
#define MAX_SUPPORTED_MCS
This defines the maximum number of supported MCSs that a STA is allowed to have. 
 
uint8_t m_antennaIndicesFeedbackCapable
 
void SetHtSupported(uint8_t htsupported)
 
uint8_t m_reservedExtendedCapabilities2
 
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)
Set the A-MPDU Parameters field in the HT Capabilities information element. 
 
uint8_t GetShortGuardInterval40(void) const 
 
uint8_t m_txSoundingPpdusCapable
 
uint8_t m_fortyMhzIntolerant
 
iterator in a Buffer instance 
 
uint8_t m_txMcsSetDefined
 
void SetLSigProtectionSupport(uint8_t lsigprotection)
 
uint8_t m_txStaggeredSoundingCapable
 
void SetShortGuardInterval20(uint8_t shortguardinterval)
 
uint8_t GetGreenfield(void) const 
 
uint8_t m_txMaxNSpatialStreams
 
uint8_t m_csiNBfAntennasSupported
 
uint64_t GetSupportedMcsSet1(void) const 
 
uint16_t m_rxHighestSupportedDataRate
 
uint8_t m_implicitTxBfCapable
 
void SetMaxAmsduLength(uint8_t maxamsdulength)
 
uint8_t m_antennaSelectionCapability
 
uint32_t GetTxBfCapabilities(void) const 
 
uint8_t GetShortGuardInterval20(void) const 
 
void SetMaxAmpduLength(uint8_t maxampdulength)
 
bool IsSupportedMcs(uint8_t mcs)
 
uint8_t m_reservedMcsSet1
 
uint16_t GetRxHighestSupportedDataRate(void) const 
 
uint8_t m_reservedMcsSet2
 
uint8_t m_channelEstimationCapability
 
uint8_t GetTxMaxNSpatialStreams(void) const 
 
WifiInformationElementId ElementId() const 
Own unique Element ID. 
 
uint8_t GetTxMcsSetDefined(void) const 
 
uint8_t m_htDelayedBlockAck
 
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output 
 
void SetRxHighestSupportedDataRate(uint16_t maxsupportedrate)
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
uint8_t m_implicitRxBfCapable
 
uint8_t m_explicitCompressedBfFeedbackCapable
 
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)
Set the Supported MCS Set field in the HT Capabilities information element. 
 
void SetExtendedHtCapabilities(uint16_t ctrl)
Set the Extended HT Capabilties field in the HT Capabilities information element. ...
 
uint8_t GetInformationFieldSize() const 
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
 
void SetAntennaSelectionCapabilities(uint8_t ctrl)
Set the the Antenna Selection (ASEL) Capabilties field in the HT Capabilities information element...
 
uint8_t GetLdpc(void) const 
 
void SetHtCapabilitiesInfo(uint16_t ctrl)
Set the HT Capabilties Info field in the HT Capabilities information element. 
 
uint16_t GetHtCapabilitiesInfo(void) const 
 
uint8_t m_noncompressedSteeringNBfAntennasSupported
 
uint8_t m_explicitCsiTxBfCapable
 
uint8_t m_compressedSteeringNBfAntennasSupported
 
uint8_t m_explicitCsiFeedbackBasedTxASelCapable
 
uint8_t m_minMpduStartSpace
 
uint8_t m_explicitCsiFeedbackCapable
 
void SetLdpc(uint8_t ldpc)
 
uint8_t m_csiMaxNRowsBfSupported
 
uint8_t * GetRxMcsBitmask()
 
uint8_t m_pcoTransitionTime
 
uint8_t m_txUnequalModulation
 
uint8_t m_explicitTxBfCsiFeedback
 
uint8_t m_minimalGrouping
 
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID. 
 
void SetTxMaxNSpatialStreams(uint8_t maxtxspatialstreams)
 
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
 
uint8_t m_reservedExtendedCapabilities
 
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...
 
void SetShortGuardInterval40(uint8_t shortguardinterval)
 
#define ATTRIBUTE_HELPER_HEADER(type)
Declare the attribute value, accessor and checkers for class type. 
 
uint8_t GetAntennaSelectionCapabilities(void) const 
 
uint8_t m_lsigProtectionSupport
 
void SetSupportedChannelWidth(uint8_t supportedchannelwidth)
 
uint8_t m_reverzeDirectionResponder
 
uint8_t GetMaxAmpduLength(void) const 
 
uint8_t m_explicitNoncompressedBfFeedbackCapable
 
uint8_t m_explicitCompressedSteeringCapable
 
uint8_t m_antennaIndicesFeedbackBasedTxASelCapable
 
uint16_t GetExtendedHtCapabilities(void) const