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