A Discrete-Event Network Simulator
API
he-configuration.h
Go to the documentation of this file.
1/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2/*
3 * Copyright (c) 2018 University of Washington
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation;
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 */
19
20#ifndef HE_CONFIGURATION_H
21#define HE_CONFIGURATION_H
22
23#include "ns3/object.h"
24#include "ns3/nstime.h"
25
26namespace ns3 {
27
36class HeConfiguration : public Object
37{
38public:
40
45 static TypeId GetTypeId (void);
46
50 void SetGuardInterval (Time guardInterval);
54 Time GetGuardInterval (void) const;
58 void SetBssColor (uint8_t bssColor);
62 uint8_t GetBssColor (void) const;
66 void SetMpduBufferSize (uint16_t size);
70 uint16_t GetMpduBufferSize (void) const;
71
72
73private:
75 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.
static TypeId GetTypeId(void)
Get the type ID.
uint16_t m_muBkCwMin
CWmin for BK in MU EDCA Parameter Set.
uint16_t m_muBkCwMax
CWmax for BK in MU EDCA Parameter Set.
uint8_t GetBssColor(void) const
uint16_t m_muVoCwMin
CWmin for VO in MU EDCA Parameter Set.
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.
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 GetGuardInterval(void) const
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.
uint16_t GetMpduBufferSize(void) const
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.
void SetMpduBufferSize(uint16_t size)
uint8_t m_muBkAifsn
AIFSN for BK in MU EDCA Parameter Set.
A base class which provides memory management and object aggregation.
Definition: object.h:88
Simulation virtual time values and global simulation resolution.
Definition: nstime.h:103
a unique identifier for an interface.
Definition: type-id.h:59
Every class exported by the ns3 library is enclosed in the ns3 namespace.