Classes | |
struct | Input |
Input structure. More... | |
struct | Output |
Output structure. More... | |
Public Member Functions | |
PsrExperiment () | |
PsrExperiment::Output | Run (PsrExperiment::Input input) |
Run function. | |
Private Member Functions | |
void | Receive (Ptr< const WifiPsdu > psdu, RxSignalInfo rxSignalInfo, WifiTxVector txVector, std::vector< bool > statusPerMpdu) |
Send receive function. | |
void | Send () |
Send function. | |
Private Attributes | |
Input | m_input |
input | |
Output | m_output |
output | |
Ptr< WifiPhy > | m_tx |
transmit | |
Definition at line 24 of file wifi-phy-test.cc.
PsrExperiment::PsrExperiment | ( | ) |
Definition at line 93 of file wifi-phy-test.cc.
|
private |
Send receive function.
psdu | the PSDU |
rxSignalInfo | the info on the received signal ( |
txVector | the wifi transmit vector |
statusPerMpdu | reception status per MPDU |
Definition at line 85 of file wifi-phy-test.cc.
References m_output, and PsrExperiment::Output::received.
Referenced by Run().
PsrExperiment::Output PsrExperiment::Run | ( | PsrExperiment::Input | input | ) |
Run function.
input | the PSR experiment |
Definition at line 107 of file wifi-phy-test.cc.
References ns3::CreateObject(), ns3::Simulator::Destroy(), PsrExperiment::Input::distance, m_input, m_output, m_tx, ns3::MakeCallback(), PsrExperiment::Input::nPackets, Receive(), PsrExperiment::Output::received, ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::Seconds(), Send(), and ns3::WIFI_STANDARD_80211a.
|
private |
Send function.
Definition at line 73 of file wifi-phy-test.cc.
References ns3::Create(), m_input, m_tx, PsrExperiment::Input::packetSize, ns3::WifiPhy::Send(), ns3::WifiTxVector::SetMode(), ns3::WifiTxVector::SetPreambleType(), ns3::WifiTxVector::SetTxPowerLevel(), PsrExperiment::Input::txMode, PsrExperiment::Input::txPowerLevel, and ns3::WIFI_PREAMBLE_LONG.
Referenced by Run().
|
private |
input
Definition at line 68 of file wifi-phy-test.cc.
Referenced by Run(), Send(), CollisionExperiment::SendA(), and CollisionExperiment::SendB().
|
private |
output
Definition at line 69 of file wifi-phy-test.cc.
Referenced by CollisionExperiment::Receive(), Receive(), and Run().