A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
radiotap-header.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2009 CTTC
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, Include., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Authors: Nicola Baldo <nbaldo@cttc.es>
18
* Sébastien Deronne <sebastien.deronne@gmail.com>
19
*/
20
21
#ifndef RADIOTAP_HEADER_H
22
#define RADIOTAP_HEADER_H
23
24
#include <ns3/header.h>
25
26
namespace
ns3
27
{
28
37
class
RadiotapHeader
:
public
Header
38
{
39
public
:
40
RadiotapHeader
();
45
static
TypeId
GetTypeId
();
46
TypeId
GetInstanceTypeId
()
const override
;
47
55
uint32_t
GetSerializedSize
()
const override
;
56
65
void
Serialize
(
Buffer::Iterator
start
)
const override
;
66
76
uint32_t
Deserialize
(
Buffer::Iterator
start
)
override
;
77
91
void
Print
(std::ostream& os)
const override
;
92
101
void
SetTsft
(uint64_t tsft);
102
106
enum
FrameFlag
107
{
108
FRAME_FLAG_NONE
= 0x00,
109
FRAME_FLAG_CFP
= 0x01,
110
FRAME_FLAG_SHORT_PREAMBLE
= 0x02,
111
FRAME_FLAG_WEP
= 0x04,
112
FRAME_FLAG_FRAGMENTED
= 0x08,
113
FRAME_FLAG_FCS_INCLUDED
= 0x10,
114
FRAME_FLAG_DATA_PADDING
=
115
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
=
188
0x80,
189
};
190
194
enum
McsFlags
195
{
196
MCS_FLAGS_NONE
=
197
0x00,
198
MCS_FLAGS_BANDWIDTH_40
= 0x01,
199
MCS_FLAGS_BANDWIDTH_20L
= 0x02,
200
MCS_FLAGS_BANDWIDTH_20U
= 0x03,
201
MCS_FLAGS_GUARD_INTERVAL
= 0x04,
202
MCS_FLAGS_HT_GREENFIELD
= 0x08,
203
MCS_FLAGS_FEC_TYPE
= 0x10,
204
MCS_FLAGS_STBC_STREAMS
= 0x60,
205
MCS_FLAGS_NESS_BIT_0
=
206
0x80,
207
};
208
216
void
SetMcsFields
(uint8_t known, uint8_t flags, uint8_t mcs);
217
221
enum
AmpduFlags
222
{
223
A_MPDU_STATUS_NONE
= 0x00,
224
A_MPDU_STATUS_REPORT_ZERO_LENGTH
= 0x01,
225
A_MPDU_STATUS_IS_ZERO_LENGTH
=
226
0x02,
227
A_MPDU_STATUS_LAST_KNOWN
=
228
0x04,
229
A_MPDU_STATUS_LAST
= 0x08,
230
A_MPDU_STATUS_DELIMITER_CRC_ERROR
= 0x10,
231
A_MPDU_STATUS_DELIMITER_CRC_KNOWN
=
232
0x20
233
};
234
243
void
SetAmpduStatus
(uint32_t referenceNumber, uint16_t flags, uint8_t crc);
244
248
enum
VhtKnown
249
{
250
VHT_KNOWN_NONE
= 0x0000,
251
VHT_KNOWN_STBC
= 0x0001,
253
VHT_KNOWN_TXOP_PS_NOT_ALLOWED
= 0x0002,
254
VHT_KNOWN_GUARD_INTERVAL
= 0x0004,
255
VHT_KNOWN_SHORT_GI_NSYM_DISAMBIGUATION
= 0x0008,
256
VHT_KNOWN_LDPC_EXTRA_OFDM_SYMBOL
= 0x0010,
257
VHT_KNOWN_BEAMFORMED
= 0x0020,
259
VHT_KNOWN_BANDWIDTH
= 0x0040,
260
VHT_KNOWN_GROUP_ID
= 0x0080,
261
VHT_KNOWN_PARTIAL_AID
= 0x0100,
262
};
263
267
enum
VhtFlags
268
{
269
VHT_FLAGS_NONE
= 0x00,
270
VHT_FLAGS_STBC
=
271
0x01,
272
VHT_FLAGS_TXOP_PS_NOT_ALLOWED
=
273
0x02,
274
VHT_FLAGS_GUARD_INTERVAL
= 0x04,
275
VHT_FLAGS_SHORT_GI_NSYM_DISAMBIGUATION
=
276
0x08,
277
VHT_FLAGS_LDPC_EXTRA_OFDM_SYMBOL
=
278
0x10,
280
VHT_FLAGS_BEAMFORMED
= 0x20,
281
};
282
294
void
SetVhtFields
(uint16_t known,
295
uint8_t flags,
296
uint8_t bandwidth,
297
uint8_t mcs_nss[4],
298
uint8_t coding,
299
uint8_t group_id,
300
uint16_t partial_aid);
301
305
enum
HeData1
306
{
307
HE_DATA1_FORMAT_EXT_SU
= 0x0001,
308
HE_DATA1_FORMAT_MU
= 0x0002,
309
HE_DATA1_FORMAT_TRIG
= 0x0003,
310
HE_DATA1_BSS_COLOR_KNOWN
= 0x0004,
311
HE_DATA1_BEAM_CHANGE_KNOWN
= 0x0008,
312
HE_DATA1_UL_DL_KNOWN
= 0x0010,
313
HE_DATA1_DATA_MCS_KNOWN
= 0x0020,
314
HE_DATA1_DATA_DCM_KNOWN
= 0x0040,
315
HE_DATA1_CODING_KNOWN
= 0x0080,
316
HE_DATA1_LDPC_XSYMSEG_KNOWN
= 0x0100,
317
HE_DATA1_STBC_KNOWN
= 0x0200,
318
HE_DATA1_SPTL_REUSE_KNOWN
=
319
0x0400,
320
HE_DATA1_SPTL_REUSE2_KNOWN
= 0x0800,
322
HE_DATA1_SPTL_REUSE3_KNOWN
= 0x1000,
323
HE_DATA1_SPTL_REUSE4_KNOWN
= 0x2000,
324
HE_DATA1_BW_RU_ALLOC_KNOWN
= 0x4000,
325
HE_DATA1_DOPPLER_KNOWN
= 0x8000,
326
};
327
331
enum
HeData2
332
{
333
HE_DATA2_PRISEC_80_KNOWN
= 0x0001,
334
HE_DATA2_GI_KNOWN
= 0x0002,
335
HE_DATA2_NUM_LTF_SYMS_KNOWN
= 0x0004,
336
HE_DATA2_PRE_FEC_PAD_KNOWN
= 0x0008,
337
HE_DATA2_TXBF_KNOWN
= 0x0010,
338
HE_DATA2_PE_DISAMBIG_KNOWN
= 0x0020,
339
HE_DATA2_TXOP_KNOWN
= 0x0040,
340
HE_DATA2_MIDAMBLE_KNOWN
= 0x0080,
341
HE_DATA2_RU_OFFSET
= 0x3f00,
342
HE_DATA2_RU_OFFSET_KNOWN
= 0x4000,
343
HE_DATA2_PRISEC_80_SEC
= 0x8000,
344
};
345
349
enum
HeData5
350
{
351
HE_DATA5_DATA_BW_RU_ALLOC_40MHZ
= 0x0001,
352
HE_DATA5_DATA_BW_RU_ALLOC_80MHZ
= 0x0002,
353
HE_DATA5_DATA_BW_RU_ALLOC_160MHZ
= 0x0003,
354
HE_DATA5_DATA_BW_RU_ALLOC_26T
= 0x0004,
355
HE_DATA5_DATA_BW_RU_ALLOC_52T
= 0x0005,
356
HE_DATA5_DATA_BW_RU_ALLOC_106T
= 0x0006,
357
HE_DATA5_DATA_BW_RU_ALLOC_242T
= 0x0007,
358
HE_DATA5_DATA_BW_RU_ALLOC_484T
= 0x0008,
359
HE_DATA5_DATA_BW_RU_ALLOC_996T
= 0x0009,
360
HE_DATA5_DATA_BW_RU_ALLOC_2x996T
= 0x000a,
361
HE_DATA5_GI_1_6
= 0x0010,
362
HE_DATA5_GI_3_2
= 0x0020,
363
HE_DATA5_LTF_SYM_SIZE
= 0x00c0,
364
HE_DATA5_NUM_LTF_SYMS
= 0x0700,
365
HE_DATA5_PRE_FEC_PAD
= 0x3000,
366
HE_DATA5_TXBF
= 0x4000,
367
HE_DATA5_PE_DISAMBIG
= 0x8000,
368
};
369
380
void
SetHeFields
(uint16_t data1,
381
uint16_t data2,
382
uint16_t data3,
383
uint16_t data4,
384
uint16_t data5,
385
uint16_t data6);
386
390
enum
HeMuFlags1
391
{
392
HE_MU_FLAGS1_SIGB_MCS
= 0x000f,
393
HE_MU_FLAGS1_SIGB_MCS_KNOWN
= 0x0010,
394
HE_MU_FLAGS1_SIGB_DCM
= 0x0020,
395
HE_MU_FLAGS1_SIGB_DCM_KNOWN
= 0x0040,
396
HE_MU_FLAGS1_CH2_CENTER_26T_RU_KNOWN
= 0x0080,
397
HE_MU_FLAGS1_CH1_RUS_KNOWN
= 0x0100,
398
HE_MU_FLAGS1_CH2_RUS_KNOWN
= 0x0200,
399
HE_MU_FLAGS1_CH1_CENTER_26T_RU_KNOWN
= 0x1000,
400
HE_MU_FLAGS1_CH1_CENTER_26T_RU
= 0x2000,
401
HE_MU_FLAGS1_SIGB_COMPRESSION_KNOWN
= 0x4000,
402
HE_MU_FLAGS1_NUM_SIGB_SYMBOLS_KNOWN
= 0x8000,
403
};
404
408
enum
HeMuFlags2
409
{
410
HE_MU_FLAGS2_BW_FROM_SIGA
= 0x0003,
411
HE_MU_FLAGS2_BW_FROM_SIGA_KNOWN
=
412
0x0004,
413
HE_MU_FLAGS2_SIGB_COMPRESSION_FROM_SIGA
= 0x0008,
414
HE_MU_FLAGS2_NUM_SIGB_SYMBOLS_FROM_SIGA
=
415
0x00f0,
416
HE_MU_FLAGS2_PREAMBLE_PUNCTURING_FROM_SIGA_BW_FIELD
=
417
0x0300,
418
HE_MU_FLAGS2_PREAMBLE_PUNCTURING_FROM_SIGA_BW_FIELD_KNOWN
=
419
0x0400,
420
HE_MU_FLAGS2_CH2_CENTER_26T_RU
= 0x0800,
421
};
422
431
void
SetHeMuFields
(uint16_t flags1,
432
uint16_t flags2,
433
const
std::array<uint8_t, 4>& ruChannel1,
434
const
std::array<uint8_t, 4>& ruChannel2);
435
439
enum
HeMuPerUserKnown
440
{
441
HE_MU_PER_USER_POSITION_KNOWN
= 0x01,
442
HE_MU_PER_USER_STA_ID_KNOWN
= 0x02,
443
HE_MU_PER_USER_NSTS_KNOWN
= 0x04,
444
HE_MU_PER_USER_TX_BF_KNOWN
= 0x08,
445
HE_MU_PER_USER_SPATIAL_CONFIGURATION_KNOWN
= 0x10,
446
HE_MU_PER_USER_MCS_KNOWN
= 0x20,
447
HE_MU_PER_USER_DCM_KNOWN
= 0x40,
448
HE_MU_PER_USER_CODING_KNOWN
= 0x80,
449
};
450
459
void
SetHeMuPerUserFields
(uint16_t perUser1,
460
uint16_t perUser2,
461
uint8_t perUserPosition,
462
uint8_t perUserKnown);
463
464
private
:
468
enum
RadiotapFlags
469
{
470
RADIOTAP_TSFT
= 0x00000001,
471
RADIOTAP_FLAGS
= 0x00000002,
472
RADIOTAP_RATE
= 0x00000004,
473
RADIOTAP_CHANNEL
= 0x00000008,
474
RADIOTAP_FHSS
= 0x00000010,
475
RADIOTAP_DBM_ANTSIGNAL
= 0x00000020,
476
RADIOTAP_DBM_ANTNOISE
= 0x00000040,
477
RADIOTAP_LOCK_QUALITY
= 0x00000080,
478
RADIOTAP_TX_ATTENUATION
= 0x00000100,
479
RADIOTAP_DB_TX_ATTENUATION
= 0x00000200,
480
RADIOTAP_DBM_TX_POWER
= 0x00000400,
481
RADIOTAP_ANTENNA
= 0x00000800,
482
RADIOTAP_DB_ANTSIGNAL
= 0x00001000,
483
RADIOTAP_DB_ANTNOISE
= 0x00002000,
484
RADIOTAP_RX_FLAGS
= 0x00004000,
485
RADIOTAP_MCS
= 0x00080000,
486
RADIOTAP_AMPDU_STATUS
= 0x00100000,
487
RADIOTAP_VHT
= 0x00200000,
488
RADIOTAP_HE
= 0x00800000,
489
RADIOTAP_HE_MU
= 0x01000000,
490
RADIOTAP_HE_MU_OTHER_USER
= 0x02000000,
491
RADIOTAP_ZERO_LEN_PSDU
= 0x04000000,
492
RADIOTAP_LSIG
= 0x08000000,
493
RADIOTAP_EXT
= 0x80000000
494
};
495
496
uint16_t
m_length
;
497
uint32_t
m_present
;
498
499
uint64_t
m_tsft
;
501
uint8_t
m_flags
;
502
uint8_t
m_rate
;
503
uint8_t
m_channelPad
;
504
uint16_t
m_channelFreq
;
505
uint16_t
m_channelFlags
;
506
int8_t
m_antennaSignal
;
508
int8_t
m_antennaNoise
;
510
511
uint8_t
m_mcsKnown
;
512
uint8_t
m_mcsFlags
;
513
uint8_t
m_mcsRate
;
514
515
uint8_t
m_ampduStatusPad
;
516
uint32_t
m_ampduStatusRef
;
517
uint16_t
m_ampduStatusFlags
;
518
uint8_t
m_ampduStatusCRC
;
519
520
uint8_t
m_vhtPad
;
521
uint16_t
m_vhtKnown
;
522
uint8_t
m_vhtFlags
;
523
uint8_t
m_vhtBandwidth
;
524
uint8_t
m_vhtMcsNss
[4];
525
uint8_t
m_vhtCoding
;
526
uint8_t
m_vhtGroupId
;
527
uint16_t
m_vhtPartialAid
;
528
529
uint8_t
m_hePad
;
530
uint16_t
m_heData1
;
531
uint16_t
m_heData2
;
532
uint16_t
m_heData3
;
533
uint16_t
m_heData4
;
534
uint16_t
m_heData5
;
535
uint16_t
m_heData6
;
536
537
uint8_t
m_heMuPad
;
538
uint16_t
m_heMuFlags1
;
539
uint16_t
m_heMuFlags2
;
540
541
uint8_t
m_heMuOtherUserPad
;
542
uint16_t
m_heMuPerUser1
;
543
uint16_t
m_heMuPerUser2
;
544
uint8_t
m_heMuPerUserPosition
;
545
uint8_t
m_heMuPerUserKnown
;
546
};
547
548
}
// namespace ns3
549
550
#endif
/* RADIOTAP_HEADER_H */
ns3::Buffer::Iterator
iterator in a Buffer instance
Definition:
buffer.h:100
ns3::Header
Protocol header serialization and deserialization.
Definition:
header.h:44
ns3::Header::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)=0
Deserialize the object from a buffer iterator.
ns3::RadiotapHeader
Radiotap header implementation.
Definition:
radiotap-header.h:38
ns3::RadiotapHeader::m_ampduStatusCRC
uint8_t m_ampduStatusCRC
A-MPDU Status Flags, delimiter CRC value.
Definition:
radiotap-header.h:518
ns3::RadiotapHeader::m_rate
uint8_t m_rate
TX/RX data rate in units of 500 kbps.
Definition:
radiotap-header.h:502
ns3::RadiotapHeader::m_heMuPerUser1
uint16_t m_heMuPerUser1
HE MU per_user_1 field.
Definition:
radiotap-header.h:542
ns3::RadiotapHeader::m_mcsRate
uint8_t m_mcsRate
MCS Flags, mcs rate index.
Definition:
radiotap-header.h:513
ns3::RadiotapHeader::m_vhtGroupId
uint8_t m_vhtGroupId
VHT group_id field.
Definition:
radiotap-header.h:526
ns3::RadiotapHeader::m_ampduStatusFlags
uint16_t m_ampduStatusFlags
A-MPDU Status Flags, information about the received A-MPDU.
Definition:
radiotap-header.h:517
ns3::RadiotapHeader::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition:
radiotap-header.cc:75
ns3::RadiotapHeader::m_heMuPerUserPosition
uint8_t m_heMuPerUserPosition
HE MU per_user_position field.
Definition:
radiotap-header.h:544
ns3::RadiotapHeader::m_ampduStatusPad
uint8_t m_ampduStatusPad
A-MPDU Status Flags, padding before A-MPDU Status Field.
Definition:
radiotap-header.h:515
ns3::RadiotapHeader::SetMcsFields
void SetMcsFields(uint8_t known, uint8_t flags, uint8_t mcs)
Set the MCS fields.
Definition:
radiotap-header.cc:773
ns3::RadiotapHeader::ChannelFlags
ChannelFlags
Channel flags.
Definition:
radiotap-header.h:136
ns3::RadiotapHeader::CHANNEL_FLAG_GFSK
@ CHANNEL_FLAG_GFSK
GFSK channel (FHSS PHY)
Definition:
radiotap-header.h:145
ns3::RadiotapHeader::CHANNEL_FLAG_TURBO
@ CHANNEL_FLAG_TURBO
Turbo Channel.
Definition:
radiotap-header.h:138
ns3::RadiotapHeader::CHANNEL_FLAG_DYNAMIC
@ CHANNEL_FLAG_DYNAMIC
Dynamic CCK-OFDM channel.
Definition:
radiotap-header.h:144
ns3::RadiotapHeader::CHANNEL_FLAG_PASSIVE
@ CHANNEL_FLAG_PASSIVE
Only passive scan allowed.
Definition:
radiotap-header.h:143
ns3::RadiotapHeader::CHANNEL_FLAG_OFDM
@ CHANNEL_FLAG_OFDM
OFDM channel.
Definition:
radiotap-header.h:140
ns3::RadiotapHeader::CHANNEL_FLAG_CCK
@ CHANNEL_FLAG_CCK
CCK channel.
Definition:
radiotap-header.h:139
ns3::RadiotapHeader::CHANNEL_FLAG_NONE
@ CHANNEL_FLAG_NONE
No flags set.
Definition:
radiotap-header.h:137
ns3::RadiotapHeader::CHANNEL_FLAG_SPECTRUM_5GHZ
@ CHANNEL_FLAG_SPECTRUM_5GHZ
5 GHz spectrum channel
Definition:
radiotap-header.h:142
ns3::RadiotapHeader::CHANNEL_FLAG_SPECTRUM_2GHZ
@ CHANNEL_FLAG_SPECTRUM_2GHZ
2 GHz spectrum channel
Definition:
radiotap-header.h:141
ns3::RadiotapHeader::m_mcsKnown
uint8_t m_mcsKnown
MCS Flags, known information field.
Definition:
radiotap-header.h:511
ns3::RadiotapHeader::m_heData4
uint16_t m_heData4
HE data4 field.
Definition:
radiotap-header.h:533
ns3::RadiotapHeader::VhtKnown
VhtKnown
VHT known bits.
Definition:
radiotap-header.h:249
ns3::RadiotapHeader::VHT_KNOWN_GROUP_ID
@ VHT_KNOWN_GROUP_ID
Group ID known.
Definition:
radiotap-header.h:260
ns3::RadiotapHeader::VHT_KNOWN_NONE
@ VHT_KNOWN_NONE
No flags set.
Definition:
radiotap-header.h:250
ns3::RadiotapHeader::VHT_KNOWN_BANDWIDTH
@ VHT_KNOWN_BANDWIDTH
Bandwidth known.
Definition:
radiotap-header.h:259
ns3::RadiotapHeader::VHT_KNOWN_STBC
@ VHT_KNOWN_STBC
Space-time block coding (1 if all spatial streams of all users have STBC, 0 otherwise).
Definition:
radiotap-header.h:251
ns3::RadiotapHeader::VHT_KNOWN_GUARD_INTERVAL
@ VHT_KNOWN_GUARD_INTERVAL
Guard interval.
Definition:
radiotap-header.h:254
ns3::RadiotapHeader::VHT_KNOWN_LDPC_EXTRA_OFDM_SYMBOL
@ VHT_KNOWN_LDPC_EXTRA_OFDM_SYMBOL
LDPC extra OFDM symbol known.
Definition:
radiotap-header.h:256
ns3::RadiotapHeader::VHT_KNOWN_PARTIAL_AID
@ VHT_KNOWN_PARTIAL_AID
Partial AID known/applicable.
Definition:
radiotap-header.h:261
ns3::RadiotapHeader::VHT_KNOWN_BEAMFORMED
@ VHT_KNOWN_BEAMFORMED
Beamformed known/applicable (this flag should be set to zero for MU PPDUs).
Definition:
radiotap-header.h:257
ns3::RadiotapHeader::VHT_KNOWN_SHORT_GI_NSYM_DISAMBIGUATION
@ VHT_KNOWN_SHORT_GI_NSYM_DISAMBIGUATION
Short GI NSYM disambiguation known.
Definition:
radiotap-header.h:255
ns3::RadiotapHeader::VHT_KNOWN_TXOP_PS_NOT_ALLOWED
@ VHT_KNOWN_TXOP_PS_NOT_ALLOWED
TXOP_PS_NOT_ALLOWED known.
Definition:
radiotap-header.h:253
ns3::RadiotapHeader::m_vhtPartialAid
uint16_t m_vhtPartialAid
VHT partial_aid field.
Definition:
radiotap-header.h:527
ns3::RadiotapHeader::m_heMuFlags1
uint16_t m_heMuFlags1
HE MU flags1 field.
Definition:
radiotap-header.h:538
ns3::RadiotapHeader::SetChannelFrequencyAndFlags
void SetChannelFrequencyAndFlags(uint16_t frequency, uint16_t flags)
Set the transmit/receive channel frequency and flags.
Definition:
radiotap-header.cc:701
ns3::RadiotapHeader::m_heMuPad
uint8_t m_heMuPad
HE MU padding.
Definition:
radiotap-header.h:537
ns3::RadiotapHeader::FrameFlag
FrameFlag
Frame flags.
Definition:
radiotap-header.h:107
ns3::RadiotapHeader::FRAME_FLAG_FRAGMENTED
@ FRAME_FLAG_FRAGMENTED
Frame sent/received with fragmentation.
Definition:
radiotap-header.h:112
ns3::RadiotapHeader::FRAME_FLAG_BAD_FCS
@ FRAME_FLAG_BAD_FCS
Frame failed FCS check.
Definition:
radiotap-header.h:116
ns3::RadiotapHeader::FRAME_FLAG_SHORT_PREAMBLE
@ FRAME_FLAG_SHORT_PREAMBLE
Frame sent/received with short preamble.
Definition:
radiotap-header.h:110
ns3::RadiotapHeader::FRAME_FLAG_SHORT_GUARD
@ FRAME_FLAG_SHORT_GUARD
Frame used short guard interval (HT)
Definition:
radiotap-header.h:117
ns3::RadiotapHeader::FRAME_FLAG_CFP
@ FRAME_FLAG_CFP
Frame sent/received during CFP.
Definition:
radiotap-header.h:109
ns3::RadiotapHeader::FRAME_FLAG_WEP
@ FRAME_FLAG_WEP
Frame sent/received with WEP encryption.
Definition:
radiotap-header.h:111
ns3::RadiotapHeader::FRAME_FLAG_DATA_PADDING
@ FRAME_FLAG_DATA_PADDING
Frame has padding between 802.11 header and payload (to 32-bit boundary)
Definition:
radiotap-header.h:114
ns3::RadiotapHeader::FRAME_FLAG_FCS_INCLUDED
@ FRAME_FLAG_FCS_INCLUDED
Frame includes FCS.
Definition:
radiotap-header.h:113
ns3::RadiotapHeader::FRAME_FLAG_NONE
@ FRAME_FLAG_NONE
No flags set.
Definition:
radiotap-header.h:108
ns3::RadiotapHeader::Print
void Print(std::ostream &os) const override
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:632
ns3::RadiotapHeader::m_heData1
uint16_t m_heData1
HE data1 field.
Definition:
radiotap-header.h:530
ns3::RadiotapHeader::m_heMuOtherUserPad
uint8_t m_heMuOtherUserPad
HE MU other user padding.
Definition:
radiotap-header.h:541
ns3::RadiotapHeader::m_hePad
uint8_t m_hePad
HE padding.
Definition:
radiotap-header.h:529
ns3::RadiotapHeader::HeData2
HeData2
HE data2.
Definition:
radiotap-header.h:332
ns3::RadiotapHeader::HE_DATA2_PRISEC_80_SEC
@ HE_DATA2_PRISEC_80_SEC
pri/sec 80 MHz
Definition:
radiotap-header.h:343
ns3::RadiotapHeader::HE_DATA2_PRE_FEC_PAD_KNOWN
@ HE_DATA2_PRE_FEC_PAD_KNOWN
Pre-FEC Padding Factor known.
Definition:
radiotap-header.h:336
ns3::RadiotapHeader::HE_DATA2_TXOP_KNOWN
@ HE_DATA2_TXOP_KNOWN
TXOP known.
Definition:
radiotap-header.h:339
ns3::RadiotapHeader::HE_DATA2_GI_KNOWN
@ HE_DATA2_GI_KNOWN
GI known.
Definition:
radiotap-header.h:334
ns3::RadiotapHeader::HE_DATA2_PE_DISAMBIG_KNOWN
@ HE_DATA2_PE_DISAMBIG_KNOWN
PE Disambiguity known.
Definition:
radiotap-header.h:338
ns3::RadiotapHeader::HE_DATA2_RU_OFFSET
@ HE_DATA2_RU_OFFSET
RU allocation offset.
Definition:
radiotap-header.h:341
ns3::RadiotapHeader::HE_DATA2_NUM_LTF_SYMS_KNOWN
@ HE_DATA2_NUM_LTF_SYMS_KNOWN
number of LTF symbols known
Definition:
radiotap-header.h:335
ns3::RadiotapHeader::HE_DATA2_TXBF_KNOWN
@ HE_DATA2_TXBF_KNOWN
TxBF known.
Definition:
radiotap-header.h:337
ns3::RadiotapHeader::HE_DATA2_RU_OFFSET_KNOWN
@ HE_DATA2_RU_OFFSET_KNOWN
RU allocation offset known.
Definition:
radiotap-header.h:342
ns3::RadiotapHeader::HE_DATA2_MIDAMBLE_KNOWN
@ HE_DATA2_MIDAMBLE_KNOWN
midamble periodicity known
Definition:
radiotap-header.h:340
ns3::RadiotapHeader::HE_DATA2_PRISEC_80_KNOWN
@ HE_DATA2_PRISEC_80_KNOWN
pri/sec 80 MHz known
Definition:
radiotap-header.h:333
ns3::RadiotapHeader::SetRate
void SetRate(uint8_t rate)
Set the transmit/receive channel frequency in units of megahertz.
Definition:
radiotap-header.cc:685
ns3::RadiotapHeader::m_heMuPerUser2
uint16_t m_heMuPerUser2
HE MU per_user_2 field.
Definition:
radiotap-header.h:543
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:506
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:808
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:719
ns3::RadiotapHeader::m_vhtBandwidth
uint8_t m_vhtBandwidth
VHT bandwidth field.
Definition:
radiotap-header.h:523
ns3::RadiotapHeader::SetTsft
void SetTsft(uint64_t tsft)
Set the Time Synchronization Function Timer (TSFT) value.
Definition:
radiotap-header.cc:653
ns3::RadiotapHeader::m_length
uint16_t m_length
entire length of radiotap data + header
Definition:
radiotap-header.h:496
ns3::RadiotapHeader::m_heData6
uint16_t m_heData6
HE data6 field.
Definition:
radiotap-header.h:535
ns3::RadiotapHeader::Serialize
void Serialize(Buffer::Iterator start) const override
This method is used by Packet::AddHeader to store the header into the byte buffer of a packet.
Definition:
radiotap-header.cc:99
ns3::RadiotapHeader::m_vhtCoding
uint8_t m_vhtCoding
VHT coding field.
Definition:
radiotap-header.h:525
ns3::RadiotapHeader::VhtFlags
VhtFlags
VHT flags.
Definition:
radiotap-header.h:268
ns3::RadiotapHeader::VHT_FLAGS_LDPC_EXTRA_OFDM_SYMBOL
@ 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:277
ns3::RadiotapHeader::VHT_FLAGS_TXOP_PS_NOT_ALLOWED
@ VHT_FLAGS_TXOP_PS_NOT_ALLOWED
Set if STAs may not doze during TXOP (valid only for AP transmitters).
Definition:
radiotap-header.h:272
ns3::RadiotapHeader::VHT_FLAGS_NONE
@ VHT_FLAGS_NONE
No flags set.
Definition:
radiotap-header.h:269
ns3::RadiotapHeader::VHT_FLAGS_STBC
@ VHT_FLAGS_STBC
Set if all spatial streams of all users have space-time block coding.
Definition:
radiotap-header.h:270
ns3::RadiotapHeader::VHT_FLAGS_BEAMFORMED
@ VHT_FLAGS_BEAMFORMED
Set if beamforming is used (valid for SU PPDUs only).
Definition:
radiotap-header.h:280
ns3::RadiotapHeader::VHT_FLAGS_GUARD_INTERVAL
@ VHT_FLAGS_GUARD_INTERVAL
Short guard interval.
Definition:
radiotap-header.h:274
ns3::RadiotapHeader::VHT_FLAGS_SHORT_GI_NSYM_DISAMBIGUATION
@ VHT_FLAGS_SHORT_GI_NSYM_DISAMBIGUATION
Set if NSYM mod 10 = 9 (valid only if short GI is used).
Definition:
radiotap-header.h:275
ns3::RadiotapHeader::SetHeFields
void SetHeFields(uint16_t data1, uint16_t data2, uint16_t data3, uint16_t data4, uint16_t data5, uint16_t data6)
Set the HE fields.
Definition:
radiotap-header.cc:840
ns3::RadiotapHeader::HeMuFlags2
HeMuFlags2
HE MU flags2.
Definition:
radiotap-header.h:409
ns3::RadiotapHeader::HE_MU_FLAGS2_BW_FROM_SIGA_KNOWN
@ HE_MU_FLAGS2_BW_FROM_SIGA_KNOWN
Bandwidth from Bandwidth field in HE-SIG-A known.
Definition:
radiotap-header.h:411
ns3::RadiotapHeader::HE_MU_FLAGS2_CH2_CENTER_26T_RU
@ HE_MU_FLAGS2_CH2_CENTER_26T_RU
(Channel 2) Center 26-tone RU value
Definition:
radiotap-header.h:420
ns3::RadiotapHeader::HE_MU_FLAGS2_NUM_SIGB_SYMBOLS_FROM_SIGA
@ HE_MU_FLAGS2_NUM_SIGB_SYMBOLS_FROM_SIGA
Definition:
radiotap-header.h:414
ns3::RadiotapHeader::HE_MU_FLAGS2_BW_FROM_SIGA
@ HE_MU_FLAGS2_BW_FROM_SIGA
Bandwidth from Bandwidth field in HE-SIG-A.
Definition:
radiotap-header.h:410
ns3::RadiotapHeader::HE_MU_FLAGS2_PREAMBLE_PUNCTURING_FROM_SIGA_BW_FIELD_KNOWN
@ HE_MU_FLAGS2_PREAMBLE_PUNCTURING_FROM_SIGA_BW_FIELD_KNOWN
Preamble puncturing from Bandwidth field in HE-SIG-A known.
Definition:
radiotap-header.h:418
ns3::RadiotapHeader::HE_MU_FLAGS2_PREAMBLE_PUNCTURING_FROM_SIGA_BW_FIELD
@ HE_MU_FLAGS2_PREAMBLE_PUNCTURING_FROM_SIGA_BW_FIELD
Preamble puncturing from Bandwidth field in HE-SIG-A.
Definition:
radiotap-header.h:416
ns3::RadiotapHeader::HE_MU_FLAGS2_SIGB_COMPRESSION_FROM_SIGA
@ HE_MU_FLAGS2_SIGB_COMPRESSION_FROM_SIGA
SIG-B compression from SIG-A.
Definition:
radiotap-header.h:413
ns3::RadiotapHeader::m_vhtMcsNss
uint8_t m_vhtMcsNss[4]
VHT mcs_nss field.
Definition:
radiotap-header.h:524
ns3::RadiotapHeader::m_heData5
uint16_t m_heData5
HE data5 field.
Definition:
radiotap-header.h:534
ns3::RadiotapHeader::McsFlags
McsFlags
MCS flags.
Definition:
radiotap-header.h:195
ns3::RadiotapHeader::MCS_FLAGS_BANDWIDTH_20L
@ MCS_FLAGS_BANDWIDTH_20L
20L (20 MHz in lower half of 40 MHz channel)
Definition:
radiotap-header.h:199
ns3::RadiotapHeader::MCS_FLAGS_NESS_BIT_0
@ MCS_FLAGS_NESS_BIT_0
Ness - bit 0 (LSB) of Number of extension spatial streams.
Definition:
radiotap-header.h:205
ns3::RadiotapHeader::MCS_FLAGS_NONE
@ MCS_FLAGS_NONE
Default: 20 MHz, long guard interval, mixed HT format and BCC FEC type.
Definition:
radiotap-header.h:196
ns3::RadiotapHeader::MCS_FLAGS_STBC_STREAMS
@ MCS_FLAGS_STBC_STREAMS
STBC enabled.
Definition:
radiotap-header.h:204
ns3::RadiotapHeader::MCS_FLAGS_FEC_TYPE
@ MCS_FLAGS_FEC_TYPE
LDPC FEC type.
Definition:
radiotap-header.h:203
ns3::RadiotapHeader::MCS_FLAGS_BANDWIDTH_40
@ MCS_FLAGS_BANDWIDTH_40
40 MHz
Definition:
radiotap-header.h:198
ns3::RadiotapHeader::MCS_FLAGS_HT_GREENFIELD
@ MCS_FLAGS_HT_GREENFIELD
Greenfield HT format.
Definition:
radiotap-header.h:202
ns3::RadiotapHeader::MCS_FLAGS_GUARD_INTERVAL
@ MCS_FLAGS_GUARD_INTERVAL
Short guard interval.
Definition:
radiotap-header.h:201
ns3::RadiotapHeader::MCS_FLAGS_BANDWIDTH_20U
@ MCS_FLAGS_BANDWIDTH_20U
20U (20 MHz in upper half of 40 MHz channel)
Definition:
radiotap-header.h:200
ns3::RadiotapHeader::m_channelFlags
uint16_t m_channelFlags
Tx/Rx channel flags.
Definition:
radiotap-header.h:505
ns3::RadiotapHeader::HeData1
HeData1
HE data1.
Definition:
radiotap-header.h:306
ns3::RadiotapHeader::HE_DATA1_SPTL_REUSE_KNOWN
@ HE_DATA1_SPTL_REUSE_KNOWN
Spatial Reuse known (Spatial Reuse 1 for HE TRIG PPDU format)
Definition:
radiotap-header.h:318
ns3::RadiotapHeader::HE_DATA1_DATA_DCM_KNOWN
@ HE_DATA1_DATA_DCM_KNOWN
data DCM known
Definition:
radiotap-header.h:314
ns3::RadiotapHeader::HE_DATA1_CODING_KNOWN
@ HE_DATA1_CODING_KNOWN
Coding known.
Definition:
radiotap-header.h:315
ns3::RadiotapHeader::HE_DATA1_FORMAT_TRIG
@ HE_DATA1_FORMAT_TRIG
HE TRIG PPDU format.
Definition:
radiotap-header.h:309
ns3::RadiotapHeader::HE_DATA1_STBC_KNOWN
@ HE_DATA1_STBC_KNOWN
STBC known.
Definition:
radiotap-header.h:317
ns3::RadiotapHeader::HE_DATA1_SPTL_REUSE4_KNOWN
@ HE_DATA1_SPTL_REUSE4_KNOWN
Spatial Reuse 4 known (HE TRIG PPDU format)
Definition:
radiotap-header.h:323
ns3::RadiotapHeader::HE_DATA1_FORMAT_MU
@ HE_DATA1_FORMAT_MU
HE MU PPDU format.
Definition:
radiotap-header.h:308
ns3::RadiotapHeader::HE_DATA1_BSS_COLOR_KNOWN
@ HE_DATA1_BSS_COLOR_KNOWN
BSS Color known.
Definition:
radiotap-header.h:310
ns3::RadiotapHeader::HE_DATA1_LDPC_XSYMSEG_KNOWN
@ HE_DATA1_LDPC_XSYMSEG_KNOWN
LDPC extra symbol segment known.
Definition:
radiotap-header.h:316
ns3::RadiotapHeader::HE_DATA1_FORMAT_EXT_SU
@ HE_DATA1_FORMAT_EXT_SU
HE EXT SU PPDU format.
Definition:
radiotap-header.h:307
ns3::RadiotapHeader::HE_DATA1_SPTL_REUSE3_KNOWN
@ HE_DATA1_SPTL_REUSE3_KNOWN
Spatial Reuse 3 known (HE TRIG PPDU format)
Definition:
radiotap-header.h:322
ns3::RadiotapHeader::HE_DATA1_BEAM_CHANGE_KNOWN
@ HE_DATA1_BEAM_CHANGE_KNOWN
Beam Change known.
Definition:
radiotap-header.h:311
ns3::RadiotapHeader::HE_DATA1_DATA_MCS_KNOWN
@ HE_DATA1_DATA_MCS_KNOWN
data MCS known
Definition:
radiotap-header.h:313
ns3::RadiotapHeader::HE_DATA1_SPTL_REUSE2_KNOWN
@ HE_DATA1_SPTL_REUSE2_KNOWN
Spatial Reuse 2 known (HE TRIG PPDU format), STA-ID known (HE MU PPDU format)
Definition:
radiotap-header.h:320
ns3::RadiotapHeader::HE_DATA1_BW_RU_ALLOC_KNOWN
@ HE_DATA1_BW_RU_ALLOC_KNOWN
data BW/RU allocation known
Definition:
radiotap-header.h:324
ns3::RadiotapHeader::HE_DATA1_UL_DL_KNOWN
@ HE_DATA1_UL_DL_KNOWN
UL/DL known.
Definition:
radiotap-header.h:312
ns3::RadiotapHeader::HE_DATA1_DOPPLER_KNOWN
@ HE_DATA1_DOPPLER_KNOWN
Doppler known.
Definition:
radiotap-header.h:325
ns3::RadiotapHeader::m_present
uint32_t m_present
bits describing which fields follow header
Definition:
radiotap-header.h:497
ns3::RadiotapHeader::m_ampduStatusRef
uint32_t m_ampduStatusRef
A-MPDU Status Flags, reference number.
Definition:
radiotap-header.h:516
ns3::RadiotapHeader::SetAmpduStatus
void SetAmpduStatus(uint32_t referenceNumber, uint16_t flags, uint8_t crc)
Set the A-MPDU status fields.
Definition:
radiotap-header.cc:790
ns3::RadiotapHeader::m_heData2
uint16_t m_heData2
HE data2 field.
Definition:
radiotap-header.h:531
ns3::RadiotapHeader::GetInstanceTypeId
TypeId GetInstanceTypeId() const override
Get the most derived TypeId for this Object.
Definition:
radiotap-header.cc:86
ns3::RadiotapHeader::SetHeMuPerUserFields
void SetHeMuPerUserFields(uint16_t perUser1, uint16_t perUser2, uint8_t perUserPosition, uint8_t perUserKnown)
Set the HE MU per user fields.
Definition:
radiotap-header.cc:886
ns3::RadiotapHeader::AmpduFlags
AmpduFlags
A-MPDU status flags.
Definition:
radiotap-header.h:222
ns3::RadiotapHeader::A_MPDU_STATUS_IS_ZERO_LENGTH
@ A_MPDU_STATUS_IS_ZERO_LENGTH
Frame is 0-length subframe (valid only if 0x0001 is set)
Definition:
radiotap-header.h:225
ns3::RadiotapHeader::A_MPDU_STATUS_NONE
@ A_MPDU_STATUS_NONE
No flags set.
Definition:
radiotap-header.h:223
ns3::RadiotapHeader::A_MPDU_STATUS_REPORT_ZERO_LENGTH
@ A_MPDU_STATUS_REPORT_ZERO_LENGTH
Driver reports 0-length subframes.
Definition:
radiotap-header.h:224
ns3::RadiotapHeader::A_MPDU_STATUS_DELIMITER_CRC_KNOWN
@ A_MPDU_STATUS_DELIMITER_CRC_KNOWN
Delimiter CRC value known: the delimiter CRC value field is valid.
Definition:
radiotap-header.h:231
ns3::RadiotapHeader::A_MPDU_STATUS_DELIMITER_CRC_ERROR
@ A_MPDU_STATUS_DELIMITER_CRC_ERROR
Delimiter CRC error.
Definition:
radiotap-header.h:230
ns3::RadiotapHeader::A_MPDU_STATUS_LAST_KNOWN
@ A_MPDU_STATUS_LAST_KNOWN
Last subframe is known (should be set for all subframes in an A-MPDU)
Definition:
radiotap-header.h:227
ns3::RadiotapHeader::A_MPDU_STATUS_LAST
@ A_MPDU_STATUS_LAST
This frame is the last subframe.
Definition:
radiotap-header.h:229
ns3::RadiotapHeader::HeMuPerUserKnown
HeMuPerUserKnown
HE MU per_user_known.
Definition:
radiotap-header.h:440
ns3::RadiotapHeader::HE_MU_PER_USER_CODING_KNOWN
@ HE_MU_PER_USER_CODING_KNOWN
Coding known.
Definition:
radiotap-header.h:448
ns3::RadiotapHeader::HE_MU_PER_USER_POSITION_KNOWN
@ HE_MU_PER_USER_POSITION_KNOWN
User field position known.
Definition:
radiotap-header.h:441
ns3::RadiotapHeader::HE_MU_PER_USER_SPATIAL_CONFIGURATION_KNOWN
@ HE_MU_PER_USER_SPATIAL_CONFIGURATION_KNOWN
Spatial Configuration known.
Definition:
radiotap-header.h:445
ns3::RadiotapHeader::HE_MU_PER_USER_MCS_KNOWN
@ HE_MU_PER_USER_MCS_KNOWN
MCS known.
Definition:
radiotap-header.h:446
ns3::RadiotapHeader::HE_MU_PER_USER_TX_BF_KNOWN
@ HE_MU_PER_USER_TX_BF_KNOWN
Tx Beamforming known.
Definition:
radiotap-header.h:444
ns3::RadiotapHeader::HE_MU_PER_USER_NSTS_KNOWN
@ HE_MU_PER_USER_NSTS_KNOWN
NSTS known.
Definition:
radiotap-header.h:443
ns3::RadiotapHeader::HE_MU_PER_USER_STA_ID_KNOWN
@ HE_MU_PER_USER_STA_ID_KNOWN
STA-ID known.
Definition:
radiotap-header.h:442
ns3::RadiotapHeader::HE_MU_PER_USER_DCM_KNOWN
@ HE_MU_PER_USER_DCM_KNOWN
DCM known.
Definition:
radiotap-header.h:447
ns3::RadiotapHeader::McsKnown
McsKnown
MCS known bits.
Definition:
radiotap-header.h:178
ns3::RadiotapHeader::MCS_KNOWN_FEC_TYPE
@ MCS_KNOWN_FEC_TYPE
FEC type.
Definition:
radiotap-header.h:184
ns3::RadiotapHeader::MCS_KNOWN_GUARD_INTERVAL
@ MCS_KNOWN_GUARD_INTERVAL
Guard interval.
Definition:
radiotap-header.h:182
ns3::RadiotapHeader::MCS_KNOWN_NONE
@ MCS_KNOWN_NONE
No flags set.
Definition:
radiotap-header.h:179
ns3::RadiotapHeader::MCS_KNOWN_BANDWIDTH
@ MCS_KNOWN_BANDWIDTH
Bandwidth.
Definition:
radiotap-header.h:180
ns3::RadiotapHeader::MCS_KNOWN_NESS_BIT_1
@ 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_HT_FORMAT
@ MCS_KNOWN_HT_FORMAT
HT format.
Definition:
radiotap-header.h:183
ns3::RadiotapHeader::MCS_KNOWN_NESS
@ MCS_KNOWN_NESS
Ness known (Number of extension spatial streams)
Definition:
radiotap-header.h:186
ns3::RadiotapHeader::MCS_KNOWN_INDEX
@ MCS_KNOWN_INDEX
MCS index known.
Definition:
radiotap-header.h:181
ns3::RadiotapHeader::MCS_KNOWN_STBC
@ MCS_KNOWN_STBC
STBC known.
Definition:
radiotap-header.h:185
ns3::RadiotapHeader::m_mcsFlags
uint8_t m_mcsFlags
MCS Flags, flags field.
Definition:
radiotap-header.h:512
ns3::RadiotapHeader::SetHeMuFields
void SetHeMuFields(uint16_t flags1, uint16_t flags2, const std::array< uint8_t, 4 > &ruChannel1, const std::array< uint8_t, 4 > &ruChannel2)
Set the HE MU fields.
Definition:
radiotap-header.cc:866
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:746
ns3::RadiotapHeader::RadiotapHeader
RadiotapHeader()
Definition:
radiotap-header.cc:35
ns3::RadiotapHeader::m_heMuFlags2
uint16_t m_heMuFlags2
HE MU flags2 field.
Definition:
radiotap-header.h:539
ns3::RadiotapHeader::GetSerializedSize
uint32_t GetSerializedSize() const override
This method is used by Packet::AddHeader to store the header into the byte buffer of a packet.
Definition:
radiotap-header.cc:92
ns3::RadiotapHeader::HeMuFlags1
HeMuFlags1
HE MU flags1.
Definition:
radiotap-header.h:391
ns3::RadiotapHeader::HE_MU_FLAGS1_SIGB_DCM_KNOWN
@ HE_MU_FLAGS1_SIGB_DCM_KNOWN
SIG-B DCM known.
Definition:
radiotap-header.h:395
ns3::RadiotapHeader::HE_MU_FLAGS1_NUM_SIGB_SYMBOLS_KNOWN
@ HE_MU_FLAGS1_NUM_SIGB_SYMBOLS_KNOWN
Definition:
radiotap-header.h:402
ns3::RadiotapHeader::HE_MU_FLAGS1_SIGB_MCS_KNOWN
@ HE_MU_FLAGS1_SIGB_MCS_KNOWN
SIG-B MCS known.
Definition:
radiotap-header.h:393
ns3::RadiotapHeader::HE_MU_FLAGS1_CH1_RUS_KNOWN
@ HE_MU_FLAGS1_CH1_RUS_KNOWN
Channel 1 RUs known (which depends on BW)
Definition:
radiotap-header.h:397
ns3::RadiotapHeader::HE_MU_FLAGS1_SIGB_DCM
@ HE_MU_FLAGS1_SIGB_DCM
SIG-B DCM (from SIG-A)
Definition:
radiotap-header.h:394
ns3::RadiotapHeader::HE_MU_FLAGS1_CH2_RUS_KNOWN
@ HE_MU_FLAGS1_CH2_RUS_KNOWN
Channel 2 RUs known (which depends on BW)
Definition:
radiotap-header.h:398
ns3::RadiotapHeader::HE_MU_FLAGS1_CH1_CENTER_26T_RU_KNOWN
@ HE_MU_FLAGS1_CH1_CENTER_26T_RU_KNOWN
(Channel 1) Center 26-tone RU bit known
Definition:
radiotap-header.h:399
ns3::RadiotapHeader::HE_MU_FLAGS1_CH2_CENTER_26T_RU_KNOWN
@ HE_MU_FLAGS1_CH2_CENTER_26T_RU_KNOWN
(Channel 2) Center 26-tone RU bit known
Definition:
radiotap-header.h:396
ns3::RadiotapHeader::HE_MU_FLAGS1_CH1_CENTER_26T_RU
@ HE_MU_FLAGS1_CH1_CENTER_26T_RU
(Channel 1) Center 26-tone RU value
Definition:
radiotap-header.h:400
ns3::RadiotapHeader::HE_MU_FLAGS1_SIGB_COMPRESSION_KNOWN
@ HE_MU_FLAGS1_SIGB_COMPRESSION_KNOWN
SIG-B Compression known.
Definition:
radiotap-header.h:401
ns3::RadiotapHeader::HE_MU_FLAGS1_SIGB_MCS
@ HE_MU_FLAGS1_SIGB_MCS
SIG-B MCS (from SIG-A)
Definition:
radiotap-header.h:392
ns3::RadiotapHeader::m_vhtKnown
uint16_t m_vhtKnown
VHT known field.
Definition:
radiotap-header.h:521
ns3::RadiotapHeader::m_heData3
uint16_t m_heData3
HE data3 field.
Definition:
radiotap-header.h:532
ns3::RadiotapHeader::m_vhtFlags
uint8_t m_vhtFlags
VHT flags field.
Definition:
radiotap-header.h:522
ns3::RadiotapHeader::m_channelPad
uint8_t m_channelPad
Tx/Rx channel padding.
Definition:
radiotap-header.h:503
ns3::RadiotapHeader::HeData5
HeData5
HE data5.
Definition:
radiotap-header.h:350
ns3::RadiotapHeader::HE_DATA5_TXBF
@ HE_DATA5_TXBF
TxBF.
Definition:
radiotap-header.h:366
ns3::RadiotapHeader::HE_DATA5_PE_DISAMBIG
@ HE_DATA5_PE_DISAMBIG
PE Disambiguity.
Definition:
radiotap-header.h:367
ns3::RadiotapHeader::HE_DATA5_GI_1_6
@ HE_DATA5_GI_1_6
1.6us GI
Definition:
radiotap-header.h:361
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_26T
@ HE_DATA5_DATA_BW_RU_ALLOC_26T
26-tone RU allocation
Definition:
radiotap-header.h:354
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_484T
@ HE_DATA5_DATA_BW_RU_ALLOC_484T
484-tone RU allocation
Definition:
radiotap-header.h:358
ns3::RadiotapHeader::HE_DATA5_GI_3_2
@ HE_DATA5_GI_3_2
3.2us GI
Definition:
radiotap-header.h:362
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_40MHZ
@ HE_DATA5_DATA_BW_RU_ALLOC_40MHZ
40 MHz data Bandwidth
Definition:
radiotap-header.h:351
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_2x996T
@ HE_DATA5_DATA_BW_RU_ALLOC_2x996T
2x996-tone RU allocation
Definition:
radiotap-header.h:360
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_242T
@ HE_DATA5_DATA_BW_RU_ALLOC_242T
242-tone RU allocation
Definition:
radiotap-header.h:357
ns3::RadiotapHeader::HE_DATA5_NUM_LTF_SYMS
@ HE_DATA5_NUM_LTF_SYMS
number of LTF symbols
Definition:
radiotap-header.h:364
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_52T
@ HE_DATA5_DATA_BW_RU_ALLOC_52T
52-tone RU allocation
Definition:
radiotap-header.h:355
ns3::RadiotapHeader::HE_DATA5_PRE_FEC_PAD
@ HE_DATA5_PRE_FEC_PAD
Pre-FEC Padding Factor.
Definition:
radiotap-header.h:365
ns3::RadiotapHeader::HE_DATA5_LTF_SYM_SIZE
@ HE_DATA5_LTF_SYM_SIZE
LTF symbol size.
Definition:
radiotap-header.h:363
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_160MHZ
@ HE_DATA5_DATA_BW_RU_ALLOC_160MHZ
160 MHz data Bandwidth
Definition:
radiotap-header.h:353
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_106T
@ HE_DATA5_DATA_BW_RU_ALLOC_106T
106-tone RU allocation
Definition:
radiotap-header.h:356
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_996T
@ HE_DATA5_DATA_BW_RU_ALLOC_996T
996-tone RU allocation
Definition:
radiotap-header.h:359
ns3::RadiotapHeader::HE_DATA5_DATA_BW_RU_ALLOC_80MHZ
@ HE_DATA5_DATA_BW_RU_ALLOC_80MHZ
80 MHz data Bandwidth
Definition:
radiotap-header.h:352
ns3::RadiotapHeader::m_vhtPad
uint8_t m_vhtPad
VHT padding.
Definition:
radiotap-header.h:520
ns3::RadiotapHeader::m_channelFreq
uint16_t m_channelFreq
Tx/Rx frequency in MHz.
Definition:
radiotap-header.h:504
ns3::RadiotapHeader::m_flags
uint8_t m_flags
Properties of transmitted and received frames.
Definition:
radiotap-header.h:501
ns3::RadiotapHeader::m_heMuPerUserKnown
uint8_t m_heMuPerUserKnown
HE MU per_user_known field.
Definition:
radiotap-header.h:545
ns3::RadiotapHeader::SetFrameFlags
void SetFrameFlags(uint8_t flags)
Set the frame flags of the transmitted or received frame.
Definition:
radiotap-header.cc:669
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:499
ns3::RadiotapHeader::RadiotapFlags
RadiotapFlags
Radiotap flags.
Definition:
radiotap-header.h:469
ns3::RadiotapHeader::RADIOTAP_DB_ANTNOISE
@ RADIOTAP_DB_ANTNOISE
Definition:
radiotap-header.h:483
ns3::RadiotapHeader::RADIOTAP_HE_MU_OTHER_USER
@ RADIOTAP_HE_MU_OTHER_USER
Definition:
radiotap-header.h:490
ns3::RadiotapHeader::RADIOTAP_AMPDU_STATUS
@ RADIOTAP_AMPDU_STATUS
Definition:
radiotap-header.h:486
ns3::RadiotapHeader::RADIOTAP_DBM_ANTSIGNAL
@ RADIOTAP_DBM_ANTSIGNAL
Definition:
radiotap-header.h:475
ns3::RadiotapHeader::RADIOTAP_RX_FLAGS
@ RADIOTAP_RX_FLAGS
Definition:
radiotap-header.h:484
ns3::RadiotapHeader::RADIOTAP_VHT
@ RADIOTAP_VHT
Definition:
radiotap-header.h:487
ns3::RadiotapHeader::RADIOTAP_RATE
@ RADIOTAP_RATE
Definition:
radiotap-header.h:472
ns3::RadiotapHeader::RADIOTAP_HE
@ RADIOTAP_HE
Definition:
radiotap-header.h:488
ns3::RadiotapHeader::RADIOTAP_HE_MU
@ RADIOTAP_HE_MU
Definition:
radiotap-header.h:489
ns3::RadiotapHeader::RADIOTAP_CHANNEL
@ RADIOTAP_CHANNEL
Definition:
radiotap-header.h:473
ns3::RadiotapHeader::RADIOTAP_TSFT
@ RADIOTAP_TSFT
Definition:
radiotap-header.h:470
ns3::RadiotapHeader::RADIOTAP_DBM_TX_POWER
@ RADIOTAP_DBM_TX_POWER
Definition:
radiotap-header.h:480
ns3::RadiotapHeader::RADIOTAP_FLAGS
@ RADIOTAP_FLAGS
Definition:
radiotap-header.h:471
ns3::RadiotapHeader::RADIOTAP_DB_ANTSIGNAL
@ RADIOTAP_DB_ANTSIGNAL
Definition:
radiotap-header.h:482
ns3::RadiotapHeader::RADIOTAP_DB_TX_ATTENUATION
@ RADIOTAP_DB_TX_ATTENUATION
Definition:
radiotap-header.h:479
ns3::RadiotapHeader::RADIOTAP_ANTENNA
@ RADIOTAP_ANTENNA
Definition:
radiotap-header.h:481
ns3::RadiotapHeader::RADIOTAP_TX_ATTENUATION
@ RADIOTAP_TX_ATTENUATION
Definition:
radiotap-header.h:478
ns3::RadiotapHeader::RADIOTAP_ZERO_LEN_PSDU
@ RADIOTAP_ZERO_LEN_PSDU
Definition:
radiotap-header.h:491
ns3::RadiotapHeader::RADIOTAP_MCS
@ RADIOTAP_MCS
Definition:
radiotap-header.h:485
ns3::RadiotapHeader::RADIOTAP_LSIG
@ RADIOTAP_LSIG
Definition:
radiotap-header.h:492
ns3::RadiotapHeader::RADIOTAP_FHSS
@ RADIOTAP_FHSS
Definition:
radiotap-header.h:474
ns3::RadiotapHeader::RADIOTAP_DBM_ANTNOISE
@ RADIOTAP_DBM_ANTNOISE
Definition:
radiotap-header.h:476
ns3::RadiotapHeader::RADIOTAP_EXT
@ RADIOTAP_EXT
Definition:
radiotap-header.h:493
ns3::RadiotapHeader::RADIOTAP_LOCK_QUALITY
@ RADIOTAP_LOCK_QUALITY
Definition:
radiotap-header.h:477
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:508
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.
two-ray-to-three-gpp-ch-calibration.start
start
Definition:
two-ray-to-three-gpp-ch-calibration.py:520
src
network
utils
radiotap-header.h
Generated on Sun Mar 3 2024 17:11:06 for ns-3 by
1.9.1