Collaboration diagram for CollisionExperiment:Classes | |
| struct | Input |
| Input structure. More... | |
| struct | Output |
| Output structure. More... | |
Public Member Functions | |
| CollisionExperiment () | |
| CollisionExperiment::Output | Run (CollisionExperiment::Input input) |
| Run function. | |
Private Member Functions | |
| void | Receive (Ptr< const WifiPsdu > psdu, RxSignalInfo rxSignalInfo, const WifiTxVector &txVector, const std::vector< bool > &statusPerMpdu) |
| Receive function. | |
| void | SendA () const |
| Send A function. | |
| void | SendB () const |
| Send B function. | |
Private Attributes | |
| uint32_t | m_flowIdA |
| flow ID A | |
| uint32_t | m_flowIdB |
| flow ID B | |
| Input | m_input |
| input | |
| Output | m_output |
| output | |
| Ptr< WifiPhy > | m_txA |
| transmit A | |
| Ptr< WifiPhy > | m_txB |
| transmit B | |
Definition at line 148 of file wifi-phy-test.cc.
| CollisionExperiment::CollisionExperiment | ( | ) |
Definition at line 251 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 232 of file wifi-phy-test.cc.
References ns3::FlowIdTag::GetFlowId(), m_flowIdA, m_flowIdB, and m_output.
Referenced by Run().
Here is the call graph for this function:
Here is the caller graph for this function:| CollisionExperiment::Output CollisionExperiment::Run | ( | CollisionExperiment::Input | input | ) |
Run function.
| input | the collision experiment data |
Definition at line 270 of file wifi-phy-test.cc.
References ns3::FlowIdTag::AllocateFlowId(), ns3::CreateObject(), ns3::Simulator::Destroy(), m_flowIdA, m_flowIdB, m_input, m_output, m_txA, m_txB, ns3::MakeCallback(), Receive(), ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::Seconds(), SendA(), SendB(), ns3::WIFI_STANDARD_80211a, CollisionExperiment::Input::xA, and CollisionExperiment::Input::xB.
Here is the call graph for this function:
|
private |
Send A function.
Definition at line 208 of file wifi-phy-test.cc.
References ns3::Create(), m_flowIdA, m_input, m_txA, ns3::WifiTxVector::SetMode(), ns3::WifiTxVector::SetPreambleType(), ns3::WifiTxVector::SetTxPowerLevel(), and ns3::WIFI_PREAMBLE_LONG.
Referenced by Run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Send B function.
Definition at line 220 of file wifi-phy-test.cc.
References ns3::Create(), m_flowIdB, m_input, m_txB, ns3::WifiTxVector::SetMode(), ns3::WifiTxVector::SetPreambleType(), ns3::WifiTxVector::SetTxPowerLevel(), and ns3::WIFI_PREAMBLE_LONG.
Referenced by Run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
flow ID A
Definition at line 201 of file wifi-phy-test.cc.
|
private |
flow ID B
Definition at line 202 of file wifi-phy-test.cc.
|
private |
|
private |