A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
wifi-hidden-terminal.cc File Reference
#include "ns3/core-module.h"
#include "ns3/propagation-module.h"
#include "ns3/network-module.h"
#include "ns3/applications-module.h"
#include "ns3/mobility-module.h"
#include "ns3/internet-module.h"
#include "ns3/flow-monitor-module.h"
#include "ns3/wifi-module.h"
+ Include dependency graph for wifi-hidden-terminal.cc:

Go to the source code of this file.

Functions

void experiment (bool enableCtsRts)
 Run single 10 seconds experiment with enabled or disabled RTS/CTS mechanism. More...
 
int main (int argc, char **argv)
 

Function Documentation

void experiment ( bool  enableCtsRts)

Run single 10 seconds experiment with enabled or disabled RTS/CTS mechanism.

Internal:
The slightly different start times and data rates are a workaround for Bug 388 and Bug 912
Internal:
We also use separate UDP applications that will send a single packet before the CBR flows start. This is a workaround for the lack of perfect ARP, see Bug 187

Definition at line 44 of file wifi-hidden-terminal.cc.

References ns3::ApplicationContainer::Add(), ns3::Object::AggregateObject(), ns3::Ipv4AddressHelper::Assign(), ns3::FlowMonitor::CheckForLostPackets(), ns3::NodeContainer::Create(), ns3::NqosWifiMacHelper::Default(), ns3::YansWifiPhyHelper::Default(), ns3::Ipv4FlowClassifier::FiveTuple::destinationAddress, ns3::Simulator::Destroy(), first::devices, ns3::Ipv4FlowClassifier::FindFlow(), ns3::NodeContainer::Get(), ns3::FlowMonitorHelper::GetClassifier(), ns3::FlowMonitor::GetFlowStats(), ns3::Object::GetObject(), ns3::OnOffHelper::Install(), ns3::InternetStackHelper::Install(), ns3::WifiHelper::Install(), ns3::UdpEchoClientHelper::Install(), ns3::FlowMonitorHelper::InstallAll(), first::nodes, ns3::Simulator::Run(), ns3::OnOffHelper::SetAttribute(), ns3::UdpEchoClientHelper::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::YansWifiPhyHelper::SetChannel(), ns3::Config::SetDefault(), ns3::MatrixPropagationLossModel::SetDefaultLoss(), ns3::MatrixPropagationLossModel::SetLoss(), ns3::YansWifiChannel::SetPropagationDelayModel(), ns3::YansWifiChannel::SetPropagationLossModel(), ns3::WifiHelper::SetRemoteStationManager(), ns3::WifiHelper::SetStandard(), ns3::NqosWifiMacHelper::SetType(), ns3::Ipv4FlowClassifier::FiveTuple::sourceAddress, ns3::Simulator::Stop(), and ns3::WIFI_PHY_STANDARD_80211b.

Referenced by ns3::DataCollector::DescribeRun(), main(), PrintPsr(), PrintPsrVsCollisionInterval(), PrintPsrVsDistance(), and PrintSizeVsRange().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 178 of file wifi-hidden-terminal.cc.

References experiment().

+ Here is the call graph for this function: