21 #include "ns3/net-device.h"
23 #include "ns3/frame-exchange-manager.h"
24 #include "ns3/wifi-protection-manager.h"
25 #include "ns3/wifi-ack-manager.h"
26 #include "ns3/multi-user-scheduler.h"
27 #include "ns3/boolean.h"
52 mac->SetDevice (device);
54 mac->ConfigureStandard (standard);
59 if (wifiMac != 0 && (fem = wifiMac->GetFrameExchangeManager ()) != 0)
62 protectionManager->SetWifiMac (wifiMac);
63 fem->SetProtectionManager (protectionManager);
66 ackManager->SetWifiMac (wifiMac);
67 fem->SetAckManager (ackManager);
75 apMac->AggregateObject (muScheduler);
AttributeValue implementation for Boolean.
static Mac48Address Allocate(void)
Allocate a new Mac48Address.
MultiUserScheduler is an abstract base class defining the API that APs supporting at least VHT can us...
Ptr< Object > Create(void) const
Create an Object instance of the configured TypeId.
bool IsTypeIdSet(void) const
Check if the ObjectFactory has been configured with a TypeId.
void SetTypeId(TypeId tid)
Set the TypeId of the Objects to be created by this factory.
Smart pointer class similar to boost::intrusive_ptr.
WifiAckManager is an abstract base class.
ObjectFactory m_mac
MAC object factory.
virtual ~WifiMacHelper()
Destroy a WifiMacHelper.
ObjectFactory m_protectionManager
Factory to create a protection manager.
ObjectFactory m_muScheduler
Multi-user Scheduler object factory.
virtual Ptr< WifiMac > Create(Ptr< NetDevice > device, WifiStandard standard) const
WifiMacHelper()
Create a WifiMacHelper to make life easier for people who want to work with Wifi MAC layers.
ObjectFactory m_ackManager
Factory to create an acknowledgment manager.
void SetType(std::string type, Args &&... args)
base class for all MAC-level wifi objects.
WifiProtectionManager is an abstract base class.
#define NS_ABORT_MSG_IF(cond, msg)
Abnormal program termination if a condition is true, with a message.
WifiStandard
Identifies the allowed configurations that a Wifi device is configured to use.
@ WIFI_MAC_STANDARD_80211ax
Every class exported by the ns3 library is enclosed in the ns3 namespace.
const std::map< WifiStandard, WifiStandardInfo > wifiStandards
map a given standard configured by the user to the corresponding WifiStandardInfo