A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
src
network
utils
radiotap-header.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2009 CTTC
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, Include., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Authors: Nicola Baldo <nbaldo@cttc.es>
19
* Sébastien Deronne <sebastien.deronne@gmail.com>
20
*/
21
22
#ifndef RADIOTAP_HEADER_H
23
#define RADIOTAP_HEADER_H
24
25
26
#include <ns3/header.h>
27
28
namespace
ns3
{
29
38
class
RadiotapHeader
:
public
Header
39
{
40
public
:
41
RadiotapHeader
();
46
static
TypeId
GetTypeId
(
void
);
47
virtual
TypeId
GetInstanceTypeId
(
void
)
const
;
48
56
virtual
uint32_t
GetSerializedSize
(
void
)
const
;
57
66
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
67
77
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start
);
78
92
virtual
void
Print
(std::ostream &os)
const
;
93
102
void
SetTsft
(uint64_t tsft);
103
107
enum
FrameFlag
108
{
109
FRAME_FLAG_NONE
= 0x00,
110
FRAME_FLAG_CFP
= 0x01,
111
FRAME_FLAG_SHORT_PREAMBLE
= 0x02,
112
FRAME_FLAG_WEP
= 0x04,
113
FRAME_FLAG_FRAGMENTED
= 0x08,
114
FRAME_FLAG_FCS_INCLUDED
= 0x10,
115
FRAME_FLAG_DATA_PADDING
= 0x20,
116
FRAME_FLAG_BAD_FCS
= 0x40,
117
FRAME_FLAG_SHORT_GUARD
= 0x80
118
};
119
124
void
SetFrameFlags
(uint8_t flags);
125
130
void
SetRate
(uint8_t rate);
131
135
enum
ChannelFlags
136
{
137
CHANNEL_FLAG_NONE
= 0x0000,
138
CHANNEL_FLAG_TURBO
= 0x0010,
139
CHANNEL_FLAG_CCK
= 0x0020,
140
CHANNEL_FLAG_OFDM
= 0x0040,
141
CHANNEL_FLAG_SPECTRUM_2GHZ
= 0x0080,
142
CHANNEL_FLAG_SPECTRUM_5GHZ
= 0x0100,
143
CHANNEL_FLAG_PASSIVE
= 0x0200,
144
CHANNEL_FLAG_DYNAMIC
= 0x0400,
145
CHANNEL_FLAG_GFSK
= 0x0800
146
};
147
154
void
SetChannelFrequencyAndFlags
(uint16_t frequency, uint16_t flags);
155
163
void
SetAntennaSignalPower
(
double
signal);
164
172
void
SetAntennaNoisePower
(
double
noise);
173
177
enum
McsKnown
178
{
179
MCS_KNOWN_NONE
= 0x00,
180
MCS_KNOWN_BANDWIDTH
= 0x01,
181
MCS_KNOWN_INDEX
= 0x02,
182
MCS_KNOWN_GUARD_INTERVAL
= 0x04,
183
MCS_KNOWN_HT_FORMAT
= 0x08,
184
MCS_KNOWN_FEC_TYPE
= 0x10,
185
MCS_KNOWN_STBC
= 0x20,
186
MCS_KNOWN_NESS
= 0x40,
187
MCS_KNOWN_NESS_BIT_1
= 0x80,
188
};
189
193
enum
McsFlags
194
{
195
MCS_FLAGS_NONE
= 0x00,
196
MCS_FLAGS_BANDWIDTH_40
= 0x01,
197
MCS_FLAGS_BANDWIDTH_20L
= 0x02,
198
MCS_FLAGS_BANDWIDTH_20U
= 0x03,
199
MCS_FLAGS_GUARD_INTERVAL
= 0x04,
200
MCS_FLAGS_HT_GREENFIELD
= 0x08,
201
MCS_FLAGS_FEC_TYPE
= 0x10,
202
MCS_FLAGS_STBC_STREAMS
= 0x60,
203
MCS_FLAGS_NESS_BIT_0
= 0x80,
204
};
205
213
void
SetMcsFields
(uint8_t known, uint8_t flags, uint8_t mcs);
214
218
enum
AmpduFlags
219
{
220
A_MPDU_STATUS_NONE
= 0x00,
221
A_MPDU_STATUS_REPORT_ZERO_LENGTH
= 0x01,
222
A_MPDU_STATUS_IS_ZERO_LENGTH
= 0x02,
223
A_MPDU_STATUS_LAST_KNOWN
= 0x04,
224
A_MPDU_STATUS_LAST
= 0x08,
225
A_MPDU_STATUS_DELIMITER_CRC_ERROR
= 0x10,
226
A_MPDU_STATUS_DELIMITER_CRC_KNOWN
= 0x20
227
};
228
236
void
SetAmpduStatus
(uint32_t referenceNumber, uint16_t flags, uint8_t crc);
237
241
enum
VhtKnown
242
{
243
VHT_KNOWN_NONE
= 0x0000,
244
VHT_KNOWN_STBC
= 0x0001,
245
VHT_KNOWN_TXOP_PS_NOT_ALLOWED
= 0x0002,
246
VHT_KNOWN_GUARD_INTERVAL
= 0x0004,
247
VHT_KNOWN_SHORT_GI_NSYM_DISAMBIGUATION
= 0x0008,
248
VHT_KNOWN_LDPC_EXTRA_OFDM_SYMBOL
= 0x0010,
249
VHT_KNOWN_BEAMFORMED
= 0x0020,
250
VHT_KNOWN_BANDWIDTH
= 0x0040,
251
VHT_KNOWN_GROUP_ID
= 0x0080,
252
VHT_KNOWN_PARTIAL_AID
= 0x0100,
253
};
254
258
enum
VhtFlags
259
{
260
VHT_FLAGS_NONE
= 0x00,
261
VHT_FLAGS_STBC
= 0x01,
262
VHT_FLAGS_TXOP_PS_NOT_ALLOWED
= 0x02,
263
VHT_FLAGS_GUARD_INTERVAL
= 0x04,
264
VHT_FLAGS_SHORT_GI_NSYM_DISAMBIGUATION
= 0x08,
265
VHT_FLAGS_LDPC_EXTRA_OFDM_SYMBOL
= 0x10,
266
VHT_FLAGS_BEAMFORMED
= 0x20,
267
};
268
280
void
SetVhtFields
(uint16_t known, uint8_t flags,
281
uint8_t bandwidth, uint8_t mcs_nss [4],
282
uint8_t coding, uint8_t group_id,
283
uint16_t partial_aid);
284
288
enum
HeData1
289
{
290
HE_DATA1_FORMAT_EXT_SU
= 0x0001,
291
HE_DATA1_FORMAT_MU
= 0x0002,
292
HE_DATA1_FORMAT_TRIG
= 0x0003,
293
HE_DATA1_BSS_COLOR_KNOWN
= 0x0004,
294
HE_DATA1_BEAM_CHANGE_KNOWN
= 0x0008,
295
HE_DATA1_UL_DL_KNOWN
= 0x0010,
296
HE_DATA1_DATA_MCS_KNOWN
= 0x0020,
297
HE_DATA1_DATA_DCM_KNOWN
= 0x0040,
298
HE_DATA1_CODING_KNOWN
= 0x0080,
299
HE_DATA1_LDPC_XSYMSEG_KNOWN
= 0x0100,
300
HE_DATA1_STBC_KNOWN
= 0x0200,
301
HE_DATA1_SPTL_REUSE_KNOWN
= 0x0400,
302
HE_DATA1_SPTL_REUSE2_KNOWN
= 0x0800,
303
HE_DATA1_SPTL_REUSE3_KNOWN
= 0x1000,
304
HE_DATA1_SPTL_REUSE4_KNOWN
= 0x2000,
305
HE_DATA1_BW_RU_ALLOC_KNOWN
= 0x4000,
306
HE_DATA1_DOPPLER_KNOWN
= 0x8000,
307
};
308
312
enum
HeData2
313
{
314
HE_DATA2_PRISEC_80_KNOWN
= 0x0001,
315
HE_DATA2_GI_KNOWN
= 0x0002,
316
HE_DATA2_NUM_LTF_SYMS_KNOWN
= 0x0004,
317
HE_DATA2_PRE_FEC_PAD_KNOWN
= 0x0008,
318
HE_DATA2_TXBF_KNOWN
= 0x0010,
319
HE_DATA2_PE_DISAMBIG_KNOWN
= 0x0020,
320
HE_DATA2_TXOP_KNOWN
= 0x0040,
321
HE_DATA2_MIDAMBLE_KNOWN
= 0x0080,
322
HE_DATA2_RU_OFFSET
= 0x3f00,
323
HE_DATA2_RU_OFFSET_KNOWN
= 0x4000,
324
HE_DATA2_PRISEC_80_SEC
= 0x8000,
325
};
326
330
enum
HeData3
331
{
332
HE_DATA3_BSS_COLOR
= 0x003f,
333
HE_DATA3_BEAM_CHANGE
= 0x0040,
334
HE_DATA3_UL_DL
= 0x0080,
335
HE_DATA3_DATA_MCS
= 0x0f00,
336
HE_DATA3_DATA_DCM
= 0x1000,
337
HE_DATA3_CODING
= 0x2000,
338
HE_DATA3_LDPC_XSYMSEG
= 0x4000,
339
HE_DATA3_STBC
= 0x8000,
340
};
341
345
enum
HeData5
346
{
347
HE_DATA5_DATA_BW_RU_ALLOC_40MHZ
= 0x0001,
348
HE_DATA5_DATA_BW_RU_ALLOC_80MHZ
= 0x0002,
349
HE_DATA5_DATA_BW_RU_ALLOC_160MHZ
= 0x0003,
350
HE_DATA5_DATA_BW_RU_ALLOC_26T
= 0x0004,
351
HE_DATA5_DATA_BW_RU_ALLOC_52T
= 0x0005,
352
HE_DATA5_DATA_BW_RU_ALLOC_106T
= 0x0006,
353
HE_DATA5_DATA_BW_RU_ALLOC_242T
= 0x0007,
354
HE_DATA5_DATA_BW_RU_ALLOC_484T
= 0x0008,
355
HE_DATA5_DATA_BW_RU_ALLOC_996T
= 0x0009,
356
HE_DATA5_DATA_BW_RU_ALLOC_2x996T
= 0x000a,
357
HE_DATA5_GI_1_6
= 0x0010,
358
HE_DATA5_GI_3_2
= 0x0020,
359
HE_DATA5_LTF_SYM_SIZE
= 0x00c0,
360
HE_DATA5_NUM_LTF_SYMS
= 0x0700,
361
HE_DATA5_PRE_FEC_PAD
= 0x3000,
362
HE_DATA5_TXBF
= 0x4000,
363
HE_DATA5_PE_DISAMBIG
= 0x8000,
364
};
365
374
void
SetHeFields
(uint16_t data1, uint16_t data2, uint16_t data3, uint16_t data5);
375
376
private
:
380
enum
RadiotapFlags
381
{
382
RADIOTAP_TSFT
= 0x00000001,
383
RADIOTAP_FLAGS
= 0x00000002,
384
RADIOTAP_RATE
= 0x00000004,
385
RADIOTAP_CHANNEL
= 0x00000008,
386
RADIOTAP_FHSS
= 0x00000010,
387
RADIOTAP_DBM_ANTSIGNAL
= 0x00000020,
388
RADIOTAP_DBM_ANTNOISE
= 0x00000040,
389
RADIOTAP_LOCK_QUALITY
= 0x00000080,
390
RADIOTAP_TX_ATTENUATION
= 0x00000100,
391
RADIOTAP_DB_TX_ATTENUATION
= 0x00000200,
392
RADIOTAP_DBM_TX_POWER
= 0x00000400,
393
RADIOTAP_ANTENNA
= 0x00000800,
394
RADIOTAP_DB_ANTSIGNAL
= 0x00001000,
395
RADIOTAP_DB_ANTNOISE
= 0x00002000,
396
RADIOTAP_RX_FLAGS
= 0x00004000,
397
RADIOTAP_MCS
= 0x00080000,
398
RADIOTAP_AMPDU_STATUS
= 0x00100000,
399
RADIOTAP_VHT
= 0x00200000,
400
RADIOTAP_HE
= 0x00800000,
401
RADIOTAP_EXT
= 0x10000000
402
};
403
404
uint16_t
m_length
;
405
uint32_t
m_present
;
406
407
uint64_t
m_tsft
;
408
uint8_t
m_flags
;
409
uint8_t
m_rate
;
410
uint8_t
m_channelPad
;
411
uint16_t
m_channelFreq
;
412
uint16_t
m_channelFlags
;
413
int8_t
m_antennaSignal
;
414
int8_t
m_antennaNoise
;
415
416
uint8_t
m_mcsKnown
;
417
uint8_t
m_mcsFlags
;
418
uint8_t
m_mcsRate
;
419
420
uint8_t
m_ampduStatusPad
;
421
uint32_t
m_ampduStatusRef
;
422
uint16_t
m_ampduStatusFlags
;
423
uint8_t
m_ampduStatusCRC
;
424
425
uint8_t
m_vhtPad
;
426
uint16_t
m_vhtKnown
;
427
uint8_t
m_vhtFlags
;
428
uint8_t
m_vhtBandwidth
;
429
uint8_t
m_vhtMcsNss
[4];
430
uint8_t
m_vhtCoding
;
431
uint8_t
m_vhtGroupId
;
432
uint16_t
m_vhtPartialAid
;
433
434
uint8_t
m_hePad
;
435
uint16_t
m_heData1
;
436
uint16_t
m_heData2
;
437
uint16_t
m_heData3
;
438
uint16_t
m_heData5
;
439
};
440
441
}
// namespace ns3
442
443
#endif
/* RADIOTAP_HEADER_H */
ns3::RadiotapHeader::HE_DATA2_RU_OFFSET
RU allocation offset.
Definition:
radiotap-header.h:322
ns3::Header
Protocol header serialization and deserialization.
Definition:
header.h:42
ns3::RadiotapHeader::VHT_KNOWN_GROUP_ID
Group ID known.
Definition:
radiotap-header.h:251
ns3::RadiotapHeader::FRAME_FLAG_SHORT_GUARD
Frame used short guard interval (HT)
Definition:
radiotap-header.h:117
ns3::RadiotapHeader::FRAME_FLAG_FRAGMENTED
Frame sent/received with fragmentation.
Definition:
radiotap-header.h:113
ns3::RadiotapHeader::HE_DATA1_BEAM_CHANGE_KNOWN
Beam Change known.
Definition:
radiotap-header.h:294
ns3::RadiotapHeader::m_channelPad
uint8_t m_channelPad
Tx/Rx channel padding.
Definition:
radiotap-header.h:410
ns3::RadiotapHeader::m_mcsKnown
uint8_t m_mcsKnown
MCS Flags, known information field.
Definition:
radiotap-header.h:416
ns3::RadiotapHeader::SetVhtFields
void SetVhtFields(uint16_t known, uint8_t flags, uint8_t bandwidth, uint8_t mcs_nss [4], uint8_t coding, uint8_t group_id, uint16_t partial_aid)
Set the VHT fields.
Definition:
radiotap-header.cc:693
ns3::RadiotapHeader::GetSerializedSize
virtual uint32_t GetSerializedSize(void) const
This method is used by Packet::AddHeader to store the header into the byte buffer of a packet...
Definition:
radiotap-header.cc:80
ns3::RadiotapHeader::HE_DATA2_PRE_FEC_PAD_KNOWN
Pre-FEC Padding Factor known.
Definition:
radiotap-header.h:317
ns3::RadiotapHeader::RADIOTAP_TX_ATTENUATION
Definition:
radiotap-header.h:390
ns3::RadiotapHeader::HE_DATA1_FORMAT_TRIG
HE TRIG PPDU format.
Definition:
radiotap-header.h:292
ns3::RadiotapHeader::HE_DATA5_GI_1_6
1.6us GI
Definition:
radiotap-header.h:357
ns3::RadiotapHeader::HeData3
HeData3
HE data3.
Definition:
radiotap-header.h:330
ns3::RadiotapHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
radiotap-header.cc:74
ns3::RadiotapHeader::McsKnown
McsKnown
MCS known bits.
Definition:
radiotap-header.h:177
ns3::RadiotapHeader::HE_DATA1_SPTL_REUSE_KNOWN
Spatial Reuse known (Spatial Reuse 1 for HE TRIG PPDU format)
Definition:
radiotap-header.h:301
ns3::RadiotapHeader::RADIOTAP_MCS
Definition:
radiotap-header.h:397
ns3::RadiotapHeader::m_vhtPad
uint8_t m_vhtPad
VHT padding.
Definition:
radiotap-header.h:425
ns3::RadiotapHeader::RADIOTAP_DB_ANTNOISE
Definition:
radiotap-header.h:395
ns3::RadiotapHeader::VHT_KNOWN_BEAMFORMED
Beamformed known/applicable (this flag should be set to zero for MU PPDUs).
Definition:
radiotap-header.h:249
ns3::RadiotapHeader::MCS_KNOWN_HT_FORMAT
HT format.
Definition:
radiotap-header.h:183
ns3::RadiotapHeader::m_ampduStatusCRC
uint8_t m_ampduStatusCRC
A-MPDU Status Flags, delimiter CRC value.
Definition:
radiotap-header.h:423
ns3::RadiotapHeader
Radiotap header implementation.
Definition:
radiotap-header.h:38
ns3::RadiotapHeader::HE_DATA2_PRISEC_80_SEC
pri/sec 80 MHz
Definition:
radiotap-header.h:324
ns3::RadiotapHeader::m_ampduStatusFlags
uint16_t m_ampduStatusFlags
A-MPDU Status Flags, information about the received A-MPDU.
Definition:
radiotap-header.h:422
ns3::RadiotapHeader::m_heData5
uint16_t m_heData5
HE data5 field.
Definition:
radiotap-header.h:438
ns3::RadiotapHeader::A_MPDU_STATUS_DELIMITER_CRC_ERROR
Delimiter CRC error.
Definition:
radiotap-header.h:225
ns3::RadiotapHeader::CHANNEL_FLAG_SPECTRUM_2GHZ
2 GHz spectrum channel
Definition:
radiotap-header.h:141
ns3::RadiotapHeader::VHT_FLAGS_LDPC_EXTRA_OFDM_SYMBOL
Set if one or more users are using LDPC and the encoding process resulted in extra OFDM symbol(s) ...
Definition:
radiotap-header.h:265
ns3::RadiotapHeader::HE_DATA5_PRE_FEC_PAD
Pre-FEC Padding Factor.
Definition:
radiotap-header.h:361
visualizer.core.start
def start()
Definition:
core.py:1844
ns3::RadiotapHeader::RADIOTAP_VHT
Definition:
radiotap-header.h:399
ns3::RadiotapHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
This method is used by Packet::RemoveHeader to re-create a header from the byte buffer of a packet...
Definition:
radiotap-header.cc:282
ns3::RadiotapHeader::HE_DATA5_NUM_LTF_SYMS
number of LTF symbols
Definition:
radiotap-header.h:360
ns3::RadiotapHeader::MCS_FLAGS_GUARD_INTERVAL
Short guard interval.
Definition:
radiotap-header.h:199
ns3::RadiotapHeader::CHANNEL_FLAG_TURBO
Turbo Channel.
Definition:
radiotap-header.h:138
ns3::RadiotapHeader::A_MPDU_STATUS_REPORT_ZERO_LENGTH
Driver reports 0-length subframes.
Definition:
radiotap-header.h:221
ns3::RadiotapHeader::MCS_FLAGS_STBC_STREAMS
STBC enabled.
Definition:
radiotap-header.h:202
ns3::RadiotapHeader::HE_DATA2_NUM_LTF_SYMS_KNOWN
number of LTF symbols known
Definition:
radiotap-header.h:316
ns3::RadiotapHeader::m_channelFreq
uint16_t m_channelFreq
Tx/Rx frequency in MHz.
Definition:
radiotap-header.h:411
ns3::RadiotapHeader::m_mcsFlags
uint8_t m_mcsFlags
MCS Flags, flags field.
Definition:
radiotap-header.h:417
ns3::RadiotapHeader::RADIOTAP_DBM_ANTSIGNAL
Definition:
radiotap-header.h:387
ns3::RadiotapHeader::MCS_KNOWN_BANDWIDTH
Bandwidth.
Definition:
radiotap-header.h:180
ns3::RadiotapHeader::m_hePad
uint8_t m_hePad
HE padding.
Definition:
radiotap-header.h:434
ns3::RadiotapHeader::HE_DATA3_CODING
Coding.
Definition:
radiotap-header.h:337
ns3::RadiotapHeader::HE_DATA1_CODING_KNOWN
Coding known.
Definition:
radiotap-header.h:298
ns3::RadiotapHeader::Print
virtual void Print(std::ostream &os) const
This method is used by Packet::Print to print the content of the header as ascii data to a C++ output...
Definition:
radiotap-header.cc:515
ns3::RadiotapHeader::HE_DATA1_BSS_COLOR_KNOWN
BSS Color known.
Definition:
radiotap-header.h:293
ns3::RadiotapHeader::SetAntennaNoisePower
void SetAntennaNoisePower(double noise)
Set the RF noise power at the antenna as a decibel difference from an arbitrary, fixed reference...
Definition:
radiotap-header.cc:634
ns3::RadiotapHeader::FRAME_FLAG_SHORT_PREAMBLE
Frame sent/received with short preamble.
Definition:
radiotap-header.h:111
ns3::RadiotapHeader::SetTsft
void SetTsft(uint64_t tsft)
Set the Time Synchronization Function Timer (TSFT) value.
Definition:
radiotap-header.cc:546
ns3::RadiotapHeader::HE_DATA1_DOPPLER_KNOWN
Doppler known.
Definition:
radiotap-header.h:306
ns3::RadiotapHeader::FrameFlag
FrameFlag
Frame flags.
Definition:
radiotap-header.h:107
ns3::RadiotapHeader::HE_DATA3_BEAM_CHANGE
Beam Change.
Definition:
radiotap-header.h:333
ns3::RadiotapHeader::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
radiotap-header.cc:62
ns3::RadiotapHeader::A_MPDU_STATUS_DELIMITER_CRC_KNOWN
Delimiter CRC value known: the delimiter CRC value field is valid.
Definition:
radiotap-header.h:226
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_160MHZ
160 MHz data Bandwidth
Definition:
radiotap-header.h:349
ns3::Buffer::Iterator
iterator in a Buffer instance
Definition:
buffer.h:98
ns3::RadiotapHeader::m_vhtMcsNss
uint8_t m_vhtMcsNss[4]
VHT mcs_nss field.
Definition:
radiotap-header.h:429
ns3::RadiotapHeader::m_vhtCoding
uint8_t m_vhtCoding
VHT coding field.
Definition:
radiotap-header.h:430
ns3::RadiotapHeader::ChannelFlags
ChannelFlags
Channel flags.
Definition:
radiotap-header.h:135
ns3::RadiotapHeader::RADIOTAP_DB_TX_ATTENUATION
Definition:
radiotap-header.h:391
ns3::RadiotapHeader::HE_DATA3_DATA_MCS
data MCS
Definition:
radiotap-header.h:335
ns3::RadiotapHeader::MCS_KNOWN_INDEX
MCS index known.
Definition:
radiotap-header.h:181
ns3::RadiotapHeader::RADIOTAP_DBM_TX_POWER
Definition:
radiotap-header.h:392
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_26T
26-tone RU allocation
Definition:
radiotap-header.h:350
ns3::RadiotapHeader::HE_DATA1_BW_RU_ALLOC_KNOWN
data BW/RU allocation known
Definition:
radiotap-header.h:305
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_40MHZ
40 MHz data Bandwidth
Definition:
radiotap-header.h:347
ns3::RadiotapHeader::RADIOTAP_CHANNEL
Definition:
radiotap-header.h:385
ns3::RadiotapHeader::RADIOTAP_DBM_ANTNOISE
Definition:
radiotap-header.h:388
ns3::RadiotapHeader::A_MPDU_STATUS_LAST
This frame is the last subframe.
Definition:
radiotap-header.h:224
ns3::RadiotapHeader::VHT_FLAGS_SHORT_GI_NSYM_DISAMBIGUATION
Set if NSYM mod 10 = 9 (valid only if short GI is used).
Definition:
radiotap-header.h:264
ns3::RadiotapHeader::CHANNEL_FLAG_PASSIVE
Only passive scan allowed.
Definition:
radiotap-header.h:143
ns3::RadiotapHeader::HE_DATA2_PRISEC_80_KNOWN
pri/sec 80 MHz known
Definition:
radiotap-header.h:314
ns3::RadiotapHeader::m_tsft
uint64_t m_tsft
Time Synchronization Function Timer (when the first bit of the MPDU arrived at the MAC) ...
Definition:
radiotap-header.h:407
ns3::RadiotapHeader::SetChannelFrequencyAndFlags
void SetChannelFrequencyAndFlags(uint16_t frequency, uint16_t flags)
Set the transmit/receive channel frequency and flags.
Definition:
radiotap-header.cc:591
ns3::RadiotapHeader::VhtKnown
VhtKnown
VHT known bits.
Definition:
radiotap-header.h:241
ns3::RadiotapHeader::m_vhtFlags
uint8_t m_vhtFlags
VHT flags field.
Definition:
radiotap-header.h:427
ns3::RadiotapHeader::m_mcsRate
uint8_t m_mcsRate
MCS Flags, mcs rate index.
Definition:
radiotap-header.h:418
ns3::RadiotapHeader::MCS_FLAGS_NESS_BIT_0
Ness - bit 0 (LSB) of Number of extension spatial streams.
Definition:
radiotap-header.h:203
ns3::RadiotapHeader::HeData1
HeData1
HE data1.
Definition:
radiotap-header.h:288
ns3::RadiotapHeader::VHT_FLAGS_GUARD_INTERVAL
Short guard interval.
Definition:
radiotap-header.h:263
ns3::RadiotapHeader::m_antennaNoise
int8_t m_antennaNoise
RF noise power at the antenna, dB difference from an arbitrary, fixed reference.
Definition:
radiotap-header.h:414
ns3::RadiotapHeader::VHT_KNOWN_PARTIAL_AID
Partial AID known/applicable.
Definition:
radiotap-header.h:252
ns3::RadiotapHeader::HeData2
HeData2
HE data2.
Definition:
radiotap-header.h:312
ns3::RadiotapHeader::RadiotapFlags
RadiotapFlags
Radiotap flags.
Definition:
radiotap-header.h:380
ns3::RadiotapHeader::m_vhtBandwidth
uint8_t m_vhtBandwidth
VHT bandwidth field.
Definition:
radiotap-header.h:428
ns3::RadiotapHeader::CHANNEL_FLAG_OFDM
OFDM channel.
Definition:
radiotap-header.h:140
ns3::RadiotapHeader::HE_DATA2_TXBF_KNOWN
TxBF known.
Definition:
radiotap-header.h:318
ns3::RadiotapHeader::CHANNEL_FLAG_SPECTRUM_5GHZ
5 GHz spectrum channel
Definition:
radiotap-header.h:142
ns3::RadiotapHeader::HE_DATA3_BSS_COLOR
BSS Color.
Definition:
radiotap-header.h:332
ns3::RadiotapHeader::MCS_KNOWN_FEC_TYPE
FEC type.
Definition:
radiotap-header.h:184
ns3::RadiotapHeader::m_channelFlags
uint16_t m_channelFlags
Tx/Rx channel flags.
Definition:
radiotap-header.h:412
ns3::RadiotapHeader::m_ampduStatusPad
uint8_t m_ampduStatusPad
A-MPDU Status Flags, padding before A-MPDU Status Field.
Definition:
radiotap-header.h:420
ns3::RadiotapHeader::RADIOTAP_RX_FLAGS
Definition:
radiotap-header.h:396
ns3::RadiotapHeader::FRAME_FLAG_BAD_FCS
Frame failed FCS check.
Definition:
radiotap-header.h:116
ns3::RadiotapHeader::SetFrameFlags
void SetFrameFlags(uint8_t flags)
Set the frame flags of the transmitted or received frame.
Definition:
radiotap-header.cc:561
ns3::RadiotapHeader::HE_DATA5_LTF_SYM_SIZE
LTF symbol size.
Definition:
radiotap-header.h:359
ns3::RadiotapHeader::RADIOTAP_FLAGS
Definition:
radiotap-header.h:383
ns3::RadiotapHeader::SetRate
void SetRate(uint8_t rate)
Set the transmit/receive channel frequency in units of megahertz.
Definition:
radiotap-header.cc:576
ns3::RadiotapHeader::RADIOTAP_ANTENNA
Definition:
radiotap-header.h:393
ns3::RadiotapHeader::RADIOTAP_TSFT
Definition:
radiotap-header.h:382
ns3::RadiotapHeader::RADIOTAP_HE
Definition:
radiotap-header.h:400
ns3::RadiotapHeader::m_antennaSignal
int8_t m_antennaSignal
RF signal power at the antenna, dB difference from an arbitrary, fixed reference. ...
Definition:
radiotap-header.h:413
ns3::RadiotapHeader::m_heData2
uint16_t m_heData2
HE data2 field.
Definition:
radiotap-header.h:436
ns3::RadiotapHeader::VHT_KNOWN_GUARD_INTERVAL
Guard interval.
Definition:
radiotap-header.h:246
ns3::RadiotapHeader::RADIOTAP_RATE
Definition:
radiotap-header.h:384
ns3::RadiotapHeader::CHANNEL_FLAG_GFSK
GFSK channel (FHSS PHY)
Definition:
radiotap-header.h:145
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::RadiotapHeader::m_flags
uint8_t m_flags
Properties of transmitted and received frames.
Definition:
radiotap-header.h:408
ns3::RadiotapHeader::MCS_KNOWN_NESS_BIT_1
Ness data - bit 1 (MSB) of Number of extension spatial streams.
Definition:
radiotap-header.h:187
ns3::RadiotapHeader::MCS_KNOWN_GUARD_INTERVAL
Guard interval.
Definition:
radiotap-header.h:182
ns3::RadiotapHeader::HE_DATA1_SPTL_REUSE4_KNOWN
Spatial Reuse 4 known (HE TRIG PPDU format)
Definition:
radiotap-header.h:304
ns3::RadiotapHeader::RADIOTAP_FHSS
Definition:
radiotap-header.h:386
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_242T
242-tone RU allocation
Definition:
radiotap-header.h:353
ns3::RadiotapHeader::SetMcsFields
void SetMcsFields(uint8_t known, uint8_t flags, uint8_t mcs)
Set the MCS fields.
Definition:
radiotap-header.cc:660
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_484T
484-tone RU allocation
Definition:
radiotap-header.h:354
ns3::RadiotapHeader::CHANNEL_FLAG_NONE
No flags set.
Definition:
radiotap-header.h:137
ns3::RadiotapHeader::VHT_FLAGS_NONE
No flags set.
Definition:
radiotap-header.h:260
ns3::RadiotapHeader::VHT_FLAGS_TXOP_PS_NOT_ALLOWED
Set if STAs may not doze during TXOP (valid only for AP transmitters).
Definition:
radiotap-header.h:262
ns3::RadiotapHeader::HE_DATA1_UL_DL_KNOWN
UL/DL known.
Definition:
radiotap-header.h:295
ns3::RadiotapHeader::m_present
uint32_t m_present
bits describing which fields follow header
Definition:
radiotap-header.h:405
ns3::RadiotapHeader::HE_DATA3_LDPC_XSYMSEG
LDPC extra symbol segment.
Definition:
radiotap-header.h:338
ns3::RadiotapHeader::MCS_KNOWN_NESS
Ness known (Number of extension spatial streams)
Definition:
radiotap-header.h:186
ns3::RadiotapHeader::VHT_KNOWN_TXOP_PS_NOT_ALLOWED
TXOP_PS_NOT_ALLOWED known.
Definition:
radiotap-header.h:245
ns3::RadiotapHeader::HE_DATA1_DATA_DCM_KNOWN
data DCM known
Definition:
radiotap-header.h:297
ns3::RadiotapHeader::m_vhtGroupId
uint8_t m_vhtGroupId
VHT group_id field.
Definition:
radiotap-header.h:431
ns3::RadiotapHeader::VHT_KNOWN_SHORT_GI_NSYM_DISAMBIGUATION
Short GI NSYM disambiguation known.
Definition:
radiotap-header.h:247
ns3::RadiotapHeader::HE_DATA2_RU_OFFSET_KNOWN
RU allocation offset known.
Definition:
radiotap-header.h:323
ns3::RadiotapHeader::HE_DATA5_PE_DISAMBIG
PE Disambiguity.
Definition:
radiotap-header.h:363
ns3::RadiotapHeader::HE_DATA2_PE_DISAMBIG_KNOWN
PE Disambiguity known.
Definition:
radiotap-header.h:319
ns3::RadiotapHeader::HE_DATA2_GI_KNOWN
GI known.
Definition:
radiotap-header.h:315
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_106T
106-tone RU allocation
Definition:
radiotap-header.h:352
ns3::RadiotapHeader::HE_DATA1_SPTL_REUSE3_KNOWN
Spatial Reuse 3 known (HE TRIG PPDU format)
Definition:
radiotap-header.h:303
ns3::RadiotapHeader::MCS_FLAGS_HT_GREENFIELD
Greenfield HT format.
Definition:
radiotap-header.h:200
ns3::RadiotapHeader::A_MPDU_STATUS_NONE
No flags set.
Definition:
radiotap-header.h:220
ns3::RadiotapHeader::MCS_FLAGS_BANDWIDTH_40
40 MHz
Definition:
radiotap-header.h:196
ns3::RadiotapHeader::HE_DATA1_LDPC_XSYMSEG_KNOWN
LDPC extra symbol segment known.
Definition:
radiotap-header.h:299
ns3::RadiotapHeader::MCS_KNOWN_STBC
STBC known.
Definition:
radiotap-header.h:185
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_996T
996-tone RU allocation
Definition:
radiotap-header.h:355
ns3::RadiotapHeader::VHT_KNOWN_STBC
Space-time block coding (1 if all spatial streams of all users have STBC, 0 otherwise).
Definition:
radiotap-header.h:244
ns3::RadiotapHeader::m_vhtPartialAid
uint16_t m_vhtPartialAid
VHT partial_aid field.
Definition:
radiotap-header.h:432
ns3::RadiotapHeader::FRAME_FLAG_FCS_INCLUDED
Frame includes FCS.
Definition:
radiotap-header.h:114
ns3::RadiotapHeader::VHT_FLAGS_STBC
Set if all spatial streams of all users have space-time block coding.
Definition:
radiotap-header.h:261
ns3::RadiotapHeader::FRAME_FLAG_DATA_PADDING
Frame has padding between 802.11 header and payload (to 32-bit boundary)
Definition:
radiotap-header.h:115
ns3::RadiotapHeader::A_MPDU_STATUS_IS_ZERO_LENGTH
Frame is 0-length subframe (valid only if 0x0001 is set)
Definition:
radiotap-header.h:222
ns3::RadiotapHeader::m_vhtKnown
uint16_t m_vhtKnown
VHT known field.
Definition:
radiotap-header.h:426
ns3::RadiotapHeader::MCS_FLAGS_FEC_TYPE
LDPC FEC type.
Definition:
radiotap-header.h:201
ns3::RadiotapHeader::MCS_KNOWN_NONE
No flags set.
Definition:
radiotap-header.h:179
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_80MHZ
80 MHz data Bandwidth
Definition:
radiotap-header.h:348
ns3::RadiotapHeader::MCS_FLAGS_BANDWIDTH_20L
20L (20 MHz in lower half of 40 MHz channel)
Definition:
radiotap-header.h:197
ns3::RadiotapHeader::FRAME_FLAG_NONE
No flags set.
Definition:
radiotap-header.h:109
ns3::RadiotapHeader::A_MPDU_STATUS_LAST_KNOWN
Last subframe is known (should be set for all subframes in an A-MPDU)
Definition:
radiotap-header.h:223
ns3::RadiotapHeader::HE_DATA2_TXOP_KNOWN
TXOP known.
Definition:
radiotap-header.h:320
ns3::RadiotapHeader::HE_DATA3_STBC
STBC.
Definition:
radiotap-header.h:339
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_2x996T
2x996-tone RU allocation
Definition:
radiotap-header.h:356
ns3::RadiotapHeader::RADIOTAP_AMPDU_STATUS
Definition:
radiotap-header.h:398
ns3::RadiotapHeader::HE_DATA3_DATA_DCM
data DCM
Definition:
radiotap-header.h:336
ns3::RadiotapHeader::MCS_FLAGS_BANDWIDTH_20U
20U (20 MHz in upper half of 40 MHz channel)
Definition:
radiotap-header.h:198
ns3::RadiotapHeader::CHANNEL_FLAG_DYNAMIC
Dynamic CCK-OFDM channel.
Definition:
radiotap-header.h:144
ns3::RadiotapHeader::m_length
uint16_t m_length
entire length of radiotap data + header
Definition:
radiotap-header.h:404
ns3::RadiotapHeader::HE_DATA1_SPTL_REUSE2_KNOWN
Spatial Reuse 2 known (HE TRIG PPDU format), STA-ID known (HE MU PPDU format)
Definition:
radiotap-header.h:302
ns3::RadiotapHeader::FRAME_FLAG_CFP
Frame sent/received during CFP.
Definition:
radiotap-header.h:110
ns3::RadiotapHeader::RADIOTAP_EXT
Definition:
radiotap-header.h:401
ns3::RadiotapHeader::MCS_FLAGS_NONE
Default: 20 MHz, long guard interval, mixed HT format and BCC FEC type.
Definition:
radiotap-header.h:195
ns3::RadiotapHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
This method is used by Packet::AddHeader to store the header into the byte buffer of a packet...
Definition:
radiotap-header.cc:87
ns3::RadiotapHeader::m_rate
uint8_t m_rate
TX/RX data rate in units of 500 kbps.
Definition:
radiotap-header.h:409
ns3::RadiotapHeader::VHT_KNOWN_LDPC_EXTRA_OFDM_SYMBOL
LDPC extra OFDM symbol known.
Definition:
radiotap-header.h:248
ns3::RadiotapHeader::McsFlags
McsFlags
MCS flags.
Definition:
radiotap-header.h:193
ns3::RadiotapHeader::RADIOTAP_DB_ANTSIGNAL
Definition:
radiotap-header.h:394
ns3::RadiotapHeader::HE_DATA5_TXBF
TxBF.
Definition:
radiotap-header.h:362
ns3::RadiotapHeader::RADIOTAP_LOCK_QUALITY
Definition:
radiotap-header.h:389
ns3::RadiotapHeader::m_heData3
uint16_t m_heData3
HE data3 field.
Definition:
radiotap-header.h:437
ns3::RadiotapHeader::HE_DATA1_FORMAT_MU
HE MU PPDU format.
Definition:
radiotap-header.h:291
ns3::RadiotapHeader::VHT_KNOWN_BANDWIDTH
Bandwidth known.
Definition:
radiotap-header.h:250
ns3::RadiotapHeader::m_heData1
uint16_t m_heData1
HE data1 field.
Definition:
radiotap-header.h:435
ns3::RadiotapHeader::m_ampduStatusRef
uint32_t m_ampduStatusRef
A-MPDU Status Flags, reference number.
Definition:
radiotap-header.h:421
ns3::RadiotapHeader::HE_DATA1_DATA_MCS_KNOWN
data MCS known
Definition:
radiotap-header.h:296
ns3::RadiotapHeader::SetAmpduStatus
void SetAmpduStatus(uint32_t referenceNumber, uint16_t flags, uint8_t crc)
Set the A-MPDU status fields.
Definition:
radiotap-header.cc:676
ns3::RadiotapHeader::SetHeFields
void SetHeFields(uint16_t data1, uint16_t data2, uint16_t data3, uint16_t data5)
Set the HE fields.
Definition:
radiotap-header.cc:717
ns3::RadiotapHeader::HE_DATA1_FORMAT_EXT_SU
HE EXT SU PPDU format.
Definition:
radiotap-header.h:290
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:58
ns3::RadiotapHeader::VHT_FLAGS_BEAMFORMED
Set if beamforming is used (valid for SU PPDUs only).
Definition:
radiotap-header.h:266
ns3::RadiotapHeader::VHT_KNOWN_NONE
No flags set.
Definition:
radiotap-header.h:243
ns3::RadiotapHeader::VhtFlags
VhtFlags
VHT flags.
Definition:
radiotap-header.h:258
ns3::RadiotapHeader::HeData5
HeData5
HE data5.
Definition:
radiotap-header.h:345
ns3::RadiotapHeader::HE_DATA5_GI_3_2
3.2us GI
Definition:
radiotap-header.h:358
ns3::RadiotapHeader::AmpduFlags
AmpduFlags
A-MPDU status flags.
Definition:
radiotap-header.h:218
ns3::RadiotapHeader::HE_DATA1_STBC_KNOWN
STBC known.
Definition:
radiotap-header.h:300
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_52T
52-tone RU allocation
Definition:
radiotap-header.h:351
ns3::RadiotapHeader::FRAME_FLAG_WEP
Frame sent/received with WEP encryption.
Definition:
radiotap-header.h:112
ns3::RadiotapHeader::RadiotapHeader
RadiotapHeader()
Definition:
radiotap-header.cc:33
ns3::RadiotapHeader::HE_DATA2_MIDAMBLE_KNOWN
midamble periodicity known
Definition:
radiotap-header.h:321
ns3::RadiotapHeader::CHANNEL_FLAG_CCK
CCK channel.
Definition:
radiotap-header.h:139
ns3::RadiotapHeader::SetAntennaSignalPower
void SetAntennaSignalPower(double signal)
Set the RF signal power at the antenna as a decibel difference from an arbitrary, fixed reference...
Definition:
radiotap-header.cc:608
ns3::RadiotapHeader::HE_DATA3_UL_DL
UL/DL.
Definition:
radiotap-header.h:334
Generated on Wed Nov 7 2018 10:02:08 for ns-3 by
1.8.14