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/nstime.h"
12#include "ns3/object.h"
13
14namespace ns3
15{
16
17/**
18 * \brief HE configuration
19 * \ingroup wifi
20 *
21 * This object stores HE configuration information, for use in modifying
22 * AP or STA behavior and for constructing HE-related information elements.
23 *
24 */
25class HeConfiguration : public Object
26{
27 public:
29
30 /**
31 * \brief Get the type ID.
32 * \return the object TypeId
33 */
34 static TypeId GetTypeId();
35
36 /**
37 * \param guardInterval the supported HE guard interval
38 */
39 void SetGuardInterval(Time guardInterval);
40 /**
41 * \return the supported HE guard interval
42 */
43 Time GetGuardInterval() const;
44 /**
45 * \param bssColor the BSS color
46 */
47 void SetBssColor(uint8_t bssColor);
48 /**
49 * \return the BSS color
50 */
51 uint8_t GetBssColor() const;
52 /**
53 * \param maxTbPpduDelay the maximum TB PPDU delay
54 */
55 void SetMaxTbPpduDelay(Time maxTbPpduDelay);
56 /**
57 * \return the maximum TB PPDU delay
58 */
59 Time GetMaxTbPpduDelay() const;
60
61 private:
62 Time m_guardInterval; //!< Supported HE guard interval
63 uint8_t m_bssColor; //!< BSS color
64 Time m_maxTbPpduDelay; //!< Max TB PPDU delay
65 uint16_t m_mpduBufferSize; //!< MPDU buffer size
66 uint8_t m_muBeAifsn; //!< AIFSN for BE in MU EDCA Parameter Set
67 uint8_t m_muBkAifsn; //!< AIFSN for BK in MU EDCA Parameter Set
68 uint8_t m_muViAifsn; //!< AIFSN for VI in MU EDCA Parameter Set
69 uint8_t m_muVoAifsn; //!< AIFSN for VO in MU EDCA Parameter Set
70 uint16_t m_muBeCwMin; //!< CWmin for BE in MU EDCA Parameter Set
71 uint16_t m_muBkCwMin; //!< CWmin for BK in MU EDCA Parameter Set
72 uint16_t m_muViCwMin; //!< CWmin for VI in MU EDCA Parameter Set
73 uint16_t m_muVoCwMin; //!< CWmin for VO in MU EDCA Parameter Set
74 uint16_t m_muBeCwMax; //!< CWmax for BE in MU EDCA Parameter Set
75 uint16_t m_muBkCwMax; //!< CWmax for BK in MU EDCA Parameter Set
76 uint16_t m_muViCwMax; //!< CWmax for VI in MU EDCA Parameter Set
77 uint16_t m_muVoCwMax; //!< CWmax for VO in MU EDCA Parameter Set
78 Time m_beMuEdcaTimer; //!< Timer for BE in MU EDCA Parameter Set
79 Time m_bkMuEdcaTimer; //!< Timer for BK in MU EDCA Parameter Set
80 Time m_viMuEdcaTimer; //!< Timer for VI in MU EDCA Parameter Set
81 Time m_voMuEdcaTimer; //!< Timer for VO in MU EDCA Parameter Set
82};
83
84} // namespace ns3
85
86#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.
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:78
Simulation virtual time values and global simulation resolution.
Definition nstime.h:94
a unique identifier for an interface.
Definition type-id.h:48
Every class exported by the ns3 library is enclosed in the ns3 namespace.