A Discrete-Event Network Simulator
API
PsrExperiment Class Reference

PsrExperiment. More...

+ Collaboration diagram for PsrExperiment:

Classes

struct  Input
 Input structure. More...
 
struct  Output
 Output structure. More...
 

Public Member Functions

 PsrExperiment ()
 
struct PsrExperiment::Output Run (struct PsrExperiment::Input input)
 Run function. More...
 

Private Member Functions

void Receive (Ptr< WifiPsdu > psdu, RxSignalInfo rxSignalInfo, WifiTxVector txVector, std::vector< bool > statusPerMpdu)
 Send receive function. More...
 
void Send (void)
 Send function. More...
 

Private Attributes

struct Input m_input
 input More...
 
struct Output m_output
 output More...
 
Ptr< WifiPhym_tx
 transmit More...
 

Detailed Description

PsrExperiment.

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

Constructor & Destructor Documentation

◆ PsrExperiment()

PsrExperiment::PsrExperiment ( )

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

Member Function Documentation

◆ Receive()

void PsrExperiment::Receive ( Ptr< WifiPsdu psdu,
RxSignalInfo  rxSignalInfo,
WifiTxVector  txVector,
std::vector< bool >  statusPerMpdu 
)
private

Send receive function.

Parameters
psduthe PSDU
rxSignalInfothe info on the received signal (
See also
RxSignalInfo)
Parameters
txVectorthe wifi transmit vector
statusPerMpdureception status per MPDU

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

◆ Run()

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

Run function.

Parameters
inputthe PSR experiment
Returns
the PSR experiment output

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

◆ Send()

void PsrExperiment::Send ( void  )
private

Send function.

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

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

+ Here is the call graph for this function:

Member Data Documentation

◆ m_input

struct Input PsrExperiment::m_input
private

input

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

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

◆ m_output

struct Output PsrExperiment::m_output
private

output

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

Referenced by CollisionExperiment::Receive().

◆ m_tx

Ptr<WifiPhy> PsrExperiment::m_tx
private

transmit

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


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