Collaboration diagram for CollisionExperiment:Classes | |
| struct | Input | 
| Input structure.  More... | |
| struct | Output | 
| Output struture.  More... | |
Public Member Functions | |
| CollisionExperiment () | |
| struct CollisionExperiment::Output | Run (struct CollisionExperiment::Input input) | 
| Run function.  More... | |
Private Member Functions | |
| void | Receive (Ptr< Packet > p, double snr, WifiTxVector txVector) | 
| Receive function.  More... | |
| void | SendA (void) const | 
| Send A function.  More... | |
| void | SendB (void) const | 
| Send B function.  More... | |
Private Attributes | |
| uint32_t | m_flowIdA | 
| flow ID A  More... | |
| uint32_t | m_flowIdB | 
| flow ID B  More... | |
| struct Input | m_input | 
| input  More... | |
| struct Output | m_output | 
| output  More... | |
| Ptr< WifiPhy > | m_txA | 
| transmit A  More... | |
| Ptr< WifiPhy > | m_txB | 
| transmit B  More... | |
Definition at line 147 of file wifi-phy-test.cc.
| CollisionExperiment::CollisionExperiment | ( | ) | 
Definition at line 240 of file wifi-phy-test.cc.
      
  | 
  private | 
Receive function.
| p | the packet | 
| snr | the SNR | 
| txVector | the wifi transmit vector | 
Definition at line 224 of file wifi-phy-test.cc.
References ns3::Packet::FindFirstMatchingByteTag(), ns3::FlowIdTag::GetFlowId(), and PsrExperiment::m_output.
Referenced by Run().
 Here is the call graph for this function:
 Here is the caller graph for this function:| struct CollisionExperiment::Output CollisionExperiment::Run | ( | struct CollisionExperiment::Input | input | ) | 
Run function.
| input | the collision experiment data | 
Definition at line 258 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::YansWifiChannel::SetPropagationDelayModel(), ns3::YansWifiChannel::SetPropagationLossModel(), and ns3::WIFI_PHY_STANDARD_80211a.
Referenced by PrintPsrVsCollisionInterval().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Send A function.
Definition at line 200 of file wifi-phy-test.cc.
References ns3::Packet::AddByteTag(), PsrExperiment::m_input, 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 212 of file wifi-phy-test.cc.
References ns3::Packet::AddByteTag(), PsrExperiment::m_input, 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 | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |