helps to create wifi 802.11p objects of WifiNetDevice class More...
#include <wifi-80211p-helper.h>
Inheritance diagram for ns3::Wifi80211pHelper:
Collaboration diagram for ns3::Wifi80211pHelper:Public Member Functions | |
| Wifi80211pHelper () | |
| virtual | ~Wifi80211pHelper () |
| virtual NetDeviceContainer | Install (const WifiPhyHelper &phy, const WifiMacHelper &macHelper, NodeContainer c) const |
| virtual void | SetStandard (enum WifiPhyStandard standard) |
Public Member Functions inherited from ns3::WifiHelper | |
| WifiHelper () | |
| Create a Wifi helper in an empty state: all its parameters must be set before calling ns3::WifiHelper::Install. More... | |
| virtual | ~WifiHelper () |
| 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 of the Wifi models. More... | |
| virtual NetDeviceContainer | Install (const WifiPhyHelper &phy, const WifiMacHelper &mac, Ptr< Node > node) const |
| virtual NetDeviceContainer | Install (const WifiPhyHelper &phy, const WifiMacHelper &mac, std::string nodeName) const |
| 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 Public Member Functions | |
| static Wifi80211pHelper | Default (void) |
| static void | EnableLogComponents (void) |
| Helper to enable all WifiNetDevice log components with one statement. More... | |
Static Public Member Functions inherited from ns3::WifiHelper | |
| static WifiHelper | Default (void) |
| static void | EnableLogComponents (void) |
| Helper to enable all WifiNetDevice log components with one statement. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ns3::WifiHelper | |
| enum WifiPhyStandard | m_standard |
| ObjectFactory | m_stationManager |
helps to create wifi 802.11p objects of WifiNetDevice class
This class can help to create a large set of similar wifi 802.11p objects and to configure a large set of their attributes during creation.
Definition at line 38 of file wifi-80211p-helper.h.
| ns3::Wifi80211pHelper::Wifi80211pHelper | ( | ) |
Definition at line 33 of file wifi-80211p-helper.cc.
|
virtual |
Definition at line 37 of file wifi-80211p-helper.cc.
|
static |
The default state is defined as being an OcbWifiMac MAC layer with constant rate OfdmRate6MbpsBW10MHz and both objects using their default attribute values.
Definition at line 42 of file wifi-80211p-helper.cc.
References ns3::WifiHelper::SetRemoteStationManager(), SetStandard(), and ns3::WIFI_PHY_STANDARD_80211_10MHZ.
Here is the call graph for this function:
|
static |
Helper to enable all WifiNetDevice log components with one statement.
Definition at line 68 of file wifi-80211p-helper.cc.
References ns3::WifiHelper::EnableLogComponents(), ns3::LOG_LEVEL_ALL, and ns3::LogComponentEnable().
Referenced by VanetRoutingExperiment::SetupAdhocDevices().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
| phy | the PHY helper to create PHY objects |
| mac | the MAC helper to create MAC objects |
| c | the set of nodes on which a wifi device must be created |
Reimplemented from ns3::WifiHelper.
Definition at line 77 of file wifi-80211p-helper.cc.
References ns3::WifiHelper::Install(), NS_FATAL_ERROR, and NS_UNUSED.
Referenced by OcbWifiMacTestCase::ConfigureOcbMode(), and VanetRoutingExperiment::SetupAdhocDevices().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
| standard | the phy standard to configure during installation |
Users can only configure 802.11a with 10MHz channel bandwidth indicated by WIFI_PHY_STANDARD_80211_10MHZ or 20MHz channel bandwidth indicated by WIFI_PHY_STANDARD_80211a, other standard types will be not allowed. The default standard is 10MHz.
Reimplemented from ns3::WifiHelper.
Definition at line 54 of file wifi-80211p-helper.cc.
References NS_FATAL_ERROR, ns3::WifiHelper::SetStandard(), ns3::WIFI_PHY_STANDARD_80211_10MHZ, and ns3::WIFI_PHY_STANDARD_80211a.
Referenced by Default().
Here is the call graph for this function:
Here is the caller graph for this function: