#include "ns3/ap-wifi-mac.h"
#include "ns3/assert.h"
#include "ns3/attribute-container.h"
#include "ns3/boolean.h"
#include "ns3/enum.h"
#include "ns3/error-model.h"
#include "ns3/log.h"
#include "ns3/mac48-address.h"
#include "ns3/mgt-action-headers.h"
#include "ns3/mgt-headers.h"
#include "ns3/mobility-helper.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/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-net-device.h"
#include "ns3/wifi-psdu.h"
#include "ns3/wifi-utils.h"
#include "ns3/yans-wifi-helper.h"
#include "ns3/yans-wifi-phy.h"
#include <algorithm>
#include <filesystem>
#include <iterator>
#include <optional>
#include <variant>
Go to the source code of this file.
Classes | |
struct | WifiFilsFrameTest::PsduCapture |
Transmitted PSDUs. More... | |
struct | WifiFilsFrameTest::TimeStats |
Timing statistic for test validation. More... | |
class | WifiFilsFrameTest |
Test FILS frames. More... | |
struct | WifiFilsFrameTestParams |
Wi-Fi FILS frame test parameters. More... | |
class | WifiFilsFrameTestSuite |
WiFi FILS frame Test Suite. More... | |
Enumerations | |
enum class | WifiFilsFrameTestCase : uint8_t { BW20MHZ_NSS1_DISC = 0 , BW20MHZ_NSS3_DISC , BW40MHZ_NSS2_DISC , BW80MHZ_NSS2_DISC , BW160MHZ_NSS2_DISC , BW160MHZ_NSS2_PROBE , COUNT } |
Testcases for FILS frame test. More... | |
Functions | |
WifiFilsFrameTestParams | WifiFilsFrameTestBuildCase (const WifiFilsFrameTestCase &tc) |
Variables | |
static const auto | DEFAULT_AP_LOC = Vector(0.01, 0, 0) |
static const auto | DEFAULT_BAND = WifiPhyBand::WIFI_PHY_BAND_6GHZ |
static const auto | DEFAULT_BANDWIDTH = 20 |
Fast Initial Link Setup (FILS) frame Test Suite Test suite intended to test (de)serialization and timing of frames associated with FILS procedure. | |
static const auto | DEFAULT_BCN_INTRVL = 100 * WIFI_TU |
static const auto | DEFAULT_CLIENT_LOC = Vector(0, 0, 0) |
static const auto | DEFAULT_ENABLE_PCAP = false |
static const auto | DEFAULT_FILS_INTRVL = 20 * WIFI_TU |
static const auto | DEFAULT_OUTDIR = "." |
static const auto | DEFAULT_PCAP_PREFIX = "ap-fils" |
static const auto | DEFAULT_PRIMARY_INDEX = 0 |
static const auto | DEFAULT_RNG_RUN = 7 |
static const auto | DEFAULT_RNG_SEED = 3 |
static const auto | DEFAULT_SIM_STOP_TIME = MilliSeconds(610) |
static const auto | DEFAULT_SSID = "01234567890123456789012345678901" |
static const auto | DEFAULT_STANDARD = WifiStandard::WIFI_STANDARD_80211ax |
static const auto | DEFAULT_STREAM_INDEX = 100 |
static const auto | DEFAULT_TIMING_TOLERANCE = MicroSeconds(100) |
static const auto | DEFAULT_UNSOL_PROBE_RESP_EN = false |
static const auto | DUMMY_AP_ADDR = Mac48Address("00:00:00:00:00:10") |
static WifiFilsFrameTestSuite | g_WifiFilsFrameTestSuite |
static const auto | INVALID_CHAN_NUM = 0 |
static const uint8_t | WIFI_6GHZ_FD_PHY_IDX = 4 |
|
strong |
Testcases for FILS frame test.
Enumerator | |
---|---|
BW20MHZ_NSS1_DISC | |
BW20MHZ_NSS3_DISC | |
BW40MHZ_NSS2_DISC | |
BW80MHZ_NSS2_DISC | |
BW160MHZ_NSS2_DISC | |
BW160MHZ_NSS2_PROBE | |
COUNT |
Definition at line 368 of file wifi-fils-frame-test.cc.
WifiFilsFrameTestParams WifiFilsFrameTestBuildCase | ( | const WifiFilsFrameTestCase & | tc | ) |
Definition at line 380 of file wifi-fils-frame-test.cc.
References BW160MHZ_NSS2_DISC, BW160MHZ_NSS2_PROBE, BW20MHZ_NSS1_DISC, BW20MHZ_NSS3_DISC, BW40MHZ_NSS2_DISC, BW80MHZ_NSS2_DISC, DEFAULT_SSID, NS_ABORT_MSG, and ns3::WIFI_TU.
Referenced by WifiFilsFrameTestSuite::WifiFilsFrameTestSuite().
|
static |
Definition at line 71 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::SetupDevice().
|
static |
Definition at line 62 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::SetupDevice().
|
static |
Fast Initial Link Setup (FILS) frame Test Suite Test suite intended to test (de)serialization and timing of frames associated with FILS procedure.
The test creates a BSS consisting of an AP and client and and analyzes the timings and contents of frames associated with FILS procedure.
Definition at line 53 of file wifi-fils-frame-test.cc.
|
static |
Definition at line 64 of file wifi-fils-frame-test.cc.
|
static |
Definition at line 72 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::SetupDevice().
|
static |
Definition at line 70 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::SetupDevice().
|
static |
Definition at line 65 of file wifi-fils-frame-test.cc.
|
static |
Definition at line 69 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::SetupDevice().
|
static |
Definition at line 68 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::SetupDevice().
|
static |
Definition at line 55 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::SetupDevice().
|
static |
Definition at line 58 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::DoSetup().
|
static |
Definition at line 57 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::DoSetup().
|
static |
Definition at line 56 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::DoRun(), and WifiFilsFrameTest::ValidateTest().
|
static |
Definition at line 63 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTestBuildCase().
|
static |
Definition at line 61 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::SetupDevice().
|
static |
Definition at line 59 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::SetupDevice().
|
static |
Definition at line 66 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::ValidateTiming().
|
static |
Definition at line 67 of file wifi-fils-frame-test.cc.
|
static |
Definition at line 60 of file wifi-fils-frame-test.cc.
|
static |
Definition at line 465 of file wifi-fils-frame-test.cc.
|
static |
Definition at line 54 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::SetupDevice().
|
static |
Definition at line 73 of file wifi-fils-frame-test.cc.
Referenced by WifiFilsFrameTest::ValidateFilsDiscFrame().