A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-phy-test.cc File Reference
#include "ns3/command-line.h"
#include "ns3/constant-position-mobility-model.h"
#include "ns3/flow-id-tag.h"
#include "ns3/nist-error-rate-model.h"
#include "ns3/packet.h"
#include "ns3/propagation-delay-model.h"
#include "ns3/propagation-loss-model.h"
#include "ns3/simulator.h"
#include "ns3/wifi-psdu.h"
#include "ns3/yans-wifi-channel.h"
#include "ns3/yans-wifi-phy.h"
+ Include dependency graph for wifi-phy-test.cc:

Go to the source code of this file.

Classes

class  CollisionExperiment
 CollisionExperiment. More...
 
struct  PsrExperiment::Input
 Input structure. More...
 
struct  CollisionExperiment::Input
 Input structure. More...
 
struct  PsrExperiment::Output
 Output structure. More...
 
struct  CollisionExperiment::Output
 Output structure. More...
 
class  PsrExperiment
 PsrExperiment. More...
 

Functions

double CalcPsr (PsrExperiment::Output output, PsrExperiment::Input input)
 
static void PrintPsr (int argc, char *argv[])
 
static void PrintPsrVsCollisionInterval (int argc, char *argv[])
 
static void PrintPsrVsDistance (int argc, char *argv[])
 
static void PrintSizeVsRange (int argc, char *argv[])
 

Function Documentation

◆ CalcPsr()

double CalcPsr ( PsrExperiment::Output  output,
PsrExperiment::Input  input 
)

Definition at line 364 of file wifi-phy-test.cc.

References PsrExperiment::Input::nPackets, and PsrExperiment::Output::received.

Referenced by PrintPsrVsDistance(), and PrintSizeVsRange().

+ Here is the caller graph for this function:

◆ PrintPsr()

static void PrintPsr ( int  argc,
char *  argv[] 
)
static

Definition at line 339 of file wifi-phy-test.cc.

References PsrExperiment::Input::distance, experiment(), PsrExperiment::Input::nPackets, PsrExperiment::Input::packetSize, PsrExperiment::Output::received, PsrExperiment::Input::txMode, and PsrExperiment::Input::txPowerLevel.

+ Here is the call graph for this function:

◆ PrintPsrVsCollisionInterval()

static void PrintPsrVsCollisionInterval ( int  argc,
char *  argv[] 
)
static

Definition at line 467 of file wifi-phy-test.cc.

References experiment(), CollisionExperiment::Input::interval, ns3::MicroSeconds(), CollisionExperiment::Input::nPackets, CollisionExperiment::Output::receivedA, CollisionExperiment::Output::receivedB, CollisionExperiment::Input::xA, and CollisionExperiment::Input::xB.

+ Here is the call graph for this function:

◆ PrintPsrVsDistance()

static void PrintPsrVsDistance ( int  argc,
char *  argv[] 
)
static

Definition at line 372 of file wifi-phy-test.cc.

References CalcPsr(), PsrExperiment::Input::distance, experiment(), PsrExperiment::Input::nPackets, PsrExperiment::Input::packetSize, PsrExperiment::Input::txMode, and PsrExperiment::Input::txPowerLevel.

+ Here is the call graph for this function:

◆ PrintSizeVsRange()

static void PrintSizeVsRange ( int  argc,
char *  argv[] 
)
static

Definition at line 427 of file wifi-phy-test.cc.

References CalcPsr(), PsrExperiment::Input::distance, experiment(), PsrExperiment::Input::nPackets, PsrExperiment::Input::packetSize, PsrExperiment::Input::txMode, and PsrExperiment::Input::txPowerLevel.

+ Here is the call graph for this function: