24 #include "ns3/string.h"
29 #include "ns3/unused.h"
49 "NonUnicastMode",
StringValue (
"OfdmRate6MbpsBW10MHz"));
76 NS_FATAL_ERROR (
"802.11p only use 802.11 standard with 10MHz or 20MHz");
98 NS_FATAL_ERROR (
"the macHelper should be either QosWaveMacHelper or NqosWaveMacHelper"
99 ", or should be the subclass of QosWaveMacHelper or NqosWaveMacHelper");
holds a vector of ns3::NetDevice pointers
keep track of a set of node pointers.
Nqos Wave Mac Helper class.
Qos Wave Mac Helper class.
Hold variables of type string.
helps to create wifi 802.11p objects of WifiNetDevice class
static void EnableLogComponents(void)
Helper to enable all WifiNetDevice log components with one statement.
virtual NetDeviceContainer Install(const WifiPhyHelper &phy, const WifiMacHelper &macHelper, NodeContainer c) const
static Wifi80211pHelper Default(void)
virtual ~Wifi80211pHelper()
virtual void SetStandard(enum WifiStandard standard)
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())
static void EnableLogComponents(void)
Helper to enable all WifiNetDevice log components with one statement.
virtual void SetStandard(WifiStandard standard)
virtual NetDeviceContainer Install(const WifiPhyHelper &phy, const WifiMacHelper &mac, NodeContainer::Iterator first, NodeContainer::Iterator last) const
create MAC layers for a ns3::WifiNetDevice.
#define NS_UNUSED(x)
Mark a local variable as unused.
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
WifiPhyStandard
Identifies the PHY specification that a Wifi device is configured to use.
WifiStandard
Identifies the allowed configurations that a Wifi device is configured to use.
@ WIFI_PHY_STANDARD_80211a
OFDM PHY (Clause 17)
@ WIFI_PHY_STANDARD_80211_10MHZ
OFDM PHY for the 5 GHz band (Clause 17 with 10 MHz channel bandwidth)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
@ LOG_LEVEL_ALL
Print everything.
void LogComponentEnable(char const *name, enum LogLevel level)
Enable the logging output associated with that log component.