A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-test.cc File Reference
#include "ns3/adhoc-wifi-mac.h"
#include "ns3/ap-wifi-mac.h"
#include "ns3/config.h"
#include "ns3/constant-position-mobility-model.h"
#include "ns3/constant-rate-wifi-manager.h"
#include "ns3/error-model.h"
#include "ns3/fcfs-wifi-queue-scheduler.h"
#include "ns3/he-frame-exchange-manager.h"
#include "ns3/he-phy.h"
#include "ns3/header-serialization-test.h"
#include "ns3/ht-configuration.h"
#include "ns3/interference-helper.h"
#include "ns3/mgt-headers.h"
#include "ns3/mobility-helper.h"
#include "ns3/multi-model-spectrum-channel.h"
#include "ns3/packet-socket-client.h"
#include "ns3/packet-socket-helper.h"
#include "ns3/packet-socket-server.h"
#include "ns3/pointer.h"
#include "ns3/propagation-loss-model.h"
#include "ns3/rng-seed-manager.h"
#include "ns3/socket.h"
#include "ns3/spectrum-wifi-helper.h"
#include "ns3/string.h"
#include "ns3/test.h"
#include "ns3/uinteger.h"
#include "ns3/waypoint-mobility-model.h"
#include "ns3/wifi-default-ack-manager.h"
#include "ns3/wifi-default-assoc-manager.h"
#include "ns3/wifi-default-protection-manager.h"
#include "ns3/wifi-mgt-header.h"
#include "ns3/wifi-net-device.h"
#include "ns3/wifi-ppdu.h"
#include "ns3/wifi-psdu.h"
#include "ns3/wifi-spectrum-signal-parameters.h"
#include "ns3/yans-error-rate-model.h"
#include "ns3/yans-wifi-helper.h"
#include "ns3/yans-wifi-phy.h"
#include <optional>
+ Include dependency graph for wifi-test.cc:

Go to the source code of this file.

Classes

class  Bug2222TestCase
 Make sure that when virtual collision occurs the wifi remote station manager is triggered and the retry counter is increased. More...
 
class  Bug2470TestCase
 Make sure that the ADDBA handshake process is protected. More...
 
class  Bug2831TestCase
 Make sure that the channel width and the channel number can be changed at runtime. More...
 
class  Bug2843TestCase
 Make sure that the correct channel width and center frequency have been set for OFDM basic rate transmissions and BSS channel widths larger than 20 MHz. More...
 
class  Bug730TestCase
 Make sure that when changing the fragmentation threshold during the simulation, the TCP transmission does not unexpectedly stop. More...
 
class  DcfImmediateAccessBroadcastTestCase
 Make sure that when multiple broadcast packets are queued on the same device in a short succession, that: 1) no backoff occurs if the frame arrives and the idle time >= DIFS or AIFSn (this is 'DCF immediate access', Figure 9-3 of IEEE 802.11-2012) 2) a backoff occurs for the second frame that arrives (this is clearly stated in Sec. More...
 
class  DsssModulationTest
 Make sure that all DSSS modulation types work (see issue #1095). More...
 
class  HeRuMcsDataRateTestCase
 Data rate verification test for MCSs of different RU sizes. More...
 
class  IdealRateManagerChannelWidthTest
 Make sure that Ideal rate manager properly selects MCS based on the configured channel width. More...
 
class  IdealRateManagerMimoTest
 Test to validate that Ideal rate manager properly selects TXVECTOR in scenarios where MIMO is used. More...
 
class  InterferenceHelperSequenceTest
 See Bug 991 More...
 
class  Issue169TestCase
 Make sure that Ideal rate manager is able to handle non best-effort traffic. More...
 
class  Issue40TestCase
 Make sure that Ideal rate manager recovers when the station is moving away from the access point. More...
 
class  MgtTestHeader
 Test management header. More...
 
class  QosFragmentationTestCase
 Make sure that fragmentation works with QoS stations. More...
 
class  QosUtilsIsOldPacketTest
 Qos Utils Is Old Packet Test. More...
 
class  SetChannelFrequencyTest
 Set Channel Frequency Test. More...
 
class  StaWifiMacScanningTestCase
 Make sure that Wifi STA is correctly associating to the best AP (i.e., nearest from STA). More...
 
class  WifiMgtHeaderTest
 Mgt header (de)serialization Test Suite. More...
 
class  WifiTest
 Wifi Test. More...
 
class  WifiTestSuite
 Wifi Test Suite. More...
 

Typedefs

using MgtTestElems
 List of Information Elements included in the test management frame.
 

Functions

static void AssignWifiRandomStreams (Ptr< WifiMac > mac, int64_t stream)
 

Variables

static WifiTestSuite g_wifiTestSuite
 the test suite
 

Typedef Documentation

◆ MgtTestElems

using MgtTestElems
Initial value:
std::tuple<SupportedRates, std::optional<ExtendedSupportedRatesIE>, std::vector<Ssid>>

List of Information Elements included in the test management frame.

Definition at line 3667 of file wifi-test.cc.

Function Documentation

◆ AssignWifiRandomStreams()

static void AssignWifiRandomStreams ( Ptr< WifiMac > mac,
int64_t stream )
static

Definition at line 58 of file wifi-test.cc.

References ns3::PointerValue::Get().

Referenced by DcfImmediateAccessBroadcastTestCase::DoRun().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ g_wifiTestSuite

WifiTestSuite g_wifiTestSuite
static

the test suite

Definition at line 3998 of file wifi-test.cc.