28 m_supportedChannelWidth (0),
31 m_shortGuardInterval20 (0),
32 m_shortGuardInterval40 (0),
35 m_htDelayedBlockAck (0),
39 m_fortyMhzIntolerant (0),
40 m_lsigProtectionSupport (0),
42 m_minMpduStartSpace (0),
44 m_reservedMcsSet1 (0),
45 m_rxHighestSupportedDataRate (0),
46 m_reservedMcsSet2 (0),
47 m_txMcsSetDefined (0),
48 m_txRxMcsSetUnequal (0),
49 m_txMaxNSpatialStreams (0),
50 m_txUnequalModulation (0),
51 m_reservedMcsSet3 (0),
53 m_pcoTransitionTime (0),
54 m_reservedExtendedCapabilities (0),
57 m_reverzeDirectionResponder (0),
58 m_reservedExtendedCapabilities2 (0),
59 m_implicitRxBfCapable (0),
60 m_rxStaggeredSoundingCapable (0),
61 m_txStaggeredSoundingCapable (0),
64 m_implicitTxBfCapable (0),
66 m_explicitCsiTxBfCapable (0),
67 m_explicitNoncompressedSteeringCapable (0),
68 m_explicitCompressedSteeringCapable (0),
69 m_explicitTxBfCsiFeedback (0),
70 m_explicitNoncompressedBfFeedbackCapable (0),
71 m_explicitCompressedBfFeedbackCapable (0),
72 m_minimalGrouping (0),
73 m_csiNBfAntennasSupported (0),
74 m_noncompressedSteeringNBfAntennasSupported (0),
75 m_compressedSteeringNBfAntennasSupported (0),
76 m_csiMaxNRowsBfSupported (0),
77 m_channelEstimationCapability (0),
79 m_antennaSelectionCapability (0),
80 m_explicitCsiFeedbackBasedTxASelCapable (0),
81 m_antennaIndicesFeedbackBasedTxASelCapable (0),
82 m_explicitCsiFeedbackCapable (0),
83 m_antennaIndicesFeedbackCapable (0),
85 m_txSoundingPpdusCapable (0),
228 for (uint8_t nRx = 2; nRx <= 4; nRx++)
230 for (uint8_t mcs = (nRx - 1) * 8; mcs <= ((7 * nRx) + (nRx - 1)); mcs++)
330 for (uint64_t i = 0; i < 77; i++)
355 for (uint64_t i = 63; i > 0; i--)
376 for (uint64_t i = 13; i > 0; i--)
511 uint8_t ampduparam = i.
ReadU8 ();
514 uint16_t extendedcapabilities = i.
ReadU16 ();
515 uint32_t txbfcapabilities = i.
ReadU32 ();
516 uint8_t aselcapabilities = i.
ReadU8 ();
537 os << bool (htcapabilities.
GetLdpc ())
uint8_t m_psmpSupport
PSMP support.
uint8_t m_rxMcsBitmask[MAX_SUPPORTED_MCS]
receive MCS bitmask
uint8_t GetGreenfield(void) const
Return the green field.
uint8_t m_dssMode40
DSS mode 40.
uint32_t GetTxBfCapabilities(void) const
Return the Transmit Beamforming (TxBF) Capabilities field in the HT Capabilities information element...
uint8_t m_maxAmpduLength
maximum AMPDU length
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_reservedTxBf
reserved transmit BF
uint8_t m_mcsFeedback
MCS feedback.
void SetTxMcsSetDefined(uint8_t txmcssetdefined)
Set the transmit MCS set defined.
uint8_t m_rxStaggeredSoundingCapable
receive staggered sounding capable
uint32_t m_reservedMcsSet3
reserved MCS set 3
void SetGreenfield(uint8_t greenfield)
Set the green field.
void SetTxBfCapabilities(uint32_t ctrl)
Set the Transmit Beamforming (TxBF) Capabilities field in the HT Capabilities information element...
uint8_t m_explicitNoncompressedSteeringCapable
explicit non compressed steeering capable
uint8_t m_supportedChannelWidth
supported channel width
#define MAX_SUPPORTED_MCS
This defines the maximum number of supported MCSs that a STA is allowed to have.
uint8_t m_antennaIndicesFeedbackCapable
antenna indices feedback capable
void SetHtSupported(uint8_t htsupported)
Set the HT supported field.
uint64_t GetSupportedMcsSet2(void) const
Return the last 64 bytes of the Supported MCS Set field in the HT Capabilities information element...
WifiInformationElementId ElementId() const
Return the element ID.
uint8_t m_reservedExtendedCapabilities2
reserver extended capabilities 2
void SetRxMcsBitmask(uint8_t index)
Set the receive MCS bitmask.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
The HT Capabilities Information ElementThis class knows how to serialise and deserialise the HT Capab...
uint8_t GetAntennaSelectionCapabilities(void) const
Return the Antenna Selection (ASEL) Capabilities field in the HT Capabilities information element...
uint8_t GetSupportedChannelWidth(void) const
Return the supported channel width.
uint8_t m_shortGuardInterval40
short guard interval 40
void SetAmpduParameters(uint8_t ctrl)
Set the A-MPDU Parameters field in the HT Capabilities information element.
uint8_t m_txSoundingPpdusCapable
sounding PPDUS capable
uint8_t m_fortyMhzIntolerant
40 Mhz intolerant
iterator in a Buffer instance
uint8_t m_txMcsSetDefined
transmit MCS set defined
uint8_t m_rxNdpCapable
receive NDP capable
void SetLSigProtectionSupport(uint8_t lsigprotection)
Set the LSIG protection support.
uint8_t m_txStbc
transmit STBC
uint8_t GetRxHighestSupportedAntennas(void) const
Return the receive highest supported antennas.
uint8_t m_txStaggeredSoundingCapable
transmit staggered soundign capable
bool IsSupportedMcs(uint8_t mcs) const
Return the is MCS supported flag.
void SetShortGuardInterval20(uint8_t shortguardinterval)
Set the short guard interval 20 field.
uint8_t GetLdpc(void) const
Return LDPC.
uint8_t GetAmpduParameters(void) const
Return the A-MPDU Parameters field in the HT Capabilities information element.
uint8_t m_txMaxNSpatialStreams
transmit maximum number spatial streams
uint8_t m_csiNBfAntennasSupported
CSI NBF antenna supported.
uint8_t m_htSupported
This is used to decide whether this element should be added to the frame or not.
uint16_t m_rxHighestSupportedDataRate
receive highest supported data rate
uint8_t m_implicitTxBfCapable
implicit transmit BF capable
void SetMaxAmsduLength(uint8_t maxamsdulength)
Set the maximum AMSDU length.
uint8_t m_greenField
green field
uint8_t m_antennaSelectionCapability
antenna selection capability
void SetMaxAmpduLength(uint8_t maxampdulength)
Set the maximum AMPDU length.
uint8_t m_reservedMcsSet1
reserved MCS set 1
uint8_t m_reservedMcsSet2
reserved MCS set 2
uint8_t m_channelEstimationCapability
channel estimation capability
uint8_t m_reservedASel
reserved a sel
uint8_t m_htDelayedBlockAck
HT delayed block ack.
void SerializeInformationField(Buffer::Iterator start) const
Serialize the information field.
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
void SetRxHighestSupportedDataRate(uint16_t maxsupportedrate)
Set the receive highest supported data rate.
uint8_t m_smPowerSave
SM power save.
uint16_t GetSerializedSize() const
Return the serialized size of this HT capability information element.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t m_implicitRxBfCapable
implicit receive BF capable
uint8_t m_explicitCompressedBfFeedbackCapable
explicit compressed BF feedback capable
uint8_t m_maxAmsduLength
maximum AMSDU length
uint8_t m_ampduReserved
AMPDU reserved.
uint8_t m_htcSupport
HTS support.
uint8_t m_txRxMcsSetUnequal
transmit / receive MCS set unequal
uint8_t m_rxASelCapable
receive a sel capable
void SetTxUnequalModulation(uint8_t txunequalmodulation)
Set the transmit unequal modulation.
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 Capabilities field in the HT Capabilities information element.
void SetAntennaSelectionCapabilities(uint8_t ctrl)
Set the the Antenna Selection (ASEL) Capabilities field in the HT Capabilities information element...
void SetHtCapabilitiesInfo(uint16_t ctrl)
Set the HT Capabilities Info field in the HT Capabilities information element.
uint8_t m_rxStbc
receive STBC
uint64_t GetSupportedMcsSet1(void) const
Return the first 64 bytes of the Supported MCS Set field in the HT Capabilities information element...
uint8_t m_noncompressedSteeringNBfAntennasSupported
non compressed steering NBF antenna supported
uint8_t m_explicitCsiTxBfCapable
explicit CSI transmit BF capable
uint8_t m_compressedSteeringNBfAntennasSupported
compressed steering NBF antenna supported
uint8_t m_explicitCsiFeedbackBasedTxASelCapable
explicit CSI feedback based transmit a sel capable
uint8_t m_minMpduStartSpace
minimum MPDU start space
uint8_t m_explicitCsiFeedbackCapable
explicit CSI feedback capable
uint8_t GetShortGuardInterval20(void) const
Return the short guard interval 20 value.
void SetLdpc(uint8_t ldpc)
Set the LDPC field.
void SetTxRxMcsSetUnequal(uint8_t txrxmcssetunequal)
Set the transmit / receive MCS set unequal.
uint8_t m_csiMaxNRowsBfSupported
CSI maximum number rows BF supported.
uint8_t m_pcoTransitionTime
PCO trnsition time.
uint8_t m_txUnequalModulation
transmit unequal modulation
uint16_t ReadLsbtohU16(void)
uint8_t GetInformationFieldSize() const
Return the information field size.
uint8_t m_explicitTxBfCsiFeedback
explicit transmit BF CSI feedback
uint8_t m_minimalGrouping
minimal grouping
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
void SetTxMaxNSpatialStreams(uint8_t maxtxspatialstreams)
Set the transmit maximum N spatial streams.
uint8_t DeserializeInformationField(Buffer::Iterator start, uint8_t length)
Return the information field.
uint64_t ReadLsbtohU64(void)
uint8_t m_shortGuardInterval20
short guard interval 20
uint8_t m_txNdpCapable
transmit NDP capable
uint8_t m_reservedExtendedCapabilities
reserved extended capabilities
void SetShortGuardInterval40(uint8_t shortguardinterval)
Set the short guard interval 40 field.
uint16_t GetHtCapabilitiesInfo(void) const
Return the HT Capabilities Info field in the HT Capabilities information element. ...
uint16_t GetExtendedHtCapabilities(void) const
Return the Extended HT Capabilities field in the HT Capabilities information element.
uint8_t m_lsigProtectionSupport
LSIG protection support.
void SetSupportedChannelWidth(uint8_t supportedchannelwidth)
Set the supported channel width field.
uint8_t m_calibration
calibration
uint8_t m_reverzeDirectionResponder
reverse direction responder
uint8_t m_explicitNoncompressedBfFeedbackCapable
eplicit non complressed BF feedback capable
uint8_t m_explicitCompressedSteeringCapable
explicit compressed steeering capable
uint8_t m_antennaIndicesFeedbackBasedTxASelCapable
antenna indices feedback absed transmit a sel capable