Classes | |
struct | Input |
Input structure. More... | |
struct | Output |
Output structure. More... | |
Public Member Functions | |
CollisionExperiment () | |
CollisionExperiment::Output | Run (CollisionExperiment::Input input) |
Run function. More... | |
Private Member Functions | |
void | Receive (Ptr< const WifiPsdu > psdu, RxSignalInfo rxSignalInfo, WifiTxVector txVector, std::vector< bool > statusPerMpdu) |
Receive function. More... | |
void | SendA () const |
Send A function. More... | |
void | SendB () const |
Send B function. More... | |
Private Attributes | |
uint32_t | m_flowIdA |
flow ID A More... | |
uint32_t | m_flowIdB |
flow ID B More... | |
Input | m_input |
input More... | |
Output | m_output |
output More... | |
Ptr< WifiPhy > | m_txA |
transmit A More... | |
Ptr< WifiPhy > | m_txB |
transmit B More... | |
Definition at line 159 of file wifi-phy-test.cc.
CollisionExperiment::CollisionExperiment | ( | ) |
Definition at line 262 of file wifi-phy-test.cc.
|
private |
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 243 of file wifi-phy-test.cc.
References ns3::WifiPsdu::begin(), ns3::FlowIdTag::GetFlowId(), and PsrExperiment::m_output.
Referenced by Run().
CollisionExperiment::Output CollisionExperiment::Run | ( | CollisionExperiment::Input | input | ) |
Run function.
input | the collision experiment data |
Definition at line 281 of file wifi-phy-test.cc.
References third::channel, ns3::WifiPhy::ConfigureStandard(), CollisionExperiment::Input::interval, m_flowIdA, m_flowIdB, m_input, m_output, m_txA, m_txB, ns3::MakeCallback(), CollisionExperiment::Input::nPackets, Receive(), CollisionExperiment::Output::receivedA, CollisionExperiment::Output::receivedB, ns3::Seconds(), SendA(), SendB(), ns3::YansWifiPhy::SetChannel(), ns3::WifiPhy::SetErrorRateModel(), ns3::WifiPhy::SetMobility(), ns3::MobilityModel::SetPosition(), ns3::WifiPhy::SetReceiveOkCallback(), ns3::WIFI_STANDARD_80211a, CollisionExperiment::Input::xA, and CollisionExperiment::Input::xB.
|
private |
Send A function.
Definition at line 219 of file wifi-phy-test.cc.
References ns3::WifiPsdu::begin(), PsrExperiment::m_input, ns3::WifiTxVector::SetMode(), ns3::WifiTxVector::SetPreambleType(), ns3::WifiTxVector::SetTxPowerLevel(), and ns3::WIFI_PREAMBLE_LONG.
Referenced by Run().
|
private |
Send B function.
Definition at line 231 of file wifi-phy-test.cc.
References ns3::WifiPsdu::begin(), PsrExperiment::m_input, ns3::WifiTxVector::SetMode(), ns3::WifiTxVector::SetPreambleType(), ns3::WifiTxVector::SetTxPowerLevel(), and ns3::WIFI_PREAMBLE_LONG.
Referenced by Run().
|
private |
|
private |
|
private |
|
private |