23 #include "ns3/wifi-net-device.h"
24 #include "ns3/wifi-mac.h"
25 #include "ns3/regular-wifi-mac.h"
26 #include "ns3/dca-txop.h"
27 #include "ns3/edca-txop-n.h"
28 #include "ns3/minstrel-wifi-manager.h"
29 #include "ns3/ap-wifi-mac.h"
30 #include "ns3/wifi-phy.h"
31 #include "ns3/wifi-remote-station-manager.h"
32 #include "ns3/wifi-channel.h"
33 #include "ns3/yans-wifi-channel.h"
34 #include "ns3/propagation-delay-model.h"
35 #include "ns3/propagation-loss-model.h"
36 #include "ns3/mobility-model.h"
38 #include "ns3/config.h"
39 #include "ns3/pointer.h"
40 #include "ns3/simulator.h"
41 #include "ns3/names.h"
116 device->SetMac (mac);
117 device->SetPhy (phy);
118 device->SetRemoteStationManager (manager);
120 devices.
Add (device);
137 Ptr<Node> node = Names::Find<Node> (nodeName);
179 int64_t currentStream = stream;
188 currentStream += wifi->GetPhy ()->AssignStreams (currentStream);
195 currentStream += minstrel->AssignStreams (currentStream);
204 rmac->GetAttribute (
"DcaTxop", ptr);
206 currentStream += dcaTxop->AssignStreams (currentStream);
208 rmac->GetAttribute (
"VO_EdcaTxopN", ptr);
210 currentStream += vo_edcaTxopN->
AssignStreams (currentStream);
212 rmac->GetAttribute (
"VI_EdcaTxopN", ptr);
214 currentStream += vi_edcaTxopN->
AssignStreams (currentStream);
216 rmac->GetAttribute (
"BE_EdcaTxopN", ptr);
218 currentStream += be_edcaTxopN->
AssignStreams (currentStream);
220 rmac->GetAttribute (
"BK_EdcaTxopN", ptr);
222 currentStream += bk_edcaTxopN->
AssignStreams (currentStream);
228 currentStream += apmac->AssignStreams (currentStream);
233 return (currentStream - stream);
Iterator Begin(void) const
Get an iterator which refers to the first NetDevice in the container.
virtual void ConfigureStandard(enum WifiPhyStandard standard)=0
Configure the PHY-level parameters for different Wi-Fi standard.
std::vector< Ptr< Node > >::const_iterator Iterator
void SetRemoteStationManager(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())
Hold a value for an Attribute.
virtual Ptr< WifiMac > Create(void) const =0
void SetTypeId(TypeId tid)
Iterator End(void) const
Get an iterator which indicates past-the-last Node in the container.
helps to create WifiNetDevice objects
NS_LOG_COMPONENT_DEFINE("WifiHelper")
WifiHelper()
Create a Wifi helper in an empty state: all its parameters must be set before calling ns3::WifiHelper...
virtual NetDeviceContainer Install(const WifiPhyHelper &phy, const WifiMacHelper &mac, NodeContainer c) const
Keep track of the current position and velocity of an object.
WifiPhyStandard
Identifies the PHY specification that a Wifi device is configured to use.
This queue contains packets for a particular access class.
static Mac48Address Allocate(void)
Allocate a new Mac48Address.
Ptr< Object > Create(void) const
void Add(NetDeviceContainer other)
Append the contents of another NetDeviceContainer to the end of this container.
holds a vector of ns3::NetDevice pointers
virtual void SetStandard(enum WifiPhyStandard standard)
int64_t AssignStreams(NetDeviceContainer c, int64_t stream)
Assign a fixed random variable stream number to the random variables used by the Phy and Mac aspects ...
int64_t AssignStreams(int64_t stream)
Assign a fixed random variable stream number to the random variables used by this model...
hold a list of per-remote-station state.
OFDM PHY for the 5 GHz band (Clause 17)
keep track of a set of node pointers.
Iterator Begin(void) const
Get an iterator which refers to the first Node in the container.
void Set(std::string name, const AttributeValue &value)
ObjectFactory m_stationManager
virtual Ptr< WifiPhy > Create(Ptr< Node > node, Ptr< WifiNetDevice > device) const =0
instantiate subclasses of ns3::Object.
static void EnableLogComponents(void)
Helper to enable all WifiNetDevice log components with one statement.
uint32_t AddDevice(Ptr< NetDevice > device)
std::vector< Ptr< NetDevice > >::const_iterator Iterator
#define NS_LOG_DEBUG(msg)
enum WifiPhyStandard m_standard
Iterator End(void) const
Get an iterator which indicates past-the-last NetDevice in the container.
handle packet fragmentation and retransmissions.
Ptr< T > GetObject(void) const
void LogComponentEnable(char const *name, enum LogLevel level)
static WifiHelper Default(void)