A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
ht-configuration.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018 Sébastien Deronne
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
* Author: Sébastien Deronne <sebastien.deronne@gmail.com>
18
*/
19
20
#ifndef HT_CONFIGURATION_H
21
#define HT_CONFIGURATION_H
22
23
#include "ns3/object.h"
24
25
namespace
ns3
26
{
27
36
class
HtConfiguration
:
public
Object
37
{
38
public
:
39
HtConfiguration
();
40
~HtConfiguration
()
override
;
41
46
static
TypeId
GetTypeId
();
47
54
void
SetShortGuardIntervalSupported
(
bool
enable);
61
bool
GetShortGuardIntervalSupported
()
const
;
68
void
SetLdpcSupported
(
bool
enable);
75
bool
GetLdpcSupported
()
const
;
82
void
Set40MHzOperationSupported
(
bool
enable);
87
bool
Get40MHzOperationSupported
()
const
;
88
89
private
:
90
bool
m_sgiSupported
;
91
bool
m_ldpcSupported
;
92
bool
m_40MHzSupported
;
93
};
94
95
}
// namespace ns3
96
97
#endif
/* HT_CONFIGURATION_H */
ns3::HtConfiguration
HT configuration.
Definition:
ht-configuration.h:37
ns3::HtConfiguration::m_40MHzSupported
bool m_40MHzSupported
whether 40 MHz operation is supported
Definition:
ht-configuration.h:92
ns3::HtConfiguration::Get40MHzOperationSupported
bool Get40MHzOperationSupported() const
Definition:
ht-configuration.cc:106
ns3::HtConfiguration::GetShortGuardIntervalSupported
bool GetShortGuardIntervalSupported() const
Definition:
ht-configuration.cc:80
ns3::HtConfiguration::m_ldpcSupported
bool m_ldpcSupported
flag whether LDPC coding is supported
Definition:
ht-configuration.h:91
ns3::HtConfiguration::Set40MHzOperationSupported
void Set40MHzOperationSupported(bool enable)
Enable or disable 40 MHz operation support.
Definition:
ht-configuration.cc:99
ns3::HtConfiguration::SetShortGuardIntervalSupported
void SetShortGuardIntervalSupported(bool enable)
Enable or disable SGI support.
Definition:
ht-configuration.cc:73
ns3::HtConfiguration::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition:
ht-configuration.cc:44
ns3::HtConfiguration::HtConfiguration
HtConfiguration()
Definition:
ht-configuration.cc:33
ns3::HtConfiguration::~HtConfiguration
~HtConfiguration() override
Definition:
ht-configuration.cc:38
ns3::HtConfiguration::m_sgiSupported
bool m_sgiSupported
flag whether short guard interval is supported
Definition:
ht-configuration.h:90
ns3::HtConfiguration::SetLdpcSupported
void SetLdpcSupported(bool enable)
Enable or disable LDPC support.
Definition:
ht-configuration.cc:86
ns3::HtConfiguration::GetLdpcSupported
bool GetLdpcSupported() const
Definition:
ht-configuration.cc:93
ns3::Object
A base class which provides memory management and object aggregation.
Definition:
object.h:89
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:59
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
wifi
model
ht
ht-configuration.h
Generated on Sun Jul 2 2023 18:22:10 for ns-3 by
1.9.6