A Discrete-Event Network Simulator
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
20namespace ns3
21{
22
23/// UL MU Data Disable flag at non-AP STA
24static constexpr bool DEFAULT_WIFI_UL_MU_DATA_DISABLE{false};
25
26/// UL MU Data Disable Rx support at AP
27static 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 */
41
42} // namespace ns3
43
44#endif /* WIFI_NS3_CONSTANTS_H */
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static constexpr bool DEFAULT_WIFI_UL_MU_DATA_DISABLE
UL MU Data Disable flag at non-AP STA.
static constexpr bool DEFAULT_WIFI_UL_MU_DATA_DISABLE_RX
UL MU Data Disable Rx support at AP.
Time DEFAULT_BEACON_INTERVAL()
Default Beacon interval.