Classes | |
struct | Input |
struct | Output |
Public Member Functions | |
CollisionExperiment () | |
struct CollisionExperiment::Output | Run (struct CollisionExperiment::Input input) |
Private Member Functions | |
void | Receive (Ptr< Packet > p, double snr, WifiMode mode, enum WifiPreamble preamble) |
void | SendA (void) const |
void | SendB (void) const |
Private Attributes | |
uint32_t | m_flowIdA |
uint32_t | m_flowIdB |
struct Input | m_input |
struct Output | m_output |
Ptr< WifiPhy > | m_txA |
Ptr< WifiPhy > | m_txB |
Definition at line 132 of file wifi-phy-test.cc.
CollisionExperiment::CollisionExperiment | ( | ) |
Definition at line 202 of file wifi-phy-test.cc.
|
private |
Definition at line 188 of file wifi-phy-test.cc.
References ns3::Packet::FindFirstMatchingByteTag(), ns3::FlowIdTag::GetFlowId(), and PsrExperiment::m_output.
Referenced by Run().
|
read |
Definition at line 220 of file wifi-phy-test.cc.
References 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::MobilityModel::SetPosition(), and ns3::YansWifiChannel::SetPropagationDelayModel().
Referenced by PrintPsrVsCollisionInterval().
|
private |
Definition at line 170 of file wifi-phy-test.cc.
References ns3::Packet::AddByteTag(), PsrExperiment::m_input, and ns3::WIFI_PREAMBLE_SHORT.
Referenced by Run().
|
private |
Definition at line 179 of file wifi-phy-test.cc.
References ns3::Packet::AddByteTag(), PsrExperiment::m_input, and ns3::WIFI_PREAMBLE_SHORT.
Referenced by Run().
|
private |
Definition at line 163 of file wifi-phy-test.cc.
Referenced by Run().
|
private |
Definition at line 164 of file wifi-phy-test.cc.
Referenced by Run().
|
private |
Definition at line 165 of file wifi-phy-test.cc.
Referenced by Run().
|
private |
Definition at line 166 of file wifi-phy-test.cc.
Referenced by Run().
Definition at line 161 of file wifi-phy-test.cc.
Referenced by Run().
Definition at line 162 of file wifi-phy-test.cc.
Referenced by Run().