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 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 *
17 */
18
19#ifndef HE_CONFIGURATION_H
20#define HE_CONFIGURATION_H
21
22#include "ns3/nstime.h"
23#include "ns3/object.h"
24
25namespace ns3
26{
27
28/**
29 * \brief HE configuration
30 * \ingroup wifi
31 *
32 * This object stores HE configuration information, for use in modifying
33 * AP or STA behavior and for constructing HE-related information elements.
34 *
35 */
36class HeConfiguration : public Object
37{
38 public:
40
41 /**
42 * \brief Get the type ID.
43 * \return the object TypeId
44 */
45 static TypeId GetTypeId();
46
47 /**
48 * \param guardInterval the supported HE guard interval
49 */
50 void SetGuardInterval(Time guardInterval);
51 /**
52 * \return the supported HE guard interval
53 */
54 Time GetGuardInterval() const;
55 /**
56 * \param bssColor the BSS color
57 */
58 void SetBssColor(uint8_t bssColor);
59 /**
60 * \return the BSS color
61 */
62 uint8_t GetBssColor() const;
63 /**
64 * \param maxTbPpduDelay the maximum TB PPDU delay
65 */
66 void SetMaxTbPpduDelay(Time maxTbPpduDelay);
67 /**
68 * \return the maximum TB PPDU delay
69 */
70 Time GetMaxTbPpduDelay() const;
71
72 private:
73 Time m_guardInterval; //!< Supported HE guard interval
74 uint8_t m_bssColor; //!< BSS color
75 Time m_maxTbPpduDelay; //!< Max TB PPDU delay
76 uint16_t m_mpduBufferSize; //!< MPDU buffer size
77 uint8_t m_muBeAifsn; //!< AIFSN for BE in MU EDCA Parameter Set
78 uint8_t m_muBkAifsn; //!< AIFSN for BK in MU EDCA Parameter Set
79 uint8_t m_muViAifsn; //!< AIFSN for VI in MU EDCA Parameter Set
80 uint8_t m_muVoAifsn; //!< AIFSN for VO in MU EDCA Parameter Set
81 uint16_t m_muBeCwMin; //!< CWmin for BE in MU EDCA Parameter Set
82 uint16_t m_muBkCwMin; //!< CWmin for BK in MU EDCA Parameter Set
83 uint16_t m_muViCwMin; //!< CWmin for VI in MU EDCA Parameter Set
84 uint16_t m_muVoCwMin; //!< CWmin for VO in MU EDCA Parameter Set
85 uint16_t m_muBeCwMax; //!< CWmax for BE in MU EDCA Parameter Set
86 uint16_t m_muBkCwMax; //!< CWmax for BK in MU EDCA Parameter Set
87 uint16_t m_muViCwMax; //!< CWmax for VI in MU EDCA Parameter Set
88 uint16_t m_muVoCwMax; //!< CWmax for VO in MU EDCA Parameter Set
89 Time m_beMuEdcaTimer; //!< Timer for BE in MU EDCA Parameter Set
90 Time m_bkMuEdcaTimer; //!< Timer for BK in MU EDCA Parameter Set
91 Time m_viMuEdcaTimer; //!< Timer for VI in MU EDCA Parameter Set
92 Time m_voMuEdcaTimer; //!< Timer for VO in MU EDCA Parameter Set
93};
94
95} // namespace ns3
96
97#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.
Time GetGuardInterval() const
Time GetMaxTbPpduDelay() const
uint16_t m_mpduBufferSize
MPDU buffer size.
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:89
Simulation virtual time values and global simulation resolution.
Definition: nstime.h:105
a unique identifier for an interface.
Definition: type-id.h:59
Every class exported by the ns3 library is enclosed in the ns3 namespace.