Classes | |
struct | Input |
struct | Output |
Public Member Functions | |
PsrExperiment () | |
struct PsrExperiment::Output | Run (struct PsrExperiment::Input input) |
Private Member Functions | |
void | Send (void) |
void | Receive (Ptr< Packet > p) |
Private Attributes | |
Ptr< WifiPhy > | m_tx |
struct Input | m_input |
struct Output | m_output |
Definition at line 20 of file wifi-phy-test.cc.
PsrExperiment::PsrExperiment | ( | ) |
Definition at line 62 of file wifi-phy-test.cc.
Definition at line 57 of file wifi-phy-test.cc.
References m_output, and PsrExperiment::Output::received.
Referenced by Run().
struct PsrExperiment::Output PsrExperiment::Run | ( | struct PsrExperiment::Input | input | ) | [read] |
Definition at line 73 of file wifi-phy-test.cc.
References PsrExperiment::Input::distance, m_input, m_output, m_tx, ns3::MakeCallback(), PsrExperiment::Input::nPackets, Receive(), PsrExperiment::Output::received, ns3::Seconds(), and Send().
Referenced by PrintPsr(), and PrintPsrVsDistance().
void PsrExperiment::Send | ( | void | ) | [private] |
Definition at line 49 of file wifi-phy-test.cc.
References m_input, m_tx, PsrExperiment::Input::packetSize, PsrExperiment::Input::txMode, PsrExperiment::Input::txPowerLevel, and ns3::WIFI_PREAMBLE_SHORT.
Referenced by Run().
struct Input PsrExperiment::m_input [private] |
Definition at line 44 of file wifi-phy-test.cc.
Referenced by Run(), Send(), and CollisionExperiment::SendA().
struct Output PsrExperiment::m_output [private] |
Definition at line 45 of file wifi-phy-test.cc.
Ptr<WifiPhy> PsrExperiment::m_tx [private] |
Definition at line 43 of file wifi-phy-test.cc.