A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
wifi-phy-header.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2018 Sébastien Deronne
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
* Author: Sébastien Deronne <sebastien.deronne@gmail.com>
19
*/
20
21
#ifndef WIFI_PHY_HEADER_H
22
#define WIFI_PHY_HEADER_H
23
24
#include "ns3/header.h"
25
26
namespace
ns3
{
27
34
class
DsssSigHeader
:
public
Header
35
{
36
public
:
37
DsssSigHeader
();
38
virtual
~DsssSigHeader
();
39
44
static
TypeId
GetTypeId
(
void
);
45
TypeId
GetInstanceTypeId
(
void
)
const
;
46
void
Print
(std::ostream &os)
const
;
47
uint32_t
GetSerializedSize
(
void
)
const
;
48
void
Serialize
(
Buffer::Iterator
start
)
const
;
49
uint32_t
Deserialize
(
Buffer::Iterator
start
);
50
56
void
SetRate
(uint64_t rate);
62
uint64_t
GetRate
(
void
)
const
;
68
void
SetLength
(uint16_t length);
74
uint16_t
GetLength
(
void
)
const
;
75
76
77
private
:
78
uint8_t
m_rate
;
79
uint16_t
m_length
;
80
};
81
82
89
class
LSigHeader
:
public
Header
90
{
91
public
:
92
LSigHeader
();
93
virtual
~LSigHeader
();
94
99
static
TypeId
GetTypeId
(
void
);
100
TypeId
GetInstanceTypeId
(
void
)
const
;
101
void
Print
(std::ostream &os)
const
;
102
uint32_t
GetSerializedSize
(
void
)
const
;
103
void
Serialize
(
Buffer::Iterator
start
)
const
;
104
uint32_t
Deserialize
(
Buffer::Iterator
start
);
105
112
void
SetRate
(uint64_t rate, uint16_t channelWidth = 20);
119
uint64_t
GetRate
(uint16_t channelWidth = 20)
const
;
125
void
SetLength
(uint16_t length);
131
uint16_t
GetLength
(
void
)
const
;
132
133
134
private
:
135
uint8_t
m_rate
;
136
uint16_t
m_length
;
137
};
138
139
146
class
HtSigHeader
:
public
Header
147
{
148
public
:
149
HtSigHeader
();
150
virtual
~HtSigHeader
();
151
156
static
TypeId
GetTypeId
(
void
);
157
TypeId
GetInstanceTypeId
(
void
)
const
;
158
void
Print
(std::ostream &os)
const
;
159
uint32_t
GetSerializedSize
(
void
)
const
;
160
void
Serialize
(
Buffer::Iterator
start
)
const
;
161
uint32_t
Deserialize
(
Buffer::Iterator
start
);
162
168
void
SetMcs
(uint8_t mcs);
174
uint8_t
GetMcs
(
void
)
const
;
180
void
SetChannelWidth
(uint16_t channelWidth);
186
uint16_t
GetChannelWidth
(
void
)
const
;
192
void
SetAggregation
(
bool
aggregation);
198
bool
GetAggregation
(
void
)
const
;
204
void
SetFecCoding
(
bool
ldpc);
210
bool
IsLdpcFecCoding
(
void
)
const
;
216
void
SetShortGuardInterval
(
bool
sgi
);
222
bool
GetShortGuardInterval
(
void
)
const
;
228
void
SetHtLength
(uint16_t length);
234
uint16_t
GetHtLength
(
void
)
const
;
235
236
237
private
:
238
uint8_t
m_mcs
;
239
uint8_t
m_cbw20_40
;
240
uint16_t
m_htLength
;
241
uint8_t
m_aggregation
;
242
uint8_t
m_fecCoding
;
243
uint8_t
m_sgi
;
244
};
245
252
class
VhtSigHeader
:
public
Header
253
{
254
public
:
255
VhtSigHeader
();
256
virtual
~VhtSigHeader
();
257
262
static
TypeId
GetTypeId
(
void
);
263
TypeId
GetInstanceTypeId
(
void
)
const
;
264
void
Print
(std::ostream &os)
const
;
265
uint32_t
GetSerializedSize
(
void
)
const
;
266
void
Serialize
(
Buffer::Iterator
start
)
const
;
267
uint32_t
Deserialize
(
Buffer::Iterator
start
);
268
274
void
SetMuFlag
(
bool
mu);
275
281
void
SetChannelWidth
(uint16_t channelWidth);
287
uint16_t
GetChannelWidth
(
void
)
const
;
293
void
SetNStreams
(uint8_t nStreams);
299
uint8_t
GetNStreams
(
void
)
const
;
300
306
void
SetShortGuardInterval
(
bool
sgi
);
312
bool
GetShortGuardInterval
(
void
)
const
;
318
void
SetShortGuardIntervalDisambiguation
(
bool
disambiguation);
324
bool
GetShortGuardIntervalDisambiguation
(
void
)
const
;
330
void
SetCoding
(
bool
ldpc);
336
bool
IsLdpcCoding
(
void
)
const
;
342
void
SetSuMcs
(uint8_t mcs);
348
uint8_t
GetSuMcs
(
void
)
const
;
349
350
351
private
:
352
//VHT-SIG-A1 fields
353
uint8_t
m_bw
;
354
uint8_t
m_nsts
;
355
356
//VHT-SIG-A2 fields
357
uint8_t
m_sgi
;
358
uint8_t
m_sgi_disambiguation
;
359
uint8_t
m_coding
;
360
uint8_t
m_suMcs
;
361
363
bool
m_mu
;
364
};
365
366
372
class
HeSigHeader
:
public
Header
373
{
374
public
:
375
HeSigHeader
();
376
virtual
~HeSigHeader
();
377
382
static
TypeId
GetTypeId
(
void
);
383
TypeId
GetInstanceTypeId
(
void
)
const
;
384
void
Print
(std::ostream &os)
const
;
385
uint32_t
GetSerializedSize
(
void
)
const
;
386
void
Serialize
(
Buffer::Iterator
start
)
const
;
387
uint32_t
Deserialize
(
Buffer::Iterator
start
);
388
394
void
SetMuFlag
(
bool
mu);
395
401
void
SetMcs
(uint8_t mcs);
407
uint8_t
GetMcs
(
void
)
const
;
413
void
SetBssColor
(uint8_t bssColor);
419
uint8_t
GetBssColor
(
void
)
const
;
425
void
SetChannelWidth
(uint16_t channelWidth);
431
uint16_t
GetChannelWidth
(
void
)
const
;
438
void
SetGuardIntervalAndLtfSize
(uint16_t gi, uint8_t ltf);
444
uint16_t
GetGuardInterval
(
void
)
const
;
450
void
SetNStreams
(uint8_t nStreams);
456
uint8_t
GetNStreams
(
void
)
const
;
462
void
SetCoding
(
bool
ldpc);
468
bool
IsLdpcCoding
(
void
)
const
;
469
470
private
:
471
//HE-SIG-A1 fields
472
uint8_t
m_format
;
473
uint8_t
m_bssColor
;
474
uint8_t
m_ul_dl
;
475
uint8_t
m_mcs
;
476
uint8_t
m_spatialReuse
;
477
uint8_t
m_bandwidth
;
478
uint8_t
m_gi_ltf_size
;
479
uint8_t
m_nsts
;
480
481
//HE-SIG-A2 fields
482
uint8_t
m_coding
;
483
485
bool
m_mu
;
486
};
487
488
}
//namespace ns3
489
490
#endif
/* WIFI_PHY_HEADER_H */
ns3::VhtSigHeader::IsLdpcCoding
bool IsLdpcCoding(void) const
Return whether LDPC is used or not.
Definition:
wifi-phy-header.cc:634
ns3::Header
Protocol header serialization and deserialization.
Definition:
header.h:42
ns3::HeSigHeader::GetChannelWidth
uint16_t GetChannelWidth(void) const
Return the channel width (in MHz).
Definition:
wifi-phy-header.cc:824
ns3::DsssSigHeader::Print
void Print(std::ostream &os) const
Definition:
wifi-phy-header.cc:55
ns3::HtSigHeader::Print
void Print(std::ostream &os) const
Definition:
wifi-phy-header.cc:365
ns3::HeSigHeader::m_bandwidth
uint8_t m_bandwidth
Bandwidth field.
Definition:
wifi-phy-header.h:477
ns3::HtSigHeader::m_sgi
uint8_t m_sgi
Short Guard Interval.
Definition:
wifi-phy-header.h:243
ns3::HtSigHeader::SetFecCoding
void SetFecCoding(bool ldpc)
Fill the FEC coding field of HT-SIG.
Definition:
wifi-phy-header.cc:431
ns3::HeSigHeader::m_spatialReuse
uint8_t m_spatialReuse
Spatial Reuse field.
Definition:
wifi-phy-header.h:476
ns3::HtSigHeader::m_cbw20_40
uint8_t m_cbw20_40
CBW 20/40.
Definition:
wifi-phy-header.h:239
ns3::HtSigHeader::SetMcs
void SetMcs(uint8_t mcs)
Fill the MCS field of HT-SIG.
Definition:
wifi-phy-header.cc:382
ns3::HtSigHeader::m_htLength
uint16_t m_htLength
HT length.
Definition:
wifi-phy-header.h:240
ns3::VhtSigHeader::m_coding
uint8_t m_coding
SU/MU coding (0 for BCC, 1 for LDPC)
Definition:
wifi-phy-header.h:359
ns3::HeSigHeader::m_format
uint8_t m_format
Format bit.
Definition:
wifi-phy-header.h:472
ns3::VhtSigHeader::SetChannelWidth
void SetChannelWidth(uint16_t channelWidth)
Fill the channel width field of VHT-SIG-A1 (in MHz).
Definition:
wifi-phy-header.cc:549
ns3::HeSigHeader::m_ul_dl
uint8_t m_ul_dl
UL/DL bit.
Definition:
wifi-phy-header.h:474
ns3::HtSigHeader::GetChannelWidth
uint16_t GetChannelWidth(void) const
Return the channel width (in MHz).
Definition:
wifi-phy-header.cc:401
ns3::HeSigHeader::SetMuFlag
void SetMuFlag(bool mu)
Set the Multi-User (MU) flag.
Definition:
wifi-phy-header.cc:771
ns3::HeSigHeader::m_mcs
uint8_t m_mcs
MCS field.
Definition:
wifi-phy-header.h:475
ns3::HeSigHeader::SetNStreams
void SetNStreams(uint8_t nStreams)
Fill the number of streams field of HE-SIG-A1.
Definition:
wifi-phy-header.cc:884
visualizer.core.start
def start()
Definition:
core.py:1855
ns3::HeSigHeader::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
wifi-phy-header.cc:729
ns3::VhtSigHeader
Implements the IEEE 802.11ac PHY header (VHT-SIG-A1/A2/B).
Definition:
wifi-phy-header.h:252
ns3::HtSigHeader::HtSigHeader
HtSigHeader()
Definition:
wifi-phy-header.cc:334
ns3::HeSigHeader::~HeSigHeader
virtual ~HeSigHeader()
Definition:
wifi-phy-header.cc:724
ns3::HeSigHeader::Print
void Print(std::ostream &os) const
Definition:
wifi-phy-header.cc:746
ns3::HtSigHeader::Serialize
void Serialize(Buffer::Iterator start) const
Definition:
wifi-phy-header.cc:455
ns3::HeSigHeader::m_gi_ltf_size
uint8_t m_gi_ltf_size
GI+LTF Size field.
Definition:
wifi-phy-header.h:478
ns3::VhtSigHeader::GetChannelWidth
uint16_t GetChannelWidth(void) const
Return the channel width (in MHz).
Definition:
wifi-phy-header.cc:570
ns3::HeSigHeader::SetCoding
void SetCoding(bool ldpc)
Fill the coding field of HE-SIG-A2.
Definition:
wifi-phy-header.cc:897
ns3::VhtSigHeader::GetInstanceTypeId
TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
wifi-phy-header.cc:513
ns3::VhtSigHeader::SetShortGuardIntervalDisambiguation
void SetShortGuardIntervalDisambiguation(bool disambiguation)
Fill the short GI NSYM disambiguation field of VHT-SIG-A2.
Definition:
wifi-phy-header.cc:616
ns3::LSigHeader::SetRate
void SetRate(uint64_t rate, uint16_t channelWidth=20)
Fill the RATE field of L-SIG (in bit/s).
Definition:
wifi-phy-header.cc:196
ns3::HeSigHeader::m_nsts
uint8_t m_nsts
NSTS.
Definition:
wifi-phy-header.h:479
ns3::HeSigHeader::SetBssColor
void SetBssColor(uint8_t bssColor)
Fill the BSS Color field of HE-SIG-A1.
Definition:
wifi-phy-header.cc:790
ns3::DsssSigHeader::SetRate
void SetRate(uint64_t rate)
Fill the RATE field of L-SIG (in bit/s).
Definition:
wifi-phy-header.cc:68
std
STL namespace.
ns3::VhtSigHeader::m_nsts
uint8_t m_nsts
NSTS.
Definition:
wifi-phy-header.h:354
ns3::DsssSigHeader::Deserialize
uint32_t Deserialize(Buffer::Iterator start)
Definition:
wifi-phy-header.cc:143
ns3::HeSigHeader::GetMcs
uint8_t GetMcs(void) const
Return the MCS field of HE-SIG-A1.
Definition:
wifi-phy-header.cc:784
ns3::DsssSigHeader::GetLength
uint16_t GetLength(void) const
Return the LENGTH field of L-SIG (in bytes).
Definition:
wifi-phy-header.cc:128
ns3::DsssSigHeader::m_length
uint16_t m_length
LENGTH field.
Definition:
wifi-phy-header.h:79
ns3::VhtSigHeader::Deserialize
uint32_t Deserialize(Buffer::Iterator start)
Definition:
wifi-phy-header.cc:681
ns3::HeSigHeader::IsLdpcCoding
bool IsLdpcCoding(void) const
Return whether LDPC is used or not.
Definition:
wifi-phy-header.cc:903
ns3::Buffer::Iterator
iterator in a Buffer instance
Definition:
buffer.h:98
ns3::VhtSigHeader::m_bw
uint8_t m_bw
BW.
Definition:
wifi-phy-header.h:353
ns3::DsssSigHeader::GetInstanceTypeId
TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
wifi-phy-header.cc:49
ns3::LSigHeader::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
wifi-phy-header.cc:166
ns3::DsssSigHeader::DsssSigHeader
DsssSigHeader()
Definition:
wifi-phy-header.cc:27
ns3::HtSigHeader::GetInstanceTypeId
TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
wifi-phy-header.cc:359
ns3::VhtSigHeader::SetCoding
void SetCoding(bool ldpc)
Fill the coding field of VHT-SIG-A2.
Definition:
wifi-phy-header.cc:628
ns3::DsssSigHeader::~DsssSigHeader
virtual ~DsssSigHeader()
Definition:
wifi-phy-header.cc:33
ns3::DsssSigHeader::Serialize
void Serialize(Buffer::Iterator start) const
Definition:
wifi-phy-header.cc:134
ns3::HtSigHeader::GetSerializedSize
uint32_t GetSerializedSize(void) const
Definition:
wifi-phy-header.cc:376
ns3::HeSigHeader::SetMcs
void SetMcs(uint8_t mcs)
Fill the MCS field of HE-SIG-A1.
Definition:
wifi-phy-header.cc:777
ns3::LSigHeader::m_rate
uint8_t m_rate
RATE field.
Definition:
wifi-phy-header.h:135
ns3::VhtSigHeader::SetNStreams
void SetNStreams(uint8_t nStreams)
Fill the number of streams field of VHT-SIG-A1.
Definition:
wifi-phy-header.cc:591
ns3::LSigHeader::Print
void Print(std::ostream &os) const
Definition:
wifi-phy-header.cc:183
ns3::VhtSigHeader::GetSerializedSize
uint32_t GetSerializedSize(void) const
Definition:
wifi-phy-header.cc:530
ns3::VhtSigHeader::SetSuMcs
void SetSuMcs(uint8_t mcs)
Fill the SU VHT MCS field of VHT-SIG-A2.
Definition:
wifi-phy-header.cc:641
ns3::HeSigHeader::m_mu
bool m_mu
This is used to decide whether MU SIG-B should be added or not.
Definition:
wifi-phy-header.h:485
ns3::HeSigHeader::GetSerializedSize
uint32_t GetSerializedSize(void) const
Definition:
wifi-phy-header.cc:758
ns3::HtSigHeader::GetShortGuardInterval
bool GetShortGuardInterval(void) const
Return the short guard interval field of HT-SIG.
Definition:
wifi-phy-header.cc:449
ns3::LSigHeader::GetLength
uint16_t GetLength(void) const
Return the LENGTH field of L-SIG (in bytes).
Definition:
wifi-phy-header.cc:298
ns3::HtSigHeader::m_fecCoding
uint8_t m_fecCoding
FEC coding (0 for BCC or 1 for LDPC)
Definition:
wifi-phy-header.h:242
ns3::LSigHeader::LSigHeader
LSigHeader()
Definition:
wifi-phy-header.cc:155
ns3::HtSigHeader::~HtSigHeader
virtual ~HtSigHeader()
Definition:
wifi-phy-header.cc:343
ns3::LSigHeader
Implements the IEEE 802.11 OFDM and ERP OFDM L-SIG PHY header.
Definition:
wifi-phy-header.h:89
ns3::VhtSigHeader::SetMuFlag
void SetMuFlag(bool mu)
Set the Multi-User (MU) flag.
Definition:
wifi-phy-header.cc:543
ns3::HeSigHeader::m_coding
uint8_t m_coding
Coding (0 for BCC, 1 for LDPC)
Definition:
wifi-phy-header.h:482
ns3::VhtSigHeader::~VhtSigHeader
virtual ~VhtSigHeader()
Definition:
wifi-phy-header.cc:497
ns3::VhtSigHeader::GetNStreams
uint8_t GetNStreams(void) const
Return the number of streams.
Definition:
wifi-phy-header.cc:598
ns3::LSigHeader::SetLength
void SetLength(uint16_t length)
Fill the LENGTH field of L-SIG (in bytes).
Definition:
wifi-phy-header.cc:291
ns3::HeSigHeader::GetNStreams
uint8_t GetNStreams(void) const
Return the number of streams.
Definition:
wifi-phy-header.cc:891
ns3::HtSigHeader::SetAggregation
void SetAggregation(bool aggregation)
Fill the aggregation field of HT-SIG.
Definition:
wifi-phy-header.cc:419
ns3::VhtSigHeader::Serialize
void Serialize(Buffer::Iterator start) const
Definition:
wifi-phy-header.cc:654
ns3::HeSigHeader::SetChannelWidth
void SetChannelWidth(uint16_t channelWidth)
Fill the channel width field of HE-SIG-A1 (in MHz).
Definition:
wifi-phy-header.cc:803
ns3::LSigHeader::m_length
uint16_t m_length
LENGTH field.
Definition:
wifi-phy-header.h:136
ns3::DsssSigHeader::m_rate
uint8_t m_rate
RATE field.
Definition:
wifi-phy-header.h:78
ns3::HtSigHeader::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
wifi-phy-header.cc:348
ns3::HtSigHeader::IsLdpcFecCoding
bool IsLdpcFecCoding(void) const
Return whether LDPC is used or not.
Definition:
wifi-phy-header.cc:437
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::VhtSigHeader::Print
void Print(std::ostream &os) const
Definition:
wifi-phy-header.cc:519
ns3::HtSigHeader::Deserialize
uint32_t Deserialize(Buffer::Iterator start)
Definition:
wifi-phy-header.cc:470
ns3::HeSigHeader::Deserialize
uint32_t Deserialize(Buffer::Iterator start)
Definition:
wifi-phy-header.cc:940
ns3::HtSigHeader::GetAggregation
bool GetAggregation(void) const
Return the aggregation field of HT-SIG.
Definition:
wifi-phy-header.cc:425
ns3::VhtSigHeader::m_sgi_disambiguation
uint8_t m_sgi_disambiguation
Short GI NSYM Disambiguation.
Definition:
wifi-phy-header.h:358
ns3::HeSigHeader::Serialize
void Serialize(Buffer::Iterator start) const
Definition:
wifi-phy-header.cc:910
ns3::HtSigHeader::GetMcs
uint8_t GetMcs(void) const
Return the MCS field of HT-SIG.
Definition:
wifi-phy-header.cc:389
ns3::VhtSigHeader::m_suMcs
uint8_t m_suMcs
SU VHT MCS.
Definition:
wifi-phy-header.h:360
ns3::VhtSigHeader::m_sgi
uint8_t m_sgi
Short GI.
Definition:
wifi-phy-header.h:357
ns3::HtSigHeader::SetChannelWidth
void SetChannelWidth(uint16_t channelWidth)
Fill the channel width field of HT-SIG (in MHz).
Definition:
wifi-phy-header.cc:395
ns3::DsssSigHeader::GetRate
uint64_t GetRate(void) const
Return the RATE field of L-SIG (in bit/s).
Definition:
wifi-phy-header.cc:97
ns3::LSigHeader::Serialize
void Serialize(Buffer::Iterator start) const
Definition:
wifi-phy-header.cc:304
ns3::HtSigHeader
Implements the IEEE 802.11n PHY header (HT-SIG1/2).
Definition:
wifi-phy-header.h:146
ns3::LSigHeader::~LSigHeader
virtual ~LSigHeader()
Definition:
wifi-phy-header.cc:161
ns3::VhtSigHeader::m_mu
bool m_mu
This is used to decide whether MU SIG-B should be added or not.
Definition:
wifi-phy-header.h:363
ns3::VhtSigHeader::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
wifi-phy-header.cc:502
ns3::HtSigHeader::SetHtLength
void SetHtLength(uint16_t length)
Fill the HT length field of HT-SIG (in bytes).
Definition:
wifi-phy-header.cc:407
ns3::VhtSigHeader::GetSuMcs
uint8_t GetSuMcs(void) const
Return the SU VHT MCS field of VHT-SIG-A2.
Definition:
wifi-phy-header.cc:648
ns3::VhtSigHeader::GetShortGuardInterval
bool GetShortGuardInterval(void) const
Return the short GI field of VHT-SIG-A2.
Definition:
wifi-phy-header.cc:610
ns3::HeSigHeader
Implements the IEEE 802.11ax HE-SIG PHY header (HE-SIG-A1/A2/B)
Definition:
wifi-phy-header.h:372
ns3::DsssSigHeader
Implements the IEEE 802.11 DSSS SIG PHY header.
Definition:
wifi-phy-header.h:34
ns3::HtSigHeader::GetHtLength
uint16_t GetHtLength(void) const
Return the HT length field of HT-SIG (in bytes).
Definition:
wifi-phy-header.cc:413
ns3::HeSigHeader::SetGuardIntervalAndLtfSize
void SetGuardIntervalAndLtfSize(uint16_t gi, uint8_t ltf)
Fill the GI + LTF size field of HE-SIG-A1.
Definition:
wifi-phy-header.cc:845
ns3::DsssSigHeader::SetLength
void SetLength(uint16_t length)
Fill the LENGTH field of L-SIG (in bytes).
Definition:
wifi-phy-header.cc:122
ns3::HeSigHeader::GetInstanceTypeId
TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
wifi-phy-header.cc:740
ns3::VhtSigHeader::SetShortGuardInterval
void SetShortGuardInterval(bool sgi)
Fill the short guard interval field of VHT-SIG-A2.
Definition:
wifi-phy-header.cc:604
ns3::LSigHeader::Deserialize
uint32_t Deserialize(Buffer::Iterator start)
Definition:
wifi-phy-header.cc:318
ns3::HeSigHeader::GetGuardInterval
uint16_t GetGuardInterval(void) const
Return the guard interval (in nanoseconds).
Definition:
wifi-phy-header.cc:866
ns3::DsssSigHeader::GetSerializedSize
uint32_t GetSerializedSize(void) const
Definition:
wifi-phy-header.cc:62
ns3::LSigHeader::GetRate
uint64_t GetRate(uint16_t channelWidth=20) const
Return the RATE field of L-SIG (in bit/s).
Definition:
wifi-phy-header.cc:246
ns3::HtSigHeader::m_mcs
uint8_t m_mcs
Modulation and Coding Scheme index.
Definition:
wifi-phy-header.h:238
ns3::HeSigHeader::GetBssColor
uint8_t GetBssColor(void) const
Return the BSS Color field in the HE-SIG-A1.
Definition:
wifi-phy-header.cc:797
ns3::DsssSigHeader::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
wifi-phy-header.cc:38
ns3::HtSigHeader::SetShortGuardInterval
void SetShortGuardInterval(bool sgi)
Fill the short guard interval field of HT-SIG.
Definition:
wifi-phy-header.cc:443
ns3::LSigHeader::GetSerializedSize
uint32_t GetSerializedSize(void) const
Definition:
wifi-phy-header.cc:190
ns3::HeSigHeader::HeSigHeader
HeSigHeader()
Definition:
wifi-phy-header.cc:711
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:58
ns3::HtSigHeader::m_aggregation
uint8_t m_aggregation
Aggregation.
Definition:
wifi-phy-header.h:241
ns3::VhtSigHeader::GetShortGuardIntervalDisambiguation
bool GetShortGuardIntervalDisambiguation(void) const
Return the short GI NSYM disambiguation field of VHT-SIG-A2.
Definition:
wifi-phy-header.cc:622
ns3::VhtSigHeader::VhtSigHeader
VhtSigHeader()
Definition:
wifi-phy-header.cc:487
ns3::LSigHeader::GetInstanceTypeId
TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
wifi-phy-header.cc:177
ns3::HeSigHeader::m_bssColor
uint8_t m_bssColor
BSS color field.
Definition:
wifi-phy-header.h:473
src
wifi
model
wifi-phy-header.h
Generated on Sat Jan 9 2021 14:08:55 for ns-3 by
1.8.14