The HT Operation Information ElementThis class knows how to serialise and deserialise the HT Operation Information Element. More...
#include "ht-operation.h"
Public Member Functions | |
HtOperation () | |
uint8_t | DeserializeInformationField (Buffer::Iterator start, uint8_t length) |
DeSerialize information field. More... | |
WifiInformationElementId | ElementId () const |
Return element ID. More... | |
uint64_t | GetBasicMcsSet1 (void) const |
Return the first 64 bytes of the Basic MCS Set field in the HT Operation information element. More... | |
uint64_t | GetBasicMcsSet2 (void) const |
Return the last 64 bytes of the Basic MCS Set field in the HT Operation information element. More... | |
uint8_t | GetDualBeacon (void) const |
Return dual beacon. More... | |
uint8_t | GetDualCtsProtection (void) const |
Return dual CTS protection. More... | |
uint8_t | GetHtProtection (void) const |
Return the HT protection. More... | |
uint8_t | GetInformationFieldSize () const |
Return information field size. More... | |
uint8_t | GetInformationSubset1 (void) const |
Return the Information Subset 1 field in the HT Operation information element. More... | |
uint16_t | GetInformationSubset2 (void) const |
Return the Information Subset 2 field in the HT Operation information element. More... | |
uint16_t | GetInformationSubset3 (void) const |
Return the Information Subset 3 field in the HT Operation information element. More... | |
uint8_t | GetLSigTxopProtectionFullSupport (void) const |
Return LSIG TXOP protection full support. More... | |
uint8_t | GetNonGfHtStasPresent (void) const |
Return the non GF HT STAs present. More... | |
uint8_t | GetObssNonHtStasPresent (void) const |
Return the OBSS non HT STAs present. More... | |
uint8_t | GetPcoActive (void) const |
Return PCO active. More... | |
uint8_t | GetPhase (void) const |
Return phase. More... | |
uint8_t | GetPrimaryChannel (void) const |
Return the Primary Channel field in the HT Operation information element. More... | |
uint8_t | GetRifsMode (void) const |
Return the RIFS mode. More... | |
uint16_t | GetRxHighestSupportedDataRate (void) const |
Return receive highest supported data rate. More... | |
uint8_t | GetSecondaryChannelOffset (void) const |
Return the secondary channel offset. More... | |
uint16_t | GetSerializedSize () const |
Return the serialized size of this HT Operation IE. More... | |
uint8_t | GetStaChannelWidth (void) const |
Return the STA channel width. More... | |
uint8_t | GetStbcBeacon (void) const |
Return STBC beacon. More... | |
uint8_t | GetTxMaxNSpatialStreams (void) const |
Return transmit maximum number spatial streams. More... | |
uint8_t | GetTxMcsSetDefined (void) const |
Return transmit MCS set defined. More... | |
uint8_t | GetTxRxMcsSetUnequal (void) const |
Return transmit / receive MCS set unequal. More... | |
uint8_t | GetTxUnequalModulation (void) const |
Return transmit unequal modulation. More... | |
bool | IsSupportedMcs (uint8_t mcs) const |
Return MCS is supported. 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 information field. More... | |
void | SetBasicMcsSet (uint64_t ctrl1, uint64_t ctrl2) |
Set the Basic MCS Set field in the HT Operation information element. More... | |
void | SetDualBeacon (uint8_t dualbeacon) |
Set the dual beacon. More... | |
void | SetDualCtsProtection (uint8_t dualctsprotection) |
Set the dual CTS protection. More... | |
void | SetHtProtection (uint8_t htprotection) |
Set the HT protection. More... | |
void | SetHtSupported (uint8_t htsupported) |
Set the HT Supported. More... | |
void | SetInformationSubset1 (uint8_t ctrl) |
Set the Information Subset 1 field in the HT Operation information element. More... | |
void | SetInformationSubset2 (uint16_t ctrl) |
Set the Information Subset 2 field in the HT Operation information element. More... | |
void | SetInformationSubset3 (uint16_t ctrl) |
Set the Information Subset 3 field in the HT Operation information element. More... | |
void | SetLSigTxopProtectionFullSupport (uint8_t lsigtxopprotectionfullsupport) |
Set the LSIG TXOP protection full support. More... | |
void | SetNonGfHtStasPresent (uint8_t nongfhtstaspresent) |
Set the non GF HT STAs present. More... | |
void | SetObssNonHtStasPresent (uint8_t obssnonhtstaspresent) |
Set the OBSS non HT STAs present. More... | |
void | SetPcoActive (uint8_t pcoactive) |
Set the PCO active. More... | |
void | SetPhase (uint8_t pcophase) |
Set the PCO phase. More... | |
void | SetPrimaryChannel (uint8_t ctrl) |
Set the Primary Channel field in the HT Operation information element. More... | |
void | SetRifsMode (uint8_t rifsmode) |
Set the RIFS mode. 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 | SetSecondaryChannelOffset (uint8_t secondarychanneloffset) |
Set the secondary channel offset. More... | |
void | SetStaChannelWidth (uint8_t stachannelwidth) |
Set the STA channel width. More... | |
void | SetStbcBeacon (uint8_t stbcbeacon) |
Set the STBC beacon. More... | |
void | SetTxMaxNSpatialStreams (uint8_t maxtxspatialstreams) |
Set the transmit maximum number 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 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_dualBeacon |
dual beacon More... | |
uint8_t | m_dualCtsProtection |
dual CTS protection More... | |
uint8_t | m_htProtection |
HT protection. 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_lSigTxopProtectionFullSupport |
LSIG TXOP protection full support. More... | |
uint8_t | m_nonGfHtStasPresent |
non GF HT STAs present More... | |
uint8_t | m_obssNonHtStasPresent |
OBSS NON HT STAs present. More... | |
uint8_t | m_pcoActive |
PCO active. More... | |
uint8_t | m_pcoPhase |
PCO phase. More... | |
uint8_t | m_primaryChannel |
primary channel More... | |
uint8_t | m_reservedInformationSubset1 |
reserved information subset 1 More... | |
uint8_t | m_reservedInformationSubset2_1 |
reserved information subset 2-1 More... | |
uint8_t | m_reservedInformationSubset2_2 |
reserved information subset 2-2 More... | |
uint8_t | m_reservedInformationSubset3_1 |
reserved information subset 3-1 More... | |
uint8_t | m_reservedInformationSubset3_2 |
reserved information subset 3-2 More... | |
uint8_t | m_reservedMcsSet1 |
reserved MCS set 1 More... | |
uint8_t | m_reservedMcsSet2 |
reserved MCS set2 More... | |
uint32_t | m_reservedMcsSet3 |
reserved MCS set 3 More... | |
uint8_t | m_rifsMode |
RIFS mode. 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_secondaryChannelOffset |
secondary channel offset More... | |
uint8_t | m_staChannelWidth |
STA channel width. More... | |
uint8_t | m_stbcBeacon |
STBC beacon. More... | |
uint8_t | m_txMaxNSpatialStreams |
transmit maximum number spatial streams More... | |
uint8_t | m_txMcsSetDefined |
transmit MCS set defined More... | |
uint8_t | m_txRxMcsSetUnequal |
transmit / receive MCS set unequal More... | |
uint8_t | m_txUnequalModulation |
transmit unequal modulation More... | |
The HT Operation Information Element
This class knows how to serialise and deserialise the HT Operation Information Element.
Definition at line 52 of file ht-operation.h.
ns3::HtOperation::HtOperation | ( | ) |
Definition at line 25 of file ht-operation.cc.
References m_rxMcsBitmask, and MAX_SUPPORTED_MCS.
|
virtual |
DeSerialize information field.
start | iterator |
length | length |
Implements ns3::WifiInformationElement.
Definition at line 474 of file ht-operation.cc.
References ns3::Buffer::Iterator::ReadLsbtohU64(), ns3::Buffer::Iterator::ReadU16(), ns3::Buffer::Iterator::ReadU8(), SetBasicMcsSet(), SetInformationSubset1(), SetInformationSubset2(), SetInformationSubset3(), SetPrimaryChannel(), and visualizer.core::start().
|
virtual |
Return element ID.
Implements ns3::WifiInformationElement.
Definition at line 61 of file ht-operation.cc.
References IE_HT_OPERATION.
uint64_t ns3::HtOperation::GetBasicMcsSet1 | ( | void | ) | const |
Return the first 64 bytes of the Basic MCS Set field in the HT Operation information element.
Definition at line 427 of file ht-operation.cc.
References m_rxMcsBitmask.
Referenced by SerializeInformationField().
uint64_t ns3::HtOperation::GetBasicMcsSet2 | ( | void | ) | const |
Return the last 64 bytes of the Basic MCS Set field in the HT Operation information element.
Definition at line 439 of file ht-operation.cc.
References m_reservedMcsSet1, m_reservedMcsSet2, m_reservedMcsSet3, m_rxHighestSupportedDataRate, m_rxMcsBitmask, m_txMaxNSpatialStreams, m_txMcsSetDefined, m_txRxMcsSetUnequal, and m_txUnequalModulation.
Referenced by SerializeInformationField().
uint8_t ns3::HtOperation::GetDualBeacon | ( | void | ) | const |
Return dual beacon.
Definition at line 237 of file ht-operation.cc.
References m_dualBeacon.
Referenced by ns3::operator<<().
uint8_t ns3::HtOperation::GetDualCtsProtection | ( | void | ) | const |
Return dual CTS protection.
Definition at line 243 of file ht-operation.cc.
References m_dualCtsProtection.
Referenced by ns3::operator<<().
uint8_t ns3::HtOperation::GetHtProtection | ( | void | ) | const |
Return the HT protection.
Definition at line 219 of file ht-operation.cc.
References m_htProtection.
Referenced by ns3::operator<<().
|
virtual |
Return information field size.
Implements ns3::WifiInformationElement.
Definition at line 73 of file ht-operation.cc.
References m_htSupported, and NS_ASSERT.
uint8_t ns3::HtOperation::GetInformationSubset1 | ( | void | ) | const |
Return the Information Subset 1 field in the HT Operation information element.
Definition at line 333 of file ht-operation.cc.
References m_reservedInformationSubset1, m_rifsMode, m_secondaryChannelOffset, and m_staChannelWidth.
Referenced by SerializeInformationField().
uint16_t ns3::HtOperation::GetInformationSubset2 | ( | void | ) | const |
Return the Information Subset 2 field in the HT Operation information element.
Definition at line 353 of file ht-operation.cc.
References m_htProtection, m_nonGfHtStasPresent, m_obssNonHtStasPresent, m_reservedInformationSubset2_1, and m_reservedInformationSubset2_2.
Referenced by SerializeInformationField().
uint16_t ns3::HtOperation::GetInformationSubset3 | ( | void | ) | const |
Return the Information Subset 3 field in the HT Operation information element.
Definition at line 375 of file ht-operation.cc.
References m_dualBeacon, m_dualCtsProtection, m_lSigTxopProtectionFullSupport, m_pcoActive, m_pcoPhase, m_reservedInformationSubset3_1, m_reservedInformationSubset3_2, and m_stbcBeacon.
Referenced by SerializeInformationField().
uint8_t ns3::HtOperation::GetLSigTxopProtectionFullSupport | ( | void | ) | const |
Return LSIG TXOP protection full support.
Definition at line 255 of file ht-operation.cc.
References m_lSigTxopProtectionFullSupport.
Referenced by ns3::operator<<().
uint8_t ns3::HtOperation::GetNonGfHtStasPresent | ( | void | ) | const |
Return the non GF HT STAs present.
Definition at line 225 of file ht-operation.cc.
References m_nonGfHtStasPresent.
Referenced by ns3::operator<<(), ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().
uint8_t ns3::HtOperation::GetObssNonHtStasPresent | ( | void | ) | const |
Return the OBSS non HT STAs present.
Definition at line 231 of file ht-operation.cc.
References m_obssNonHtStasPresent.
Referenced by ns3::operator<<().
uint8_t ns3::HtOperation::GetPcoActive | ( | void | ) | const |
Return PCO active.
Definition at line 261 of file ht-operation.cc.
References m_pcoActive.
Referenced by ns3::operator<<().
uint8_t ns3::HtOperation::GetPhase | ( | void | ) | const |
Return phase.
Definition at line 267 of file ht-operation.cc.
References m_pcoPhase.
Referenced by ns3::operator<<().
uint8_t ns3::HtOperation::GetPrimaryChannel | ( | void | ) | const |
Return the Primary Channel field in the HT Operation information element.
Definition at line 195 of file ht-operation.cc.
References m_primaryChannel.
Referenced by ns3::operator<<(), and SerializeInformationField().
uint8_t ns3::HtOperation::GetRifsMode | ( | void | ) | const |
Return the RIFS mode.
Definition at line 213 of file ht-operation.cc.
References m_rifsMode.
Referenced by ns3::operator<<(), ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().
uint16_t ns3::HtOperation::GetRxHighestSupportedDataRate | ( | void | ) | const |
Return receive highest supported data rate.
Definition at line 283 of file ht-operation.cc.
References m_rxHighestSupportedDataRate.
Referenced by ns3::operator<<().
uint8_t ns3::HtOperation::GetSecondaryChannelOffset | ( | void | ) | const |
Return the secondary channel offset.
Definition at line 201 of file ht-operation.cc.
References m_secondaryChannelOffset.
Referenced by ns3::operator<<().
uint16_t ns3::HtOperation::GetSerializedSize | ( | void | ) | const |
Return the serialized size of this HT Operation IE.
Definition at line 323 of file ht-operation.cc.
References ns3::WifiInformationElement::GetSerializedSize(), and m_htSupported.
Referenced by ns3::MgtAssocResponseHeader::GetSerializedSize(), and ns3::MgtProbeResponseHeader::GetSerializedSize().
uint8_t ns3::HtOperation::GetStaChannelWidth | ( | void | ) | const |
Return the STA channel width.
Definition at line 207 of file ht-operation.cc.
References m_staChannelWidth.
Referenced by ns3::operator<<(), and Bug2831TestCase::RxCallback().
uint8_t ns3::HtOperation::GetStbcBeacon | ( | void | ) | const |
Return STBC beacon.
Definition at line 249 of file ht-operation.cc.
References m_stbcBeacon.
Referenced by ns3::operator<<().
uint8_t ns3::HtOperation::GetTxMaxNSpatialStreams | ( | void | ) | const |
Return transmit maximum number spatial streams.
Definition at line 301 of file ht-operation.cc.
References m_txMaxNSpatialStreams.
Referenced by ns3::operator<<().
uint8_t ns3::HtOperation::GetTxMcsSetDefined | ( | void | ) | const |
Return transmit MCS set defined.
Definition at line 289 of file ht-operation.cc.
References m_txMcsSetDefined.
Referenced by ns3::operator<<().
uint8_t ns3::HtOperation::GetTxRxMcsSetUnequal | ( | void | ) | const |
Return transmit / receive MCS set unequal.
Definition at line 295 of file ht-operation.cc.
References m_txRxMcsSetUnequal.
Referenced by ns3::operator<<().
uint8_t ns3::HtOperation::GetTxUnequalModulation | ( | void | ) | const |
Return transmit unequal modulation.
Definition at line 307 of file ht-operation.cc.
References m_txUnequalModulation.
Referenced by ns3::operator<<().
bool ns3::HtOperation::IsSupportedMcs | ( | uint8_t | mcs | ) | const |
Return MCS is supported.
mcs | MCS \ |
Definition at line 273 of file ht-operation.cc.
References m_rxMcsBitmask.
Referenced by ns3::operator<<().
Buffer::Iterator ns3::HtOperation::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 313 of file ht-operation.cc.
References m_htSupported, and ns3::WifiInformationElement::Serialize().
Referenced by ns3::MgtAssocResponseHeader::Serialize(), and ns3::MgtProbeResponseHeader::Serialize().
|
virtual |
Serialize information field.
start | iterator |
Implements ns3::WifiInformationElement.
Definition at line 459 of file ht-operation.cc.
References GetBasicMcsSet1(), GetBasicMcsSet2(), GetInformationSubset1(), GetInformationSubset2(), GetInformationSubset3(), GetPrimaryChannel(), m_htSupported, and visualizer.core::start().
void ns3::HtOperation::SetBasicMcsSet | ( | uint64_t | ctrl1, |
uint64_t | ctrl2 | ||
) |
Set the Basic MCS Set field in the HT Operation information element.
ctrl1 | the first 64 bytes of the Basic MCS Set field in the HT Operation information element |
ctrl2 | the last 64 bytes of the Basic MCS Set field in the HT Operation information element |
Definition at line 403 of file ht-operation.cc.
References m_reservedMcsSet1, m_reservedMcsSet2, m_reservedMcsSet3, m_rxHighestSupportedDataRate, m_rxMcsBitmask, m_txMaxNSpatialStreams, m_txMcsSetDefined, m_txRxMcsSetUnequal, and m_txUnequalModulation.
Referenced by DeserializeInformationField().
void ns3::HtOperation::SetDualBeacon | ( | uint8_t | dualbeacon | ) |
Set the dual beacon.
dualbeacon | the dual beacon |
Definition at line 123 of file ht-operation.cc.
References m_dualBeacon.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetDualCtsProtection | ( | uint8_t | dualctsprotection | ) |
Set the dual CTS protection.
dualctsprotection | the dual CTS protection |
Definition at line 129 of file ht-operation.cc.
References m_dualCtsProtection.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetHtProtection | ( | uint8_t | htprotection | ) |
Set the HT protection.
htprotection | the HT protection |
Definition at line 105 of file ht-operation.cc.
References m_htProtection.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetHtSupported | ( | uint8_t | htsupported | ) |
Set the HT Supported.
htsupported | the HT Supported flag |
Definition at line 67 of file ht-operation.cc.
References m_htSupported.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetInformationSubset1 | ( | uint8_t | ctrl | ) |
Set the Information Subset 1 field in the HT Operation information element.
ctrl | the Information Subset 1 field in the HT Operation information element |
Definition at line 344 of file ht-operation.cc.
References m_reservedInformationSubset1, m_rifsMode, m_secondaryChannelOffset, and m_staChannelWidth.
Referenced by DeserializeInformationField().
void ns3::HtOperation::SetInformationSubset2 | ( | uint16_t | ctrl | ) |
Set the Information Subset 2 field in the HT Operation information element.
ctrl | the Information Subset 2 field in the HT Operation information element |
Definition at line 365 of file ht-operation.cc.
References m_htProtection, m_nonGfHtStasPresent, m_obssNonHtStasPresent, m_reservedInformationSubset2_1, and m_reservedInformationSubset2_2.
Referenced by DeserializeInformationField().
void ns3::HtOperation::SetInformationSubset3 | ( | uint16_t | ctrl | ) |
Set the Information Subset 3 field in the HT Operation information element.
ctrl | the Information Subset 3 field in the HT Operation information element |
Definition at line 390 of file ht-operation.cc.
References m_dualBeacon, m_dualCtsProtection, m_lSigTxopProtectionFullSupport, m_pcoActive, m_pcoPhase, m_reservedInformationSubset3_1, m_reservedInformationSubset3_2, and m_stbcBeacon.
Referenced by DeserializeInformationField().
void ns3::HtOperation::SetLSigTxopProtectionFullSupport | ( | uint8_t | lsigtxopprotectionfullsupport | ) |
Set the LSIG TXOP protection full support.
lsigtxopprotectionfullsupport | the LSIG TXOP protection full support |
Definition at line 141 of file ht-operation.cc.
References m_lSigTxopProtectionFullSupport.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetNonGfHtStasPresent | ( | uint8_t | nongfhtstaspresent | ) |
Set the non GF HT STAs present.
nongfhtstaspresent | the non GF HT STAs present |
Definition at line 111 of file ht-operation.cc.
References m_nonGfHtStasPresent.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetObssNonHtStasPresent | ( | uint8_t | obssnonhtstaspresent | ) |
Set the OBSS non HT STAs present.
obssnonhtstaspresent | the OBSS non HTA STAs present |
Definition at line 117 of file ht-operation.cc.
References m_obssNonHtStasPresent.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetPcoActive | ( | uint8_t | pcoactive | ) |
Set the PCO active.
pcoactive | the PCO active |
Definition at line 147 of file ht-operation.cc.
References m_pcoActive.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetPhase | ( | uint8_t | pcophase | ) |
Set the PCO phase.
pcophase | the PCO phase |
Definition at line 153 of file ht-operation.cc.
References m_pcoPhase.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetPrimaryChannel | ( | uint8_t | ctrl | ) |
Set the Primary Channel field in the HT Operation information element.
ctrl | the Primary Channel field in the HT Operation information element |
Definition at line 81 of file ht-operation.cc.
References m_primaryChannel.
Referenced by DeserializeInformationField(), and ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetRifsMode | ( | uint8_t | rifsmode | ) |
Set the RIFS mode.
rifsmode | the RIFS mode |
Definition at line 99 of file ht-operation.cc.
References m_rifsMode.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetRxHighestSupportedDataRate | ( | uint16_t | maxsupportedrate | ) |
Set the receive highest supported data rate.
maxsupportedrate | the maximum supported data rate |
Definition at line 165 of file ht-operation.cc.
References m_rxHighestSupportedDataRate.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetRxMcsBitmask | ( | uint8_t | index | ) |
Set the receive MCS bitmask.
index | the MCS bitmask |
Definition at line 159 of file ht-operation.cc.
References m_rxMcsBitmask.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetSecondaryChannelOffset | ( | uint8_t | secondarychanneloffset | ) |
Set the secondary channel offset.
secondarychanneloffset | the secondary channel offset |
Definition at line 87 of file ht-operation.cc.
References m_secondaryChannelOffset.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetStaChannelWidth | ( | uint8_t | stachannelwidth | ) |
Set the STA channel width.
stachannelwidth | the STA channel width |
Definition at line 93 of file ht-operation.cc.
References m_staChannelWidth.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetStbcBeacon | ( | uint8_t | stbcbeacon | ) |
Set the STBC beacon.
stbcbeacon | the STBC beacon |
Definition at line 135 of file ht-operation.cc.
References m_stbcBeacon.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetTxMaxNSpatialStreams | ( | uint8_t | maxtxspatialstreams | ) |
Set the transmit maximum number spatial streams.
maxtxspatialstreams | the maximum transmit spatial streams |
Definition at line 183 of file ht-operation.cc.
References m_txMaxNSpatialStreams.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetTxMcsSetDefined | ( | uint8_t | txmcssetdefined | ) |
Set the transmit MCS set defined.
txmcssetdefined | the transmit MCS set defined |
Definition at line 171 of file ht-operation.cc.
References m_txMcsSetDefined.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetTxRxMcsSetUnequal | ( | uint8_t | txrxmcssetunequal | ) |
Set the transmit / receive MCS set unequal.
txrxmcssetunequal | the transmit / reeive MCS set unequal |
Definition at line 177 of file ht-operation.cc.
References m_txRxMcsSetUnequal.
Referenced by ns3::ApWifiMac::GetHtOperation().
void ns3::HtOperation::SetTxUnequalModulation | ( | uint8_t | txunequalmodulation | ) |
Set the transmit unequal modulation.
txunequalmodulation | the transmit unequal modulation |
Definition at line 189 of file ht-operation.cc.
References m_txUnequalModulation.
Referenced by ns3::ApWifiMac::GetHtOperation().
|
private |
dual beacon
Definition at line 422 of file ht-operation.h.
Referenced by GetDualBeacon(), GetInformationSubset3(), SetDualBeacon(), and SetInformationSubset3().
|
private |
dual CTS protection
Definition at line 423 of file ht-operation.h.
Referenced by GetDualCtsProtection(), GetInformationSubset3(), SetDualCtsProtection(), and SetInformationSubset3().
|
private |
HT protection.
Definition at line 414 of file ht-operation.h.
Referenced by GetHtProtection(), GetInformationSubset2(), SetHtProtection(), and SetInformationSubset2().
|
private |
This is used to decide whether this element should be added to the frame or not.
Definition at line 442 of file ht-operation.h.
Referenced by GetInformationFieldSize(), GetSerializedSize(), Serialize(), SerializeInformationField(), and SetHtSupported().
|
private |
LSIG TXOP protection full support.
Definition at line 425 of file ht-operation.h.
Referenced by GetInformationSubset3(), GetLSigTxopProtectionFullSupport(), SetInformationSubset3(), and SetLSigTxopProtectionFullSupport().
|
private |
non GF HT STAs present
Definition at line 415 of file ht-operation.h.
Referenced by GetInformationSubset2(), GetNonGfHtStasPresent(), SetInformationSubset2(), and SetNonGfHtStasPresent().
|
private |
OBSS NON HT STAs present.
Definition at line 417 of file ht-operation.h.
Referenced by GetInformationSubset2(), GetObssNonHtStasPresent(), SetInformationSubset2(), and SetObssNonHtStasPresent().
|
private |
PCO active.
Definition at line 426 of file ht-operation.h.
Referenced by GetInformationSubset3(), GetPcoActive(), SetInformationSubset3(), and SetPcoActive().
|
private |
PCO phase.
Definition at line 427 of file ht-operation.h.
Referenced by GetInformationSubset3(), GetPhase(), SetInformationSubset3(), and SetPhase().
|
private |
primary channel
Definition at line 405 of file ht-operation.h.
Referenced by GetPrimaryChannel(), and SetPrimaryChannel().
|
private |
reserved information subset 1
Definition at line 411 of file ht-operation.h.
Referenced by GetInformationSubset1(), and SetInformationSubset1().
|
private |
reserved information subset 2-1
Definition at line 416 of file ht-operation.h.
Referenced by GetInformationSubset2(), and SetInformationSubset2().
|
private |
reserved information subset 2-2
Definition at line 418 of file ht-operation.h.
Referenced by GetInformationSubset2(), and SetInformationSubset2().
|
private |
reserved information subset 3-1
Definition at line 421 of file ht-operation.h.
Referenced by GetInformationSubset3(), and SetInformationSubset3().
|
private |
reserved information subset 3-2
Definition at line 428 of file ht-operation.h.
Referenced by GetInformationSubset3(), and SetInformationSubset3().
|
private |
reserved MCS set 1
Definition at line 431 of file ht-operation.h.
Referenced by GetBasicMcsSet2(), and SetBasicMcsSet().
|
private |
reserved MCS set2
Definition at line 433 of file ht-operation.h.
Referenced by GetBasicMcsSet2(), and SetBasicMcsSet().
|
private |
reserved MCS set 3
Definition at line 438 of file ht-operation.h.
Referenced by GetBasicMcsSet2(), and SetBasicMcsSet().
|
private |
RIFS mode.
Definition at line 410 of file ht-operation.h.
Referenced by GetInformationSubset1(), GetRifsMode(), SetInformationSubset1(), and SetRifsMode().
|
private |
receive highest supported data rate
Definition at line 432 of file ht-operation.h.
Referenced by GetBasicMcsSet2(), GetRxHighestSupportedDataRate(), SetBasicMcsSet(), and SetRxHighestSupportedDataRate().
|
private |
receive MCS bitmask
Definition at line 439 of file ht-operation.h.
Referenced by GetBasicMcsSet1(), GetBasicMcsSet2(), HtOperation(), IsSupportedMcs(), SetBasicMcsSet(), and SetRxMcsBitmask().
|
private |
secondary channel offset
Definition at line 408 of file ht-operation.h.
Referenced by GetInformationSubset1(), GetSecondaryChannelOffset(), SetInformationSubset1(), and SetSecondaryChannelOffset().
|
private |
STA channel width.
Definition at line 409 of file ht-operation.h.
Referenced by GetInformationSubset1(), GetStaChannelWidth(), SetInformationSubset1(), and SetStaChannelWidth().
|
private |
STBC beacon.
Definition at line 424 of file ht-operation.h.
Referenced by GetInformationSubset3(), GetStbcBeacon(), SetInformationSubset3(), and SetStbcBeacon().
|
private |
transmit maximum number spatial streams
Definition at line 436 of file ht-operation.h.
Referenced by GetBasicMcsSet2(), GetTxMaxNSpatialStreams(), SetBasicMcsSet(), and SetTxMaxNSpatialStreams().
|
private |
transmit MCS set defined
Definition at line 434 of file ht-operation.h.
Referenced by GetBasicMcsSet2(), GetTxMcsSetDefined(), SetBasicMcsSet(), and SetTxMcsSetDefined().
|
private |
transmit / receive MCS set unequal
Definition at line 435 of file ht-operation.h.
Referenced by GetBasicMcsSet2(), GetTxRxMcsSetUnequal(), SetBasicMcsSet(), and SetTxRxMcsSetUnequal().
|
private |
transmit unequal modulation
Definition at line 437 of file ht-operation.h.
Referenced by GetBasicMcsSet2(), GetTxUnequalModulation(), SetBasicMcsSet(), and SetTxUnequalModulation().