A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
wifi-constants.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 DERONNE SOFTWARE ENGINEERING
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Sébastien Deronne <sebastien.deronne@gmail.com>
7
*/
8
9
#include "
wifi-constants.h
"
10
11
namespace
ns3
12
{
13
14
const
Time
WIFI_TU
=
MicroSeconds
(1024);
15
16
const
Time
EMLSR_RX_PHY_START_DELAY
=
MicroSeconds
(20);
17
18
const
Time
OFDM_SIFS_TIME_20MHZ
=
MicroSeconds
(16);
19
20
const
Time
OFDM_SLOT_TIME_20MHZ
=
MicroSeconds
(9);
21
22
const
Time
OFDM_SIFS_TIME_10MHZ
=
MicroSeconds
(32);
23
24
const
Time
OFDM_SLOT_TIME_10MHZ
=
MicroSeconds
(13);
25
26
const
Time
OFDM_SIFS_TIME_5MHZ
=
MicroSeconds
(64);
27
28
const
Time
OFDM_SLOT_TIME_5MHZ
=
MicroSeconds
(21);
29
30
const
Time
DSSS_SIFS_TIME
=
MicroSeconds
(10);
31
32
const
Time
DSSS_SLOT_TIME
=
MicroSeconds
(20);
33
34
const
Time
MAX_PROPAGATION_DELAY
=
MicroSeconds
(1);
35
36
const
Time
MEDIUM_SYNC_THRESHOLD
=
MicroSeconds
(72);
37
38
}
// namespace ns3
ns3::Time
Simulation virtual time values and global simulation resolution.
Definition
nstime.h:94
ns3::MicroSeconds
Time MicroSeconds(uint64_t value)
Construct a Time in the indicated unit.
Definition
nstime.h:1369
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::DSSS_SIFS_TIME
const Time DSSS_SIFS_TIME
aSIFSTime duration for DSSS (Table 16-4 "HR/DSSS PHY characteristics" of 802.11-2020)
Definition
wifi-constants.cc:30
ns3::MEDIUM_SYNC_THRESHOLD
const Time MEDIUM_SYNC_THRESHOLD
The aMediumSyncThreshold defined by Sec. 35.3.16.18.1 of 802.11be D4.0.
Definition
wifi-constants.cc:36
ns3::MAX_PROPAGATION_DELAY
const Time MAX_PROPAGATION_DELAY
maximum propagation delay
Definition
wifi-constants.cc:34
ns3::DSSS_SLOT_TIME
const Time DSSS_SLOT_TIME
aSlotTime duration for DSSS (Table 16-4 "HR/DSSS PHY characteristics" of 802.11-2020)
Definition
wifi-constants.cc:32
ns3::WIFI_TU
const Time WIFI_TU
Wi-Fi Time Unit value in microseconds (see IEEE 802.11-2020 sec.
Definition
wifi-constants.cc:14
ns3::OFDM_SIFS_TIME_10MHZ
const Time OFDM_SIFS_TIME_10MHZ
aSIFSTime value for OFDM (10 MHz channel spacing) (Table 17-21 "OFDM PHY characteristics" of 802....
Definition
wifi-constants.cc:22
ns3::OFDM_SLOT_TIME_20MHZ
const Time OFDM_SLOT_TIME_20MHZ
aSlotTime duration for OFDM (20 MHz channel spacing) (Table 17-21 "OFDM PHY characteristics" of 802....
Definition
wifi-constants.cc:20
ns3::OFDM_SIFS_TIME_5MHZ
const Time OFDM_SIFS_TIME_5MHZ
aSIFSTime value for OFDM (5 MHz channel spacing) (Table 17-21 "OFDM PHY characteristics" of 802....
Definition
wifi-constants.cc:26
ns3::OFDM_SLOT_TIME_5MHZ
const Time OFDM_SLOT_TIME_5MHZ
aSlotTime duration for OFDM (5 MHz channel spacing) (Table 17-21 "OFDM PHY characteristics" of 802....
Definition
wifi-constants.cc:28
ns3::OFDM_SIFS_TIME_20MHZ
const Time OFDM_SIFS_TIME_20MHZ
aSIFSTime value for OFDM (20 MHz channel spacing) (Table 17-21 "OFDM PHY characteristics" of 802....
Definition
wifi-constants.cc:18
ns3::OFDM_SLOT_TIME_10MHZ
const Time OFDM_SLOT_TIME_10MHZ
aSlotTime duration for OFDM (10 MHz channel spacing) (Table 17-21 "OFDM PHY characteristics" of 802....
Definition
wifi-constants.cc:24
ns3::EMLSR_RX_PHY_START_DELAY
const Time EMLSR_RX_PHY_START_DELAY
aRxPHYStartDelay value to use when waiting for a new frame in the context of EMLSR operations (Sec.
Definition
wifi-constants.cc:16
wifi-constants.h
Declaration of the constants used across wifi module.
src
wifi
model
wifi-constants.cc
Generated on Mon Jun 9 2025 11:07:04 for ns-3 by
1.11.0