A Discrete-Event Network Simulator
API
wifi-ap.cc File Reference
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/applications-module.h"
#include "ns3/mobility-module.h"
#include "ns3/config-store-module.h"
#include "ns3/wifi-module.h"
#include "ns3/athstats-helper.h"
#include <iostream>
+ Include dependency graph for wifi-ap.cc:

Go to the source code of this file.

Functions

static void AdvancePosition (Ptr< Node > node)
 
void DevRxTrace (std::string context, Ptr< const Packet > p)
 
void DevTxTrace (std::string context, Ptr< const Packet > p)
 
static Vector GetPosition (Ptr< Node > node)
 
void PhyRxErrorTrace (std::string context, Ptr< const Packet > packet, double snr)
 
void PhyRxOkTrace (std::string context, Ptr< const Packet > packet, double snr, WifiMode mode, enum WifiPreamble preamble)
 
void PhyStateTrace (std::string context, Time start, Time duration, enum WifiPhy::State state)
 
void PhyTxTrace (std::string context, Ptr< const Packet > packet, WifiMode mode, WifiPreamble preamble, uint8_t txPower)
 
static void SetPosition (Ptr< Node > node, Vector position)
 

Variables

static bool g_verbose = true
 

Function Documentation

static void AdvancePosition ( Ptr< Node node)
static

Definition at line 100 of file wifi-ap.cc.

References g_verbose, GetPosition(), ns3::Simulator::Schedule(), ns3::Seconds(), and SetPosition().

+ Here is the call graph for this function:

void DevRxTrace ( std::string  context,
Ptr< const Packet p 
)

Definition at line 45 of file wifi-ap.cc.

References g_verbose.

void DevTxTrace ( std::string  context,
Ptr< const Packet p 
)

Definition at line 37 of file wifi-ap.cc.

References g_verbose.

static Vector GetPosition ( Ptr< Node node)
static

Definition at line 93 of file wifi-ap.cc.

References ns3::Object::GetObject(), ns3::MobilityModel::GetPosition(), and third::mobility.

Referenced by AdvancePosition().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PhyRxErrorTrace ( std::string  context,
Ptr< const Packet packet,
double  snr 
)

Definition at line 61 of file wifi-ap.cc.

References g_verbose.

void PhyRxOkTrace ( std::string  context,
Ptr< const Packet packet,
double  snr,
WifiMode  mode,
enum WifiPreamble  preamble 
)

Definition at line 53 of file wifi-ap.cc.

References g_verbose.

void PhyStateTrace ( std::string  context,
Time  start,
Time  duration,
enum WifiPhy::State  state 
)

Definition at line 77 of file wifi-ap.cc.

References g_verbose.

void PhyTxTrace ( std::string  context,
Ptr< const Packet packet,
WifiMode  mode,
WifiPreamble  preamble,
uint8_t  txPower 
)

Definition at line 69 of file wifi-ap.cc.

References g_verbose.

static void SetPosition ( Ptr< Node node,
Vector  position 
)
static

Definition at line 86 of file wifi-ap.cc.

References ns3::Object::GetObject(), third::mobility, and ns3::MobilityModel::SetPosition().

Referenced by AdvancePosition(), NodeStatistics::AdvancePosition(), LteX2HandoverMeasuresTestCase::DoRun(), ChainRegressionTest::DoRun(), and AodvExample::InstallApplications().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

bool g_verbose = true
static