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 
26 namespace ns3 {
27 
36 class HeConfiguration : public Object
37 {
38 public:
39  HeConfiguration ();
40 
45  static TypeId GetTypeId (void);
46 
50  void SetGuardInterval (Time guardInterval);
54  Time GetGuardInterval (void) const;
58  void SetMpduBufferSize (uint16_t size);
62  uint16_t GetMpduBufferSize (void) const;
63 
64 
65 private:
67  uint8_t m_bssColor;
68  uint16_t m_mpduBufferSize;
69 };
70 
71 } //namespace ns3
72 
73 #endif /* HE_CONFIGURATION_H */
Simulation virtual time values and global simulation resolution.
Definition: nstime.h:103
Time GetGuardInterval(void) const
uint16_t m_mpduBufferSize
MPDU buffer size.
HE configurationThis object stores HE configuration information, for use in modifying AP or STA behav...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
void SetMpduBufferSize(uint16_t size)
void SetGuardInterval(Time guardInterval)
static TypeId GetTypeId(void)
Get the type ID.
uint16_t GetMpduBufferSize(void) const
uint8_t m_bssColor
BSS color.
A base class which provides memory management and object aggregation.
Definition: object.h:87
Time m_guardInterval
Supported HE guard interval.
a unique identifier for an interface.
Definition: type-id.h:58