create qos MAC layers for a ns3::WifiNetDevice. This class can create MACs of type ns3::QapWifiMac, ns3::QstaWifiMac, and, ns3::QadhocWifiMac More...
#include <qos-wifi-mac-helper.h>
Public Member Functions | |
QosWifiMacHelper () | |
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()) |
void | SetMsduAggregatorForAc (AccessClass accessClass, 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()) |
Static Public Member Functions | |
static QosWifiMacHelper | Default (void) |
create qos MAC layers for a ns3::WifiNetDevice. This class can create MACs of type ns3::QapWifiMac, ns3::QstaWifiMac, and, ns3::QadhocWifiMac
ns3::QosWifiMacHelper::QosWifiMacHelper | ( | ) |
Create a QosWifiMacHelper that is used to make life easier when working with Wifi devices using a QOS MAC layer.
static QosWifiMacHelper ns3::QosWifiMacHelper::Default | ( | void | ) | [static] |
Create a mac helper in a default working state.
void ns3::QosWifiMacHelper::SetMsduAggregatorForAc | ( | AccessClass | accessClass, | |
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
accessClass | access class for which we are setting aggregator. Possibilities are: AC_BK, AC_BE, AC_VI, AC_VO. | |
type | the type of ns3::WifiMac to create. | |
n0 | the name of the attribute to set | |
v0 | the value of the attribute to set | |
n1 | the name of the attribute to set | |
v1 | the value of the attribute to set | |
n2 | the name of the attribute to set | |
v2 | the value of the attribute to set | |
n3 | the name of the attribute to set | |
v3 | the value of the attribute to set |
All the attributes specified in this method should exist in the requested aggregator.
void ns3::QosWifiMacHelper::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() | |||
) |
Set the underlying type of the MAC and its attributes.
type | the type of ns3::WifiMac to create. | |
n0 | the name of the attribute to set | |
v0 | the value of the attribute to set | |
n1 | the name of the attribute to set | |
v1 | the value of the attribute to set | |
n2 | the name of the attribute to set | |
v2 | the value of the attribute to set | |
n3 | the name of the attribute to set | |
v3 | the value of the attribute to set | |
n4 | the name of the attribute to set | |
v4 | the value of the attribute to set | |
n5 | the name of the attribute to set | |
v5 | the value of the attribute to set | |
n6 | the name of the attribute to set | |
v6 | the value of the attribute to set | |
n7 | the name of the attribute to set | |
v7 | the value of the attribute to set |
All the attributes specified in this method should exist in the requested mac.