A Discrete-Event Network Simulator
API
ns3::EdcaParameterSet Class Reference

The EDCA Parameter Set. More...

#include "edca-parameter-set.h"

+ Inheritance diagram for ns3::EdcaParameterSet:
+ Collaboration diagram for ns3::EdcaParameterSet:

Public Member Functions

 EdcaParameterSet ()
 
uint8_t DeserializeInformationField (Buffer::Iterator start, uint8_t length) override
 Deserialize information (i.e., the body of the IE, not including the Element ID and length octets) More...
 
WifiInformationElementId ElementId () const override
 
uint8_t GetBeAifsn (void) const
 Return the AC_BE AIFSN field in the EdcaParameterSet information element. More...
 
uint32_t GetBeCWmax (void) const
 Return the AC_BE CWmax field in the EdcaParameterSet information element. More...
 
uint32_t GetBeCWmin (void) const
 Return the AC_BE CWmin field in the EdcaParameterSet information element. More...
 
uint16_t GetBeTxopLimit (void) const
 Return the AC_BE TXOP Limit field in the EdcaParameterSet information element. More...
 
uint8_t GetBkAifsn (void) const
 Return the AC_BK AIFSN field in the EdcaParameterSet information element. More...
 
uint32_t GetBkCWmax (void) const
 Return the AC_BK CWmax field in the EdcaParameterSet information element. More...
 
uint32_t GetBkCWmin (void) const
 Return the AC_BK CWmin field in the EdcaParameterSet information element. More...
 
uint16_t GetBkTxopLimit (void) const
 Return the AC_BK TXOP Limit field in the EdcaParameterSet information element. More...
 
uint8_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. More...
 
uint8_t GetQosInfo (void) const
 Return the QoS Info field in the EdcaParameterSet information element. More...
 
uint16_t GetSerializedSize () const override
 Get the size of the serialized IE including Element ID and length fields. More...
 
uint8_t GetViAifsn (void) const
 Return the AC_VI AIFSN field in the EdcaParameterSet information element. More...
 
uint32_t GetViCWmax (void) const
 Return the AC_VI CWmax field in the EdcaParameterSet information element. More...
 
uint32_t GetViCWmin (void) const
 Return the AC_VI CWmin field in the EdcaParameterSet information element. More...
 
uint16_t GetViTxopLimit (void) const
 Return the AC_VI TXOP Limit field in the EdcaParameterSet information element. More...
 
uint8_t GetVoAifsn (void) const
 Return the AC_VO AIFSN field in the EdcaParameterSet information element. More...
 
uint32_t GetVoCWmax (void) const
 Return the AC_VO CWmax field in the EdcaParameterSet information element. More...
 
uint32_t GetVoCWmin (void) const
 Return the AC_VO CWmin field in the EdcaParameterSet information element. More...
 
uint16_t GetVoTxopLimit (void) const
 Return the AC_VO TXOP Limit field in the EdcaParameterSet information element. More...
 
uint8_t IsQosSupported (void) const
 Is QOS supported function. More...
 
Buffer::Iterator Serialize (Buffer::Iterator start) const override
 Serialize entire IE including Element ID and length fields. More...
 
void SerializeInformationField (Buffer::Iterator start) const override
 Serialize information (i.e., the body of the IE, not including the Element ID and length octets) More...
 
void SetBeAci (uint8_t aci)
 Set the AC_BE ACI field in the EdcaParameterSet information element. More...
 
void SetBeAifsn (uint8_t aifsn)
 Set the AC_BE AIFSN field in the EdcaParameterSet information element. More...
 
void SetBeCWmax (uint32_t cwMax)
 Set the AC_BE CWmax field in the EdcaParameterSet information element. More...
 
void SetBeCWmin (uint32_t cwMin)
 Set the AC_BE CWmin field in the EdcaParameterSet information element. More...
 
void SetBeTxopLimit (uint16_t txop)
 Set the AC_BE TXOP Limit field in the EdcaParameterSet information element. More...
 
void SetBkAci (uint8_t aci)
 Set the AC_BK ACI field in the EdcaParameterSet information element. More...
 
void SetBkAifsn (uint8_t aifsn)
 Set the AC_BK AIFSN field in the EdcaParameterSet information element. More...
 
void SetBkCWmax (uint32_t cwMax)
 Set the AC_BK CWmax field in the EdcaParameterSet information element. More...
 
void SetBkCWmin (uint32_t cwMin)
 Set the AC_BK CWmin field in the EdcaParameterSet information element. More...
 
void SetBkTxopLimit (uint16_t txop)
 Set the AC_BK TXOP Limit field in the EdcaParameterSet information element. More...
 
void SetQosInfo (uint8_t qosInfo)
 Set the QoS Info field in the EdcaParameterSet information element. More...
 
void SetQosSupported (uint8_t qosSupported)
 Set QOS supported function. More...
 
void SetViAci (uint8_t aci)
 Set the AC_VI ACI field in the EdcaParameterSet information element. More...
 
void SetViAifsn (uint8_t aifsn)
 Set the AC_VI AIFSN field in the EdcaParameterSet information element. More...
 
void SetViCWmax (uint32_t cwMax)
 Set the AC_VI CWmax field in the EdcaParameterSet information element. More...
 
void SetViCWmin (uint32_t cwMin)
 Set the AC_VI CWmin field in the EdcaParameterSet information element. More...
 
void SetViTxopLimit (uint16_t txop)
 Set the AC_VI TXOP Limit field in the EdcaParameterSet information element. More...
 
void SetVoAci (uint8_t aci)
 Set the AC_VO ACI field in the EdcaParameterSet information element. More...
 
void SetVoAifsn (uint8_t aifsn)
 Set the AC_VO AIFSN field in the EdcaParameterSet information element. More...
 
void SetVoCWmax (uint32_t cwMax)
 Set the AC_VO CWmax field in the EdcaParameterSet information element. More...
 
void SetVoCWmin (uint32_t cwMin)
 Set the AC_VO CWmin field in the EdcaParameterSet information element. More...
 
void SetVoTxopLimit (uint16_t txop)
 Set the AC_VO TXOP Limit field in the EdcaParameterSet information element. 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...
 
virtual WifiInformationElementId ElementIdExt () const
 
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...
 
- Public Member Functions inherited from ns3::SimpleRefCount< WifiInformationElement >
 SimpleRefCount ()
 Default constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o[[maybe_unused]])
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= ([[maybe_unused]] 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

uint32_t m_acBE
 AC_BE. More...
 
uint32_t m_acBK
 AC_BK. More...
 
uint32_t m_acVI
 AC_VI. More...
 
uint32_t m_acVO
 AC_VO. More...
 
uint8_t m_qosInfo
 QOS info. More...
 
bool m_qosSupported
 This is used to decide whether this element should be added to the frame or not. More...
 
uint8_t m_reserved
 reserved More...
 

Detailed Description

The EDCA Parameter Set.

This class knows how to serialise and deserialise the EDCA Parameter Set.

Definition at line 34 of file edca-parameter-set.h.

Constructor & Destructor Documentation

◆ EdcaParameterSet()

ns3::EdcaParameterSet::EdcaParameterSet ( )

Definition at line 26 of file edca-parameter-set.cc.

Member Function Documentation

◆ DeserializeInformationField()

uint8_t ns3::EdcaParameterSet::DeserializeInformationField ( Buffer::Iterator  start,
uint8_t  length 
)
overridevirtual

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.
length
Returns
the number of bytes read

Implements ns3::WifiInformationElement.

Definition at line 341 of file edca-parameter-set.cc.

References m_acBE, m_acBK, m_acVI, m_acVO, m_qosInfo, m_reserved, ns3::Buffer::Iterator::ReadU32(), ns3::Buffer::Iterator::ReadU8(), and visualizer.core::start().

+ Here is the call graph for this function:

◆ ElementId()

WifiInformationElementId ns3::EdcaParameterSet::ElementId ( ) const
overridevirtual
Returns
Own unique Element ID

Implements ns3::WifiInformationElement.

Definition at line 38 of file edca-parameter-set.cc.

References IE_EDCA_PARAMETER_SET.

◆ GetBeAifsn()

uint8_t ns3::EdcaParameterSet::GetBeAifsn ( void  ) const

Return the AC_BE AIFSN field in the EdcaParameterSet information element.

Returns
the AC_BE AIFSN field in the EdcaParameterSet information element

Definition at line 196 of file edca-parameter-set.cc.

References m_acBE.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetBeCWmax()

uint32_t ns3::EdcaParameterSet::GetBeCWmax ( void  ) const

Return the AC_BE CWmax field in the EdcaParameterSet information element.

Returns
the AC_BE CWmax field in the EdcaParameterSet information element

Definition at line 209 of file edca-parameter-set.cc.

References m_acBE.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetBeCWmin()

uint32_t ns3::EdcaParameterSet::GetBeCWmin ( void  ) const

Return the AC_BE CWmin field in the EdcaParameterSet information element.

Returns
the AC_BE CWmin field in the EdcaParameterSet information element

Definition at line 202 of file edca-parameter-set.cc.

References m_acBE.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetBeTxopLimit()

uint16_t ns3::EdcaParameterSet::GetBeTxopLimit ( void  ) const

Return the AC_BE TXOP Limit field in the EdcaParameterSet information element.

Returns
the AC_BE TXOP Limit field in the EdcaParameterSet information element

Definition at line 216 of file edca-parameter-set.cc.

References m_acBE.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetBkAifsn()

uint8_t ns3::EdcaParameterSet::GetBkAifsn ( void  ) const

Return the AC_BK AIFSN field in the EdcaParameterSet information element.

Returns
the AC_BK AIFSN field in the EdcaParameterSet information element

Definition at line 222 of file edca-parameter-set.cc.

References m_acBK.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetBkCWmax()

uint32_t ns3::EdcaParameterSet::GetBkCWmax ( void  ) const

Return the AC_BK CWmax field in the EdcaParameterSet information element.

Returns
the AC_BK CWmax field in the EdcaParameterSet information element

Definition at line 235 of file edca-parameter-set.cc.

References m_acBK.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetBkCWmin()

uint32_t ns3::EdcaParameterSet::GetBkCWmin ( void  ) const

Return the AC_BK CWmin field in the EdcaParameterSet information element.

Returns
the AC_BK CWmin field in the EdcaParameterSet information element

Definition at line 228 of file edca-parameter-set.cc.

References m_acBK.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetBkTxopLimit()

uint16_t ns3::EdcaParameterSet::GetBkTxopLimit ( void  ) const

Return the AC_BK TXOP Limit field in the EdcaParameterSet information element.

Returns
the AC_BK TXOP Limit field in the EdcaParameterSet information element

Definition at line 242 of file edca-parameter-set.cc.

References m_acBK.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetInformationFieldSize()

uint8_t ns3::EdcaParameterSet::GetInformationFieldSize ( ) const
overridevirtual

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)

Returns
the length of serialized information

Implements ns3::WifiInformationElement.

Definition at line 300 of file edca-parameter-set.cc.

References m_qosSupported, and NS_ASSERT.

◆ GetQosInfo()

uint8_t ns3::EdcaParameterSet::GetQosInfo ( void  ) const

Return the QoS Info field in the EdcaParameterSet information element.

Returns
the QoS Info field in the EdcaParameterSet information element

Definition at line 190 of file edca-parameter-set.cc.

References m_qosInfo.

Referenced by SerializeInformationField().

+ Here is the caller graph for this function:

◆ GetSerializedSize()

uint16_t ns3::EdcaParameterSet::GetSerializedSize ( void  ) const
overridevirtual

Get the size of the serialized IE including Element ID and length fields.

Returns
the size of the serialized IE in bytes

Reimplemented from ns3::WifiInformationElement.

Definition at line 317 of file edca-parameter-set.cc.

References ns3::WifiInformationElement::GetSerializedSize(), and m_qosSupported.

Referenced by ns3::MgtAssocResponseHeader::GetSerializedSize(), and ns3::MgtProbeResponseHeader::GetSerializedSize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetViAifsn()

uint8_t ns3::EdcaParameterSet::GetViAifsn ( void  ) const

Return the AC_VI AIFSN field in the EdcaParameterSet information element.

Returns
the AC_VI AIFSN field in the EdcaParameterSet information element

Definition at line 248 of file edca-parameter-set.cc.

References m_acVI.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetViCWmax()

uint32_t ns3::EdcaParameterSet::GetViCWmax ( void  ) const

Return the AC_VI CWmax field in the EdcaParameterSet information element.

Returns
the AC_VI CWmax field in the EdcaParameterSet information element

Definition at line 261 of file edca-parameter-set.cc.

References m_acVI.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetViCWmin()

uint32_t ns3::EdcaParameterSet::GetViCWmin ( void  ) const

Return the AC_VI CWmin field in the EdcaParameterSet information element.

Returns
the AC_VI CWmin field in the EdcaParameterSet information element

Definition at line 254 of file edca-parameter-set.cc.

References m_acVI.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetViTxopLimit()

uint16_t ns3::EdcaParameterSet::GetViTxopLimit ( void  ) const

Return the AC_VI TXOP Limit field in the EdcaParameterSet information element.

Returns
the AC_VI TXOP Limit field in the EdcaParameterSet information element

Definition at line 268 of file edca-parameter-set.cc.

References m_acVI.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetVoAifsn()

uint8_t ns3::EdcaParameterSet::GetVoAifsn ( void  ) const

Return the AC_VO AIFSN field in the EdcaParameterSet information element.

Returns
the AC_VO AIFSN field in the EdcaParameterSet information element

Definition at line 274 of file edca-parameter-set.cc.

References m_acVO.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetVoCWmax()

uint32_t ns3::EdcaParameterSet::GetVoCWmax ( void  ) const

Return the AC_VO CWmax field in the EdcaParameterSet information element.

Returns
the AC_VO CWmax field in the EdcaParameterSet information element

Definition at line 287 of file edca-parameter-set.cc.

References m_acVO.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetVoCWmin()

uint32_t ns3::EdcaParameterSet::GetVoCWmin ( void  ) const

Return the AC_VO CWmin field in the EdcaParameterSet information element.

Returns
the AC_VO CWmin field in the EdcaParameterSet information element

Definition at line 280 of file edca-parameter-set.cc.

References m_acVO.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ GetVoTxopLimit()

uint16_t ns3::EdcaParameterSet::GetVoTxopLimit ( void  ) const

Return the AC_VO TXOP Limit field in the EdcaParameterSet information element.

Returns
the AC_VO TXOP Limit field in the EdcaParameterSet information element

Definition at line 294 of file edca-parameter-set.cc.

References m_acVO.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ IsQosSupported()

uint8_t ns3::EdcaParameterSet::IsQosSupported ( void  ) const

Is QOS supported function.

Returns
the is QOS supported indicator

Definition at line 50 of file edca-parameter-set.cc.

References m_acBE, m_acBK, m_acVI, and m_acVO.

Referenced by ns3::StaWifiMac::UpdateApInfoFromAssocResp(), and ns3::StaWifiMac::UpdateApInfoFromBeacon().

+ Here is the caller graph for this function:

◆ Serialize()

Buffer::Iterator ns3::EdcaParameterSet::Serialize ( Buffer::Iterator  i) const
overridevirtual

Serialize entire IE including Element ID and length fields.

Parameters
ian iterator which points to where the IE should be written.
Returns
an iterator

Reimplemented from ns3::WifiInformationElement.

Definition at line 307 of file edca-parameter-set.cc.

References m_qosSupported, and ns3::WifiInformationElement::Serialize().

Referenced by ns3::MgtAssocResponseHeader::Serialize(), and ns3::MgtProbeResponseHeader::Serialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SerializeInformationField()

void ns3::EdcaParameterSet::SerializeInformationField ( Buffer::Iterator  start) const
overridevirtual

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 327 of file edca-parameter-set.cc.

References GetQosInfo(), m_acBE, m_acBK, m_acVI, m_acVO, m_qosSupported, m_reserved, and visualizer.core::start().

+ Here is the call graph for this function:

◆ SetBeAci()

void ns3::EdcaParameterSet::SetBeAci ( uint8_t  aci)

Set the AC_BE ACI field in the EdcaParameterSet information element.

Parameters
acithe AC_BE ACI field in the EdcaParameterSet information element

Definition at line 68 of file edca-parameter-set.cc.

References m_acBE.

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

+ Here is the caller graph for this function:

◆ SetBeAifsn()

void ns3::EdcaParameterSet::SetBeAifsn ( uint8_t  aifsn)

Set the AC_BE AIFSN field in the EdcaParameterSet information element.

Parameters
aifsnthe AC_BE AIFSN field in the EdcaParameterSet information element

Definition at line 62 of file edca-parameter-set.cc.

References m_acBE.

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

+ Here is the caller graph for this function:

◆ SetBeCWmax()

void ns3::EdcaParameterSet::SetBeCWmax ( uint32_t  cwMax)

Set the AC_BE CWmax field in the EdcaParameterSet information element.

Parameters
cwMaxthe AC_BE CWmax field in the EdcaParameterSet information element

Definition at line 81 of file edca-parameter-set.cc.

References m_acBE.

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

+ Here is the caller graph for this function:

◆ SetBeCWmin()

void ns3::EdcaParameterSet::SetBeCWmin ( uint32_t  cwMin)

Set the AC_BE CWmin field in the EdcaParameterSet information element.

Parameters
cwMinthe AC_BE CWmin field in the EdcaParameterSet information element

Definition at line 74 of file edca-parameter-set.cc.

References m_acBE.

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

+ Here is the caller graph for this function:

◆ SetBeTxopLimit()

void ns3::EdcaParameterSet::SetBeTxopLimit ( uint16_t  txop)

Set the AC_BE TXOP Limit field in the EdcaParameterSet information element.

Parameters
txopthe AC_BE TXOP Limit field in the EdcaParameterSet information element

Definition at line 88 of file edca-parameter-set.cc.

References m_acBE.

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

+ Here is the caller graph for this function:

◆ SetBkAci()

void ns3::EdcaParameterSet::SetBkAci ( uint8_t  aci)

Set the AC_BK ACI field in the EdcaParameterSet information element.

Parameters
acithe AC_BK ACI field in the EdcaParameterSet information element

Definition at line 100 of file edca-parameter-set.cc.

References m_acBK.

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

+ Here is the caller graph for this function:

◆ SetBkAifsn()

void ns3::EdcaParameterSet::SetBkAifsn ( uint8_t  aifsn)

Set the AC_BK AIFSN field in the EdcaParameterSet information element.

Parameters
aifsnthe AC_BB AIFSN field in the EdcaParameterSet information element

Definition at line 94 of file edca-parameter-set.cc.

References m_acBK.

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

+ Here is the caller graph for this function:

◆ SetBkCWmax()

void ns3::EdcaParameterSet::SetBkCWmax ( uint32_t  cwMax)

Set the AC_BK CWmax field in the EdcaParameterSet information element.

Parameters
cwMaxthe AC_BK CWmax field in the EdcaParameterSet information element

Definition at line 113 of file edca-parameter-set.cc.

References m_acBK.

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

+ Here is the caller graph for this function:

◆ SetBkCWmin()

void ns3::EdcaParameterSet::SetBkCWmin ( uint32_t  cwMin)

Set the AC_BK CWmin field in the EdcaParameterSet information element.

Parameters
cwMinthe AC_BK CWmin field in the EdcaParameterSet information element

Definition at line 106 of file edca-parameter-set.cc.

References m_acBK.

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

+ Here is the caller graph for this function:

◆ SetBkTxopLimit()

void ns3::EdcaParameterSet::SetBkTxopLimit ( uint16_t  txop)

Set the AC_BK TXOP Limit field in the EdcaParameterSet information element.

Parameters
txopthe AC_BK TXOP Limit field in the EdcaParameterSet information element

Definition at line 120 of file edca-parameter-set.cc.

References m_acBK.

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

+ Here is the caller graph for this function:

◆ SetQosInfo()

void ns3::EdcaParameterSet::SetQosInfo ( uint8_t  qosInfo)

Set the QoS Info field in the EdcaParameterSet information element.

Parameters
qosInfothe QoS Info field in the EdcaParameterSet information element

Definition at line 56 of file edca-parameter-set.cc.

References m_qosInfo.

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

+ Here is the caller graph for this function:

◆ SetQosSupported()

void ns3::EdcaParameterSet::SetQosSupported ( uint8_t  qosSupported)

Set QOS supported function.

Parameters
qosSupportedthe QOS supported indicator

Definition at line 44 of file edca-parameter-set.cc.

References m_qosSupported.

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

+ Here is the caller graph for this function:

◆ SetViAci()

void ns3::EdcaParameterSet::SetViAci ( uint8_t  aci)

Set the AC_VI ACI field in the EdcaParameterSet information element.

Parameters
acithe AC_VI ACI field in the EdcaParameterSet information element

Definition at line 132 of file edca-parameter-set.cc.

References m_acVI.

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

+ Here is the caller graph for this function:

◆ SetViAifsn()

void ns3::EdcaParameterSet::SetViAifsn ( uint8_t  aifsn)

Set the AC_VI AIFSN field in the EdcaParameterSet information element.

Parameters
aifsnthe AC_VI AIFSN field in the EdcaParameterSet information element

Definition at line 126 of file edca-parameter-set.cc.

References m_acVI.

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

+ Here is the caller graph for this function:

◆ SetViCWmax()

void ns3::EdcaParameterSet::SetViCWmax ( uint32_t  cwMax)

Set the AC_VI CWmax field in the EdcaParameterSet information element.

Parameters
cwMaxthe AC_VI CWmax field in the EdcaParameterSet information element

Definition at line 145 of file edca-parameter-set.cc.

References m_acVI.

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

+ Here is the caller graph for this function:

◆ SetViCWmin()

void ns3::EdcaParameterSet::SetViCWmin ( uint32_t  cwMin)

Set the AC_VI CWmin field in the EdcaParameterSet information element.

Parameters
cwMinthe AC_VI CWmin field in the EdcaParameterSet information element

Definition at line 138 of file edca-parameter-set.cc.

References m_acVI.

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

+ Here is the caller graph for this function:

◆ SetViTxopLimit()

void ns3::EdcaParameterSet::SetViTxopLimit ( uint16_t  txop)

Set the AC_VI TXOP Limit field in the EdcaParameterSet information element.

Parameters
txopthe AC_VI TXOP Limit field in the EdcaParameterSet information element

Definition at line 152 of file edca-parameter-set.cc.

References m_acVI.

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

+ Here is the caller graph for this function:

◆ SetVoAci()

void ns3::EdcaParameterSet::SetVoAci ( uint8_t  aci)

Set the AC_VO ACI field in the EdcaParameterSet information element.

Parameters
acithe AC_VO ACI field in the EdcaParameterSet information element

Definition at line 164 of file edca-parameter-set.cc.

References m_acVO.

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

+ Here is the caller graph for this function:

◆ SetVoAifsn()

void ns3::EdcaParameterSet::SetVoAifsn ( uint8_t  aifsn)

Set the AC_VO AIFSN field in the EdcaParameterSet information element.

Parameters
aifsnthe AC_VO AIFSN field in the EdcaParameterSet information element

Definition at line 158 of file edca-parameter-set.cc.

References m_acVO.

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

+ Here is the caller graph for this function:

◆ SetVoCWmax()

void ns3::EdcaParameterSet::SetVoCWmax ( uint32_t  cwMax)

Set the AC_VO CWmax field in the EdcaParameterSet information element.

Parameters
cwMaxthe AC_VO CWmax field in the EdcaParameterSet information element

Definition at line 177 of file edca-parameter-set.cc.

References m_acVO.

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

+ Here is the caller graph for this function:

◆ SetVoCWmin()

void ns3::EdcaParameterSet::SetVoCWmin ( uint32_t  cwMin)

Set the AC_VO CWmin field in the EdcaParameterSet information element.

Parameters
cwMinthe AC_VO CWmin field in the EdcaParameterSet information element

Definition at line 170 of file edca-parameter-set.cc.

References m_acVO.

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

+ Here is the caller graph for this function:

◆ SetVoTxopLimit()

void ns3::EdcaParameterSet::SetVoTxopLimit ( uint16_t  txop)

Set the AC_VO TXOP Limit field in the EdcaParameterSet information element.

Parameters
txopthe AC_VO TXOP Limit field in the EdcaParameterSet information element

Definition at line 184 of file edca-parameter-set.cc.

References m_acVO.

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

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_acBE

◆ m_acBK

◆ m_acVI

◆ m_acVO

◆ m_qosInfo

uint8_t ns3::EdcaParameterSet::m_qosInfo
private

QOS info.

Definition at line 294 of file edca-parameter-set.h.

Referenced by DeserializeInformationField(), GetQosInfo(), and SetQosInfo().

◆ m_qosSupported

bool ns3::EdcaParameterSet::m_qosSupported
private

This is used to decide whether this element should be added to the frame or not.

Definition at line 302 of file edca-parameter-set.h.

Referenced by GetInformationFieldSize(), GetSerializedSize(), Serialize(), SerializeInformationField(), and SetQosSupported().

◆ m_reserved

uint8_t ns3::EdcaParameterSet::m_reserved
private

reserved

Definition at line 295 of file edca-parameter-set.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().


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