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
36class HeConfiguration : public Object
37{
38 public:
40
45 static TypeId GetTypeId();
46
50 void SetGuardInterval(Time guardInterval);
54 Time GetGuardInterval() const;
58 void SetBssColor(uint8_t bssColor);
62 uint8_t GetBssColor() const;
66 void SetMaxTbPpduDelay(Time maxTbPpduDelay);
70 Time GetMaxTbPpduDelay() const;
71
72 private:
74 uint8_t m_bssColor;
77 uint8_t m_muBeAifsn;
78 uint8_t m_muBkAifsn;
79 uint8_t m_muViAifsn;
80 uint8_t m_muVoAifsn;
81 uint16_t m_muBeCwMin;
82 uint16_t m_muBkCwMin;
83 uint16_t m_muViCwMin;
84 uint16_t m_muVoCwMin;
85 uint16_t m_muBeCwMax;
86 uint16_t m_muBkCwMax;
87 uint16_t m_muViCwMax;
88 uint16_t m_muVoCwMax;
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.