A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
void PrintAttributesIfEnabled (bool enabled)
 Print the attributes to a file.
 

Detailed Description

Usage

$ ./ns3 run "wifi-phy-configuration [Program Options]"

Program Options

--testCase
Test case [0]
--printAttributes
If true, print out attributes [false]

Definition in file wifi-phy-configuration.cc.

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().

+ 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: