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< Packet > p, double snr, WifiTxVector txVector) |
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< WifiPhy > | m_tx |
transmit More... | |
Definition at line 35 of file wifi-phy-test.cc.
PsrExperiment::PsrExperiment | ( | ) |
Definition at line 95 of file wifi-phy-test.cc.
|
private |
Send receive function.
p | the packet |
snr | the SNR |
txVector | the wifi transmit vector |
Definition at line 90 of file wifi-phy-test.cc.
Referenced by Run().
struct PsrExperiment::Output PsrExperiment::Run | ( | struct PsrExperiment::Input | input | ) |
Run function.
input | the PSR experiment |
Definition at line 108 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(), and ns3::WIFI_PHY_STANDARD_80211a.
|
private |
Send function.
Definition at line 78 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 73 of file wifi-phy-test.cc.
Referenced by Run(), CollisionExperiment::SendA(), and CollisionExperiment::SendB().
|
private |
output
Definition at line 74 of file wifi-phy-test.cc.
Referenced by CollisionExperiment::Receive(), and Run().