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-ns3-constants.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Sharan Naribole <sharan.naribole@gmail.com>
7
*/
8
9
#ifndef WIFI_NS3_CONSTANTS_H
10
#define WIFI_NS3_CONSTANTS_H
11
12
#include "ns3/nstime.h"
13
14
/**
15
* @file
16
* @ingroup wifi
17
* Declaration of default values used across wifi module
18
*/
19
20
namespace
ns3
21
{
22
23
/// UL MU Data Disable flag at non-AP STA
24
static
constexpr
bool
DEFAULT_WIFI_UL_MU_DATA_DISABLE
{
false
};
25
26
/// UL MU Data Disable Rx support at AP
27
static
constexpr
bool
DEFAULT_WIFI_UL_MU_DATA_DISABLE_RX
{
true
};
28
29
/**
30
* @brief Default Beacon interval
31
*
32
* Default beacon interval.
33
* Note: inlining Time can cause issues on MSVC due to how DLLs are
34
* loaded and runtime precision tracking. We temporarily call a function
35
* that returns the interval declared in the wifi-ns3-constants.cc file,
36
* until a permanent solution is found.
37
*
38
* @return the default beacon interval
39
*/
40
Time
DEFAULT_BEACON_INTERVAL
();
41
42
}
// namespace ns3
43
44
#endif
/* WIFI_NS3_CONSTANTS_H */
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::DEFAULT_WIFI_UL_MU_DATA_DISABLE
static constexpr bool DEFAULT_WIFI_UL_MU_DATA_DISABLE
UL MU Data Disable flag at non-AP STA.
Definition
wifi-ns3-constants.h:24
ns3::DEFAULT_WIFI_UL_MU_DATA_DISABLE_RX
static constexpr bool DEFAULT_WIFI_UL_MU_DATA_DISABLE_RX
UL MU Data Disable Rx support at AP.
Definition
wifi-ns3-constants.h:27
ns3::DEFAULT_BEACON_INTERVAL
Time DEFAULT_BEACON_INTERVAL()
Default Beacon interval.
Definition
wifi-ns3-constants.cc:6
src
wifi
model
wifi-ns3-constants.h
Generated on
for ns-3 by
1.15.0