A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::HtOperation Class Reference

The HT Operation Information Element. More...

#include "ht-operation.h"

+ Inheritance diagram for ns3::HtOperation:
+ Collaboration diagram for ns3::HtOperation:

Public Member Functions

 HtOperation ()
 
WifiInformationElementId ElementId () const override
 Get the wifi information element ID.
 
uint64_t GetBasicMcsSet1 () const
 Return the first 64 bytes of the Basic MCS Set field in the HT Operation information element.
 
uint64_t GetBasicMcsSet2 () const
 Return the last 64 bytes of the Basic MCS Set field in the HT Operation information element.
 
uint8_t GetDualBeacon () const
 Return dual beacon.
 
uint8_t GetDualCtsProtection () const
 Return dual CTS protection.
 
uint8_t GetHtProtection () const
 Return the HT protection.
 
uint8_t GetInformationSubset1 () const
 Return the Information Subset 1 field in the HT Operation information element.
 
uint16_t GetInformationSubset2 () const
 Return the Information Subset 2 field in the HT Operation information element.
 
uint16_t GetInformationSubset3 () const
 Return the Information Subset 3 field in the HT Operation information element.
 
uint8_t GetLSigTxopProtectionFullSupport () const
 Return LSIG TXOP protection full support.
 
uint8_t GetNonGfHtStasPresent () const
 Return the non GF HT STAs present.
 
uint8_t GetObssNonHtStasPresent () const
 Return the OBSS non HT STAs present.
 
uint8_t GetPcoActive () const
 Return PCO active.
 
uint8_t GetPhase () const
 Return phase.
 
uint8_t GetPrimaryChannel () const
 Return the Primary Channel field in the HT Operation information element.
 
uint8_t GetRifsMode () const
 Return the RIFS mode.
 
uint16_t GetRxHighestSupportedDataRate () const
 Return receive highest supported data rate.
 
uint8_t GetSecondaryChannelOffset () const
 Return the secondary channel offset.
 
uint8_t GetStaChannelWidth () const
 Return the STA channel width.
 
uint8_t GetStbcBeacon () const
 Return STBC beacon.
 
uint8_t GetTxMaxNSpatialStreams () const
 Return transmit maximum number spatial streams.
 
uint8_t GetTxMcsSetDefined () const
 Return transmit MCS set defined.
 
uint8_t GetTxRxMcsSetUnequal () const
 Return transmit / receive MCS set unequal.
 
uint8_t GetTxUnequalModulation () const
 Return transmit unequal modulation.
 
bool IsSupportedMcs (uint8_t mcs) const
 Return MCS is supported.
 
void Print (std::ostream &os) const override
 Generate human-readable form of IE.
 
void SetBasicMcsSet (uint64_t ctrl1, uint64_t ctrl2)
 Set the Basic MCS Set field in the HT Operation information element.
 
void SetDualBeacon (uint8_t dualBeacon)
 Set the dual beacon.
 
void SetDualCtsProtection (uint8_t dualCtsProtection)
 Set the dual CTS protection.
 
void SetHtProtection (uint8_t htProtection)
 Set the HT protection.
 
void SetInformationSubset1 (uint8_t ctrl)
 Set the Information Subset 1 field in the HT Operation information element.
 
void SetInformationSubset2 (uint16_t ctrl)
 Set the Information Subset 2 field in the HT Operation information element.
 
void SetInformationSubset3 (uint16_t ctrl)
 Set the Information Subset 3 field in the HT Operation information element.
 
void SetLSigTxopProtectionFullSupport (uint8_t lSigTxopProtectionFullSupport)
 Set the LSIG TXOP protection full support.
 
void SetNonGfHtStasPresent (uint8_t nonGfHtStasPresent)
 Set the non GF HT STAs present.
 
void SetObssNonHtStasPresent (uint8_t obssNonHtStasPresent)
 Set the OBSS non HT STAs present.
 
void SetPcoActive (uint8_t pcoActive)
 Set the PCO active.
 
void SetPhase (uint8_t pcoPhase)
 Set the PCO phase.
 
void SetPrimaryChannel (uint8_t ctrl)
 Set the Primary Channel field in the HT Operation information element.
 
void SetRifsMode (uint8_t rifsMode)
 Set the RIFS mode.
 
void SetRxHighestSupportedDataRate (uint16_t maxSupportedRate)
 Set the receive highest supported data rate.
 
void SetRxMcsBitmask (uint8_t index)
 Set the receive MCS bitmask.
 
void SetSecondaryChannelOffset (uint8_t secondaryChannelOffset)
 Set the secondary channel offset.
 
void SetStaChannelWidth (uint8_t staChannelWidth)
 Set the STA channel width.
 
void SetStbcBeacon (uint8_t stbcBeacon)
 Set the STBC beacon.
 
void SetTxMaxNSpatialStreams (uint8_t maxTxSpatialStreams)
 Set the transmit maximum number spatial streams.
 
void SetTxMcsSetDefined (uint8_t txMcsSetDefined)
 Set the transmit MCS set defined.
 
void SetTxRxMcsSetUnequal (uint8_t txRxMcsSetUnequal)
 Set the transmit / receive MCS set unequal.
 
void SetTxUnequalModulation (uint8_t txUnequalModulation)
 Set the transmit unequal modulation.
 
- Public Member Functions inherited from ns3::WifiInformationElement
virtual ~WifiInformationElement ()
 
Buffer::Iterator Deserialize (Buffer::Iterator i)
 Deserialize entire IE (which may possibly be fragmented into multiple elements), which must be present.
 
Buffer::Iterator DeserializeIfPresent (Buffer::Iterator i)
 Deserialize entire IE (which may possibly be fragmented into multiple elements) if it is present.
 
virtual WifiInformationElementId ElementIdExt () const
 Get the wifi information element ID extension.
 
uint16_t GetSerializedSize () const
 Get the size of the serialized IE including Element ID and length fields (for every element this IE is possibly fragmented into).
 
virtual bool operator== (const WifiInformationElement &a) const
 Compare two IEs for equality by ID & Length, and then through memcmp of serialised version.
 
Buffer::Iterator Serialize (Buffer::Iterator i) const
 Serialize entire IE including Element ID and length fields.
 
- Public Member Functions inherited from ns3::SimpleRefCount< WifiInformationElement >
 SimpleRefCount ()
 Default constructor.
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor.
 
uint32_t GetReferenceCount () const
 Get the reference count of the object.
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator.
 
void Ref () const
 Increment the reference count.
 
void Unref () const
 Decrement the reference count.
 

Private Member Functions

uint16_t DeserializeInformationField (Buffer::Iterator start, uint16_t length) override
 Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
 
uint16_t GetInformationFieldSize () const override
 Length of serialized information (i.e., the length of the body of the IE, not including the Element ID and length octets.
 
void SerializeInformationField (Buffer::Iterator start) const override
 Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
 

Private Attributes

uint8_t m_dualBeacon
 dual beacon
 
uint8_t m_dualCtsProtection
 dual CTS protection
 
uint8_t m_htProtection
 HT protection.
 
uint8_t m_lSigTxopProtectionFullSupport
 L-SIG TXOP protection full support.
 
uint8_t m_nonGfHtStasPresent
 non GF HT STAs present
 
uint8_t m_obssNonHtStasPresent
 OBSS NON HT STAs present.
 
uint8_t m_pcoActive
 PCO active.
 
uint8_t m_pcoPhase
 PCO phase.
 
uint8_t m_primaryChannel
 primary channel
 
uint8_t m_reservedInformationSubset1
 reserved information subset 1
 
uint8_t m_reservedInformationSubset2_1
 reserved information subset 2-1
 
uint8_t m_reservedInformationSubset2_2
 reserved information subset 2-2
 
uint8_t m_reservedInformationSubset3_1
 reserved information subset 3-1
 
uint8_t m_reservedInformationSubset3_2
 reserved information subset 3-2
 
uint8_t m_reservedMcsSet1
 reserved MCS set 1
 
uint8_t m_reservedMcsSet2
 reserved MCS set2
 
uint32_t m_reservedMcsSet3
 reserved MCS set 3
 
uint8_t m_rifsMode
 RIFS mode.
 
uint16_t m_rxHighestSupportedDataRate
 receive highest supported data rate
 
uint8_t m_rxMcsBitmask [MAX_SUPPORTED_MCS]
 receive MCS bitmask
 
uint8_t m_secondaryChannelOffset
 secondary channel offset
 
uint8_t m_staChannelWidth
 STA channel width.
 
uint8_t m_stbcBeacon
 STBC beacon.
 
uint8_t m_txMaxNSpatialStreams
 transmit maximum number spatial streams
 
uint8_t m_txMcsSetDefined
 transmit MCS set defined
 
uint8_t m_txRxMcsSetUnequal
 transmit / receive MCS set unequal
 
uint8_t m_txUnequalModulation
 transmit unequal modulation
 

Detailed Description

The HT Operation Information Element.

This class knows how to serialise and deserialise the HT Operation Information Element

Definition at line 39 of file ht-operation.h.

Constructor & Destructor Documentation

◆ HtOperation()

ns3::HtOperation::HtOperation ( )

Definition at line 14 of file ht-operation.cc.

References m_rxMcsBitmask, and MAX_SUPPORTED_MCS.

Member Function Documentation

◆ DeserializeInformationField()

uint16_t ns3::HtOperation::DeserializeInformationField ( Buffer::Iterator start,
uint16_t length )
overrideprivatevirtual

Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)

Parameters
startan iterator which points to where the information should be written.
lengththe expected number of bytes to read
Returns
the number of bytes read

Implements ns3::WifiInformationElement.

Definition at line 444 of file ht-operation.cc.

References ns3::Buffer::Iterator::ReadLsbtohU64(), ns3::Buffer::Iterator::ReadU16(), ns3::Buffer::Iterator::ReadU8(), SetBasicMcsSet(), SetInformationSubset1(), SetInformationSubset2(), SetInformationSubset3(), and SetPrimaryChannel().

+ Here is the call graph for this function:

◆ ElementId()

WifiInformationElementId ns3::HtOperation::ElementId ( ) const
overridevirtual

Get the wifi information element ID.

Returns
the wifi information element ID

Implements ns3::WifiInformationElement.

Definition at line 49 of file ht-operation.cc.

References IE_HT_OPERATION.

◆ GetBasicMcsSet1()

uint64_t ns3::HtOperation::GetBasicMcsSet1 ( ) const

Return the first 64 bytes of the Basic MCS Set field in the HT Operation information element.

Returns
the first 64 bytes of the Basic MCS Set field in the HT Operation information element

Definition at line 400 of file ht-operation.cc.

References m_rxMcsBitmask.

Referenced by SerializeInformationField().

+ Here is the caller graph for this function:

◆ GetBasicMcsSet2()

uint64_t ns3::HtOperation::GetBasicMcsSet2 ( ) const

Return the last 64 bytes of the Basic MCS Set field in the HT Operation information element.

Returns
the last 64 bytes of the Basic MCS Set field in the HT Operation information element

Definition at line 412 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().

+ Here is the caller graph for this function:

◆ GetDualBeacon()

uint8_t ns3::HtOperation::GetDualBeacon ( ) const

Return dual beacon.

Returns
the dual beacon

Definition at line 234 of file ht-operation.cc.

References m_dualBeacon.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetDualCtsProtection()

uint8_t ns3::HtOperation::GetDualCtsProtection ( ) const

Return dual CTS protection.

Returns
the dual CTS protection

Definition at line 240 of file ht-operation.cc.

References m_dualCtsProtection.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetHtProtection()

uint8_t ns3::HtOperation::GetHtProtection ( ) const

Return the HT protection.

Returns
the HT protection

Definition at line 216 of file ht-operation.cc.

References m_htProtection.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetInformationFieldSize()

uint16_t ns3::HtOperation::GetInformationFieldSize ( ) const
overrideprivatevirtual

Length of serialized information (i.e., the length of the body of the IE, not including the Element ID and length octets.

This is the value that will appear in the second octet of the entire IE - the length field - if the IE is not fragmented)

Returns
the length of serialized information

Implements ns3::WifiInformationElement.

Definition at line 72 of file ht-operation.cc.

◆ GetInformationSubset1()

uint8_t ns3::HtOperation::GetInformationSubset1 ( ) const

Return the Information Subset 1 field in the HT Operation information element.

Returns
the Information Subset 1 field in the HT Operation information element

Definition at line 306 of file ht-operation.cc.

References m_reservedInformationSubset1, m_rifsMode, m_secondaryChannelOffset, and m_staChannelWidth.

Referenced by SerializeInformationField().

+ Here is the caller graph for this function:

◆ GetInformationSubset2()

uint16_t ns3::HtOperation::GetInformationSubset2 ( ) const

Return the Information Subset 2 field in the HT Operation information element.

Returns
the Information Subset 2 field in the HT Operation information element

Definition at line 326 of file ht-operation.cc.

References m_htProtection, m_nonGfHtStasPresent, m_obssNonHtStasPresent, m_reservedInformationSubset2_1, and m_reservedInformationSubset2_2.

Referenced by SerializeInformationField().

+ Here is the caller graph for this function:

◆ GetInformationSubset3()

uint16_t ns3::HtOperation::GetInformationSubset3 ( ) const

Return the Information Subset 3 field in the HT Operation information element.

Returns
the Information Subset 3 field in the HT Operation information element

Definition at line 348 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().

+ Here is the caller graph for this function:

◆ GetLSigTxopProtectionFullSupport()

uint8_t ns3::HtOperation::GetLSigTxopProtectionFullSupport ( ) const

Return LSIG TXOP protection full support.

Returns
the LSIG TXOP protection full support

Definition at line 252 of file ht-operation.cc.

References m_lSigTxopProtectionFullSupport.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetNonGfHtStasPresent()

uint8_t ns3::HtOperation::GetNonGfHtStasPresent ( ) const

Return the non GF HT STAs present.

Returns
the non GF HT STAs present

Definition at line 222 of file ht-operation.cc.

References m_nonGfHtStasPresent.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetObssNonHtStasPresent()

uint8_t ns3::HtOperation::GetObssNonHtStasPresent ( ) const

Return the OBSS non HT STAs present.

Returns
the OBSS non HT STAs present

Definition at line 228 of file ht-operation.cc.

References m_obssNonHtStasPresent.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetPcoActive()

uint8_t ns3::HtOperation::GetPcoActive ( ) const

Return PCO active.

Returns
the PCO active

Definition at line 258 of file ht-operation.cc.

References m_pcoActive.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetPhase()

uint8_t ns3::HtOperation::GetPhase ( ) const

Return phase.

Returns
the phase

Definition at line 264 of file ht-operation.cc.

References m_pcoPhase.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetPrimaryChannel()

uint8_t ns3::HtOperation::GetPrimaryChannel ( ) const

Return the Primary Channel field in the HT Operation information element.

Returns
the Primary Channel field in the HT Operation information element

Definition at line 192 of file ht-operation.cc.

References m_primaryChannel.

Referenced by Print(), and SerializeInformationField().

+ Here is the caller graph for this function:

◆ GetRifsMode()

uint8_t ns3::HtOperation::GetRifsMode ( ) const

Return the RIFS mode.

Returns
the RIFS mode

Definition at line 210 of file ht-operation.cc.

References m_rifsMode.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetRxHighestSupportedDataRate()

uint16_t ns3::HtOperation::GetRxHighestSupportedDataRate ( ) const

Return receive highest supported data rate.

Returns
receive highest supported data rate

Definition at line 276 of file ht-operation.cc.

References m_rxHighestSupportedDataRate.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetSecondaryChannelOffset()

uint8_t ns3::HtOperation::GetSecondaryChannelOffset ( ) const

Return the secondary channel offset.

Returns
the secondary channel offset

Definition at line 198 of file ht-operation.cc.

References m_secondaryChannelOffset.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetStaChannelWidth()

uint8_t ns3::HtOperation::GetStaChannelWidth ( ) const

Return the STA channel width.

Returns
the STA channel width

Definition at line 204 of file ht-operation.cc.

References m_staChannelWidth.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetStbcBeacon()

uint8_t ns3::HtOperation::GetStbcBeacon ( ) const

Return STBC beacon.

Returns
the STBC beacon

Definition at line 246 of file ht-operation.cc.

References m_stbcBeacon.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetTxMaxNSpatialStreams()

uint8_t ns3::HtOperation::GetTxMaxNSpatialStreams ( ) const

Return transmit maximum number spatial streams.

Returns
transmit maximum number spatial streams

Definition at line 294 of file ht-operation.cc.

References m_txMaxNSpatialStreams.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetTxMcsSetDefined()

uint8_t ns3::HtOperation::GetTxMcsSetDefined ( ) const

Return transmit MCS set defined.

Returns
the transmit MCS set defined

Definition at line 282 of file ht-operation.cc.

References m_txMcsSetDefined.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetTxRxMcsSetUnequal()

uint8_t ns3::HtOperation::GetTxRxMcsSetUnequal ( ) const

Return transmit / receive MCS set unequal.

Returns
transmit / receive MCS set unequal

Definition at line 288 of file ht-operation.cc.

References m_txRxMcsSetUnequal.

Referenced by Print().

+ Here is the caller graph for this function:

◆ GetTxUnequalModulation()

uint8_t ns3::HtOperation::GetTxUnequalModulation ( ) const

Return transmit unequal modulation.

Returns
transmit unequal modulation

Definition at line 300 of file ht-operation.cc.

References m_txUnequalModulation.

Referenced by Print().

+ Here is the caller graph for this function:

◆ IsSupportedMcs()

bool ns3::HtOperation::IsSupportedMcs ( uint8_t mcs) const

Return MCS is supported.

Parameters
mcsMCS
Returns
the MCS is supported

Definition at line 270 of file ht-operation.cc.

References m_rxMcsBitmask.

Referenced by Print().

+ Here is the caller graph for this function:

◆ Print()

void ns3::HtOperation::Print ( std::ostream & os) const
overridevirtual

Generate human-readable form of IE.

Parameters
osoutput stream

Reimplemented from ns3::WifiInformationElement.

Definition at line 55 of file ht-operation.cc.

References GetDualBeacon(), GetDualCtsProtection(), GetHtProtection(), GetLSigTxopProtectionFullSupport(), GetNonGfHtStasPresent(), GetObssNonHtStasPresent(), GetPcoActive(), GetPhase(), GetPrimaryChannel(), GetRifsMode(), GetRxHighestSupportedDataRate(), GetSecondaryChannelOffset(), GetStaChannelWidth(), GetStbcBeacon(), GetTxMaxNSpatialStreams(), GetTxMcsSetDefined(), GetTxRxMcsSetUnequal(), GetTxUnequalModulation(), IsSupportedMcs(), and MAX_SUPPORTED_MCS.

+ Here is the call graph for this function:

◆ SerializeInformationField()

void ns3::HtOperation::SerializeInformationField ( Buffer::Iterator start) const
overrideprivatevirtual

Serialize information (i.e., the body of the IE, not including the Element ID and length octets)

Parameters
startan iterator which points to where the information should be written.

Implements ns3::WifiInformationElement.

Definition at line 432 of file ht-operation.cc.

References GetBasicMcsSet1(), GetBasicMcsSet2(), GetInformationSubset1(), GetInformationSubset2(), GetInformationSubset3(), and GetPrimaryChannel().

+ Here is the call graph for this function:

◆ SetBasicMcsSet()

void ns3::HtOperation::SetBasicMcsSet ( uint64_t ctrl1,
uint64_t ctrl2 )

Set the Basic MCS Set field in the HT Operation information element.

Parameters
ctrl1the first 64 bytes of the Basic MCS Set field in the HT Operation information element
ctrl2the last 64 bytes of the Basic MCS Set field in the HT Operation information element

Definition at line 376 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().

+ Here is the caller graph for this function:

◆ SetDualBeacon()

void ns3::HtOperation::SetDualBeacon ( uint8_t dualBeacon)

Set the dual beacon.

Parameters
dualBeaconthe dual beacon

Definition at line 120 of file ht-operation.cc.

References m_dualBeacon.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetDualCtsProtection()

void ns3::HtOperation::SetDualCtsProtection ( uint8_t dualCtsProtection)

Set the dual CTS protection.

Parameters
dualCtsProtectionthe dual CTS protection

Definition at line 126 of file ht-operation.cc.

References m_dualCtsProtection.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetHtProtection()

void ns3::HtOperation::SetHtProtection ( uint8_t htProtection)

Set the HT protection.

Parameters
htProtectionthe HT protection

Definition at line 102 of file ht-operation.cc.

References m_htProtection.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetInformationSubset1()

void ns3::HtOperation::SetInformationSubset1 ( uint8_t ctrl)

Set the Information Subset 1 field in the HT Operation information element.

Parameters
ctrlthe Information Subset 1 field in the HT Operation information element

Definition at line 317 of file ht-operation.cc.

References m_reservedInformationSubset1, m_rifsMode, m_secondaryChannelOffset, and m_staChannelWidth.

Referenced by DeserializeInformationField().

+ Here is the caller graph for this function:

◆ SetInformationSubset2()

void ns3::HtOperation::SetInformationSubset2 ( uint16_t ctrl)

Set the Information Subset 2 field in the HT Operation information element.

Parameters
ctrlthe Information Subset 2 field in the HT Operation information element

Definition at line 338 of file ht-operation.cc.

References m_htProtection, m_nonGfHtStasPresent, m_obssNonHtStasPresent, m_reservedInformationSubset2_1, and m_reservedInformationSubset2_2.

Referenced by DeserializeInformationField().

+ Here is the caller graph for this function:

◆ SetInformationSubset3()

void ns3::HtOperation::SetInformationSubset3 ( uint16_t ctrl)

Set the Information Subset 3 field in the HT Operation information element.

Parameters
ctrlthe Information Subset 3 field in the HT Operation information element

Definition at line 363 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().

+ Here is the caller graph for this function:

◆ SetLSigTxopProtectionFullSupport()

void ns3::HtOperation::SetLSigTxopProtectionFullSupport ( uint8_t lSigTxopProtectionFullSupport)

Set the LSIG TXOP protection full support.

Parameters
lSigTxopProtectionFullSupportthe LSIG TXOP protection full support

Definition at line 138 of file ht-operation.cc.

References m_lSigTxopProtectionFullSupport.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetNonGfHtStasPresent()

void ns3::HtOperation::SetNonGfHtStasPresent ( uint8_t nonGfHtStasPresent)

Set the non GF HT STAs present.

Parameters
nonGfHtStasPresentthe non GF HT STAs present

Definition at line 108 of file ht-operation.cc.

References m_nonGfHtStasPresent.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetObssNonHtStasPresent()

void ns3::HtOperation::SetObssNonHtStasPresent ( uint8_t obssNonHtStasPresent)

Set the OBSS non HT STAs present.

Parameters
obssNonHtStasPresentthe OBSS non HTA STAs present

Definition at line 114 of file ht-operation.cc.

References m_obssNonHtStasPresent.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetPcoActive()

void ns3::HtOperation::SetPcoActive ( uint8_t pcoActive)

Set the PCO active.

Parameters
pcoActivethe PCO active

Definition at line 144 of file ht-operation.cc.

References m_pcoActive.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetPhase()

void ns3::HtOperation::SetPhase ( uint8_t pcoPhase)

Set the PCO phase.

Parameters
pcoPhasethe PCO phase

Definition at line 150 of file ht-operation.cc.

References m_pcoPhase.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetPrimaryChannel()

void ns3::HtOperation::SetPrimaryChannel ( uint8_t ctrl)

Set the Primary Channel field in the HT Operation information element.

Parameters
ctrlthe Primary Channel field in the HT Operation information element

Definition at line 78 of file ht-operation.cc.

References m_primaryChannel.

Referenced by DeserializeInformationField(), and ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetRifsMode()

void ns3::HtOperation::SetRifsMode ( uint8_t rifsMode)

Set the RIFS mode.

Parameters
rifsModethe RIFS mode

Definition at line 96 of file ht-operation.cc.

References m_rifsMode.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetRxHighestSupportedDataRate()

void ns3::HtOperation::SetRxHighestSupportedDataRate ( uint16_t maxSupportedRate)

Set the receive highest supported data rate.

Parameters
maxSupportedRatethe maximum supported data rate

Definition at line 162 of file ht-operation.cc.

References m_rxHighestSupportedDataRate.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetRxMcsBitmask()

void ns3::HtOperation::SetRxMcsBitmask ( uint8_t index)

Set the receive MCS bitmask.

Parameters
indexthe MCS bitmask

Definition at line 156 of file ht-operation.cc.

References m_rxMcsBitmask.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetSecondaryChannelOffset()

void ns3::HtOperation::SetSecondaryChannelOffset ( uint8_t secondaryChannelOffset)

Set the secondary channel offset.

Parameters
secondaryChannelOffsetthe secondary channel offset

Definition at line 84 of file ht-operation.cc.

References m_secondaryChannelOffset.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetStaChannelWidth()

void ns3::HtOperation::SetStaChannelWidth ( uint8_t staChannelWidth)

Set the STA channel width.

Parameters
staChannelWidththe STA channel width

Definition at line 90 of file ht-operation.cc.

References m_staChannelWidth.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetStbcBeacon()

void ns3::HtOperation::SetStbcBeacon ( uint8_t stbcBeacon)

Set the STBC beacon.

Parameters
stbcBeaconthe STBC beacon

Definition at line 132 of file ht-operation.cc.

References m_stbcBeacon.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetTxMaxNSpatialStreams()

void ns3::HtOperation::SetTxMaxNSpatialStreams ( uint8_t maxTxSpatialStreams)

Set the transmit maximum number spatial streams.

Parameters
maxTxSpatialStreamsthe maximum transmit spatial streams

Definition at line 180 of file ht-operation.cc.

References m_txMaxNSpatialStreams.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetTxMcsSetDefined()

void ns3::HtOperation::SetTxMcsSetDefined ( uint8_t txMcsSetDefined)

Set the transmit MCS set defined.

Parameters
txMcsSetDefinedthe transmit MCS set defined

Definition at line 168 of file ht-operation.cc.

References m_txMcsSetDefined.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetTxRxMcsSetUnequal()

void ns3::HtOperation::SetTxRxMcsSetUnequal ( uint8_t txRxMcsSetUnequal)

Set the transmit / receive MCS set unequal.

Parameters
txRxMcsSetUnequalthe transmit / receive MCS set unequal

Definition at line 174 of file ht-operation.cc.

References m_txRxMcsSetUnequal.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

◆ SetTxUnequalModulation()

void ns3::HtOperation::SetTxUnequalModulation ( uint8_t txUnequalModulation)

Set the transmit unequal modulation.

Parameters
txUnequalModulationthe transmit unequal modulation

Definition at line 186 of file ht-operation.cc.

References m_txUnequalModulation.

Referenced by ns3::ApWifiMac::GetHtOperation().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_dualBeacon

uint8_t ns3::HtOperation::m_dualBeacon
private

dual beacon

Definition at line 367 of file ht-operation.h.

Referenced by GetDualBeacon(), GetInformationSubset3(), SetDualBeacon(), and SetInformationSubset3().

◆ m_dualCtsProtection

uint8_t ns3::HtOperation::m_dualCtsProtection
private

dual CTS protection

Definition at line 368 of file ht-operation.h.

Referenced by GetDualCtsProtection(), GetInformationSubset3(), SetDualCtsProtection(), and SetInformationSubset3().

◆ m_htProtection

uint8_t ns3::HtOperation::m_htProtection
private

HT protection.

Definition at line 359 of file ht-operation.h.

Referenced by GetHtProtection(), GetInformationSubset2(), SetHtProtection(), and SetInformationSubset2().

◆ m_lSigTxopProtectionFullSupport

uint8_t ns3::HtOperation::m_lSigTxopProtectionFullSupport
private

L-SIG TXOP protection full support.

Definition at line 370 of file ht-operation.h.

Referenced by GetInformationSubset3(), GetLSigTxopProtectionFullSupport(), SetInformationSubset3(), and SetLSigTxopProtectionFullSupport().

◆ m_nonGfHtStasPresent

uint8_t ns3::HtOperation::m_nonGfHtStasPresent
private

non GF HT STAs present

Definition at line 360 of file ht-operation.h.

Referenced by GetInformationSubset2(), GetNonGfHtStasPresent(), SetInformationSubset2(), and SetNonGfHtStasPresent().

◆ m_obssNonHtStasPresent

uint8_t ns3::HtOperation::m_obssNonHtStasPresent
private

OBSS NON HT STAs present.

Definition at line 362 of file ht-operation.h.

Referenced by GetInformationSubset2(), GetObssNonHtStasPresent(), SetInformationSubset2(), and SetObssNonHtStasPresent().

◆ m_pcoActive

uint8_t ns3::HtOperation::m_pcoActive
private

PCO active.

Definition at line 371 of file ht-operation.h.

Referenced by GetInformationSubset3(), GetPcoActive(), SetInformationSubset3(), and SetPcoActive().

◆ m_pcoPhase

uint8_t ns3::HtOperation::m_pcoPhase
private

PCO phase.

Definition at line 372 of file ht-operation.h.

Referenced by GetInformationSubset3(), GetPhase(), SetInformationSubset3(), and SetPhase().

◆ m_primaryChannel

uint8_t ns3::HtOperation::m_primaryChannel
private

primary channel

Definition at line 350 of file ht-operation.h.

Referenced by GetPrimaryChannel(), and SetPrimaryChannel().

◆ m_reservedInformationSubset1

uint8_t ns3::HtOperation::m_reservedInformationSubset1
private

reserved information subset 1

Definition at line 356 of file ht-operation.h.

Referenced by GetInformationSubset1(), and SetInformationSubset1().

◆ m_reservedInformationSubset2_1

uint8_t ns3::HtOperation::m_reservedInformationSubset2_1
private

reserved information subset 2-1

Definition at line 361 of file ht-operation.h.

Referenced by GetInformationSubset2(), and SetInformationSubset2().

◆ m_reservedInformationSubset2_2

uint8_t ns3::HtOperation::m_reservedInformationSubset2_2
private

reserved information subset 2-2

Definition at line 363 of file ht-operation.h.

Referenced by GetInformationSubset2(), and SetInformationSubset2().

◆ m_reservedInformationSubset3_1

uint8_t ns3::HtOperation::m_reservedInformationSubset3_1
private

reserved information subset 3-1

Definition at line 366 of file ht-operation.h.

Referenced by GetInformationSubset3(), and SetInformationSubset3().

◆ m_reservedInformationSubset3_2

uint8_t ns3::HtOperation::m_reservedInformationSubset3_2
private

reserved information subset 3-2

Definition at line 373 of file ht-operation.h.

Referenced by GetInformationSubset3(), and SetInformationSubset3().

◆ m_reservedMcsSet1

uint8_t ns3::HtOperation::m_reservedMcsSet1
private

reserved MCS set 1

Definition at line 376 of file ht-operation.h.

Referenced by GetBasicMcsSet2(), and SetBasicMcsSet().

◆ m_reservedMcsSet2

uint8_t ns3::HtOperation::m_reservedMcsSet2
private

reserved MCS set2

Definition at line 378 of file ht-operation.h.

Referenced by GetBasicMcsSet2(), and SetBasicMcsSet().

◆ m_reservedMcsSet3

uint32_t ns3::HtOperation::m_reservedMcsSet3
private

reserved MCS set 3

Definition at line 383 of file ht-operation.h.

Referenced by GetBasicMcsSet2(), and SetBasicMcsSet().

◆ m_rifsMode

uint8_t ns3::HtOperation::m_rifsMode
private

RIFS mode.

Definition at line 355 of file ht-operation.h.

Referenced by GetInformationSubset1(), GetRifsMode(), SetInformationSubset1(), and SetRifsMode().

◆ m_rxHighestSupportedDataRate

uint16_t ns3::HtOperation::m_rxHighestSupportedDataRate
private

receive highest supported data rate

Definition at line 377 of file ht-operation.h.

Referenced by GetBasicMcsSet2(), GetRxHighestSupportedDataRate(), SetBasicMcsSet(), and SetRxHighestSupportedDataRate().

◆ m_rxMcsBitmask

uint8_t ns3::HtOperation::m_rxMcsBitmask[MAX_SUPPORTED_MCS]
private

receive MCS bitmask

Definition at line 384 of file ht-operation.h.

Referenced by HtOperation(), GetBasicMcsSet1(), GetBasicMcsSet2(), IsSupportedMcs(), SetBasicMcsSet(), and SetRxMcsBitmask().

◆ m_secondaryChannelOffset

uint8_t ns3::HtOperation::m_secondaryChannelOffset
private

secondary channel offset

Definition at line 353 of file ht-operation.h.

Referenced by GetInformationSubset1(), GetSecondaryChannelOffset(), SetInformationSubset1(), and SetSecondaryChannelOffset().

◆ m_staChannelWidth

uint8_t ns3::HtOperation::m_staChannelWidth
private

STA channel width.

Definition at line 354 of file ht-operation.h.

Referenced by GetInformationSubset1(), GetStaChannelWidth(), SetInformationSubset1(), and SetStaChannelWidth().

◆ m_stbcBeacon

uint8_t ns3::HtOperation::m_stbcBeacon
private

STBC beacon.

Definition at line 369 of file ht-operation.h.

Referenced by GetInformationSubset3(), GetStbcBeacon(), SetInformationSubset3(), and SetStbcBeacon().

◆ m_txMaxNSpatialStreams

uint8_t ns3::HtOperation::m_txMaxNSpatialStreams
private

transmit maximum number spatial streams

Definition at line 381 of file ht-operation.h.

Referenced by GetBasicMcsSet2(), GetTxMaxNSpatialStreams(), SetBasicMcsSet(), and SetTxMaxNSpatialStreams().

◆ m_txMcsSetDefined

uint8_t ns3::HtOperation::m_txMcsSetDefined
private

transmit MCS set defined

Definition at line 379 of file ht-operation.h.

Referenced by GetBasicMcsSet2(), GetTxMcsSetDefined(), SetBasicMcsSet(), and SetTxMcsSetDefined().

◆ m_txRxMcsSetUnequal

uint8_t ns3::HtOperation::m_txRxMcsSetUnequal
private

transmit / receive MCS set unequal

Definition at line 380 of file ht-operation.h.

Referenced by GetBasicMcsSet2(), GetTxRxMcsSetUnequal(), SetBasicMcsSet(), and SetTxRxMcsSetUnequal().

◆ m_txUnequalModulation

uint8_t ns3::HtOperation::m_txUnequalModulation
private

transmit unequal modulation

Definition at line 382 of file ht-operation.h.

Referenced by GetBasicMcsSet2(), GetTxUnequalModulation(), SetBasicMcsSet(), and SetTxUnequalModulation().


The documentation for this class was generated from the following files: