Classes | |
struct | Input |
Input structure. More... | |
struct | Output |
Output structure. More... | |
Public Member Functions | |
PsrExperiment () | |
PsrExperiment::Output | Run (PsrExperiment::Input input) |
Run function. More... | |
Private Member Functions | |
void | Receive (Ptr< const WifiPsdu > psdu, RxSignalInfo rxSignalInfo, WifiTxVector txVector, std::vector< bool > statusPerMpdu) |
Send receive function. More... | |
void | Send () |
Send function. More... | |
Private Attributes | |
Input | m_input |
input More... | |
Output | m_output |
output More... | |
Ptr< WifiPhy > | m_tx |
transmit More... | |
Definition at line 35 of file wifi-phy-test.cc.
PsrExperiment::PsrExperiment | ( | ) |
Definition at line 104 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 96 of file wifi-phy-test.cc.
Referenced by Run().
PsrExperiment::Output PsrExperiment::Run | ( | PsrExperiment::Input | input | ) |
Run function.
input | the PSR experiment |
Definition at line 118 of file wifi-phy-test.cc.
References third::channel, ns3::WifiPhy::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::WifiPhy::SetErrorRateModel(), ns3::WifiPhy::SetMobility(), ns3::MobilityModel::SetPosition(), ns3::WifiPhy::SetReceiveOkCallback(), and ns3::WIFI_STANDARD_80211a.
|
private |
Send function.
Definition at line 84 of file wifi-phy-test.cc.
References ns3::WifiTxVector::SetMode(), ns3::WifiTxVector::SetPreambleType(), ns3::WifiTxVector::SetTxPowerLevel(), and ns3::WIFI_PREAMBLE_LONG.
Referenced by Run().
|
private |
input
Definition at line 79 of file wifi-phy-test.cc.
Referenced by Run(), CollisionExperiment::SendA(), and CollisionExperiment::SendB().
|
private |
output
Definition at line 80 of file wifi-phy-test.cc.
Referenced by CollisionExperiment::Receive(), and Run().