A Discrete-Event Network Simulator
API
wifi-test-interference-helper.cc File Reference
#include "ns3/log.h"
#include "ns3/node.h"
#include "ns3/packet.h"
#include "ns3/config.h"
#include "ns3/double.h"
#include "ns3/simulator.h"
#include "ns3/command-line.h"
#include "ns3/single-model-spectrum-channel.h"
#include "ns3/spectrum-wifi-phy.h"
#include "ns3/propagation-loss-model.h"
#include "ns3/propagation-delay-model.h"
#include "ns3/interference-helper.h"
#include "ns3/nist-error-rate-model.h"
#include "ns3/constant-position-mobility-model.h"
#include "ns3/simple-frame-capture-model.h"
#include "ns3/wifi-psdu.h"
#include "ns3/wifi-mac-trailer.h"
#include "ns3/wifi-net-device.h"
+ Include dependency graph for wifi-test-interference-helper.cc:

Go to the source code of this file.

Classes

struct  InterferenceExperiment::Input
 Input structure. More...
 
class  InterferenceExperiment
 InterferenceExperiment. More...
 

Variables

bool checkResults = false
 
bool expectRxASuccessfull = false
 
bool expectRxBSuccessfull = false
 

Detailed Description

Usage

$ ./ns3 run "wifi-test-interference-helper [Program Options]"

Program Options

–delay
Delay in microseconds between frame transmission from sender A and frame transmission from sender B [0]
–xA
The position of transmitter A (< 0) [-5]
–xB
The position of transmitter B (> 0) [5]
–packetSizeA
Packet size in bytes of transmitter A [1500]
–packetSizeB
Packet size in bytes of transmitter B [1500]
–txPowerA
TX power level of transmitter A [16.0206]
–txPowerB
TX power level of transmitter B [16.0206]
–txModeA
Wifi mode used for payload transmission of sender A [OfdmRate54Mbps]
–txModeB
Wifi mode used for payload transmission of sender B [OfdmRate54Mbps]
–channelA
The selected channel number of sender A [36]
–channelB
The selected channel number of sender B [36]
–widthA
The selected channel width (MHz) of sender A [20]
–widthB
The selected channel width (MHz) of sender B [20]
–standard
IEEE 802.11 flavor [WIFI_PHY_STANDARD_80211a]
–preamble
Type of preamble [WIFI_PREAMBLE_LONG]
–enableCapture
Enable/disable physical layer capture [false]
–captureMargin
Margin used for physical layer capture [0]
–checkResults
Used to check results at the end of the test [false]
–expectRxASuccessfull
Indicate whether packet A is expected to be successfully received [false]
–expectRxBSuccessfull
Indicate whether packet B is expected to be successfully received [false]

Definition in file wifi-test-interference-helper.cc.

Variable Documentation

◆ checkResults

bool checkResults = false

Definition at line 75 of file wifi-test-interference-helper.cc.

Referenced by InterferenceExperiment::Run().

◆ expectRxASuccessfull

bool expectRxASuccessfull = false

Definition at line 76 of file wifi-test-interference-helper.cc.

Referenced by InterferenceExperiment::Run().

◆ expectRxBSuccessfull

bool expectRxBSuccessfull = false

Definition at line 77 of file wifi-test-interference-helper.cc.

Referenced by InterferenceExperiment::Run().