A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-probe-exchange-test.cc File Reference
#include "ns3/ap-wifi-mac.h"
#include "ns3/common-info-probe-req-mle.h"
#include "ns3/config.h"
#include "ns3/ctrl-headers.h"
#include "ns3/eht-configuration.h"
#include "ns3/error-model.h"
#include "ns3/frame-exchange-manager.h"
#include "ns3/log.h"
#include "ns3/mac48-address.h"
#include "ns3/mgt-headers.h"
#include "ns3/mobility-helper.h"
#include "ns3/multi-link-element.h"
#include "ns3/multi-model-spectrum-channel.h"
#include "ns3/node-container.h"
#include "ns3/object-factory.h"
#include "ns3/rng-seed-manager.h"
#include "ns3/simulator.h"
#include "ns3/spectrum-helper.h"
#include "ns3/spectrum-wifi-helper.h"
#include "ns3/sta-wifi-mac.h"
#include "ns3/string.h"
#include "ns3/test.h"
#include "ns3/tuple.h"
#include "ns3/wifi-mac-header.h"
#include "ns3/wifi-mac-helper.h"
#include "ns3/wifi-mac-queue.h"
#include "ns3/wifi-mode.h"
#include "ns3/wifi-net-device.h"
#include "ns3/wifi-phy-common.h"
#include "ns3/wifi-psdu.h"
#include "ns3/wifi-tx-vector.h"
#include "ns3/wifi-utils.h"
#include <algorithm>
#include <iterator>
#include <optional>
#include <vector>
+ Include dependency graph for wifi-probe-exchange-test.cc:

Go to the source code of this file.

Classes

class  ProbeExchTest
 Probe Request-Probe Response exchange. More...
 
class  ProbeExchTestSuite
 wifi probe exchange Test Suite More...
 
struct  ProbeExchTestVector
 Parameters and expected results for a test case. More...
 
struct  ProbeExchTest::TxPsdu
 information on transmitted PSDU More...
 

Typedefs

using LinkIds = std::vector<uint8_t>
 Link identifiers.
 

Variables

const uint8_t DEFAULT_AP_MLD_ID = 0
 
const auto DEFAULT_CONTROL_MODE = "OfdmRate24Mbps"
 
const auto DEFAULT_DATA_MODE = "EhtMcs3"
 
const auto DEFAULT_MULTI_LINK_PROBE_REQ = false
 
const uint8_t DEFAULT_PRB_EXCH_LINK_ID = 0
 
const auto DEFAULT_PROBE_REQ_ADDR1_BCAST = false
 
const auto DEFAULT_PROBE_REQ_ADDR3_BCAST = false
 
const auto DEFAULT_PROBE_REQ_TX_TIME = MilliSeconds(10)
 
const auto DEFAULT_RNG_RUN = 7
 
const auto DEFAULT_RNG_SEED = 3
 
const auto DEFAULT_SIM_STOP_TIME = MilliSeconds(500)
 
const auto DEFAULT_SSID = Ssid("probe-exch-test")
 
const uint64_t DEFAULT_STREAM_INCREMENT = 1e4
 
const auto DEFAULT_STREAM_INDEX = 100
 
const auto DEFAULT_WIFI_STANDARD = WifiStandard::WIFI_STANDARD_80211be
 
static ProbeExchTestSuite g_probeExchTestSuite
 

Typedef Documentation

◆ LinkIds

using LinkIds = std::vector<uint8_t>

Link identifiers.

Definition at line 67 of file wifi-probe-exchange-test.cc.

Variable Documentation

◆ DEFAULT_AP_MLD_ID

const uint8_t DEFAULT_AP_MLD_ID = 0

Definition at line 66 of file wifi-probe-exchange-test.cc.

Referenced by ProbeExchTest::SendProbeReq().

◆ DEFAULT_CONTROL_MODE

const auto DEFAULT_CONTROL_MODE = "OfdmRate24Mbps"

Definition at line 55 of file wifi-probe-exchange-test.cc.

Referenced by ProbeExchTest::SetupDevices().

◆ DEFAULT_DATA_MODE

const auto DEFAULT_DATA_MODE = "EhtMcs3"

Definition at line 54 of file wifi-probe-exchange-test.cc.

Referenced by ProbeExchTest::SetupDevices().

◆ DEFAULT_MULTI_LINK_PROBE_REQ

const auto DEFAULT_MULTI_LINK_PROBE_REQ = false

Definition at line 64 of file wifi-probe-exchange-test.cc.

◆ DEFAULT_PRB_EXCH_LINK_ID

const uint8_t DEFAULT_PRB_EXCH_LINK_ID = 0

Definition at line 65 of file wifi-probe-exchange-test.cc.

◆ DEFAULT_PROBE_REQ_ADDR1_BCAST

const auto DEFAULT_PROBE_REQ_ADDR1_BCAST = false

Definition at line 62 of file wifi-probe-exchange-test.cc.

◆ DEFAULT_PROBE_REQ_ADDR3_BCAST

const auto DEFAULT_PROBE_REQ_ADDR3_BCAST = false

Definition at line 63 of file wifi-probe-exchange-test.cc.

◆ DEFAULT_PROBE_REQ_TX_TIME

const auto DEFAULT_PROBE_REQ_TX_TIME = MilliSeconds(10)

Definition at line 53 of file wifi-probe-exchange-test.cc.

Referenced by ProbeExchTest::DoRun().

◆ DEFAULT_RNG_RUN

const auto DEFAULT_RNG_RUN = 7

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

Referenced by ProbeExchTest::DoSetup().

◆ DEFAULT_RNG_SEED

const auto DEFAULT_RNG_SEED = 3

Definition at line 57 of file wifi-probe-exchange-test.cc.

Referenced by ProbeExchTest::DoSetup().

◆ DEFAULT_SIM_STOP_TIME

const auto DEFAULT_SIM_STOP_TIME = MilliSeconds(500)

Definition at line 52 of file wifi-probe-exchange-test.cc.

Referenced by ProbeExchTest::DoRun().

◆ DEFAULT_SSID

const auto DEFAULT_SSID = Ssid("probe-exch-test")

Definition at line 56 of file wifi-probe-exchange-test.cc.

Referenced by ProbeExchTest::SetupDevices().

◆ DEFAULT_STREAM_INCREMENT

const uint64_t DEFAULT_STREAM_INCREMENT = 1e4

Definition at line 60 of file wifi-probe-exchange-test.cc.

Referenced by ProbeExchTest::SetupDevices().

◆ DEFAULT_STREAM_INDEX

const auto DEFAULT_STREAM_INDEX = 100

Definition at line 59 of file wifi-probe-exchange-test.cc.

Referenced by ProbeExchTest::SetupDevices().

◆ DEFAULT_WIFI_STANDARD

const auto DEFAULT_WIFI_STANDARD = WifiStandard::WIFI_STANDARD_80211be

Definition at line 61 of file wifi-probe-exchange-test.cc.

Referenced by ProbeExchTest::SetupDevices().

◆ g_probeExchTestSuite

ProbeExchTestSuite g_probeExchTestSuite
static

Definition at line 631 of file wifi-probe-exchange-test.cc.