The HT Capabilities Information ElementThis class knows how to serialise and deserialise the HT Capabilities Information Element. More...
#include "ht-capabilities.h"
Inheritance diagram for ns3::HtCapabilities:
Collaboration diagram for ns3::HtCapabilities:Public Member Functions | |
| HtCapabilities () | |
| uint8_t | DeserializeInformationField (Buffer::Iterator start, uint8_t length) |
| Return the information field. More... | |
| WifiInformationElementId | ElementId () const |
| Return the element ID. More... | |
| uint8_t | GetAmpduParameters (void) const |
| Return the A-MPDU Parameters field in the HT Capabilities information element. More... | |
| uint8_t | GetAntennaSelectionCapabilities (void) const |
| Return the Antenna Selection (ASEL) Capabilties field in the HT Capabilities information element. More... | |
| uint16_t | GetExtendedHtCapabilities (void) const |
| Return the Extended HT Capabilties field in the HT Capabilities information element. More... | |
| uint8_t | GetGreenfield (void) const |
| Return the green field. More... | |
| uint16_t | GetHtCapabilitiesInfo (void) const |
| Return the HT Capabilties Info field in the HT Capabilities information element. More... | |
| uint8_t | GetInformationFieldSize () const |
| Return the information field size. More... | |
| uint8_t | GetLdpc (void) const |
| Return LDPC. More... | |
| uint8_t | GetLSigProtectionSupport (void) const |
| Return the LSIG protection support. More... | |
| uint8_t | GetMaxAmpduLength (void) const |
| Return the maximum AMPDU length. More... | |
| uint8_t | GetMaxAmsduLength (void) const |
| Return the maximum AMSDU length. More... | |
| uint8_t | GetMinMpduStartSpace (void) const |
| Return the minimum MPDU start space. More... | |
| uint8_t | GetRxHighestSupportedAntennas (void) const |
| Return the receive highest supported antennas. More... | |
| uint16_t | GetRxHighestSupportedDataRate (void) const |
| Return the receive highest supported data rate. More... | |
| uint8_t * | GetRxMcsBitmask () |
| Return the receive MCS bitmask. More... | |
| uint16_t | GetSerializedSize () const |
| Return the serialized size of this HT capability information element. More... | |
| uint8_t | GetShortGuardInterval20 (void) const |
| Return the short guard interval 20 value. More... | |
| uint8_t | GetShortGuardInterval40 (void) const |
| Return the short guard interval 40 value. More... | |
| uint8_t | GetSupportedChannelWidth (void) const |
| Return the supported channel width. More... | |
| uint64_t | GetSupportedMcsSet1 (void) const |
| Return the first 64 bytes of the Supported MCS Set field in the HT Capabilities information element. More... | |
| uint64_t | GetSupportedMcsSet2 (void) const |
| Return the last 64 bytes of the Supported MCS Set field in the HT Capabilities information element. More... | |
| uint32_t | GetTxBfCapabilities (void) const |
| Return the Transmit Beamforming (TxBF) Capabilties field in the HT Capabilities information element. More... | |
| uint8_t | GetTxMaxNSpatialStreams (void) const |
| Return the transmit maximum spatial streams. More... | |
| uint8_t | GetTxMcsSetDefined (void) const |
| Return the transmit MCS set defined. More... | |
| uint8_t | GetTxRxMcsSetUnequal (void) const |
| Return the transmit / receive MCS set unequal. More... | |
| uint8_t | GetTxUnequalModulation (void) const |
| Return the transmit unequal modulation. More... | |
| bool | IsSupportedMcs (uint8_t mcs) const |
| Return the is MCS supported flag. More... | |
| 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. More... | |
| void | SerializeInformationField (Buffer::Iterator start) const |
| Serialize the information field. More... | |
| void | SetAmpduParameters (uint8_t ctrl) |
| Set the A-MPDU Parameters field in the HT Capabilities information element. More... | |
| void | SetAntennaSelectionCapabilities (uint8_t ctrl) |
| Set the the Antenna Selection (ASEL) Capabilties field in the HT Capabilities information element. More... | |
| void | SetExtendedHtCapabilities (uint16_t ctrl) |
| Set the Extended HT Capabilties field in the HT Capabilities information element. More... | |
| void | SetGreenfield (uint8_t greenfield) |
| Set the green field. More... | |
| void | SetHtCapabilitiesInfo (uint16_t ctrl) |
| Set the HT Capabilties Info field in the HT Capabilities information element. More... | |
| void | SetHtSupported (uint8_t htsupported) |
| Set the HT Supported field in the HT Supported information element. More... | |
| void | SetLdpc (uint8_t ldpc) |
| Set the LDPC field. More... | |
| void | SetLSigProtectionSupport (uint8_t lsigprotection) |
| Set the LSIG protection support. More... | |
| void | SetMaxAmpduLength (uint8_t maxampdulength) |
| Set the maximum AMPDU length. More... | |
| void | SetMaxAmsduLength (uint8_t maxamsdulength) |
| Set the maximum AMSDU length. More... | |
| void | SetRxHighestSupportedDataRate (uint16_t maxsupportedrate) |
| Set the receive highest supported data rate. More... | |
| void | SetRxMcsBitmask (uint8_t index) |
| Set the receive MCS bitmask. More... | |
| void | SetShortGuardInterval20 (uint8_t shortguardinterval) |
| Set the short guard interval 20 field. More... | |
| void | SetShortGuardInterval40 (uint8_t shortguardinterval) |
| Set the short guard interval 40 field. More... | |
| void | SetSupportedChannelWidth (uint8_t supportedchannelwidth) |
| Set the supported channel width field. More... | |
| void | SetSupportedMcsSet (uint64_t ctrl1, uint64_t ctrl2) |
| Set the Supported MCS Set field in the HT Capabilities information element. More... | |
| void | SetTxBfCapabilities (uint32_t ctrl) |
| Set the Transmit Beamforming (TxBF) Capabilties field in the HT Capabilities information element. More... | |
| void | SetTxMaxNSpatialStreams (uint8_t maxtxspatialstreams) |
| Set the transmit maximum N spatial streams. More... | |
| void | SetTxMcsSetDefined (uint8_t txmcssetdefined) |
| Set the transmit MCS set defined. More... | |
| void | SetTxRxMcsSetUnequal (uint8_t txrxmcssetunequal) |
| Set the transmit / receive MCS set unequal. More... | |
| void | SetTxUnequalModulation (uint8_t txunequalmodulation) |
| Set the transmit unequal modulation. More... | |
Public Member Functions inherited from ns3::WifiInformationElement | |
| virtual | ~WifiInformationElement () |
| Buffer::Iterator | Deserialize (Buffer::Iterator i) |
| Deserialize entire IE, which must be present. More... | |
| Buffer::Iterator | DeserializeIfPresent (Buffer::Iterator i) |
| Deserialize entire IE if it is present. More... | |
| uint16_t | GetSerializedSize () const |
| Get the size of the serialized IE including Element ID and length fields. More... | |
| virtual bool | operator< (WifiInformationElement const &a) const |
| Compare information elements using Element ID. More... | |
| virtual bool | operator== (WifiInformationElement const &a) const |
| Compare two IEs for equality by ID & Length, and then through memcmp of serialised version. More... | |
| virtual void | Print (std::ostream &os) const |
| Generate human-readable form of IE. More... | |
| Buffer::Iterator | Serialize (Buffer::Iterator i) const |
| Serialize entire IE including Element ID and length fields. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< WifiInformationElement > | |
| SimpleRefCount () | |
| Default constructor. More... | |
| SimpleRefCount (const SimpleRefCount &o) | |
| Copy constructor. More... | |
| uint32_t | GetReferenceCount (void) const |
| Get the reference count of the object. More... | |
| SimpleRefCount & | operator= (const SimpleRefCount &o) |
| Assignment operator. More... | |
| void | Ref (void) const |
| Increment the reference count. More... | |
| void | Unref (void) const |
| Decrement the reference count. More... | |
Private Attributes | |
| uint8_t | m_ampduReserved |
| AMPDU reserved. More... | |
| uint8_t | m_antennaIndicesFeedbackBasedTxASelCapable |
| antenna indices feedback absed transmit a sel capable More... | |
| uint8_t | m_antennaIndicesFeedbackCapable |
| antenna indices feedback capable More... | |
| uint8_t | m_antennaSelectionCapability |
| antenna selection capability More... | |
| uint8_t | m_calibration |
| calibration More... | |
| uint8_t | m_channelEstimationCapability |
| channel estimation capability More... | |
| uint8_t | m_compressedSteeringNBfAntennasSupported |
| compressed steering NBF antenna supported More... | |
| uint8_t | m_csiMaxNRowsBfSupported |
| CSI maximum number rows BF supported. More... | |
| uint8_t | m_csiNBfAntennasSupported |
| CSI NBF antenna supported. More... | |
| uint8_t | m_dssMode40 |
| DSS mode 40. More... | |
| uint8_t | m_explicitCompressedBfFeedbackCapable |
| explicit compressed BF feedback capable More... | |
| uint8_t | m_explicitCompressedSteeringCapable |
| explicit compressed steeering capable More... | |
| uint8_t | m_explicitCsiFeedbackBasedTxASelCapable |
| explicit CSI feedback based transmit a sel capable More... | |
| uint8_t | m_explicitCsiFeedbackCapable |
| explicit CSI feedback capable More... | |
| uint8_t | m_explicitCsiTxBfCapable |
| explicit CSI transmit BF capable More... | |
| uint8_t | m_explicitNoncompressedBfFeedbackCapable |
| eplicit non complressed BF feedback capable More... | |
| uint8_t | m_explicitNoncompressedSteeringCapable |
| explicit non compressed steeering capable More... | |
| uint8_t | m_explicitTxBfCsiFeedback |
| explicit transmit BF CSI feedback More... | |
| uint8_t | m_fortyMhzIntolerant |
| 40 Mhz intolerant More... | |
| uint8_t | m_greenField |
| green field More... | |
| uint8_t | m_htcSupport |
| HTS support. More... | |
| uint8_t | m_htDelayedBlockAck |
| HT delayed block ack. More... | |
| uint8_t | m_htSupported |
| This is used to decide whether this element should be added to the frame or not. More... | |
| uint8_t | m_implicitRxBfCapable |
| implicit receive BF capable More... | |
| uint8_t | m_implicitTxBfCapable |
| implicit transmit BF capable More... | |
| uint8_t | m_ldpc |
| LDPC. More... | |
| uint8_t | m_lsigProtectionSupport |
| LSIG protection support. More... | |
| uint8_t | m_maxAmpduLength |
| maximum AMPDU length More... | |
| uint8_t | m_maxAmsduLength |
| maximum AMSDU length More... | |
| uint8_t | m_mcsFeedback |
| MCS feedback. More... | |
| uint8_t | m_minimalGrouping |
| minimal grouping More... | |
| uint8_t | m_minMpduStartSpace |
| minimum MPDU start space More... | |
| uint8_t | m_noncompressedSteeringNBfAntennasSupported |
| non compressed steering NBF antenna supported More... | |
| uint8_t | m_pco |
| PCO. More... | |
| uint8_t | m_pcoTransitionTime |
| PCO trnsition time. More... | |
| uint8_t | m_psmpSupport |
| PSMP support. More... | |
| uint8_t | m_reservedASel |
| reserved a sel More... | |
| uint8_t | m_reservedExtendedCapabilities |
| reserved extended capabilities More... | |
| uint8_t | m_reservedExtendedCapabilities2 |
| reserver extended capabilities 2 More... | |
| uint8_t | m_reservedMcsSet1 |
| reserved MCS set 1 More... | |
| uint8_t | m_reservedMcsSet2 |
| reserved MCS set 2 More... | |
| uint32_t | m_reservedMcsSet3 |
| reserved MCS set 3 More... | |
| uint8_t | m_reservedTxBf |
| reserved transmit BF More... | |
| uint8_t | m_reverzeDirectionResponder |
| reverse direction responder More... | |
| uint8_t | m_rxASelCapable |
| receive a sel capable More... | |
| uint16_t | m_rxHighestSupportedDataRate |
| receive highest supported data rate More... | |
| uint8_t | m_rxMcsBitmask [MAX_SUPPORTED_MCS] |
| receive MCS bitmask More... | |
| uint8_t | m_rxNdpCapable |
| receive NDP capable More... | |
| uint8_t | m_rxStaggeredSoundingCapable |
| receive staggered sounding capable More... | |
| uint8_t | m_rxStbc |
| receive STBC More... | |
| uint8_t | m_shortGuardInterval20 |
| short guard interval 20 More... | |
| uint8_t | m_shortGuardInterval40 |
| short guard interval 40 More... | |
| uint8_t | m_smPowerSave |
| SM power save. More... | |
| uint8_t | m_supportedChannelWidth |
| supported channel width More... | |
| uint8_t | m_txMaxNSpatialStreams |
| transmit maximum number spatial streams More... | |
| uint8_t | m_txMcsSetDefined |
| transmit MCS set defined More... | |
| uint8_t | m_txNdpCapable |
| transmit NDP capable More... | |
| uint8_t | m_txRxMcsSetUnequal |
| transmit / receive MCS set unequal More... | |
| uint8_t | m_txSoundingPpdusCapable |
| sounding PPDUS capable More... | |
| uint8_t | m_txStaggeredSoundingCapable |
| transmit staggered soundign capable More... | |
| uint8_t | m_txStbc |
| transmit STBC More... | |
| uint8_t | m_txUnequalModulation |
| transmit unequal modulation More... | |
The HT Capabilities Information Element
This class knows how to serialise and deserialise the HT Capabilities Information Element.
Definition at line 43 of file ht-capabilities.h.
| ns3::HtCapabilities::HtCapabilities | ( | ) |
Definition at line 26 of file ht-capabilities.cc.
References m_rxMcsBitmask, and MAX_SUPPORTED_MCS.
|
virtual |
Return the information field.
| start | field |
| length | field length |
Implements ns3::WifiInformationElement.
Definition at line 575 of file ht-capabilities.cc.
References ns3::Buffer::Iterator::ReadLsbtohU16(), ns3::Buffer::Iterator::ReadLsbtohU64(), ns3::Buffer::Iterator::ReadU16(), ns3::Buffer::Iterator::ReadU32(), ns3::Buffer::Iterator::ReadU8(), SetAmpduParameters(), SetAntennaSelectionCapabilities(), SetExtendedHtCapabilities(), SetHtCapabilitiesInfo(), SetSupportedMcsSet(), SetTxBfCapabilities(), and visualizer.core::start().
Here is the call graph for this function:
|
virtual |
Return the element ID.
Implements ns3::WifiInformationElement.
Definition at line 96 of file ht-capabilities.cc.
References IE_HT_CAPABILITIES.
| uint8_t ns3::HtCapabilities::GetAmpduParameters | ( | void | ) | const |
Return the A-MPDU Parameters field in the HT Capabilities information element.
Definition at line 387 of file ht-capabilities.cc.
References m_ampduReserved, m_maxAmpduLength, and m_minMpduStartSpace.
Referenced by SerializeInformationField().
Here is the caller graph for this function:| uint8_t ns3::HtCapabilities::GetAntennaSelectionCapabilities | ( | void | ) | const |
Return the Antenna Selection (ASEL) Capabilties field in the HT Capabilities information element.
Definition at line 531 of file ht-capabilities.cc.
References m_antennaIndicesFeedbackBasedTxASelCapable, m_antennaIndicesFeedbackCapable, m_antennaSelectionCapability, m_explicitCsiFeedbackBasedTxASelCapable, m_explicitCsiFeedbackCapable, m_reservedASel, m_rxASelCapable, and m_txSoundingPpdusCapable.
Referenced by SerializeInformationField().
Here is the caller graph for this function:| uint16_t ns3::HtCapabilities::GetExtendedHtCapabilities | ( | void | ) | const |
Return the Extended HT Capabilties field in the HT Capabilities information element.
Definition at line 453 of file ht-capabilities.cc.
References m_htcSupport, m_mcsFeedback, m_pco, m_pcoTransitionTime, m_reservedExtendedCapabilities, m_reservedExtendedCapabilities2, and m_reverzeDirectionResponder.
Referenced by SerializeInformationField().
Here is the caller graph for this function:| uint8_t ns3::HtCapabilities::GetGreenfield | ( | void | ) | const |
Return the green field.
Definition at line 204 of file ht-capabilities.cc.
References m_greenField.
Referenced by ns3::WifiRemoteStationManager::AddStationHtCapabilities(), and ns3::operator<<().
Here is the caller graph for this function:| uint16_t ns3::HtCapabilities::GetHtCapabilitiesInfo | ( | void | ) | const |
Return the HT Capabilties Info field in the HT Capabilities information element.
Definition at line 339 of file ht-capabilities.cc.
References m_dssMode40, m_fortyMhzIntolerant, m_greenField, m_htDelayedBlockAck, m_ldpc, m_lsigProtectionSupport, m_maxAmsduLength, m_psmpSupport, m_rxStbc, m_shortGuardInterval20, m_shortGuardInterval40, m_smPowerSave, m_supportedChannelWidth, and m_txStbc.
Referenced by SerializeInformationField().
Here is the caller graph for this function:
|
virtual |
Return the information field size.
Implements ns3::WifiInformationElement.
Definition at line 311 of file ht-capabilities.cc.
References m_htSupported, and NS_ASSERT.
| uint8_t ns3::HtCapabilities::GetLdpc | ( | void | ) | const |
Return LDPC.
Definition at line 192 of file ht-capabilities.cc.
References m_ldpc.
Referenced by ns3::operator<<().
Here is the caller graph for this function:| uint8_t ns3::HtCapabilities::GetLSigProtectionSupport | ( | void | ) | const |
Return the LSIG protection support.
Definition at line 228 of file ht-capabilities.cc.
References m_lsigProtectionSupport.
| uint8_t ns3::HtCapabilities::GetMaxAmpduLength | ( | void | ) | const |
Return the maximum AMPDU length.
Definition at line 234 of file ht-capabilities.cc.
References m_maxAmpduLength.
| uint8_t ns3::HtCapabilities::GetMaxAmsduLength | ( | void | ) | const |
Return the maximum AMSDU length.
Definition at line 222 of file ht-capabilities.cc.
References m_maxAmsduLength.
| uint8_t ns3::HtCapabilities::GetMinMpduStartSpace | ( | void | ) | const |
Return the minimum MPDU start space.
Definition at line 240 of file ht-capabilities.cc.
References m_minMpduStartSpace.
| uint8_t ns3::HtCapabilities::GetRxHighestSupportedAntennas | ( | void | ) | const |
Return the receive highest supported antennas.
Definition at line 264 of file ht-capabilities.cc.
References IsSupportedMcs().
Referenced by ns3::WifiRemoteStationManager::AddStationHtCapabilities().
Here is the call graph for this function:
Here is the caller graph for this function:| uint16_t ns3::HtCapabilities::GetRxHighestSupportedDataRate | ( | void | ) | const |
Return the receive highest supported data rate.
Definition at line 280 of file ht-capabilities.cc.
References m_rxHighestSupportedDataRate.
| uint8_t * ns3::HtCapabilities::GetRxMcsBitmask | ( | ) |
Return the receive MCS bitmask.
Definition at line 246 of file ht-capabilities.cc.
References m_rxMcsBitmask.
| uint16_t ns3::HtCapabilities::GetSerializedSize | ( | void | ) | const |
Return the serialized size of this HT capability information element.
Definition at line 329 of file ht-capabilities.cc.
References ns3::WifiInformationElement::GetSerializedSize(), and m_htSupported.
Referenced by ns3::MgtAssocRequestHeader::GetSerializedSize(), ns3::MgtAssocResponseHeader::GetSerializedSize(), ns3::MgtProbeRequestHeader::GetSerializedSize(), and ns3::MgtProbeResponseHeader::GetSerializedSize().
Here is the call graph for this function:
Here is the caller graph for this function:| uint8_t ns3::HtCapabilities::GetShortGuardInterval20 | ( | void | ) | const |
Return the short guard interval 20 value.
Definition at line 210 of file ht-capabilities.cc.
References m_shortGuardInterval20.
Referenced by ns3::WifiRemoteStationManager::AddStationHtCapabilities(), and ns3::operator<<().
Here is the caller graph for this function:| uint8_t ns3::HtCapabilities::GetShortGuardInterval40 | ( | void | ) | const |
Return the short guard interval 40 value.
Definition at line 216 of file ht-capabilities.cc.
References m_shortGuardInterval40.
| uint8_t ns3::HtCapabilities::GetSupportedChannelWidth | ( | void | ) | const |
Return the supported channel width.
Definition at line 198 of file ht-capabilities.cc.
References m_supportedChannelWidth.
Referenced by ns3::WifiRemoteStationManager::AddStationHtCapabilities(), and ns3::operator<<().
Here is the caller graph for this function:| uint64_t ns3::HtCapabilities::GetSupportedMcsSet1 | ( | void | ) | const |
Return the first 64 bytes of the Supported MCS Set field in the HT Capabilities information element.
Definition at line 421 of file ht-capabilities.cc.
References m_rxMcsBitmask.
Referenced by SerializeInformationField().
Here is the caller graph for this function:| uint64_t ns3::HtCapabilities::GetSupportedMcsSet2 | ( | void | ) | const |
Return the last 64 bytes of the Supported MCS Set field in the HT Capabilities information element.
Definition at line 433 of file ht-capabilities.cc.
References m_reservedMcsSet1, m_reservedMcsSet2, m_reservedMcsSet3, m_rxHighestSupportedDataRate, m_rxMcsBitmask, m_txMaxNSpatialStreams, m_txMcsSetDefined, m_txRxMcsSetUnequal, and m_txUnequalModulation.
Referenced by SerializeInformationField().
Here is the caller graph for this function:| uint32_t ns3::HtCapabilities::GetTxBfCapabilities | ( | void | ) | const |
Return the Transmit Beamforming (TxBF) Capabilties field in the HT Capabilities information element.
Definition at line 479 of file ht-capabilities.cc.
References m_calibration, m_channelEstimationCapability, m_compressedSteeringNBfAntennasSupported, m_csiMaxNRowsBfSupported, m_csiNBfAntennasSupported, m_explicitCompressedBfFeedbackCapable, m_explicitCompressedSteeringCapable, m_explicitCsiTxBfCapable, m_explicitNoncompressedBfFeedbackCapable, m_explicitNoncompressedSteeringCapable, m_explicitTxBfCsiFeedback, m_implicitRxBfCapable, m_implicitTxBfCapable, m_minimalGrouping, m_noncompressedSteeringNBfAntennasSupported, m_reservedTxBf, m_rxNdpCapable, m_rxStaggeredSoundingCapable, m_txNdpCapable, and m_txStaggeredSoundingCapable.
Referenced by SerializeInformationField().
Here is the caller graph for this function:| uint8_t ns3::HtCapabilities::GetTxMaxNSpatialStreams | ( | void | ) | const |
Return the transmit maximum spatial streams.
Definition at line 299 of file ht-capabilities.cc.
References m_txMaxNSpatialStreams.
| uint8_t ns3::HtCapabilities::GetTxMcsSetDefined | ( | void | ) | const |
Return the transmit MCS set defined.
Definition at line 286 of file ht-capabilities.cc.
References m_txMcsSetDefined.
| uint8_t ns3::HtCapabilities::GetTxRxMcsSetUnequal | ( | void | ) | const |
Return the transmit / receive MCS set unequal.
Definition at line 292 of file ht-capabilities.cc.
References m_txRxMcsSetUnequal.
| uint8_t ns3::HtCapabilities::GetTxUnequalModulation | ( | void | ) | const |
Return the transmit unequal modulation.
Definition at line 305 of file ht-capabilities.cc.
References m_txUnequalModulation.
| bool ns3::HtCapabilities::IsSupportedMcs | ( | uint8_t | mcs | ) | const |
Return the is MCS supported flag.
| mcs | is MCS supported flag |
Definition at line 254 of file ht-capabilities.cc.
References m_rxMcsBitmask.
Referenced by GetRxHighestSupportedAntennas(), ns3::operator<<(), ns3::StaWifiMac::Receive(), and ns3::ApWifiMac::Receive().
Here is the caller graph for this function:| Buffer::Iterator ns3::HtCapabilities::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.
To support this we override the Serialize and GetSerializedSize methods of WifiInformationElement.
| start |
Definition at line 319 of file ht-capabilities.cc.
References m_htSupported, and ns3::WifiInformationElement::Serialize().
Referenced by ns3::MgtAssocRequestHeader::Serialize(), ns3::MgtAssocResponseHeader::Serialize(), ns3::MgtProbeRequestHeader::Serialize(), and ns3::MgtProbeResponseHeader::Serialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Serialize the information field.
| start | the information field |
Implements ns3::WifiInformationElement.
Definition at line 559 of file ht-capabilities.cc.
References GetAmpduParameters(), GetAntennaSelectionCapabilities(), GetExtendedHtCapabilities(), GetHtCapabilitiesInfo(), GetSupportedMcsSet1(), GetSupportedMcsSet2(), GetTxBfCapabilities(), m_htSupported, ns3::Buffer::Iterator::WriteHtolsbU16(), ns3::Buffer::Iterator::WriteHtolsbU64(), ns3::Buffer::Iterator::WriteU16(), ns3::Buffer::Iterator::WriteU32(), and ns3::Buffer::Iterator::WriteU8().
Here is the call graph for this function:| void ns3::HtCapabilities::SetAmpduParameters | ( | uint8_t | ctrl | ) |
Set the A-MPDU Parameters field in the HT Capabilities information element.
| ctrl | the A-MPDU Parameters field in the HT Capabilities information element |
Definition at line 379 of file ht-capabilities.cc.
References m_ampduReserved, m_maxAmpduLength, and m_minMpduStartSpace.
Referenced by DeserializeInformationField().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetAntennaSelectionCapabilities | ( | uint8_t | ctrl | ) |
Set the the Antenna Selection (ASEL) Capabilties field in the HT Capabilities information element.
| ctrl | the Antenna Selection (ASEL) Capabilties field in the HT Capabilities information element |
Definition at line 546 of file ht-capabilities.cc.
References m_antennaIndicesFeedbackBasedTxASelCapable, m_antennaIndicesFeedbackCapable, m_antennaSelectionCapability, m_explicitCsiFeedbackBasedTxASelCapable, m_explicitCsiFeedbackCapable, m_reservedASel, m_rxASelCapable, and m_txSoundingPpdusCapable.
Referenced by DeserializeInformationField().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetExtendedHtCapabilities | ( | uint16_t | ctrl | ) |
Set the Extended HT Capabilties field in the HT Capabilities information element.
| ctrl | the Extended HT Capabilties field in the HT Capabilities information element |
Definition at line 467 of file ht-capabilities.cc.
References m_htcSupport, m_mcsFeedback, m_pco, m_pcoTransitionTime, m_reservedExtendedCapabilities, m_reservedExtendedCapabilities2, and m_reverzeDirectionResponder.
Referenced by DeserializeInformationField().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetGreenfield | ( | uint8_t | greenfield | ) |
Set the green field.
| greenfield |
Definition at line 120 of file ht-capabilities.cc.
References m_greenField.
Referenced by ns3::RegularWifiMac::GetHtCapabilities(), and ns3::operator>>().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetHtCapabilitiesInfo | ( | uint16_t | ctrl | ) |
Set the HT Capabilties Info field in the HT Capabilities information element.
| ctrl | the HT Capabilties Info field in the HT Capabilities information element |
Definition at line 360 of file ht-capabilities.cc.
References m_dssMode40, m_fortyMhzIntolerant, m_greenField, m_htDelayedBlockAck, m_ldpc, m_lsigProtectionSupport, m_maxAmsduLength, m_psmpSupport, m_rxStbc, m_shortGuardInterval20, m_shortGuardInterval40, m_smPowerSave, m_supportedChannelWidth, and m_txStbc.
Referenced by DeserializeInformationField().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetHtSupported | ( | uint8_t | htsupported | ) |
Set the HT Supported field in the HT Supported information element.
| htsupported | the HT Supported Info field in the HT Supported information element |
Definition at line 102 of file ht-capabilities.cc.
References m_htSupported.
Referenced by ns3::RegularWifiMac::GetHtCapabilities().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetLdpc | ( | uint8_t | ldpc | ) |
Set the LDPC field.
| ldpc |
Definition at line 108 of file ht-capabilities.cc.
References m_ldpc.
Referenced by ns3::RegularWifiMac::GetHtCapabilities(), and ns3::operator>>().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetLSigProtectionSupport | ( | uint8_t | lsigprotection | ) |
Set the LSIG protection support.
| lsigprotection |
Definition at line 144 of file ht-capabilities.cc.
References m_lsigProtectionSupport.
Referenced by ns3::RegularWifiMac::GetHtCapabilities().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetMaxAmpduLength | ( | uint8_t | maxampdulength | ) |
Set the maximum AMPDU length.
| maxampdulength |
Definition at line 150 of file ht-capabilities.cc.
References m_maxAmpduLength.
Referenced by ns3::RegularWifiMac::GetHtCapabilities().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetMaxAmsduLength | ( | uint8_t | maxamsdulength | ) |
Set the maximum AMSDU length.
| maxamsdulength |
Definition at line 138 of file ht-capabilities.cc.
References m_maxAmsduLength.
Referenced by ns3::RegularWifiMac::GetHtCapabilities().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetRxHighestSupportedDataRate | ( | uint16_t | maxsupportedrate | ) |
Set the receive highest supported data rate.
| maxsupportedrate |
Definition at line 162 of file ht-capabilities.cc.
References m_rxHighestSupportedDataRate.
Referenced by ns3::RegularWifiMac::GetHtCapabilities().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetRxMcsBitmask | ( | uint8_t | index | ) |
Set the receive MCS bitmask.
| index |
Definition at line 156 of file ht-capabilities.cc.
References m_rxMcsBitmask.
Referenced by ns3::RegularWifiMac::GetHtCapabilities().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetShortGuardInterval20 | ( | uint8_t | shortguardinterval | ) |
Set the short guard interval 20 field.
| shortguardinterval |
Definition at line 126 of file ht-capabilities.cc.
References m_shortGuardInterval20.
Referenced by ns3::RegularWifiMac::GetHtCapabilities(), and ns3::operator>>().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetShortGuardInterval40 | ( | uint8_t | shortguardinterval | ) |
Set the short guard interval 40 field.
| shortguardinterval |
Definition at line 132 of file ht-capabilities.cc.
References m_shortGuardInterval40.
Referenced by ns3::RegularWifiMac::GetHtCapabilities().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetSupportedChannelWidth | ( | uint8_t | supportedchannelwidth | ) |
Set the supported channel width field.
| supportedchannelwidth |
Definition at line 114 of file ht-capabilities.cc.
References m_supportedChannelWidth.
Referenced by ns3::RegularWifiMac::GetHtCapabilities(), and ns3::operator>>().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetSupportedMcsSet | ( | uint64_t | ctrl1, |
| uint64_t | ctrl2 | ||
| ) |
Set the Supported MCS Set field in the HT Capabilities information element.
| ctrl1 | the first 64 bytes of the Supported MCS Set field in the HT Capabilities information element |
| ctrl2 | the last 64 bytes of the Supported MCS Set field in the HT Capabilities information element |
Definition at line 397 of file ht-capabilities.cc.
References m_reservedMcsSet1, m_reservedMcsSet2, m_reservedMcsSet3, m_rxHighestSupportedDataRate, m_rxMcsBitmask, m_txMaxNSpatialStreams, m_txMcsSetDefined, m_txRxMcsSetUnequal, and m_txUnequalModulation.
Referenced by DeserializeInformationField().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetTxBfCapabilities | ( | uint32_t | ctrl | ) |
Set the Transmit Beamforming (TxBF) Capabilties field in the HT Capabilities information element.
| ctrl | the Transmit Beamforming (TxBF) Capabilties field in the HT Capabilities information element |
Definition at line 506 of file ht-capabilities.cc.
References m_calibration, m_channelEstimationCapability, m_compressedSteeringNBfAntennasSupported, m_csiMaxNRowsBfSupported, m_csiNBfAntennasSupported, m_explicitCompressedBfFeedbackCapable, m_explicitCompressedSteeringCapable, m_explicitCsiTxBfCapable, m_explicitNoncompressedBfFeedbackCapable, m_explicitNoncompressedSteeringCapable, m_explicitTxBfCsiFeedback, m_implicitRxBfCapable, m_implicitTxBfCapable, m_minimalGrouping, m_noncompressedSteeringNBfAntennasSupported, m_reservedTxBf, m_rxNdpCapable, m_rxStaggeredSoundingCapable, m_txNdpCapable, and m_txStaggeredSoundingCapable.
Referenced by DeserializeInformationField().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetTxMaxNSpatialStreams | ( | uint8_t | maxtxspatialstreams | ) |
Set the transmit maximum N spatial streams.
| maxtxspatialstreams |
Definition at line 180 of file ht-capabilities.cc.
References m_txMaxNSpatialStreams.
Referenced by ns3::RegularWifiMac::GetHtCapabilities().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetTxMcsSetDefined | ( | uint8_t | txmcssetdefined | ) |
Set the transmit MCS set defined.
| txmcssetdefined |
Definition at line 168 of file ht-capabilities.cc.
References m_txMcsSetDefined.
Referenced by ns3::RegularWifiMac::GetHtCapabilities().
Here is the caller graph for this function:| void ns3::HtCapabilities::SetTxRxMcsSetUnequal | ( | uint8_t | txrxmcssetunequal | ) |
Set the transmit / receive MCS set unequal.
| txrxmcssetunequal |
Definition at line 174 of file ht-capabilities.cc.
References m_txRxMcsSetUnequal.
| void ns3::HtCapabilities::SetTxUnequalModulation | ( | uint8_t | txunequalmodulation | ) |
Set the transmit unequal modulation.
| txunequalmodulation |
Definition at line 186 of file ht-capabilities.cc.
References m_txUnequalModulation.
|
private |
AMPDU reserved.
Definition at line 397 of file ht-capabilities.h.
Referenced by GetAmpduParameters(), and SetAmpduParameters().
|
private |
antenna indices feedback absed transmit a sel capable
Definition at line 444 of file ht-capabilities.h.
Referenced by GetAntennaSelectionCapabilities(), and SetAntennaSelectionCapabilities().
|
private |
antenna indices feedback capable
Definition at line 446 of file ht-capabilities.h.
Referenced by GetAntennaSelectionCapabilities(), and SetAntennaSelectionCapabilities().
|
private |
antenna selection capability
Definition at line 442 of file ht-capabilities.h.
Referenced by GetAntennaSelectionCapabilities(), and SetAntennaSelectionCapabilities().
|
private |
calibration
Definition at line 426 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
channel estimation capability
Definition at line 438 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
compressed steering NBF antenna supported
Definition at line 436 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
CSI maximum number rows BF supported.
Definition at line 437 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
CSI NBF antenna supported.
Definition at line 434 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
DSS mode 40.
Definition at line 389 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), and SetHtCapabilitiesInfo().
|
private |
explicit compressed BF feedback capable
Definition at line 432 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
explicit compressed steeering capable
Definition at line 429 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
explicit CSI feedback based transmit a sel capable
Definition at line 443 of file ht-capabilities.h.
Referenced by GetAntennaSelectionCapabilities(), and SetAntennaSelectionCapabilities().
|
private |
explicit CSI feedback capable
Definition at line 445 of file ht-capabilities.h.
Referenced by GetAntennaSelectionCapabilities(), and SetAntennaSelectionCapabilities().
|
private |
explicit CSI transmit BF capable
Definition at line 427 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
eplicit non complressed BF feedback capable
Definition at line 431 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
explicit non compressed steeering capable
Definition at line 428 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
explicit transmit BF CSI feedback
Definition at line 430 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
40 Mhz intolerant
Definition at line 391 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), and SetHtCapabilitiesInfo().
|
private |
green field
Definition at line 382 of file ht-capabilities.h.
Referenced by GetGreenfield(), GetHtCapabilitiesInfo(), SetGreenfield(), and SetHtCapabilitiesInfo().
|
private |
HTS support.
Definition at line 415 of file ht-capabilities.h.
Referenced by GetExtendedHtCapabilities(), and SetExtendedHtCapabilities().
|
private |
HT delayed block ack.
Definition at line 387 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), and SetHtCapabilitiesInfo().
|
private |
This is used to decide whether this element should be added to the frame or not.
Definition at line 452 of file ht-capabilities.h.
Referenced by GetInformationFieldSize(), GetSerializedSize(), Serialize(), SerializeInformationField(), and SetHtSupported().
|
private |
implicit receive BF capable
Definition at line 420 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
implicit transmit BF capable
Definition at line 425 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
LDPC.
Definition at line 379 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), GetLdpc(), SetHtCapabilitiesInfo(), and SetLdpc().
|
private |
LSIG protection support.
Definition at line 392 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), GetLSigProtectionSupport(), SetHtCapabilitiesInfo(), and SetLSigProtectionSupport().
|
private |
maximum AMPDU length
Definition at line 395 of file ht-capabilities.h.
Referenced by GetAmpduParameters(), GetMaxAmpduLength(), SetAmpduParameters(), and SetMaxAmpduLength().
|
private |
maximum AMSDU length
Definition at line 388 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), GetMaxAmsduLength(), SetHtCapabilitiesInfo(), and SetMaxAmsduLength().
|
private |
MCS feedback.
Definition at line 414 of file ht-capabilities.h.
Referenced by GetExtendedHtCapabilities(), and SetExtendedHtCapabilities().
|
private |
minimal grouping
Definition at line 433 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
minimum MPDU start space
Definition at line 396 of file ht-capabilities.h.
Referenced by GetAmpduParameters(), GetMinMpduStartSpace(), and SetAmpduParameters().
|
private |
non compressed steering NBF antenna supported
Definition at line 435 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
PCO.
Definition at line 411 of file ht-capabilities.h.
Referenced by GetExtendedHtCapabilities(), and SetExtendedHtCapabilities().
|
private |
PCO trnsition time.
Definition at line 412 of file ht-capabilities.h.
Referenced by GetExtendedHtCapabilities(), and SetExtendedHtCapabilities().
|
private |
PSMP support.
Definition at line 390 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), and SetHtCapabilitiesInfo().
|
private |
reserved a sel
Definition at line 449 of file ht-capabilities.h.
Referenced by GetAntennaSelectionCapabilities(), and SetAntennaSelectionCapabilities().
|
private |
reserved extended capabilities
Definition at line 413 of file ht-capabilities.h.
Referenced by GetExtendedHtCapabilities(), and SetExtendedHtCapabilities().
|
private |
reserver extended capabilities 2
Definition at line 417 of file ht-capabilities.h.
Referenced by GetExtendedHtCapabilities(), and SetExtendedHtCapabilities().
|
private |
reserved MCS set 1
Definition at line 400 of file ht-capabilities.h.
Referenced by GetSupportedMcsSet2(), and SetSupportedMcsSet().
|
private |
reserved MCS set 2
Definition at line 402 of file ht-capabilities.h.
Referenced by GetSupportedMcsSet2(), and SetSupportedMcsSet().
|
private |
reserved MCS set 3
Definition at line 407 of file ht-capabilities.h.
Referenced by GetSupportedMcsSet2(), and SetSupportedMcsSet().
|
private |
reserved transmit BF
Definition at line 439 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
reverse direction responder
Definition at line 416 of file ht-capabilities.h.
Referenced by GetExtendedHtCapabilities(), and SetExtendedHtCapabilities().
|
private |
receive a sel capable
Definition at line 447 of file ht-capabilities.h.
Referenced by GetAntennaSelectionCapabilities(), and SetAntennaSelectionCapabilities().
|
private |
receive highest supported data rate
Definition at line 401 of file ht-capabilities.h.
Referenced by GetRxHighestSupportedDataRate(), GetSupportedMcsSet2(), SetRxHighestSupportedDataRate(), and SetSupportedMcsSet().
|
private |
receive MCS bitmask
Definition at line 408 of file ht-capabilities.h.
Referenced by GetRxMcsBitmask(), GetSupportedMcsSet1(), GetSupportedMcsSet2(), HtCapabilities(), IsSupportedMcs(), SetRxMcsBitmask(), and SetSupportedMcsSet().
|
private |
receive NDP capable
Definition at line 423 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
receive staggered sounding capable
Definition at line 421 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
receive STBC
Definition at line 386 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), and SetHtCapabilitiesInfo().
|
private |
short guard interval 20
Definition at line 383 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), GetShortGuardInterval20(), SetHtCapabilitiesInfo(), and SetShortGuardInterval20().
|
private |
short guard interval 40
Definition at line 384 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), GetShortGuardInterval40(), SetHtCapabilitiesInfo(), and SetShortGuardInterval40().
|
private |
SM power save.
Definition at line 381 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), and SetHtCapabilitiesInfo().
|
private |
supported channel width
Definition at line 380 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), GetSupportedChannelWidth(), SetHtCapabilitiesInfo(), and SetSupportedChannelWidth().
|
private |
transmit maximum number spatial streams
Definition at line 405 of file ht-capabilities.h.
Referenced by GetSupportedMcsSet2(), GetTxMaxNSpatialStreams(), SetSupportedMcsSet(), and SetTxMaxNSpatialStreams().
|
private |
transmit MCS set defined
Definition at line 403 of file ht-capabilities.h.
Referenced by GetSupportedMcsSet2(), GetTxMcsSetDefined(), SetSupportedMcsSet(), and SetTxMcsSetDefined().
|
private |
transmit NDP capable
Definition at line 424 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
transmit / receive MCS set unequal
Definition at line 404 of file ht-capabilities.h.
Referenced by GetSupportedMcsSet2(), GetTxRxMcsSetUnequal(), SetSupportedMcsSet(), and SetTxRxMcsSetUnequal().
|
private |
sounding PPDUS capable
Definition at line 448 of file ht-capabilities.h.
Referenced by GetAntennaSelectionCapabilities(), and SetAntennaSelectionCapabilities().
|
private |
transmit staggered soundign capable
Definition at line 422 of file ht-capabilities.h.
Referenced by GetTxBfCapabilities(), and SetTxBfCapabilities().
|
private |
transmit STBC
Definition at line 385 of file ht-capabilities.h.
Referenced by GetHtCapabilitiesInfo(), and SetHtCapabilitiesInfo().
|
private |
transmit unequal modulation
Definition at line 406 of file ht-capabilities.h.
Referenced by GetSupportedMcsSet2(), GetTxUnequalModulation(), SetSupportedMcsSet(), and SetTxUnequalModulation().