A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-ps-mode.cc File Reference
#include "ns3/boolean.h"
#include "ns3/command-line.h"
#include "ns3/config.h"
#include "ns3/data-rate.h"
#include "ns3/flow-monitor-helper.h"
#include "ns3/internet-stack-helper.h"
#include "ns3/ipv4-address-helper.h"
#include "ns3/ipv4-flow-classifier.h"
#include "ns3/log.h"
#include "ns3/mobility-helper.h"
#include "ns3/multi-model-spectrum-channel.h"
#include "ns3/neighbor-cache-helper.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/uinteger.h"
#include "ns3/wifi-mac-queue.h"
#include "ns3/wifi-mac.h"
#include "ns3/wifi-net-device.h"
#include "ns3/wifi-static-setup-helper.h"
#include <algorithm>
#include <unordered_map>
Include dependency graph for wifi-ps-mode.cc:

Go to the source code of this file.

Detailed Description

Usage

$ ./ns3 run "wifi-ps-mode [Program Options]"

Program Options

--standard
Supported standard (11n, 11ac, 11ax, 11be) [11be]
--channels
Colon separated (no spaces) list of channel settings for the links of both the AP and the STAs [36,0,BAND_5GHZ,0]
--nStas
the number of non-AP devices [1]
--psMode
Comma separated (no spaces) list of pairs indicating whether PM mode must be enabled on a given link for all non-AP devices (e.g., "0:true,1:false" enables PM mode only on link 0) [0:true]
--raa
TypeId of the rate adaptation algorithm to use [ThompsonSamplingWifiManager]
--payloadSize
Payload size in bytes [1500]
--enableRts
Enable or disable RTS/CTS [false]
--enablePcap
Enable/disable pcap file generation [false]
--useUdp
true to use UDP, false to use TCP [true]
--dlLoad
Rate of the total downlink load to generate [0bps]
--ulLoad
Rate of the total uplink load to generate [0bps]
--staticSetup
whether to use the static setup helper [true]
--simulationTime
Simulation time [+3s]
--tolerance
simulation fails if the throughput of every flow is not within this ratio of the offered traffic load [0.15]

Definition in file wifi-ps-mode.cc.