A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
112
uint64_t
GetTsft
(
void
)
const
;
113
114
enum
115
{
116
FRAME_FLAG_NONE
= 0x00,
117
FRAME_FLAG_CFP
= 0x01,
118
FRAME_FLAG_SHORT_PREAMBLE
= 0x02,
119
FRAME_FLAG_WEP
= 0x04,
120
FRAME_FLAG_FRAGMENTED
= 0x08,
121
FRAME_FLAG_FCS_INCLUDED
= 0x10,
122
FRAME_FLAG_DATA_PADDING
= 0x20,
123
FRAME_FLAG_BAD_FCS
= 0x40,
124
FRAME_FLAG_SHORT_GUARD
= 0x80
125
};
126
131
void
SetFrameFlags
(uint8_t flags);
132
138
uint8_t
GetFrameFlags
(
void
)
const
;
139
144
void
SetRate
(uint8_t rate);
145
150
uint8_t
GetRate
(
void
)
const
;
151
152
enum
153
{
154
CHANNEL_FLAG_NONE
= 0x0000,
155
CHANNEL_FLAG_TURBO
= 0x0010,
156
CHANNEL_FLAG_CCK
= 0x0020,
157
CHANNEL_FLAG_OFDM
= 0x0040,
158
CHANNEL_FLAG_SPECTRUM_2GHZ
= 0x0080,
159
CHANNEL_FLAG_SPECTRUM_5GHZ
= 0x0100,
160
CHANNEL_FLAG_PASSIVE
= 0x0200,
161
CHANNEL_FLAG_DYNAMIC
= 0x0400,
162
CHANNEL_FLAG_GFSK
= 0x0800
163
};
164
171
void
SetChannelFrequencyAndFlags
(uint16_t frequency, uint16_t flags);
172
177
uint16_t
GetChannelFrequency
(
void
)
const
;
178
184
uint16_t
GetChannelFlags
(
void
)
const
;
185
193
void
SetAntennaSignalPower
(
double
signal);
194
202
uint8_t
GetAntennaSignalPower
(
void
)
const
;
203
211
void
SetAntennaNoisePower
(
double
noise);
212
220
uint8_t
GetAntennaNoisePower
(
void
)
const
;
221
222
enum
223
{
224
MCS_KNOWN_NONE
= 0x00,
225
MCS_KNOWN_BANDWIDTH
= 0x01,
226
MCS_KNOWN_INDEX
= 0x02,
227
MCS_KNOWN_GUARD_INTERVAL
= 0x04,
228
MCS_KNOWN_HT_FORMAT
= 0x08,
229
MCS_KNOWN_FEC_TYPE
= 0x10,
230
MCS_KNOWN_STBC
= 0x20,
231
MCS_KNOWN_NESS
= 0x40,
232
MCS_KNOWN_NESS_BIT_1
= 0x80,
233
};
234
235
enum
236
{
237
MCS_FLAGS_NONE
= 0x00,
238
MCS_FLAGS_BANDWIDTH_40
= 0x01,
239
MCS_FLAGS_BANDWIDTH_20L
= 0x02,
240
MCS_FLAGS_BANDWIDTH_20U
= 0x03,
241
MCS_FLAGS_GUARD_INTERVAL
= 0x04,
242
MCS_FLAGS_HT_GREENFIELD
= 0x08,
243
MCS_FLAGS_FEC_TYPE
= 0x10,
244
MCS_FLAGS_STBC_STREAMS
= 0x60,
245
MCS_FLAGS_NESS_BIT_0
= 0x80,
246
};
247
255
void
SetMcsFields
(uint8_t known, uint8_t flags, uint8_t mcs);
256
262
uint8_t
GetMcsKnown
(
void
)
const
;
268
uint8_t
GetMcsFlags
(
void
)
const
;
274
uint8_t
GetMcsRate
(
void
)
const
;
275
276
enum
277
{
278
A_MPDU_STATUS_NONE
= 0x00,
279
A_MPDU_STATUS_REPORT_ZERO_LENGTH
= 0x01,
280
A_MPDU_STATUS_IS_ZERO_LENGTH
= 0x02,
281
A_MPDU_STATUS_LAST_KNOWN
= 0x04,
282
A_MPDU_STATUS_LAST
= 0x08,
283
A_MPDU_STATUS_DELIMITER_CRC_ERROR
= 0x10,
284
A_MPDU_STATUS_DELIMITER_CRC_KNOWN
= 0x20
285
};
286
294
void
SetAmpduStatus
(uint32_t referenceNumber, uint16_t flags, uint8_t crc);
295
301
uint32_t
GetAmpduStatusRef
(
void
)
const
;
307
uint16_t
GetAmpduStatusFlags
(
void
)
const
;
308
309
enum
310
{
311
VHT_KNOWN_NONE
= 0x0000,
312
VHT_KNOWN_STBC
= 0x0001,
313
VHT_KNOWN_TXOP_PS_NOT_ALLOWED
= 0x0002,
314
VHT_KNOWN_GUARD_INTERVAL
= 0x0004,
315
VHT_KNOWN_SHORT_GI_NSYM_DISAMBIGUATION
= 0x0008,
316
VHT_KNOWN_LDPC_EXTRA_OFDM_SYMBOL
= 0x0010,
317
VHT_KNOWN_BEAMFORMED
= 0x0020,
318
VHT_KNOWN_BANDWIDTH
= 0x0040,
319
VHT_KNOWN_GROUP_ID
= 0x0080,
320
VHT_KNOWN_PARTIAL_AID
= 0x0100,
321
};
322
323
enum
324
{
325
VHT_FLAGS_NONE
= 0x00,
326
VHT_FLAGS_STBC
= 0x01,
327
VHT_FLAGS_TXOP_PS_NOT_ALLOWED
= 0x02,
328
VHT_FLAGS_GUARD_INTERVAL
= 0x04,
329
VHT_FLAGS_SHORT_GI_NSYM_DISAMBIGUATION
= 0x08,
330
VHT_FLAGS__LDPC_EXTRA_OFDM_SYMBOL
= 0x10,
331
VHT_FLAGS_BEAMFORMED
= 0x20,
332
};
333
345
void
SetVhtFields
(uint16_t known, uint8_t flags,
346
uint8_t bandwidth, uint8_t mcs_nss [4],
347
uint8_t coding, uint8_t group_id,
348
uint16_t partial_aid);
349
355
uint16_t
GetVhtKnown
(
void
)
const
;
361
uint8_t
GetVhtFlags
(
void
)
const
;
367
uint8_t
GetVhtBandwidth
(
void
)
const
;
373
uint8_t
GetVhtMcsNssUser1
()
const
;
379
uint8_t
GetVhtMcsNssUser2
()
const
;
385
uint8_t
GetVhtMcsNssUser3
()
const
;
391
uint8_t
GetVhtMcsNssUser4
()
const
;
397
uint8_t
GetVhtCoding
(
void
)
const
;
403
uint8_t
GetVhtGroupId
(
void
)
const
;
409
uint8_t
GetVhtPartialAid
(
void
)
const
;
410
411
412
private
:
413
enum
414
{
415
RADIOTAP_TSFT
= 0x00000001,
416
RADIOTAP_FLAGS
= 0x00000002,
417
RADIOTAP_RATE
= 0x00000004,
418
RADIOTAP_CHANNEL
= 0x00000008,
419
RADIOTAP_FHSS
= 0x00000010,
420
RADIOTAP_DBM_ANTSIGNAL
= 0x00000020,
421
RADIOTAP_DBM_ANTNOISE
= 0x00000040,
422
RADIOTAP_LOCK_QUALITY
= 0x00000080,
423
RADIOTAP_TX_ATTENUATION
= 0x00000100,
424
RADIOTAP_DB_TX_ATTENUATION
= 0x00000200,
425
RADIOTAP_DBM_TX_POWER
= 0x00000400,
426
RADIOTAP_ANTENNA
= 0x00000800,
427
RADIOTAP_DB_ANTSIGNAL
= 0x00001000,
428
RADIOTAP_DB_ANTNOISE
= 0x00002000,
429
RADIOTAP_RX_FLAGS
= 0x00004000,
430
RADIOTAP_MCS
= 0x00080000,
431
RADIOTAP_AMPDU_STATUS
= 0x00100000,
432
RADIOTAP_VHT
= 0x00200000,
433
RADIOTAP_EXT
= 0x10000000
434
};
435
436
uint16_t
m_length
;
437
uint32_t
m_present
;
438
439
uint64_t
m_tsft
;
440
uint8_t
m_flags
;
441
uint8_t
m_rate
;
442
uint8_t
m_channelPad
;
443
uint16_t
m_channelFreq
;
444
uint16_t
m_channelFlags
;
445
int8_t
m_antennaSignal
;
446
int8_t
m_antennaNoise
;
447
448
uint8_t
m_mcsKnown
;
449
uint8_t
m_mcsFlags
;
450
uint8_t
m_mcsRate
;
451
452
uint8_t
m_ampduStatusPad
;
453
uint32_t
m_ampduStatusRef
;
454
uint16_t
m_ampduStatusFlags
;
455
uint8_t
m_ampduStatusCRC
;
456
457
uint8_t
m_vhtPad
;
458
uint16_t
m_vhtKnown
;
459
uint8_t
m_vhtFlags
;
460
uint8_t
m_vhtBandwidth
;
461
uint8_t
m_vhtMcsNss
[4];
462
uint8_t
m_vhtCoding
;
463
uint8_t
m_vhtGroupId
;
464
uint16_t
m_vhtPartialAid
;
465
};
466
467
}
// namespace ns3
468
469
#endif
/* RADIOTAP_HEADER_H */
ns3::Header
Protocol header serialization and deserialization.
Definition:
header.h:42
ns3::RadiotapHeader::m_channelPad
uint8_t m_channelPad
Tx/Rx channel padding.
Definition:
radiotap-header.h:442
ns3::RadiotapHeader::RADIOTAP_ANTENNA
Definition:
radiotap-header.h:426
ns3::RadiotapHeader::m_mcsKnown
uint8_t m_mcsKnown
MCS Flags, known information field.
Definition:
radiotap-header.h:448
ns3::RadiotapHeader::MCS_FLAGS_HT_GREENFIELD
Greenfield HT format.
Definition:
radiotap-header.h:242
ns3::RadiotapHeader::VHT_FLAGS_NONE
No flags set.
Definition:
radiotap-header.h:325
ns3::RadiotapHeader::GetVhtKnown
uint16_t GetVhtKnown(void) const
Get the VHT known bitmap.
Definition:
radiotap-header.cc:762
ns3::RadiotapHeader::MCS_KNOWN_NONE
No flags set.
Definition:
radiotap-header.h:224
ns3::RadiotapHeader::A_MPDU_STATUS_REPORT_ZERO_LENGTH
Driver reports 0-length subframes.
Definition:
radiotap-header.h:279
ns3::RadiotapHeader::m_vhtPad
uint8_t m_vhtPad
VHT padding.
Definition:
radiotap-header.h:457
ns3::RadiotapHeader::RADIOTAP_VHT
Definition:
radiotap-header.h:432
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:330
ns3::RadiotapHeader::CHANNEL_FLAG_TURBO
Turbo Channel.
Definition:
radiotap-header.h:155
ns3::RadiotapHeader::m_ampduStatusCRC
uint8_t m_ampduStatusCRC
A-MPDU Status Flags, delimiter CRC value.
Definition:
radiotap-header.h:455
ns3::RadiotapHeader::RADIOTAP_DB_ANTSIGNAL
Definition:
radiotap-header.h:427
ns3::RadiotapHeader::VHT_FLAGS_BEAMFORMED
Set if beamforming is used (valid for SU PPDUs only).
Definition:
radiotap-header.h:331
ns3::RadiotapHeader
Radiotap header implementation.
Definition:
radiotap-header.h:38
ns3::RadiotapHeader::RADIOTAP_AMPDU_STATUS
Definition:
radiotap-header.h:431
ns3::RadiotapHeader::m_ampduStatusFlags
uint16_t m_ampduStatusFlags
A-MPDU Status Flags, information about the received A-MPDU.
Definition:
radiotap-header.h:454
ns3::RadiotapHeader::GetTsft
uint64_t GetTsft(void) const
Get the Time Synchronization Function Timer (TSFT) value.
Definition:
radiotap-header.cc:522
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:480
ns3::RadiotapHeader::VHT_KNOWN_LDPC_EXTRA_OFDM_SYMBOL
LDPC extra OFDM symbol known.
Definition:
radiotap-header.h:316
ns3::RadiotapHeader::MCS_KNOWN_GUARD_INTERVAL
Guard interval.
Definition:
radiotap-header.h:227
ns3::RadiotapHeader::GetRate
uint8_t GetRate(void) const
Get the transmit/receive channel frequency in units of megahertz.
Definition:
radiotap-header.cc:566
visualizer.core.start
def start()
Definition:
core.py:1482
ns3::RadiotapHeader::MCS_FLAGS_BANDWIDTH_40
40 MHz
Definition:
radiotap-header.h:238
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:263
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:75
ns3::RadiotapHeader::RADIOTAP_TX_ATTENUATION
Definition:
radiotap-header.h:423
ns3::RadiotapHeader::GetVhtGroupId
uint8_t GetVhtGroupId(void) const
Get the VHT group_id field value.
Definition:
radiotap-header.cc:818
ns3::RadiotapHeader::m_channelFreq
uint16_t m_channelFreq
Tx/Rx frequency in MHz.
Definition:
radiotap-header.h:443
ns3::RadiotapHeader::m_mcsFlags
uint8_t m_mcsFlags
MCS Flags, flags field.
Definition:
radiotap-header.h:449
ns3::RadiotapHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
radiotap-header.cc:69
ns3::RadiotapHeader::GetAmpduStatusRef
uint32_t GetAmpduStatusRef(void) const
Get the A-MPDU reference number.
Definition:
radiotap-header.cc:724
ns3::RadiotapHeader::A_MPDU_STATUS_LAST
This frame is the last subframe.
Definition:
radiotap-header.h:282
ns3::RadiotapHeader::VHT_KNOWN_GUARD_INTERVAL
Guard interval.
Definition:
radiotap-header.h:314
ns3::RadiotapHeader::CHANNEL_FLAG_NONE
No flags set.
Definition:
radiotap-header.h:154
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:637
ns3::RadiotapHeader::GetAntennaNoisePower
uint8_t GetAntennaNoisePower(void) const
Get the RF noise power at the antenna as a decibel difference from an arbitrary, fixed reference...
Definition:
radiotap-header.cc:663
ns3::RadiotapHeader::SetTsft
void SetTsft(uint64_t tsft)
Set the Time Synchronization Function Timer (TSFT) value.
Definition:
radiotap-header.cc:507
ns3::RadiotapHeader::MCS_KNOWN_STBC
STBC known.
Definition:
radiotap-header.h:230
ns3::RadiotapHeader::MCS_FLAGS_BANDWIDTH_20U
20U (20 MHz in upper half of 40 MHz channel)
Definition:
radiotap-header.h:240
ns3::RadiotapHeader::FRAME_FLAG_NONE
No flags set.
Definition:
radiotap-header.h:116
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:329
ns3::RadiotapHeader::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
radiotap-header.cc:57
ns3::RadiotapHeader::VHT_KNOWN_TXOP_PS_NOT_ALLOWED
TXOP_PS_NOT_ALLOWED known.
Definition:
radiotap-header.h:313
ns3::RadiotapHeader::RADIOTAP_LOCK_QUALITY
Definition:
radiotap-header.h:422
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:461
ns3::RadiotapHeader::m_vhtCoding
uint8_t m_vhtCoding
VHT coding field.
Definition:
radiotap-header.h:462
ns3::RadiotapHeader::VHT_FLAGS_STBC
Set if all spatial streams of all users have space-time block coding.
Definition:
radiotap-header.h:326
ns3::RadiotapHeader::FRAME_FLAG_DATA_PADDING
Frame has padding between 802.11 header and payload (to 32-bit boundary)
Definition:
radiotap-header.h:122
ns3::RadiotapHeader::RADIOTAP_CHANNEL
Definition:
radiotap-header.h:418
ns3::RadiotapHeader::VHT_KNOWN_NONE
No flags set.
Definition:
radiotap-header.h:311
ns3::RadiotapHeader::RADIOTAP_FHSS
Definition:
radiotap-header.h:419
ns3::RadiotapHeader::FRAME_FLAG_SHORT_PREAMBLE
Frame sent/received with short preamble.
Definition:
radiotap-header.h:118
ns3::RadiotapHeader::VHT_FLAGS_GUARD_INTERVAL
Short guard interval.
Definition:
radiotap-header.h:328
ns3::RadiotapHeader::MCS_FLAGS_GUARD_INTERVAL
Short guard interval.
Definition:
radiotap-header.h:241
ns3::RadiotapHeader::GetVhtMcsNssUser3
uint8_t GetVhtMcsNssUser3() const
Get the VHT mcs_nss field value for user 3.
Definition:
radiotap-header.cc:797
ns3::RadiotapHeader::CHANNEL_FLAG_SPECTRUM_5GHZ
5 GHz spectrum channel
Definition:
radiotap-header.h:159
ns3::RadiotapHeader::RADIOTAP_RX_FLAGS
Definition:
radiotap-header.h:429
ns3::RadiotapHeader::VHT_KNOWN_BANDWIDTH
Bandwidth known.
Definition:
radiotap-header.h:318
ns3::RadiotapHeader::RADIOTAP_FLAGS
Definition:
radiotap-header.h:416
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:439
ns3::RadiotapHeader::SetChannelFrequencyAndFlags
void SetChannelFrequencyAndFlags(uint16_t frequency, uint16_t flags)
Set the transmit/receive channel frequency and flags.
Definition:
radiotap-header.cc:573
ns3::RadiotapHeader::m_vhtFlags
uint8_t m_vhtFlags
VHT flags field.
Definition:
radiotap-header.h:459
ns3::RadiotapHeader::m_mcsRate
uint8_t m_mcsRate
MCS Flags, mcs rate index.
Definition:
radiotap-header.h:450
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:446
ns3::RadiotapHeader::A_MPDU_STATUS_NONE
No flags set.
Definition:
radiotap-header.h:278
ns3::RadiotapHeader::CHANNEL_FLAG_OFDM
OFDM channel.
Definition:
radiotap-header.h:157
ns3::RadiotapHeader::m_vhtBandwidth
uint8_t m_vhtBandwidth
VHT bandwidth field.
Definition:
radiotap-header.h:460
ns3::RadiotapHeader::GetVhtFlags
uint8_t GetVhtFlags(void) const
Get the VHT flags.
Definition:
radiotap-header.cc:769
ns3::RadiotapHeader::CHANNEL_FLAG_GFSK
GFSK channel (FHSS PHY)
Definition:
radiotap-header.h:162
ns3::RadiotapHeader::MCS_KNOWN_NESS
Ness known (Number of extension spatial streams)
Definition:
radiotap-header.h:231
ns3::RadiotapHeader::VHT_KNOWN_GROUP_ID
Group ID known.
Definition:
radiotap-header.h:319
ns3::RadiotapHeader::MCS_KNOWN_HT_FORMAT
HT format.
Definition:
radiotap-header.h:228
ns3::RadiotapHeader::GetVhtMcsNssUser4
uint8_t GetVhtMcsNssUser4() const
Get the VHT mcs_nss field value for user 4.
Definition:
radiotap-header.cc:804
ns3::RadiotapHeader::VHT_KNOWN_BEAMFORMED
Beamformed known/applicable (this flag should be set to zero for MU PPDUs).
Definition:
radiotap-header.h:317
ns3::RadiotapHeader::m_channelFlags
uint16_t m_channelFlags
Tx/Rx channel flags.
Definition:
radiotap-header.h:444
ns3::RadiotapHeader::m_ampduStatusPad
uint8_t m_ampduStatusPad
A-MPDU Status Flags, padding before A-MPDU Status Field.
Definition:
radiotap-header.h:452
ns3::RadiotapHeader::SetFrameFlags
void SetFrameFlags(uint8_t flags)
Set the frame flags of the transmitted or received frame.
Definition:
radiotap-header.cc:529
ns3::RadiotapHeader::MCS_KNOWN_NESS_BIT_1
Ness data - bit 1 (MSB) of Number of extension spatial streams.
Definition:
radiotap-header.h:232
ns3::RadiotapHeader::SetRate
void SetRate(uint8_t rate)
Set the transmit/receive channel frequency in units of megahertz.
Definition:
radiotap-header.cc:551
ns3::RadiotapHeader::RADIOTAP_EXT
Definition:
radiotap-header.h:433
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:312
ns3::RadiotapHeader::A_MPDU_STATUS_DELIMITER_CRC_ERROR
Delimiter CRC error.
Definition:
radiotap-header.h:283
ns3::RadiotapHeader::RADIOTAP_DB_TX_ATTENUATION
Definition:
radiotap-header.h:424
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:445
ns3::RadiotapHeader::CHANNEL_FLAG_DYNAMIC
Dynamic CCK-OFDM channel.
Definition:
radiotap-header.h:161
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::RadiotapHeader::GetMcsKnown
uint8_t GetMcsKnown(void) const
Get the MCS known bitmap.
Definition:
radiotap-header.cc:686
ns3::RadiotapHeader::GetVhtPartialAid
uint8_t GetVhtPartialAid(void) const
Get the VHT partial_aid field value.
Definition:
radiotap-header.cc:825
ns3::RadiotapHeader::m_flags
uint8_t m_flags
Properties of transmitted and received frames.
Definition:
radiotap-header.h:440
ns3::RadiotapHeader::GetFrameFlags
uint8_t GetFrameFlags(void) const
Get the frame flags of the transmitted or received frame.
Definition:
radiotap-header.cc:544
ns3::RadiotapHeader::A_MPDU_STATUS_DELIMITER_CRC_KNOWN
Delimiter CRC value known: the delimiter CRC value field is valid.
Definition:
radiotap-header.h:284
ns3::RadiotapHeader::FRAME_FLAG_SHORT_GUARD
Frame used short guard interval (HT)
Definition:
radiotap-header.h:124
ns3::RadiotapHeader::RADIOTAP_DBM_TX_POWER
Definition:
radiotap-header.h:425
ns3::RadiotapHeader::GetChannelFlags
uint16_t GetChannelFlags(void) const
Get the channel flags of the transmitted or received frame.
Definition:
radiotap-header.cc:597
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:281
ns3::RadiotapHeader::SetMcsFields
void SetMcsFields(uint8_t known, uint8_t flags, uint8_t mcs)
Set the MCS fields.
Definition:
radiotap-header.cc:670
ns3::RadiotapHeader::GetVhtBandwidth
uint8_t GetVhtBandwidth(void) const
Get the VHT bandwidth field value.
Definition:
radiotap-header.cc:776
ns3::RadiotapHeader::VHT_KNOWN_PARTIAL_AID
Partial AID known/applicable.
Definition:
radiotap-header.h:320
ns3::RadiotapHeader::m_present
uint32_t m_present
bits describing which fields follow header
Definition:
radiotap-header.h:437
ns3::RadiotapHeader::MCS_FLAGS_BANDWIDTH_20L
20L (20 MHz in lower half of 40 MHz channel)
Definition:
radiotap-header.h:239
ns3::RadiotapHeader::MCS_KNOWN_BANDWIDTH
Bandwidth.
Definition:
radiotap-header.h:225
ns3::RadiotapHeader::m_vhtGroupId
uint8_t m_vhtGroupId
VHT group_id field.
Definition:
radiotap-header.h:463
ns3::RadiotapHeader::MCS_FLAGS_STBC_STREAMS
STBC enabled.
Definition:
radiotap-header.h:244
ns3::RadiotapHeader::CHANNEL_FLAG_CCK
CCK channel.
Definition:
radiotap-header.h:156
ns3::RadiotapHeader::MCS_KNOWN_FEC_TYPE
FEC type.
Definition:
radiotap-header.h:229
ns3::RadiotapHeader::m_vhtPartialAid
uint16_t m_vhtPartialAid
VHT partial_aid field.
Definition:
radiotap-header.h:464
ns3::RadiotapHeader::RADIOTAP_DBM_ANTSIGNAL
Definition:
radiotap-header.h:420
ns3::RadiotapHeader::GetAntennaSignalPower
uint8_t GetAntennaSignalPower(void) const
Get the RF signal power at the antenna as a decibel difference from an arbitrary, fixed reference...
Definition:
radiotap-header.cc:630
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:738
ns3::RadiotapHeader::A_MPDU_STATUS_IS_ZERO_LENGTH
Frame is 0-length subframe (valid only if 0x0001 is set)
Definition:
radiotap-header.h:280
ns3::RadiotapHeader::FRAME_FLAG_WEP
Frame sent/received with WEP encryption.
Definition:
radiotap-header.h:119
ns3::RadiotapHeader::FRAME_FLAG_BAD_FCS
Frame failed FCS check.
Definition:
radiotap-header.h:123
ns3::RadiotapHeader::GetAmpduStatusFlags
uint16_t GetAmpduStatusFlags(void) const
Get the A-MPDU status flags.
Definition:
radiotap-header.cc:731
ns3::RadiotapHeader::m_vhtKnown
uint16_t m_vhtKnown
VHT known field.
Definition:
radiotap-header.h:458
ns3::RadiotapHeader::RADIOTAP_DBM_ANTNOISE
Definition:
radiotap-header.h:421
ns3::RadiotapHeader::FRAME_FLAG_FCS_INCLUDED
Frame includes FCS.
Definition:
radiotap-header.h:121
ns3::RadiotapHeader::GetMcsRate
uint8_t GetMcsRate(void) const
Get the MCS index value.
Definition:
radiotap-header.cc:700
ns3::RadiotapHeader::RADIOTAP_DB_ANTNOISE
Definition:
radiotap-header.h:428
ns3::RadiotapHeader::RADIOTAP_TSFT
Definition:
radiotap-header.h:415
ns3::RadiotapHeader::GetMcsFlags
uint8_t GetMcsFlags(void) const
Get the MCS flags.
Definition:
radiotap-header.cc:693
ns3::RadiotapHeader::MCS_FLAGS_NONE
Default: 20 MHz, long guard interval, mixed HT format and BCC FEC type.
Definition:
radiotap-header.h:237
ns3::RadiotapHeader::CHANNEL_FLAG_SPECTRUM_2GHZ
2 GHz spectrum channel
Definition:
radiotap-header.h:158
ns3::RadiotapHeader::RADIOTAP_RATE
Definition:
radiotap-header.h:417
ns3::RadiotapHeader::GetVhtCoding
uint8_t GetVhtCoding(void) const
Get the VHT coding field value.
Definition:
radiotap-header.cc:811
ns3::RadiotapHeader::FRAME_FLAG_FRAGMENTED
Frame sent/received with fragmentation.
Definition:
radiotap-header.h:120
ns3::RadiotapHeader::MCS_FLAGS_FEC_TYPE
LDPC FEC type.
Definition:
radiotap-header.h:243
ns3::RadiotapHeader::VHT_KNOWN_SHORT_GI_NSYM_DISAMBIGUATION
Short GI NSYM disambiguation known.
Definition:
radiotap-header.h:315
ns3::RadiotapHeader::m_length
uint16_t m_length
entire length of radiotap data + header
Definition:
radiotap-header.h:436
ns3::RadiotapHeader::GetVhtMcsNssUser2
uint8_t GetVhtMcsNssUser2() const
Get the VHT mcs_nss field value for user 2.
Definition:
radiotap-header.cc:790
ns3::RadiotapHeader::FRAME_FLAG_CFP
Frame sent/received during CFP.
Definition:
radiotap-header.h:117
ns3::RadiotapHeader::GetVhtMcsNssUser1
uint8_t GetVhtMcsNssUser1() const
Get the VHT mcs_nss field value for user 1.
Definition:
radiotap-header.cc:783
ns3::RadiotapHeader::MCS_FLAGS_NESS_BIT_0
Ness - bit 0 (LSB) of Number of extension spatial streams.
Definition:
radiotap-header.h:245
ns3::RadiotapHeader::m_rate
uint8_t m_rate
TX/RX data rate in units of 500 kbps.
Definition:
radiotap-header.h:441
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:327
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:82
ns3::RadiotapHeader::m_ampduStatusRef
uint32_t m_ampduStatusRef
A-MPDU Status Flags, reference number.
Definition:
radiotap-header.h:453
ns3::RadiotapHeader::CHANNEL_FLAG_PASSIVE
Only passive scan allowed.
Definition:
radiotap-header.h:160
ns3::RadiotapHeader::MCS_KNOWN_INDEX
MCS index known.
Definition:
radiotap-header.h:226
ns3::RadiotapHeader::RADIOTAP_MCS
Definition:
radiotap-header.h:430
ns3::RadiotapHeader::SetAmpduStatus
void SetAmpduStatus(uint32_t referenceNumber, uint16_t flags, uint8_t crc)
Set the A-MPDU status fields.
Definition:
radiotap-header.cc:707
ns3::RadiotapHeader::GetChannelFrequency
uint16_t GetChannelFrequency(void) const
Get the transmit/receive data rate in units of 500 kbps.
Definition:
radiotap-header.cc:590
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:58
ns3::RadiotapHeader::RadiotapHeader
RadiotapHeader()
Definition:
radiotap-header.cc:33
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:604
src
network
utils
radiotap-header.h
Generated on Wed Sep 30 2015 15:55:47 for ns-3 by
1.8.9.1