This documentation is not the Latest Release.
A Discrete-Event Network Simulator
API
PsrExperiment Class Reference
+ Collaboration diagram for PsrExperiment:

Classes

struct  Input
 
struct  Output
 

Public Member Functions

 PsrExperiment ()
 
struct PsrExperiment::Output Run (struct PsrExperiment::Input input)
 

Private Member Functions

void Receive (Ptr< Packet > p, double snr, WifiTxVector txVector, enum WifiPreamble preamble)
 
void Send (void)
 

Private Attributes

struct Input m_input
 
struct Output m_output
 
Ptr< WifiPhym_tx
 

Detailed Description

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

Constructor & Destructor Documentation

PsrExperiment::PsrExperiment ( )

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

Member Function Documentation

void PsrExperiment::Receive ( Ptr< Packet p,
double  snr,
WifiTxVector  txVector,
enum WifiPreamble  preamble 
)
private

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

Referenced by Run().

+ Here is the caller graph for this function:

struct PsrExperiment::Output PsrExperiment::Run ( struct PsrExperiment::Input  input)

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

References third::channel, ns3::YansWifiPhy::ConfigureStandard(), PsrExperiment::Input::distance, m_input, m_output, m_tx, ns3::MakeCallback(), PsrExperiment::Input::nPackets, Receive(), PsrExperiment::Output::received, ns3::Seconds(), Send(), ns3::YansWifiPhy::SetChannel(), ns3::YansWifiPhy::SetErrorRateModel(), ns3::YansWifiPhy::SetMobility(), ns3::MobilityModel::SetPosition(), ns3::YansWifiChannel::SetPropagationDelayModel(), ns3::YansWifiChannel::SetPropagationLossModel(), and ns3::WIFI_PHY_STANDARD_80211a.

Referenced by PrintPsr(), and PrintPsrVsDistance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PsrExperiment::Send ( void  )
private

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

References ns3::NORMAL_MPDU, ns3::WifiTxVector::SetMode(), ns3::WifiTxVector::SetTxPowerLevel(), and ns3::WIFI_PREAMBLE_LONG.

Referenced by Run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

struct Input PsrExperiment::m_input
private

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

Referenced by Run(), CollisionExperiment::SendA(), and CollisionExperiment::SendB().

struct Output PsrExperiment::m_output
private

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

Referenced by CollisionExperiment::Receive(), and Run().

Ptr<WifiPhy> PsrExperiment::m_tx
private

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

Referenced by Run().


The documentation for this class was generated from the following file: