A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
he-configuration.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 University of Washington
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8#ifndef HE_CONFIGURATION_H
9#define HE_CONFIGURATION_H
10
11#include "ns3/deprecated.h"
12#include "ns3/nstime.h"
13#include "ns3/object.h"
14
15namespace ns3
16{
17
18/**
19 * @brief HE configuration
20 * @ingroup wifi
21 *
22 * This object stores HE configuration information, for use in modifying
23 * AP or STA behavior and for constructing HE-related information elements.
24 *
25 */
26class HeConfiguration : public Object
27{
28 public:
30
31 /**
32 * @brief Get the type ID.
33 * @return the object TypeId
34 */
35 static TypeId GetTypeId();
36
37 /**
38 * @param guardInterval the supported HE guard interval
39 */
40 void SetGuardInterval(Time guardInterval);
41
42 /**
43 * @return the supported HE guard interval
44 */
45 Time GetGuardInterval() const;
46
47 /**
48 * @param bssColor the BSS color
49 */
50 NS_DEPRECATED_3_44("Set the m_bssColor member variable instead")
51 void SetBssColor(uint8_t bssColor);
52
53 /**
54 * @return the BSS color
55 */
56 NS_DEPRECATED_3_44("Get the m_bssColor member variable instead")
57 uint8_t GetBssColor() const;
58
59 /**
60 * @param maxTbPpduDelay the maximum TB PPDU delay
61 */
62 NS_DEPRECATED_3_44("Set the m_maxTbPpduDelay member variable instead")
63 void SetMaxTbPpduDelay(Time maxTbPpduDelay);
64
65 /**
66 * @return the maximum TB PPDU delay
67 */
68 NS_DEPRECATED_3_44("Get the m_maxTbPpduDelay member variable instead")
69 Time GetMaxTbPpduDelay() const;
70
71 uint8_t m_bssColor; //!< BSS color
72 Time m_maxTbPpduDelay; //!< Max TB PPDU delay
73 uint8_t m_muBeAifsn; //!< AIFSN for BE in MU EDCA Parameter Set
74 uint8_t m_muBkAifsn; //!< AIFSN for BK in MU EDCA Parameter Set
75 uint8_t m_muViAifsn; //!< AIFSN for VI in MU EDCA Parameter Set
76 uint8_t m_muVoAifsn; //!< AIFSN for VO in MU EDCA Parameter Set
77 uint16_t m_muBeCwMin; //!< CWmin for BE in MU EDCA Parameter Set
78 uint16_t m_muBkCwMin; //!< CWmin for BK in MU EDCA Parameter Set
79 uint16_t m_muViCwMin; //!< CWmin for VI in MU EDCA Parameter Set
80 uint16_t m_muVoCwMin; //!< CWmin for VO in MU EDCA Parameter Set
81 uint16_t m_muBeCwMax; //!< CWmax for BE in MU EDCA Parameter Set
82 uint16_t m_muBkCwMax; //!< CWmax for BK in MU EDCA Parameter Set
83 uint16_t m_muViCwMax; //!< CWmax for VI in MU EDCA Parameter Set
84 uint16_t m_muVoCwMax; //!< CWmax for VO in MU EDCA Parameter Set
85 Time m_beMuEdcaTimer; //!< Timer for BE in MU EDCA Parameter Set
86 Time m_bkMuEdcaTimer; //!< Timer for BK in MU EDCA Parameter Set
87 Time m_viMuEdcaTimer; //!< Timer for VI in MU EDCA Parameter Set
88 Time m_voMuEdcaTimer; //!< Timer for VO in MU EDCA Parameter Set
89
90 private:
91 Time m_guardInterval; //!< Supported HE guard interval
92};
93
94} // namespace ns3
95
96#endif /* HE_CONFIGURATION_H */
HE configuration.
uint16_t m_muBkCwMin
CWmin for BK in MU EDCA Parameter Set.
uint16_t m_muBkCwMax
CWmax for BK in MU EDCA Parameter Set.
uint16_t m_muVoCwMin
CWmin for VO in MU EDCA Parameter Set.
static TypeId GetTypeId()
Get the type ID.
uint16_t m_muViCwMin
CWmin for VI in MU EDCA Parameter Set.
uint8_t m_muBeAifsn
AIFSN for BE in MU EDCA Parameter Set.
uint16_t m_muViCwMax
CWmax for VI in MU EDCA Parameter Set.
uint8_t m_muViAifsn
AIFSN for VI in MU EDCA Parameter Set.
uint16_t m_muBeCwMin
CWmin for BE in MU EDCA Parameter Set.
uint8_t m_muVoAifsn
AIFSN for VO in MU EDCA Parameter Set.
Time m_bkMuEdcaTimer
Timer for BK in MU EDCA Parameter Set.
Time m_viMuEdcaTimer
Timer for VI in MU EDCA Parameter Set.
void SetBssColor(uint8_t bssColor)
uint16_t m_muBeCwMax
CWmax for BE in MU EDCA Parameter Set.
void SetMaxTbPpduDelay(Time maxTbPpduDelay)
uint16_t m_muVoCwMax
CWmax for VO in MU EDCA Parameter Set.
Time m_beMuEdcaTimer
Timer for BE in MU EDCA Parameter Set.
Time m_guardInterval
Supported HE guard interval.
void SetGuardInterval(Time guardInterval)
uint8_t m_bssColor
BSS color.
Time m_voMuEdcaTimer
Timer for VO in MU EDCA Parameter Set.
uint8_t m_muBkAifsn
AIFSN for BK in MU EDCA Parameter Set.
Time m_maxTbPpduDelay
Max TB PPDU delay.
uint8_t GetBssColor() const
A base class which provides memory management and object aggregation.
Definition object.h:78
Simulation virtual time values and global simulation resolution.
Definition nstime.h:94
a unique identifier for an interface.
Definition type-id.h:48
#define NS_DEPRECATED_3_44(msg)
Tag for things deprecated in version ns-3.44.
Definition deprecated.h:91
Every class exported by the ns3 library is enclosed in the ns3 namespace.