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< WifiPhy > | m_tx |
Definition at line 40 of file wifi-phy-test.cc.
PsrExperiment::PsrExperiment | ( | ) |
Definition at line 85 of file wifi-phy-test.cc.
|
private |
Definition at line 80 of file wifi-phy-test.cc.
Referenced by Run().
struct PsrExperiment::Output PsrExperiment::Run | ( | struct PsrExperiment::Input | input | ) |
Definition at line 98 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(), Send(), ns3::YansWifiPhy::SetChannel(), ns3::YansWifiPhy::SetErrorRateModel(), ns3::YansWifiPhy::SetMobility(), ns3::MobilityModel::SetPosition(), ns3::YansWifiChannel::SetPropagationDelayModel(), and ns3::YansWifiChannel::SetPropagationLossModel().
Referenced by PrintPsr(), and PrintPsrVsDistance().
|
private |
Definition at line 69 of file wifi-phy-test.cc.
References ns3::WifiTxVector::SetMode(), ns3::WifiTxVector::SetTxPowerLevel(), and ns3::WIFI_PREAMBLE_SHORT.
Referenced by Run().
|
private |
Definition at line 64 of file wifi-phy-test.cc.
Referenced by Run(), CollisionExperiment::SendA(), and CollisionExperiment::SendB().
|
private |
Definition at line 65 of file wifi-phy-test.cc.
Referenced by CollisionExperiment::Receive(), and Run().
Definition at line 63 of file wifi-phy-test.cc.
Referenced by Run().