A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
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
static
TypeId
GetTypeId
(
void
);
41
45
void
SetGuardInterval
(
Time
guardInterval);
49
Time
GetGuardInterval
(
void
)
const
;
53
void
SetMpduBufferSize
(uint16_t size);
57
uint16_t
GetMpduBufferSize
(
void
)
const
;
58
59
60
private
:
61
Time
m_guardInterval
;
62
uint8_t
m_bssColor
;
63
uint16_t
m_mpduBufferSize
;
64
};
65
66
}
//namespace ns3
67
68
#endif
/* HE_CONFIGURATION_H */
ns3::Time
Simulation virtual time values and global simulation resolution.
Definition:
nstime.h:102
ns3::HeConfiguration::HeConfiguration
HeConfiguration()
Definition:
he-configuration.cc:30
ns3::HeConfiguration::GetGuardInterval
Time GetGuardInterval(void) const
Definition:
he-configuration.cc:73
ns3::HeConfiguration::m_mpduBufferSize
uint16_t m_mpduBufferSize
MPDU buffer size.
Definition:
he-configuration.h:63
ns3::HeConfiguration
HE configurationThis object stores HE configuration information, for use in modifying AP or STA behav...
Definition:
he-configuration.h:36
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::HeConfiguration::SetMpduBufferSize
void SetMpduBufferSize(uint16_t size)
Definition:
he-configuration.cc:79
ns3::HeConfiguration::SetGuardInterval
void SetGuardInterval(Time guardInterval)
Definition:
he-configuration.cc:65
ns3::HeConfiguration::GetTypeId
static TypeId GetTypeId(void)
Definition:
he-configuration.cc:36
ns3::HeConfiguration::GetMpduBufferSize
uint16_t GetMpduBufferSize(void) const
Definition:
he-configuration.cc:86
ns3::HeConfiguration::m_bssColor
uint8_t m_bssColor
BSS color.
Definition:
he-configuration.h:62
ns3::Object
A base class which provides memory management and object aggregation.
Definition:
object.h:87
ns3::HeConfiguration::m_guardInterval
Time m_guardInterval
Supported HE guard interval.
Definition:
he-configuration.h:61
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:58
src
wifi
model
he-configuration.h
Generated on Wed Aug 21 2019 03:38:27 for ns-3 by
1.8.14