A Discrete-Event Network Simulator
API
wifi-phy-configuration.cc File Reference
#include "ns3/boolean.h"
#include "ns3/command-line.h"
#include "ns3/config-store.h"
#include "ns3/config.h"
#include "ns3/log.h"
#include "ns3/ssid.h"
#include "ns3/string.h"
#include "ns3/uinteger.h"
#include "ns3/wifi-net-device.h"
#include "ns3/yans-wifi-helper.h"
#include "ns3/yans-wifi-phy.h"
+ Include dependency graph for wifi-phy-configuration.cc:

Go to the source code of this file.

Functions

Ptr< YansWifiPhyGetYansWifiPhyPtr (const NetDeviceContainer &nc)
 Get the Yans Wifi Phy Ptr object for the 1st node in the NodeContainer. More...
 
void PrintAttributesIfEnabled (bool enabled)
 Print the attributes to a file. More...
 

Function Documentation

◆ GetYansWifiPhyPtr()

Ptr<YansWifiPhy> GetYansWifiPhyPtr ( const NetDeviceContainer nc)

Get the Yans Wifi Phy Ptr object for the 1st node in the NodeContainer.

Parameters
ncThe node container.
Returns
the Yans Wifi Phy Ptr object of the 1st node in the NodeContainer

Definition at line 48 of file wifi-phy-configuration.cc.

References ns3::NetDeviceContainer::Get(), ns3::Object::GetObject(), and ns3::WifiNetDevice::GetPhy().

+ Here is the call graph for this function:

◆ PrintAttributesIfEnabled()

void PrintAttributesIfEnabled ( bool  enabled)

Print the attributes to a file.

Parameters
enabledEnable printing.

Definition at line 61 of file wifi-phy-configuration.cc.

References ns3::ConfigStore::ConfigureAttributes().

+ Here is the call graph for this function: