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

create HT-enabled MAC layers for a ns3::WifiNetDevice. More...

#include "ht-wifi-mac-helper.h"

+ Inheritance diagram for ns3::HtWifiMacHelper:
+ Collaboration diagram for ns3::HtWifiMacHelper:

Public Member Functions

 HtWifiMacHelper ()
 Create a HtWifiMacHelper that is used to make life easier when working with Wifi devices using a QOS MAC layer. More...
 
virtual ~HtWifiMacHelper ()
 Destroy a HtWifiMacHelper. More...
 
- Public Member Functions inherited from ns3::QosWifiMacHelper
 QosWifiMacHelper ()
 Create a QosWifiMacHelper that is used to make life easier when working with Wifi devices using a QOS MAC layer. More...
 
virtual ~QosWifiMacHelper ()
 Destroy a QosWifiMacHelper. More...
 
void SetBlockAckInactivityTimeoutForAc (enum AcIndex ac, uint16_t timeout)
 Sets value of block ack inactivity timeout for a specific access class. More...
 
void SetBlockAckThresholdForAc (enum AcIndex ac, uint8_t threshold)
 This method sets value of block ack threshold for a specific access class. More...
 
void SetMpduAggregatorForAc (enum AcIndex ac, std::string type, std::string n0="", const AttributeValue &v0=EmptyAttributeValue(), std::string n1="", const AttributeValue &v1=EmptyAttributeValue(), std::string n2="", const AttributeValue &v2=EmptyAttributeValue(), std::string n3="", const AttributeValue &v3=EmptyAttributeValue())
 Set the class, type and attributes for the Mpdu aggregator. More...
 
void SetMsduAggregatorForAc (AcIndex ac, std::string type, std::string n0="", const AttributeValue &v0=EmptyAttributeValue(), std::string n1="", const AttributeValue &v1=EmptyAttributeValue(), std::string n2="", const AttributeValue &v2=EmptyAttributeValue(), std::string n3="", const AttributeValue &v3=EmptyAttributeValue())
 Set the class, type and attributes for the Msdu aggregator. More...
 
virtual void SetType (std::string type, std::string n0="", const AttributeValue &v0=EmptyAttributeValue(), std::string n1="", const AttributeValue &v1=EmptyAttributeValue(), std::string n2="", const AttributeValue &v2=EmptyAttributeValue(), std::string n3="", const AttributeValue &v3=EmptyAttributeValue(), std::string n4="", const AttributeValue &v4=EmptyAttributeValue(), std::string n5="", const AttributeValue &v5=EmptyAttributeValue(), std::string n6="", const AttributeValue &v6=EmptyAttributeValue(), std::string n7="", const AttributeValue &v7=EmptyAttributeValue(), std::string n8="", const AttributeValue &v8=EmptyAttributeValue(), std::string n9="", const AttributeValue &v9=EmptyAttributeValue(), std::string n10="", const AttributeValue &v10=EmptyAttributeValue())
 Set the underlying type of the MAC and its attributes. More...
 
- Public Member Functions inherited from ns3::WifiMacHelper
 WifiMacHelper ()
 Create a WifiMacHelper to make life easier for people who want to work with Wifi MAC layers. More...
 
virtual ~WifiMacHelper ()
 Destroy a WifiMacHelper. More...
 

Static Public Member Functions

static StringValue DataRateForMcs (int mcs)
 Converts a HT MCS value into a DataRate value. More...
 
static HtWifiMacHelper Default (void)
 Create a mac helper in a default working state. More...
 
- Static Public Member Functions inherited from ns3::QosWifiMacHelper
static QosWifiMacHelper Default (void)
 Create a mac helper in a default working state. More...
 

Additional Inherited Members

- Protected Attributes inherited from ns3::QosWifiMacHelper
ObjectFactory m_mac
 MAC object. More...
 
- Protected Attributes inherited from ns3::WifiMacHelper
ObjectFactory m_mac
 MAC object factory. More...
 

Detailed Description

create HT-enabled MAC layers for a ns3::WifiNetDevice.

This class can create MACs of type ns3::ApWifiMac, ns3::StaWifiMac, and, ns3::AdhocWifiMac, with QosSupported and HTSupported attributes set to True.

Deprecated:
This class deprecated and replaced by ns3::WifiMacHelper

Definition at line 40 of file ht-wifi-mac-helper.h.

Constructor & Destructor Documentation

ns3::HtWifiMacHelper::HtWifiMacHelper ( )

Create a HtWifiMacHelper that is used to make life easier when working with Wifi devices using a QOS MAC layer.

Definition at line 30 of file ht-wifi-mac-helper.cc.

ns3::HtWifiMacHelper::~HtWifiMacHelper ( )
virtual

Destroy a HtWifiMacHelper.

Definition at line 34 of file ht-wifi-mac-helper.cc.

Member Function Documentation

StringValue ns3::HtWifiMacHelper::DataRateForMcs ( int  mcs)
static

Converts a HT MCS value into a DataRate value.

Parameters
mcsthe HT MCS
Returns
a DataRate value for the HT MCS

Definition at line 51 of file ht-wifi-mac-helper.cc.

HtWifiMacHelper ns3::HtWifiMacHelper::Default ( void  )
static

Create a mac helper in a default working state.

Returns
a default HtWifiMacHelper

Definition at line 39 of file ht-wifi-mac-helper.cc.

References ns3::QosWifiMacHelper::SetType().

+ Here is the call graph for this function:


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