A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
wifi-standard-constants.h File Reference

Declaration of the constants used across wifi module. More...

#include "ns3/nstime.h"
#include "ns3/wifi-export.h"
Include dependency graph for wifi-standard-constants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.

Variables

static constexpr uint16_t ns3::AID_SPECIAL_USER {2007}
 AID value for Special User Info field in trigger frames (Sec. 9.3.1.22.3 of 802.11be D7.0).
const Time ns3::DSSS_SIFS_TIME = MicroSeconds(10)
 aSIFSTime duration for DSSS (Table 16-4 "HR/DSSS PHY characteristics" of 802.11-2020)
const Time ns3::DSSS_SLOT_TIME = MicroSeconds(20)
 aSlotTime duration for DSSS (Table 16-4 "HR/DSSS PHY characteristics" of 802.11-2020)
static constexpr uint16_t ns3::EHT_MAX_AID {2006}
 The maximum value for the association ID updated since 802.11be (Sec. 9.4.1.8 of 802.11be D7.0).
const Time ns3::EMLSR_RX_PHY_START_DELAY = MicroSeconds(20)
 aRxPHYStartDelay value to use when waiting for a new frame in the context of EMLSR operations (Sec.
static constexpr uint8_t ns3::EMPTY_242_TONE_HE_RU {113}
 Empty 242-tone RU identifier for HE (Section 26.11.7 802.11ax-2021).
static constexpr uint16_t ns3::MAX_AID {2007}
 The maximum value for the association ID (Sec. 9.4.1.8 of 802.11-2020).
static constexpr uint16_t ns3::MAX_MSDU_SIZE {2304}
 This value conforms to the 802.11 specification.
const Time ns3::MAX_PROPAGATION_DELAY = MicroSeconds(1)
 maximum propagation delay
const Time ns3::MEDIUM_SYNC_THRESHOLD = MicroSeconds(72)
 The aMediumSyncThreshold defined by Sec. 35.3.16.18.1 of 802.11be D4.0.
static constexpr uint16_t ns3::MIN_AID {1}
 The minimum value for the association ID (Sec. 9.4.1.8 of 802.11-2020).
static constexpr uint16_t ns3::NO_USER_STA_ID {2046}
 STA_ID for a RU that is intended for no user (Section 26.11.1 802.11ax-2021).
const Time ns3::OFDM_SIFS_TIME_10MHZ = MicroSeconds(32)
 aSIFSTime value for OFDM (10 MHz channel spacing) (Table 17-21 "OFDM PHY characteristics" of 802.11-2020)
const Time ns3::OFDM_SIFS_TIME_20MHZ = MicroSeconds(16)
 aSIFSTime value for OFDM (20 MHz channel spacing) (Table 17-21 "OFDM PHY characteristics" of 802.11-2020)
const Time ns3::OFDM_SIFS_TIME_5MHZ = MicroSeconds(64)
 aSIFSTime value for OFDM (5 MHz channel spacing) (Table 17-21 "OFDM PHY characteristics" of 802.11-2020)
const Time ns3::OFDM_SLOT_TIME_10MHZ = MicroSeconds(13)
 aSlotTime duration for OFDM (10 MHz channel spacing) (Table 17-21 "OFDM PHY characteristics" of 802.11-2020)
const Time ns3::OFDM_SLOT_TIME_20MHZ = MicroSeconds(9)
 aSlotTime duration for OFDM (20 MHz channel spacing) (Table 17-21 "OFDM PHY characteristics" of 802.11-2020)
const Time ns3::OFDM_SLOT_TIME_5MHZ = MicroSeconds(21)
 aSlotTime duration for OFDM (5 MHz channel spacing) (Table 17-21 "OFDM PHY characteristics" of 802.11-2020)
static constexpr uint16_t ns3::SEQNO_SPACE_HALF_SIZE {SEQNO_SPACE_SIZE / 2}
 Size of the half the space of sequence numbers (used to determine old packets).
static constexpr uint16_t ns3::SEQNO_SPACE_SIZE {4096}
 Size of the space of sequence numbers.
static constexpr uint16_t ns3::SU_STA_ID {65535}
 STA_ID to identify a single user (SU).
static constexpr uint32_t ns3::SUBCARRIER_FREQUENCY_SPACING {312500}
 Subcarrier frequency spacing in Hz (Table 19-6 "Timing-related constants" of 802.11-2020).
static constexpr uint32_t ns3::SUBCARRIER_FREQUENCY_SPACING_HE {78125}
 Subcarrier frequency spacing for the HE modulated fields in Hz (Table 27-12 "Timing-related constants" of 802.11ax-2021).
static constexpr uint8_t ns3::UNASSIGNED_242_TONE_EHT_RU {27}
 Unassigned 242-tone RU identifier for EHT (Table Table 36-34 IEEE 802.11be D7.0).
static constexpr uint32_t ns3::WIFI_DEFAULT_FRAG_THRESHOLD {WIFI_MAX_FRAG_THRESHOLD}
 The default value for dot11FragmentationThreshold (C.3 MIB detail in IEEE Std 802.11-2020).
static constexpr uint32_t ns3::WIFI_DEFAULT_RTS_THRESHOLD {WIFI_MAX_RTS_THRESHOLD}
 The default value for dot11RTSThreshold (C.3 MIB detail in IEEE Std 802.11-2020).
static constexpr uint16_t ns3::WIFI_MAC_FCS_LENGTH {4}
 The length in octets of the IEEE 802.11 MAC FCS field.
static constexpr uint32_t ns3::WIFI_MAX_FRAG_THRESHOLD {65535}
 The maximum value for dot11FragmentationThreshold (C.3 MIB detail in IEEE Std 802.11-2020).
static constexpr uint32_t ns3::WIFI_MAX_RTS_THRESHOLD {4692480}
 The maximum value for dot11RTSThreshold (C.3 MIB detail in IEEE Std 802.11-2020).
static constexpr uint32_t ns3::WIFI_MIN_FRAG_THRESHOLD {256}
 The minimum value for dot11FragmentationThreshold (C.3 MIB detail in IEEE Std 802.11-2020).
static constexpr uint32_t ns3::WIFI_MIN_RTS_THRESHOLD {0}
 The minimum value for dot11RTSThreshold (C.3 MIB detail in IEEE Std 802.11-2020).
static constexpr uint8_t ns3::WIFI_MIN_TX_PWR_LEVEL {1}
 minimum TX power level value
static constexpr uint32_t ns3::WIFI_PSDU_MAX_LENGTH {4095}
 The value for aPSDUMaxLength in Table 15-5 (DSSS PHY characteristics), Table 17-21 (OFDM PHY characteristics) and Table 18-5 (ERP characteristics) of 802.11-2020.
static constexpr uint32_t ns3::WIFI_PSDU_MAX_LENGTH_EHT {15'523'200}
 The value for aPSDUMaxLength in Table 36-70 (EHT PHY characteristics) of 802.11be D7.0.
static constexpr uint32_t ns3::WIFI_PSDU_MAX_LENGTH_HE {6'500'631}
 The value for aPSDUMaxLength in Table 27-54 (HE PHY characteristics) of 802.11ax-2021.
static constexpr uint32_t ns3::WIFI_PSDU_MAX_LENGTH_HT {65'535}
 The value for aPSDUMaxLength in Table 19-25 (HT PHY characteristics) of 802.11-2020.
static constexpr uint32_t ns3::WIFI_PSDU_MAX_LENGTH_VHT {4'692'480}
 The value for aPSDUMaxLength in Table 21-28 (VHT PHY characteristics) of 802.11-2020.
const Time ns3::WIFI_TU = MicroSeconds(1024)
 Wi-Fi Time Unit value in microseconds (see IEEE 802.11-2020 sec.

Detailed Description

Declaration of the constants used across wifi module.

Definition in file wifi-standard-constants.h.