#include "ns3/attribute-container.h"
#include "ns3/boolean.h"
#include "ns3/command-line.h"
#include "ns3/config.h"
#include "ns3/double.h"
#include "ns3/enum.h"
#include "ns3/he-phy.h"
#include "ns3/internet-stack-helper.h"
#include "ns3/ipv4-address-helper.h"
#include "ns3/ipv4-global-routing-helper.h"
#include "ns3/log.h"
#include "ns3/mobility-helper.h"
#include "ns3/multi-model-spectrum-channel.h"
#include "ns3/on-off-helper.h"
#include "ns3/packet-sink-helper.h"
#include "ns3/packet-sink.h"
#include "ns3/spectrum-wifi-helper.h"
#include "ns3/ssid.h"
#include "ns3/string.h"
#include "ns3/udp-client-server-helper.h"
#include "ns3/udp-server.h"
#include "ns3/uinteger.h"
#include "ns3/wifi-acknowledgment.h"
#include "ns3/yans-wifi-channel.h"
#include "ns3/yans-wifi-helper.h"
#include <algorithm>
#include <functional>
Go to the source code of this file.
Usage
$ ./ns3 run "wifi-he-network [Program Options]"
Program Options
--frequency
- Whether working in the 2.4, 5 or 6 GHz band (other values gets rejected) [5]
--distance
- Distance in meters between the station and the access point [1]
--simulationTime
- Simulation time [+10s]
--udp
- UDP if set to 1, TCP otherwise [true]
--downlink
- Generate downlink flows if set to 1, uplink flows otherwise [true]
--useRts
- Enable/disable RTS/CTS [false]
--use80Plus80
- Enable/disable use of 80+80 MHz [false]
--useExtendedBlockAck
- Enable/disable use of extended BACK [false]
--nStations
- Number of non-AP HE stations [1]
--dlAckType
- Ack sequence type for DL OFDMA (NO-OFDMA, ACK-SU-FORMAT, MU-BAR, AGGR-MU-BAR) [NO-OFDMA]
--enableUlOfdma
- Enable UL OFDMA (useful if DL OFDMA is enabled and TCP is used) [false]
--enableBsrp
- Enable BSRP (useful if DL and UL OFDMA are enabled and TCP is used) [false]
--muSchedAccessReqInterval
- Duration of the interval between two requests for channel access made by the MU scheduler [+0fs]
--mcs
- list of comma separated MCS values to test; if unset, all MCS values (0-11) are tested
--channelWidth
- if set, limit testing to a specific channel width expressed in MHz (20, 40, 80 or 160 MHz) [-1]
--guardInterval
- if set, limit testing to a specific guard interval duration expressed in nanoseconds (800, 1600 or 3200 ns) [-1]
--payloadSize
- The application payload size in bytes [700]
--phyModel
- PHY model to use when OFDMA is disabled (Yans or Spectrum). If 80+80 MHz or OFDMA is enabled then Spectrum is automatically selected [Yans]
--minExpectedThroughput
- if set, simulation fails if the lowest throughput is below this value [0]
--maxExpectedThroughput
- if set, simulation fails if the highest throughput is above this value [0]
Definition in file wifi-he-network.cc.