#include "ns3/yans-wifi-channel.h"
#include "ns3/propagation-loss-model.h"
#include "ns3/propagation-delay-model.h"
#include "ns3/nist-error-rate-model.h"
#include "ns3/constant-position-mobility-model.h"
#include "ns3/simulator.h"
#include "ns3/command-line.h"
#include "ns3/flow-id-tag.h"
Go to the source code of this file.
Classes | |
class | CollisionExperiment |
CollisionExperiment. More... | |
struct | CollisionExperiment::Input |
Input structure. More... | |
struct | PsrExperiment::Input |
Input structure. More... | |
struct | CollisionExperiment::Output |
Output struture. More... | |
struct | PsrExperiment::Output |
Output structure. More... | |
class | PsrExperiment |
PsrExperiment. More... | |
Functions | |
double | CalcPsr (struct PsrExperiment::Output output, struct 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[]) |
double CalcPsr | ( | struct PsrExperiment::Output | output, |
struct PsrExperiment::Input | input | ||
) |
Definition at line 338 of file wifi-phy-test.cc.
References PsrExperiment::Input::nPackets, and PsrExperiment::Output::received.
Referenced by PrintPsrVsDistance(), and PrintSizeVsRange().
|
static |
Definition at line 316 of file wifi-phy-test.cc.
References second::cmd, PsrExperiment::Input::distance, experiment(), PsrExperiment::Input::nPackets, PsrExperiment::Input::packetSize, PsrExperiment::Output::received, PsrExperiment::Run(), PsrExperiment::Input::txMode, and PsrExperiment::Input::txPowerLevel.
|
static |
Definition at line 434 of file wifi-phy-test.cc.
References ns3::CommandLine::AddValue(), second::cmd, experiment(), CollisionExperiment::Input::interval, ns3::MicroSeconds(), CollisionExperiment::Input::nPackets, ns3::CommandLine::Parse(), CollisionExperiment::Output::receivedA, CollisionExperiment::Output::receivedB, CollisionExperiment::Run(), CollisionExperiment::Input::xA, and CollisionExperiment::Input::xB.
|
static |
Definition at line 345 of file wifi-phy-test.cc.
References CalcPsr(), second::cmd, PsrExperiment::Input::distance, experiment(), PsrExperiment::Input::nPackets, PsrExperiment::Input::packetSize, PsrExperiment::Run(), PsrExperiment::Input::txMode, and PsrExperiment::Input::txPowerLevel.
|
static |
Definition at line 397 of file wifi-phy-test.cc.
References CalcPsr(), second::cmd, PsrExperiment::Input::distance, experiment(), PsrExperiment::Input::nPackets, PsrExperiment::Input::packetSize, PsrExperiment::Input::txMode, and PsrExperiment::Input::txPowerLevel.