A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
mgt-action-headers.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2006 INRIA
3
* Copyright (c) 2009 MIRKO BANCHI
4
*
5
* SPDX-License-Identifier: GPL-2.0-only
6
*
7
* Authors: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
8
* Mirko Banchi <mk.banchi@gmail.com>
9
*/
10
11
#ifndef MGT_ACTION_HEADERS_H
12
#define MGT_ACTION_HEADERS_H
13
14
#include "
reduced-neighbor-report.h
"
15
#include "
status-code.h
"
16
#include "
tim.h
"
17
#include "
wifi-opt-field.h
"
18
#include "
wifi-standards.h
"
19
20
#include "ns3/header.h"
21
22
#include <list>
23
#include <optional>
24
25
namespace
ns3
26
{
27
28
class
Packet;
29
30
/**
31
* \ingroup wifi
32
*
33
* See IEEE 802.11 chapter 7.3.1.11
34
* Header format: | category: 1 | action value: 1 |
35
*
36
*/
37
class
WifiActionHeader
:
public
Header
38
{
39
public
:
40
WifiActionHeader
();
41
~WifiActionHeader
()
override
;
42
43
/*
44
* Compatible with table 8-38 IEEE 802.11, Part11, (Year 2012)
45
* Category values - see 802.11-2012 Table 8-38
46
*/
47
48
/// CategoryValue enumeration
49
enum
CategoryValue
: uint8_t
// table 9-51 of IEEE 802.11-2020
50
{
51
SPECTRUM_MANAGEMENT
= 0,
52
QOS
= 1,
53
BLOCK_ACK
= 3,
54
PUBLIC
= 4,
55
RADIO_MEASUREMENT
= 5,
// Category: Radio Measurement
56
MESH
= 13,
// Category: Mesh
57
MULTIHOP
= 14,
// not used so far
58
SELF_PROTECTED
= 15,
// Category: Self Protected
59
DMG
= 16,
// Category: DMG
60
FST
= 18,
// Category: Fast Session Transfer
61
UNPROTECTED_DMG
= 20,
// Category: Unprotected DMG
62
PROTECTED_EHT
= 37,
// Category: Protected EHT
63
// Since vendor specific action has no stationary Action value,the parse process is not
64
// here. Refer to vendor-specific-action in wave module.
65
VENDOR_SPECIFIC_ACTION
= 127,
66
// values 128 to 255 are illegal
67
};
68
69
/// QosActionValue enumeration
70
enum
QosActionValue
: uint8_t
71
{
72
ADDTS_REQUEST
= 0,
73
ADDTS_RESPONSE
= 1,
74
DELTS
= 2,
75
SCHEDULE
= 3,
76
QOS_MAP_CONFIGURE
= 4,
77
};
78
79
/**
80
* Block Ack Action field values
81
* See 802.11 Table 8-202
82
*/
83
enum
BlockAckActionValue
: uint8_t
84
{
85
BLOCK_ACK_ADDBA_REQUEST
= 0,
86
BLOCK_ACK_ADDBA_RESPONSE
= 1,
87
BLOCK_ACK_DELBA
= 2
88
};
89
90
/// PublicActionValue enumeration
91
enum
PublicActionValue
: uint8_t
92
{
93
QAB_REQUEST
= 16,
94
QAB_RESPONSE
= 17,
95
FILS_DISCOVERY
= 34
96
};
97
98
/// RadioMeasurementActionValue enumeration
99
enum
RadioMeasurementActionValue
: uint8_t
100
{
101
RADIO_MEASUREMENT_REQUEST
= 0,
102
RADIO_MEASUREMENT_REPORT
= 1,
103
LINK_MEASUREMENT_REQUEST
= 2,
104
LINK_MEASUREMENT_REPORT
= 3,
105
NEIGHBOR_REPORT_REQUEST
= 4,
106
NEIGHBOR_REPORT_RESPONSE
= 5
107
};
108
109
/// MeshActionValue enumeration
110
enum
MeshActionValue
: uint8_t
111
{
112
LINK_METRIC_REPORT
= 0,
// Action Value:0 in Category 13: Mesh
113
PATH_SELECTION
= 1,
// Action Value:1 in Category 13: Mesh
114
PORTAL_ANNOUNCEMENT
= 2,
// Action Value:2 in Category 13: Mesh
115
CONGESTION_CONTROL_NOTIFICATION
= 3,
// Action Value:3 in Category 13: Mesh
116
MDA_SETUP_REQUEST
=
117
4,
// Action Value:4 in Category 13: Mesh MCCA-Setup-Request (not used so far)
118
MDA_SETUP_REPLY
=
119
5,
// Action Value:5 in Category 13: Mesh MCCA-Setup-Reply (not used so far)
120
MDAOP_ADVERTISEMENT_REQUEST
=
121
6,
// Action Value:6 in Category 13: Mesh MCCA-Advertisement-Request (not used so far)
122
MDAOP_ADVERTISEMENTS
= 7,
// Action Value:7 in Category 13: Mesh (not used so far)
123
MDAOP_SET_TEARDOWN
= 8,
// Action Value:8 in Category 13: Mesh (not used so far)
124
TBTT_ADJUSTMENT_REQUEST
= 9,
// Action Value:9 in Category 13: Mesh (not used so far)
125
TBTT_ADJUSTMENT_RESPONSE
= 10,
// Action Value:10 in Category 13: Mesh (not used so far)
126
};
127
128
/// MultihopActionValue enumeration
129
enum
MultihopActionValue
: uint8_t
130
{
131
PROXY_UPDATE
= 0,
// not used so far
132
PROXY_UPDATE_CONFIRMATION
= 1,
// not used so far
133
};
134
135
/// SelfProtectedActionValue enumeration
136
enum
SelfProtectedActionValue
: uint8_t
// Category: 15 (Self Protected)
137
{
138
PEER_LINK_OPEN
= 1,
// Mesh Peering Open
139
PEER_LINK_CONFIRM
= 2,
// Mesh Peering Confirm
140
PEER_LINK_CLOSE
= 3,
// Mesh Peering Close
141
GROUP_KEY_INFORM
= 4,
// Mesh Group Key Inform
142
GROUP_KEY_ACK
= 5,
// Mesh Group Key Acknowledge
143
};
144
145
/**
146
* DMG Action field values
147
* See 802.11ad Table 8-281b
148
*/
149
enum
DmgActionValue
: uint8_t
150
{
151
DMG_POWER_SAVE_CONFIGURATION_REQUEST
= 0,
152
DMG_POWER_SAVE_CONFIGURATION_RESPONSE
= 1,
153
DMG_INFORMATION_REQUEST
= 2,
154
DMG_INFORMATION_RESPONSE
= 3,
155
DMG_HANDOVER_REQUEST
= 4,
156
DMG_HANDOVER_RESPONSE
= 5,
157
DMG_DTP_REQUEST
= 6,
158
DMG_DTP_RESPONSE
= 7,
159
DMG_RELAY_SEARCH_REQUEST
= 8,
160
DMG_RELAY_SEARCH_RESPONSE
= 9,
161
DMG_MULTI_RELAY_CHANNEL_MEASUREMENT_REQUEST
= 10,
162
DMG_MULTI_RELAY_CHANNEL_MEASUREMENT_REPORT
= 11,
163
DMG_RLS_REQUEST
= 12,
164
DMG_RLS_RESPONSE
= 13,
165
DMG_RLS_ANNOUNCEMENT
= 14,
166
DMG_RLS_TEARDOWN
= 15,
167
DMG_RELAY_ACK_REQUEST
= 16,
168
DMG_RELAY_ACK_RESPONSE
= 17,
169
DMG_TPA_REQUEST
= 18,
170
DMG_TPA_RESPONSE
= 19,
171
DMG_TPA_REPORT
= 20,
172
DMG_ROC_REQUEST
= 21,
173
DMG_ROC_RESPONSE
= 22
174
};
175
176
/**
177
* FST Action field values
178
* See 802.11ad Table 8-281x
179
*/
180
enum
FstActionValue
: uint8_t
181
{
182
FST_SETUP_REQUEST
= 0,
183
FST_SETUP_RESPONSE
= 1,
184
FST_TEAR_DOWN
= 2,
185
FST_ACK_REQUEST
= 3,
186
FST_ACK_RESPONSE
= 4,
187
ON_CHANNEL_TUNNEL_REQUEST
= 5
188
};
189
190
/**
191
* Unprotected DMG action field values
192
* See 802.11ad Table 8-281ae
193
*/
194
enum
UnprotectedDmgActionValue
: uint8_t
195
{
196
UNPROTECTED_DMG_ANNOUNCE
= 0,
197
UNPROTECTED_DMG_BRP
= 1,
198
UNPROTECTED_MIMO_BF_SETUP
= 2,
199
UNPROTECTED_MIMO_BF_POLL
= 3,
200
UNPROTECTED_MIMO_BF_FEEDBACK
= 4,
201
UNPROTECTED_MIMO_BF_SELECTION
= 5,
202
};
203
204
/**
205
* Protected EHT action field values
206
* See 802.11be D3.0 Table 9-623c
207
*/
208
enum
ProtectedEhtActionValue
: uint8_t
209
{
210
PROTECTED_EHT_TID_TO_LINK_MAPPING_REQUEST
= 0,
211
PROTECTED_EHT_TID_TO_LINK_MAPPING_RESPONSE
= 1,
212
PROTECTED_EHT_TID_TO_LINK_MAPPING_TEARDOWN
= 2,
213
PROTECTED_EHT_EPCS_PRIORITY_ACCESS_ENABLE_REQUEST
= 3,
214
PROTECTED_EHT_EPCS_PRIORITY_ACCESS_ENABLE_RESPONSE
= 4,
215
PROTECTED_EHT_EPCS_PRIORITY_ACCESS_TEARDOWN
= 5,
216
PROTECTED_EHT_EML_OPERATING_MODE_NOTIFICATION
= 6,
217
PROTECTED_EHT_LINK_RECOMMENDATION
= 7,
218
PROTECTED_EHT_MULTI_LINK_OPERATION_UPDATE_REQUEST
= 8,
219
PROTECTED_EHT_MULTI_LINK_OPERATION_UPDATE_RESPONSE
= 9,
220
};
221
222
/**
223
* typedef for union of different ActionValues
224
*/
225
typedef
union
{
226
QosActionValue
qos
;
///< qos
227
BlockAckActionValue
blockAck
;
///< block ack
228
RadioMeasurementActionValue
radioMeasurementAction
;
///< radio measurement
229
PublicActionValue
publicAction
;
///< public
230
SelfProtectedActionValue
selfProtectedAction
;
///< self protected
231
MultihopActionValue
multihopAction
;
///< multi hop
232
MeshActionValue
meshAction
;
///< mesh
233
DmgActionValue
dmgAction
;
///< dmg
234
FstActionValue
fstAction
;
///< fst
235
UnprotectedDmgActionValue
unprotectedDmgAction
;
///< unprotected dmg
236
ProtectedEhtActionValue
protectedEhtAction
;
///< protected eht
237
}
ActionValue
;
///< the action value
238
239
/**
240
* Set action for this Action header.
241
*
242
* \param type category
243
* \param action action
244
*/
245
void
SetAction
(
CategoryValue
type,
ActionValue
action);
246
247
/**
248
* Return the category value.
249
*
250
* \return CategoryValue
251
*/
252
CategoryValue
GetCategory
()
const
;
253
/**
254
* Return the action value.
255
*
256
* \return ActionValue
257
*/
258
ActionValue
GetAction
()
const
;
259
260
/**
261
* Peek an Action header from the given packet.
262
*
263
* \param pkt the given packet
264
* \return the category value and the action value in the peeked Action header
265
*/
266
static
std::pair<CategoryValue, ActionValue>
Peek
(
Ptr<const Packet>
pkt);
267
268
/**
269
* Remove an Action header from the given packet.
270
*
271
* \param pkt the given packet
272
* \return the category value and the action value in the removed Action header
273
*/
274
static
std::pair<CategoryValue, ActionValue>
Remove
(
Ptr<Packet>
pkt);
275
276
/**
277
* Register this type.
278
* \return The TypeId.
279
*/
280
static
TypeId
GetTypeId
();
281
TypeId
GetInstanceTypeId
()
const override
;
282
void
Print
(std::ostream& os)
const override
;
283
uint32_t
GetSerializedSize
()
const override
;
284
void
Serialize
(
Buffer::Iterator
start)
const override
;
285
uint32_t
Deserialize
(
Buffer::Iterator
start)
override
;
286
287
private
:
288
uint8_t
m_category
;
//!< Category of the action
289
uint8_t
m_actionValue
;
//!< Action value
290
};
291
292
/**
293
* \ingroup wifi
294
* Implement the header for management frames of type Add Block Ack request.
295
*/
296
class
MgtAddBaRequestHeader
:
public
Header
297
{
298
public
:
299
/**
300
* Register this type.
301
* \return The TypeId.
302
*/
303
static
TypeId
GetTypeId
();
304
TypeId
GetInstanceTypeId
()
const override
;
305
void
Print
(std::ostream& os)
const override
;
306
uint32_t
GetSerializedSize
()
const override
;
307
void
Serialize
(
Buffer::Iterator
start)
const override
;
308
uint32_t
Deserialize
(
Buffer::Iterator
start)
override
;
309
310
/**
311
* Enable delayed BlockAck.
312
*/
313
void
SetDelayedBlockAck
();
314
/**
315
* Enable immediate BlockAck
316
*/
317
void
SetImmediateBlockAck
();
318
/**
319
* Set Traffic ID (TID).
320
*
321
* \param tid traffic ID
322
*/
323
void
SetTid
(uint8_t tid);
324
/**
325
* Set timeout.
326
*
327
* \param timeout timeout
328
*/
329
void
SetTimeout
(uint16_t
timeout
);
330
/**
331
* Set buffer size.
332
*
333
* \param size buffer size
334
*/
335
void
SetBufferSize
(uint16_t size);
336
/**
337
* Set the starting sequence number.
338
*
339
* \param seq the starting sequence number
340
*/
341
void
SetStartingSequence
(uint16_t seq);
342
/**
343
* Enable or disable A-MSDU support.
344
*
345
* \param supported enable or disable A-MSDU support
346
*/
347
void
SetAmsduSupport
(
bool
supported);
348
349
/**
350
* Return the starting sequence number.
351
*
352
* \return the starting sequence number
353
*/
354
uint16_t
GetStartingSequence
()
const
;
355
/**
356
* Return the Traffic ID (TID).
357
*
358
* \return TID
359
*/
360
uint8_t
GetTid
()
const
;
361
/**
362
* Return whether the Block Ack policy is immediate Block Ack.
363
*
364
* \return true if immediate Block Ack is being used, false otherwise
365
*/
366
bool
IsImmediateBlockAck
()
const
;
367
/**
368
* Return the timeout.
369
*
370
* \return timeout
371
*/
372
uint16_t
GetTimeout
()
const
;
373
/**
374
* Return the buffer size.
375
*
376
* \return the buffer size.
377
*/
378
uint16_t
GetBufferSize
()
const
;
379
/**
380
* Return whether A-MSDU capability is supported.
381
*
382
* \return true is A-MSDU is supported, false otherwise
383
*/
384
bool
IsAmsduSupported
()
const
;
385
386
private
:
387
/**
388
* Return the raw parameter set.
389
*
390
* \return the raw parameter set
391
*/
392
uint16_t
GetParameterSet
()
const
;
393
/**
394
* Set the parameter set from the given raw value.
395
*
396
* \param params raw parameter set value
397
*/
398
void
SetParameterSet
(uint16_t params);
399
/**
400
* Return the raw sequence control.
401
*
402
* \return the raw sequence control
403
*/
404
uint16_t
GetStartingSequenceControl
()
const
;
405
/**
406
* Set sequence control with the given raw value.
407
*
408
* \param seqControl the raw sequence control
409
*/
410
void
SetStartingSequenceControl
(uint16_t seqControl);
411
412
uint8_t
m_dialogToken
{1};
//!< Not used for now
413
uint8_t
m_amsduSupport
{1};
//!< Flag if A-MSDU is supported
414
uint8_t
m_policy
{1};
//!< Block Ack policy
415
uint8_t
m_tid
{0};
//!< Traffic ID
416
uint16_t
m_bufferSize
{0};
//!< Buffer size
417
uint16_t
m_timeoutValue
{0};
//!< Timeout
418
uint16_t
m_startingSeq
{0};
//!< Starting sequence number
419
};
420
421
/**
422
* \ingroup wifi
423
* Implement the header for management frames of type Add Block Ack response.
424
*/
425
class
MgtAddBaResponseHeader
:
public
Header
426
{
427
public
:
428
/**
429
* Register this type.
430
* \return The TypeId.
431
*/
432
static
TypeId
GetTypeId
();
433
TypeId
GetInstanceTypeId
()
const override
;
434
void
Print
(std::ostream& os)
const override
;
435
uint32_t
GetSerializedSize
()
const override
;
436
void
Serialize
(
Buffer::Iterator
start)
const override
;
437
uint32_t
Deserialize
(
Buffer::Iterator
start)
override
;
438
439
/**
440
* Enable delayed BlockAck.
441
*/
442
void
SetDelayedBlockAck
();
443
/**
444
* Enable immediate BlockAck.
445
*/
446
void
SetImmediateBlockAck
();
447
/**
448
* Set Traffic ID (TID).
449
*
450
* \param tid traffic ID
451
*/
452
void
SetTid
(uint8_t tid);
453
/**
454
* Set timeout.
455
*
456
* \param timeout timeout
457
*/
458
void
SetTimeout
(uint16_t
timeout
);
459
/**
460
* Set buffer size.
461
*
462
* \param size buffer size
463
*/
464
void
SetBufferSize
(uint16_t size);
465
/**
466
* Set the status code.
467
*
468
* \param code the status code
469
*/
470
void
SetStatusCode
(
StatusCode
code);
471
/**
472
* Enable or disable A-MSDU support.
473
*
474
* \param supported enable or disable A-MSDU support
475
*/
476
void
SetAmsduSupport
(
bool
supported);
477
478
/**
479
* Return the status code.
480
*
481
* \return the status code
482
*/
483
StatusCode
GetStatusCode
()
const
;
484
/**
485
* Return the Traffic ID (TID).
486
*
487
* \return TID
488
*/
489
uint8_t
GetTid
()
const
;
490
/**
491
* Return whether the Block Ack policy is immediate Block Ack.
492
*
493
* \return true if immediate Block Ack is being used, false otherwise
494
*/
495
bool
IsImmediateBlockAck
()
const
;
496
/**
497
* Return the timeout.
498
*
499
* \return timeout
500
*/
501
uint16_t
GetTimeout
()
const
;
502
/**
503
* Return the buffer size.
504
*
505
* \return the buffer size.
506
*/
507
uint16_t
GetBufferSize
()
const
;
508
/**
509
* Return whether A-MSDU capability is supported.
510
*
511
* \return true is A-MSDU is supported, false otherwise
512
*/
513
bool
IsAmsduSupported
()
const
;
514
515
private
:
516
/**
517
* Return the raw parameter set.
518
*
519
* \return the raw parameter set
520
*/
521
uint16_t
GetParameterSet
()
const
;
522
/**
523
* Set the parameter set from the given raw value.
524
*
525
* \param params raw parameter set value
526
*/
527
void
SetParameterSet
(uint16_t params);
528
529
uint8_t
m_dialogToken
{1};
//!< Not used for now
530
StatusCode
m_code
{};
//!< Status code
531
uint8_t
m_amsduSupport
{1};
//!< Flag if A-MSDU is supported
532
uint8_t
m_policy
{1};
//!< Block ACK policy
533
uint8_t
m_tid
{0};
//!< Traffic ID
534
uint16_t
m_bufferSize
{0};
//!< Buffer size
535
uint16_t
m_timeoutValue
{0};
//!< Timeout
536
};
537
538
/**
539
* \ingroup wifi
540
* Implement the header for management frames of type Delete Block Ack.
541
*/
542
class
MgtDelBaHeader
:
public
Header
543
{
544
public
:
545
/**
546
* Register this type.
547
* \return The TypeId.
548
*/
549
static
TypeId
GetTypeId
();
550
551
TypeId
GetInstanceTypeId
()
const override
;
552
void
Print
(std::ostream& os)
const override
;
553
uint32_t
GetSerializedSize
()
const override
;
554
void
Serialize
(
Buffer::Iterator
start)
const override
;
555
uint32_t
Deserialize
(
Buffer::Iterator
start)
override
;
556
557
/**
558
* Check if the initiator bit in the DELBA is set.
559
*
560
* \return true if the initiator bit in the DELBA is set,
561
* false otherwise
562
*/
563
bool
IsByOriginator
()
const
;
564
/**
565
* Return the Traffic ID (TID).
566
*
567
* \return TID
568
*/
569
uint8_t
GetTid
()
const
;
570
/**
571
* Set Traffic ID (TID).
572
*
573
* \param tid traffic ID
574
*/
575
void
SetTid
(uint8_t tid);
576
/**
577
* Set the initiator bit in the DELBA.
578
*/
579
void
SetByOriginator
();
580
/**
581
* Un-set the initiator bit in the DELBA.
582
*/
583
void
SetByRecipient
();
584
585
private
:
586
/**
587
* Return the raw parameter set.
588
*
589
* \return the raw parameter set
590
*/
591
uint16_t
GetParameterSet
()
const
;
592
/**
593
* Set the parameter set from the given raw value.
594
*
595
* \param params raw parameter set value
596
*/
597
void
SetParameterSet
(uint16_t params);
598
599
uint16_t
m_initiator
{0};
//!< initiator
600
uint16_t
m_tid
{0};
//!< Traffic ID
601
uint16_t
m_reasonCode
{1};
//!< Not used for now. Always set to 1: "Unspecified reason"
602
};
603
604
/**
605
* \ingroup wifi
606
* Implement the header for Action frames of type EML Operating Mode Notification.
607
*/
608
class
MgtEmlOmn
:
public
Header
609
{
610
public
:
611
MgtEmlOmn
() =
default
;
612
613
/**
614
* Register this type.
615
* \return The TypeId.
616
*/
617
static
TypeId
GetTypeId
();
618
TypeId
GetInstanceTypeId
()
const override
;
619
void
Print
(std::ostream& os)
const override
;
620
uint32_t
GetSerializedSize
()
const override
;
621
void
Serialize
(
Buffer::Iterator
start)
const override
;
622
uint32_t
Deserialize
(
Buffer::Iterator
start)
override
;
623
624
/**
625
* EML Control field.
626
*/
627
struct
EmlControl
628
{
629
uint8_t
emlsrMode
: 1;
//!< EMLSR Mode
630
uint8_t
emlmrMode
: 1;
//!< EMLMR Mode
631
uint8_t
emlsrParamUpdateCtrl
: 1;
//!< EMLSR Parameter Update Control
632
uint8_t : 5;
//!< reserved
633
std::optional<uint16_t>
linkBitmap
;
//!< EMLSR/EMLMR Link Bitmap
634
std::optional<uint8_t>
mcsMapCountCtrl
;
//!< MCS Map Count Control
635
// TODO Add EMLMR Supported MCS And NSS Set subfield when EMLMR is supported
636
};
637
638
/**
639
* EMLSR Parameter Update field.
640
*/
641
struct
EmlsrParamUpdate
642
{
643
uint8_t
paddingDelay
: 3;
//!< EMLSR Padding Delay
644
uint8_t
transitionDelay
: 3;
//!< EMLSR Transition Delay
645
};
646
647
/**
648
* Set the bit position in the link bitmap corresponding to the given link.
649
*
650
* \param linkId the ID of the given link
651
*/
652
void
SetLinkIdInBitmap
(uint8_t linkId);
653
/**
654
* \return the ID of the links whose bit position in the link bitmap is set to 1
655
*/
656
std::list<uint8_t>
GetLinkBitmap
()
const
;
657
658
uint8_t
m_dialogToken
{0};
//!< Dialog Token
659
EmlControl
m_emlControl
{};
//!< EML Control field
660
std::optional<EmlsrParamUpdate>
m_emlsrParamUpdate
{};
//!< EMLSR Parameter Update field
661
};
662
663
/**
664
* \ingroup wifi
665
* Implement the FILS (Fast Initial Link Setup) action frame.
666
* See sec. 9.6.7.36 of IEEE 802.11-2020 and IEEE 802.11ax-2021.
667
*/
668
class
FilsDiscHeader
:
public
Header
669
{
670
public
:
671
FilsDiscHeader
();
672
673
/// \return the object TypeId
674
static
TypeId
GetTypeId
();
675
TypeId
GetInstanceTypeId
()
const override
;
676
void
Print
(std::ostream& os)
const override
;
677
uint32_t
GetSerializedSize
()
const override
;
678
void
Serialize
(
Buffer::Iterator
start)
const override
;
679
uint32_t
Deserialize
(
Buffer::Iterator
start)
override
;
680
681
/**
682
* Set the SSID field.
683
*
684
* \param ssid the SSID
685
*/
686
void
SetSsid
(
const
std::string& ssid);
687
688
/// \return the SSID
689
const
std::string&
GetSsid
()
const
;
690
691
/// \return size of FILS Discovery Information field in octets
692
uint32_t
GetInformationFieldSize
()
const
;
693
694
/// \return size of non-optional subfields in octets
695
uint32_t
GetSizeNonOptSubfields
()
const
;
696
697
/// \brief sets value of Length subfield
698
void
SetLengthSubfield
();
699
700
/// FILS Discovery Frame Control subfield of FILS Discovery Information field
701
struct
FilsDiscFrameControl
// 2 octets
702
{
703
uint8_t
m_ssidLen
: 5 {0};
///< SSID Length
704
bool
m_capPresenceInd
{
false
};
///< Capability Presence Indicator
705
uint8_t
m_shortSsidInd
: 1 {0};
///< Short SSID Indicator (not supported)
706
bool
m_apCsnPresenceInd
{
false
};
///< AP-CSN Presence Indicator
707
bool
m_anoPresenceInd
{
false
};
///< ANO Presence Indicator
708
bool
m_chCntrFreqSeg1PresenceInd
{
false
};
///< Channel Center Frequency Segment 1
709
///< Presence Indicator
710
bool
m_primChPresenceInd
{
false
};
///< Primary Channel Presence Indicator
711
uint8_t
m_rsnInfoPresenceInd
: 1 {0};
///< RSN info Presence Indicator (not supported)
712
bool
m_lenPresenceInd
{
false
};
///< Length Presence Indicator
713
uint8_t
m_mdPresenceInd
: 1 {0};
///< MD Presence Indicator (not supported)
714
uint8_t
m_reserved
: 2 {0};
///< Reserved Bits
715
716
/**
717
* \brief serialize content to a given buffer
718
* \param start given input buffer iterator
719
*/
720
void
Serialize
(
Buffer::Iterator
& start)
const
;
721
722
/**
723
* \brief read content from a given buffer
724
* \param start input buffer iterator
725
* \return number of read octets
726
*/
727
uint32_t
Deserialize
(
Buffer::Iterator
start);
728
};
729
730
/// FD Capability subfield of FILS Discovery Information field
731
struct
FdCapability
// 2 octets
732
{
733
uint8_t
m_ess
: 1 {0};
///< ESS
734
uint8_t
m_privacy
: 1 {0};
///< Privacy
735
uint8_t
m_chWidth
: 3 {0};
///< BSS Operating Channel Width
736
uint8_t
m_maxNss
: 3 {0};
///< Maximum Number of Spatial Streams
737
uint8_t
m_reserved
: 1 {0};
///< Reserved Bit
738
uint8_t
m_multiBssidPresenceInd
: 1 {0};
///< Multiple BSSIDs Presence Indicator
739
uint8_t
m_phyIdx
: 3 {0};
///< PHY Index
740
uint8_t
m_minRate
: 3 {0};
///< FILS Minimum Rate
741
742
/**
743
* \brief Set the BSS Operating Channel Width field based on the operating channel width
744
* \param width the operating channel width
745
*/
746
void
SetOpChannelWidth
(
MHz_u
width);
747
748
/// \return the operating channel width encoded in the BSS Operating Channel Width field
749
MHz_u
GetOpChannelWidth
()
const
;
750
751
/**
752
* \brief Set the Maximum Number of Spatial Streams field
753
* \param maxNss the maximum number of supported spatial streams
754
*/
755
void
SetMaxNss
(uint8_t maxNss);
756
757
/**
758
* Note that this function returns 5 if the maximum number of supported spatial streams
759
* is greater than 4.
760
*
761
* \return the maximum number of supported spatial streams
762
*/
763
uint8_t
GetMaxNss
()
const
;
764
765
/**
766
* \brief Set the PHY Index field based on the given wifi standard
767
* \param standard the wifi standard
768
*/
769
void
SetStandard
(
WifiStandard
standard);
770
771
/**
772
* \param band the PHY band in which the device is operating (needed to distinguish
773
* between 802.11a and 802.11g)
774
* \return the wifi standard encoded in the PHY Index field
775
*/
776
WifiStandard
GetStandard
(
WifiPhyBand
band)
const
;
777
778
/**
779
* \brief serialize content to a given buffer
780
* \param start given input buffer iterator
781
*/
782
void
Serialize
(
Buffer::Iterator
& start)
const
;
783
784
/**
785
* \brief read content from a given buffer
786
* \param start input buffer iterator
787
* \return number of read octets
788
*/
789
uint32_t
Deserialize
(
Buffer::Iterator
start);
790
};
791
792
// FILS Discovery Frame Information field
793
// TODO: add optional FD-RSN and Mobility domain subfields
794
FilsDiscFrameControl
m_frameCtl
;
///< FILS Discovery Frame Control
795
uint64_t
m_timeStamp
{0};
///< Timestamp
796
uint16_t
m_beaconInt
{0};
///< Beacon Interval in TU (1024 us)
797
OptFieldWithPresenceInd<uint8_t>
m_len
;
///< Length
798
OptFieldWithPresenceInd<FdCapability>
m_fdCap
;
///< FD Capability
799
std::optional<uint8_t>
m_opClass
;
///< Operating Class
800
OptFieldWithPresenceInd<uint8_t>
m_primaryCh
;
///< Primary Channel
801
OptFieldWithPresenceInd<uint8_t>
802
m_apConfigSeqNum
;
///< AP Configuration Sequence Number (AP-CSN)
803
OptFieldWithPresenceInd<uint8_t>
m_accessNetOpt
;
///< Access Network Options
804
OptFieldWithPresenceInd<uint8_t>
m_chCntrFreqSeg1
;
///< Channel Center Frequency Segment 1
805
806
// (Optional) Information Elements
807
std::optional<ReducedNeighborReport>
m_rnr
;
///< Reduced Neighbor Report
808
std::optional<Tim>
m_tim
;
///< Traffic Indication Map element
809
810
private
:
811
std::string
m_ssid
;
///< SSID
812
};
813
814
/**
815
* \brief Stream insertion operator.
816
*
817
* \param os the output stream
818
* \param control the Fils Discovery Frame Control field
819
* \returns a reference to the stream
820
*/
821
std::ostream&
operator<<
(std::ostream& os,
const
FilsDiscHeader::FilsDiscFrameControl
& control);
822
823
/**
824
* \brief Stream insertion operator.
825
*
826
* \param os the output stream
827
* \param capability the Fils Discovery Frame Capability field
828
* \returns a reference to the stream
829
*/
830
std::ostream&
operator<<
(std::ostream& os,
const
FilsDiscHeader::FdCapability
& capability);
831
832
}
// namespace ns3
833
834
#endif
/* MGT_ACTION_HEADERS_H */
double
ns3::Buffer::Iterator
iterator in a Buffer instance
Definition
buffer.h:89
ns3::FilsDiscHeader
Implement the FILS (Fast Initial Link Setup) action frame.
Definition
mgt-action-headers.h:669
ns3::FilsDiscHeader::m_beaconInt
uint16_t m_beaconInt
Beacon Interval in TU (1024 us)
Definition
mgt-action-headers.h:796
ns3::FilsDiscHeader::m_rnr
std::optional< ReducedNeighborReport > m_rnr
Reduced Neighbor Report.
Definition
mgt-action-headers.h:807
ns3::FilsDiscHeader::m_chCntrFreqSeg1
OptFieldWithPresenceInd< uint8_t > m_chCntrFreqSeg1
Channel Center Frequency Segment 1.
Definition
mgt-action-headers.h:804
ns3::FilsDiscHeader::GetSerializedSize
uint32_t GetSerializedSize() const override
Definition
mgt-action-headers.cc:1406
ns3::FilsDiscHeader::m_primaryCh
OptFieldWithPresenceInd< uint8_t > m_primaryCh
Primary Channel.
Definition
mgt-action-headers.h:800
ns3::FilsDiscHeader::m_accessNetOpt
OptFieldWithPresenceInd< uint8_t > m_accessNetOpt
Access Network Options.
Definition
mgt-action-headers.h:803
ns3::FilsDiscHeader::GetSsid
const std::string & GetSsid() const
Definition
mgt-action-headers.cc:1386
ns3::FilsDiscHeader::SetSsid
void SetSsid(const std::string &ssid)
Set the SSID field.
Definition
mgt-action-headers.cc:1379
ns3::FilsDiscHeader::Deserialize
uint32_t Deserialize(Buffer::Iterator start) override
Definition
mgt-action-headers.cc:1517
ns3::FilsDiscHeader::GetTypeId
static TypeId GetTypeId()
Definition
mgt-action-headers.cc:1353
ns3::FilsDiscHeader::m_frameCtl
FilsDiscFrameControl m_frameCtl
FILS Discovery Frame Control.
Definition
mgt-action-headers.h:794
ns3::FilsDiscHeader::m_fdCap
OptFieldWithPresenceInd< FdCapability > m_fdCap
FD Capability.
Definition
mgt-action-headers.h:798
ns3::FilsDiscHeader::m_opClass
std::optional< uint8_t > m_opClass
Operating Class.
Definition
mgt-action-headers.h:799
ns3::FilsDiscHeader::Print
void Print(std::ostream &os) const override
Definition
mgt-action-headers.cc:1435
ns3::FilsDiscHeader::GetSizeNonOptSubfields
uint32_t GetSizeNonOptSubfields() const
Definition
mgt-action-headers.cc:1416
ns3::FilsDiscHeader::m_len
OptFieldWithPresenceInd< uint8_t > m_len
Length.
Definition
mgt-action-headers.h:797
ns3::FilsDiscHeader::GetInformationFieldSize
uint32_t GetInformationFieldSize() const
Definition
mgt-action-headers.cc:1392
ns3::FilsDiscHeader::m_timeStamp
uint64_t m_timeStamp
Timestamp.
Definition
mgt-action-headers.h:795
ns3::FilsDiscHeader::SetLengthSubfield
void SetLengthSubfield()
sets value of Length subfield
Definition
mgt-action-headers.cc:1425
ns3::FilsDiscHeader::GetInstanceTypeId
TypeId GetInstanceTypeId() const override
Get the most derived TypeId for this Object.
Definition
mgt-action-headers.cc:1363
ns3::FilsDiscHeader::Serialize
void Serialize(Buffer::Iterator start) const override
Definition
mgt-action-headers.cc:1476
ns3::FilsDiscHeader::FilsDiscHeader
FilsDiscHeader()
Definition
mgt-action-headers.cc:1368
ns3::FilsDiscHeader::m_ssid
std::string m_ssid
SSID.
Definition
mgt-action-headers.h:811
ns3::FilsDiscHeader::m_apConfigSeqNum
OptFieldWithPresenceInd< uint8_t > m_apConfigSeqNum
AP Configuration Sequence Number (AP-CSN)
Definition
mgt-action-headers.h:802
ns3::FilsDiscHeader::m_tim
std::optional< Tim > m_tim
Traffic Indication Map element.
Definition
mgt-action-headers.h:808
ns3::Header
Protocol header serialization and deserialization.
Definition
header.h:33
ns3::MgtAddBaRequestHeader
Implement the header for management frames of type Add Block Ack request.
Definition
mgt-action-headers.h:297
ns3::MgtAddBaRequestHeader::SetParameterSet
void SetParameterSet(uint16_t params)
Set the parameter set from the given raw value.
Definition
mgt-action-headers.cc:899
ns3::MgtAddBaRequestHeader::m_startingSeq
uint16_t m_startingSeq
Starting sequence number.
Definition
mgt-action-headers.h:418
ns3::MgtAddBaRequestHeader::Serialize
void Serialize(Buffer::Iterator start) const override
Definition
mgt-action-headers.cc:761
ns3::MgtAddBaRequestHeader::GetStartingSequenceControl
uint16_t GetStartingSequenceControl() const
Return the raw sequence control.
Definition
mgt-action-headers.cc:882
ns3::MgtAddBaRequestHeader::SetStartingSequenceControl
void SetStartingSequenceControl(uint16_t seqControl)
Set sequence control with the given raw value.
Definition
mgt-action-headers.cc:834
ns3::MgtAddBaRequestHeader::m_tid
uint8_t m_tid
Traffic ID.
Definition
mgt-action-headers.h:415
ns3::MgtAddBaRequestHeader::GetTypeId
static TypeId GetTypeId()
Register this type.
Definition
mgt-action-headers.cc:724
ns3::MgtAddBaRequestHeader::m_amsduSupport
uint8_t m_amsduSupport
Flag if A-MSDU is supported.
Definition
mgt-action-headers.h:413
ns3::MgtAddBaRequestHeader::SetBufferSize
void SetBufferSize(uint16_t size)
Set buffer size.
Definition
mgt-action-headers.cc:822
ns3::MgtAddBaRequestHeader::Print
void Print(std::ostream &os) const override
Definition
mgt-action-headers.cc:740
ns3::MgtAddBaRequestHeader::SetDelayedBlockAck
void SetDelayedBlockAck()
Enable delayed BlockAck.
Definition
mgt-action-headers.cc:797
ns3::MgtAddBaRequestHeader::m_dialogToken
uint8_t m_dialogToken
Not used for now.
Definition
mgt-action-headers.h:412
ns3::MgtAddBaRequestHeader::GetParameterSet
uint16_t GetParameterSet() const
Return the raw parameter set.
Definition
mgt-action-headers.cc:888
ns3::MgtAddBaRequestHeader::Deserialize
uint32_t Deserialize(Buffer::Iterator start) override
Definition
mgt-action-headers.cc:777
ns3::MgtAddBaRequestHeader::SetAmsduSupport
void SetAmsduSupport(bool supported)
Enable or disable A-MSDU support.
Definition
mgt-action-headers.cc:840
ns3::MgtAddBaRequestHeader::SetImmediateBlockAck
void SetImmediateBlockAck()
Enable immediate BlockAck.
Definition
mgt-action-headers.cc:803
ns3::MgtAddBaRequestHeader::GetBufferSize
uint16_t GetBufferSize() const
Return the buffer size.
Definition
mgt-action-headers.cc:864
ns3::MgtAddBaRequestHeader::m_bufferSize
uint16_t m_bufferSize
Buffer size.
Definition
mgt-action-headers.h:416
ns3::MgtAddBaRequestHeader::GetTimeout
uint16_t GetTimeout() const
Return the timeout.
Definition
mgt-action-headers.cc:858
ns3::MgtAddBaRequestHeader::GetTid
uint8_t GetTid() const
Return the Traffic ID (TID).
Definition
mgt-action-headers.cc:846
ns3::MgtAddBaRequestHeader::GetStartingSequence
uint16_t GetStartingSequence() const
Return the starting sequence number.
Definition
mgt-action-headers.cc:876
ns3::MgtAddBaRequestHeader::GetInstanceTypeId
TypeId GetInstanceTypeId() const override
Get the most derived TypeId for this Object.
Definition
mgt-action-headers.cc:734
ns3::MgtAddBaRequestHeader::GetSerializedSize
uint32_t GetSerializedSize() const override
Definition
mgt-action-headers.cc:745
ns3::MgtAddBaRequestHeader::IsAmsduSupported
bool IsAmsduSupported() const
Return whether A-MSDU capability is supported.
Definition
mgt-action-headers.cc:870
ns3::MgtAddBaRequestHeader::IsImmediateBlockAck
bool IsImmediateBlockAck() const
Return whether the Block Ack policy is immediate Block Ack.
Definition
mgt-action-headers.cc:852
ns3::MgtAddBaRequestHeader::m_timeoutValue
uint16_t m_timeoutValue
Timeout.
Definition
mgt-action-headers.h:417
ns3::MgtAddBaRequestHeader::SetTimeout
void SetTimeout(uint16_t timeout)
Set timeout.
Definition
mgt-action-headers.cc:816
ns3::MgtAddBaRequestHeader::SetTid
void SetTid(uint8_t tid)
Set Traffic ID (TID).
Definition
mgt-action-headers.cc:809
ns3::MgtAddBaRequestHeader::m_policy
uint8_t m_policy
Block Ack policy.
Definition
mgt-action-headers.h:414
ns3::MgtAddBaRequestHeader::SetStartingSequence
void SetStartingSequence(uint16_t seq)
Set the starting sequence number.
Definition
mgt-action-headers.cc:828
ns3::MgtAddBaResponseHeader
Implement the header for management frames of type Add Block Ack response.
Definition
mgt-action-headers.h:426
ns3::MgtAddBaResponseHeader::m_bufferSize
uint16_t m_bufferSize
Buffer size.
Definition
mgt-action-headers.h:534
ns3::MgtAddBaResponseHeader::SetTid
void SetTid(uint8_t tid)
Set Traffic ID (TID).
Definition
mgt-action-headers.cc:1000
ns3::MgtAddBaResponseHeader::GetSerializedSize
uint32_t GetSerializedSize() const override
Definition
mgt-action-headers.cc:936
ns3::MgtAddBaResponseHeader::m_amsduSupport
uint8_t m_amsduSupport
Flag if A-MSDU is supported.
Definition
mgt-action-headers.h:531
ns3::MgtAddBaResponseHeader::m_dialogToken
uint8_t m_dialogToken
Not used for now.
Definition
mgt-action-headers.h:529
ns3::MgtAddBaResponseHeader::Serialize
void Serialize(Buffer::Iterator start) const override
Definition
mgt-action-headers.cc:952
ns3::MgtAddBaResponseHeader::SetParameterSet
void SetParameterSet(uint16_t params)
Set the parameter set from the given raw value.
Definition
mgt-action-headers.cc:1078
ns3::MgtAddBaResponseHeader::GetBufferSize
uint16_t GetBufferSize() const
Return the buffer size.
Definition
mgt-action-headers.cc:1055
ns3::MgtAddBaResponseHeader::IsAmsduSupported
bool IsAmsduSupported() const
Return whether A-MSDU capability is supported.
Definition
mgt-action-headers.cc:1061
ns3::MgtAddBaResponseHeader::GetStatusCode
StatusCode GetStatusCode() const
Return the status code.
Definition
mgt-action-headers.cc:1031
ns3::MgtAddBaResponseHeader::SetTimeout
void SetTimeout(uint16_t timeout)
Set timeout.
Definition
mgt-action-headers.cc:1007
ns3::MgtAddBaResponseHeader::m_policy
uint8_t m_policy
Block ACK policy.
Definition
mgt-action-headers.h:532
ns3::MgtAddBaResponseHeader::GetInstanceTypeId
TypeId GetInstanceTypeId() const override
Get the most derived TypeId for this Object.
Definition
mgt-action-headers.cc:924
ns3::MgtAddBaResponseHeader::SetBufferSize
void SetBufferSize(uint16_t size)
Set buffer size.
Definition
mgt-action-headers.cc:1013
ns3::MgtAddBaResponseHeader::m_timeoutValue
uint16_t m_timeoutValue
Timeout.
Definition
mgt-action-headers.h:535
ns3::MgtAddBaResponseHeader::Print
void Print(std::ostream &os) const override
Definition
mgt-action-headers.cc:930
ns3::MgtAddBaResponseHeader::SetStatusCode
void SetStatusCode(StatusCode code)
Set the status code.
Definition
mgt-action-headers.cc:1019
ns3::MgtAddBaResponseHeader::m_tid
uint8_t m_tid
Traffic ID.
Definition
mgt-action-headers.h:533
ns3::MgtAddBaResponseHeader::GetTid
uint8_t GetTid() const
Return the Traffic ID (TID).
Definition
mgt-action-headers.cc:1037
ns3::MgtAddBaResponseHeader::IsImmediateBlockAck
bool IsImmediateBlockAck() const
Return whether the Block Ack policy is immediate Block Ack.
Definition
mgt-action-headers.cc:1043
ns3::MgtAddBaResponseHeader::SetAmsduSupport
void SetAmsduSupport(bool supported)
Enable or disable A-MSDU support.
Definition
mgt-action-headers.cc:1025
ns3::MgtAddBaResponseHeader::GetParameterSet
uint16_t GetParameterSet() const
Return the raw parameter set.
Definition
mgt-action-headers.cc:1067
ns3::MgtAddBaResponseHeader::Deserialize
uint32_t Deserialize(Buffer::Iterator start) override
Definition
mgt-action-headers.cc:968
ns3::MgtAddBaResponseHeader::GetTimeout
uint16_t GetTimeout() const
Return the timeout.
Definition
mgt-action-headers.cc:1049
ns3::MgtAddBaResponseHeader::SetDelayedBlockAck
void SetDelayedBlockAck()
Enable delayed BlockAck.
Definition
mgt-action-headers.cc:988
ns3::MgtAddBaResponseHeader::SetImmediateBlockAck
void SetImmediateBlockAck()
Enable immediate BlockAck.
Definition
mgt-action-headers.cc:994
ns3::MgtAddBaResponseHeader::GetTypeId
static TypeId GetTypeId()
Register this type.
Definition
mgt-action-headers.cc:914
ns3::MgtAddBaResponseHeader::m_code
StatusCode m_code
Status code.
Definition
mgt-action-headers.h:530
ns3::MgtDelBaHeader
Implement the header for management frames of type Delete Block Ack.
Definition
mgt-action-headers.h:543
ns3::MgtDelBaHeader::GetTypeId
static TypeId GetTypeId()
Register this type.
Definition
mgt-action-headers.cc:1093
ns3::MgtDelBaHeader::SetTid
void SetTid(uint8_t tid)
Set Traffic ID (TID).
Definition
mgt-action-headers.cc:1166
ns3::MgtDelBaHeader::Deserialize
uint32_t Deserialize(Buffer::Iterator start) override
Definition
mgt-action-headers.cc:1131
ns3::MgtDelBaHeader::SetByRecipient
void SetByRecipient()
Un-set the initiator bit in the DELBA.
Definition
mgt-action-headers.cc:1160
ns3::MgtDelBaHeader::Print
void Print(std::ostream &os) const override
Definition
mgt-action-headers.cc:1109
ns3::MgtDelBaHeader::m_initiator
uint16_t m_initiator
initiator
Definition
mgt-action-headers.h:599
ns3::MgtDelBaHeader::SetParameterSet
void SetParameterSet(uint16_t params)
Set the parameter set from the given raw value.
Definition
mgt-action-headers.cc:1182
ns3::MgtDelBaHeader::GetInstanceTypeId
TypeId GetInstanceTypeId() const override
Get the most derived TypeId for this Object.
Definition
mgt-action-headers.cc:1103
ns3::MgtDelBaHeader::GetTid
uint8_t GetTid() const
Return the Traffic ID (TID).
Definition
mgt-action-headers.cc:1146
ns3::MgtDelBaHeader::m_reasonCode
uint16_t m_reasonCode
Not used for now.
Definition
mgt-action-headers.h:601
ns3::MgtDelBaHeader::IsByOriginator
bool IsByOriginator() const
Check if the initiator bit in the DELBA is set.
Definition
mgt-action-headers.cc:1140
ns3::MgtDelBaHeader::GetParameterSet
uint16_t GetParameterSet() const
Return the raw parameter set.
Definition
mgt-action-headers.cc:1173
ns3::MgtDelBaHeader::Serialize
void Serialize(Buffer::Iterator start) const override
Definition
mgt-action-headers.cc:1123
ns3::MgtDelBaHeader::m_tid
uint16_t m_tid
Traffic ID.
Definition
mgt-action-headers.h:600
ns3::MgtDelBaHeader::GetSerializedSize
uint32_t GetSerializedSize() const override
Definition
mgt-action-headers.cc:1114
ns3::MgtDelBaHeader::SetByOriginator
void SetByOriginator()
Set the initiator bit in the DELBA.
Definition
mgt-action-headers.cc:1154
ns3::MgtEmlOmn
Implement the header for Action frames of type EML Operating Mode Notification.
Definition
mgt-action-headers.h:609
ns3::MgtEmlOmn::Serialize
void Serialize(Buffer::Iterator start) const override
Definition
mgt-action-headers.cc:1251
ns3::MgtEmlOmn::GetSerializedSize
uint32_t GetSerializedSize() const override
Definition
mgt-action-headers.cc:1231
ns3::MgtEmlOmn::SetLinkIdInBitmap
void SetLinkIdInBitmap(uint8_t linkId)
Set the bit position in the link bitmap corresponding to the given link.
Definition
mgt-action-headers.cc:1319
ns3::MgtEmlOmn::m_emlControl
EmlControl m_emlControl
EML Control field.
Definition
mgt-action-headers.h:659
ns3::MgtEmlOmn::Deserialize
uint32_t Deserialize(Buffer::Iterator start) override
Definition
mgt-action-headers.cc:1286
ns3::MgtEmlOmn::Print
void Print(std::ostream &os) const override
Definition
mgt-action-headers.cc:1211
ns3::MgtEmlOmn::m_emlsrParamUpdate
std::optional< EmlsrParamUpdate > m_emlsrParamUpdate
EMLSR Parameter Update field.
Definition
mgt-action-headers.h:660
ns3::MgtEmlOmn::MgtEmlOmn
MgtEmlOmn()=default
ns3::MgtEmlOmn::GetInstanceTypeId
TypeId GetInstanceTypeId() const override
Get the most derived TypeId for this Object.
Definition
mgt-action-headers.cc:1205
ns3::MgtEmlOmn::m_dialogToken
uint8_t m_dialogToken
Dialog Token.
Definition
mgt-action-headers.h:658
ns3::MgtEmlOmn::GetLinkBitmap
std::list< uint8_t > GetLinkBitmap() const
Definition
mgt-action-headers.cc:1330
ns3::MgtEmlOmn::GetTypeId
static TypeId GetTypeId()
Register this type.
Definition
mgt-action-headers.cc:1195
ns3::OptFieldWithPresenceInd
OptFieldWithPresenceInd is a class modeling an optional field (in an Information Element,...
Definition
wifi-opt-field.h:29
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition
mpi-test-fixtures.h:37
ns3::StatusCode
Status code for association response.
Definition
status-code.h:21
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
ns3::WifiActionHeader
See IEEE 802.11 chapter 7.3.1.11 Header format: | category: 1 | action value: 1 |.
Definition
mgt-action-headers.h:38
ns3::WifiActionHeader::GetSerializedSize
uint32_t GetSerializedSize() const override
Definition
mgt-action-headers.cc:696
ns3::WifiActionHeader::CategoryValue
CategoryValue
CategoryValue enumeration.
Definition
mgt-action-headers.h:50
ns3::WifiActionHeader::SELF_PROTECTED
@ SELF_PROTECTED
Definition
mgt-action-headers.h:58
ns3::WifiActionHeader::RADIO_MEASUREMENT
@ RADIO_MEASUREMENT
Definition
mgt-action-headers.h:55
ns3::WifiActionHeader::MULTIHOP
@ MULTIHOP
Definition
mgt-action-headers.h:57
ns3::WifiActionHeader::MESH
@ MESH
Definition
mgt-action-headers.h:56
ns3::WifiActionHeader::PUBLIC
@ PUBLIC
Definition
mgt-action-headers.h:54
ns3::WifiActionHeader::UNPROTECTED_DMG
@ UNPROTECTED_DMG
Definition
mgt-action-headers.h:61
ns3::WifiActionHeader::PROTECTED_EHT
@ PROTECTED_EHT
Definition
mgt-action-headers.h:62
ns3::WifiActionHeader::VENDOR_SPECIFIC_ACTION
@ VENDOR_SPECIFIC_ACTION
Definition
mgt-action-headers.h:65
ns3::WifiActionHeader::DMG
@ DMG
Definition
mgt-action-headers.h:59
ns3::WifiActionHeader::SPECTRUM_MANAGEMENT
@ SPECTRUM_MANAGEMENT
Definition
mgt-action-headers.h:51
ns3::WifiActionHeader::BLOCK_ACK
@ BLOCK_ACK
Definition
mgt-action-headers.h:53
ns3::WifiActionHeader::FST
@ FST
Definition
mgt-action-headers.h:60
ns3::WifiActionHeader::QOS
@ QOS
Definition
mgt-action-headers.h:52
ns3::WifiActionHeader::m_category
uint8_t m_category
Category of the action.
Definition
mgt-action-headers.h:288
ns3::WifiActionHeader::DmgActionValue
DmgActionValue
DMG Action field values See 802.11ad Table 8-281b.
Definition
mgt-action-headers.h:150
ns3::WifiActionHeader::DMG_MULTI_RELAY_CHANNEL_MEASUREMENT_REQUEST
@ DMG_MULTI_RELAY_CHANNEL_MEASUREMENT_REQUEST
Definition
mgt-action-headers.h:161
ns3::WifiActionHeader::DMG_TPA_REQUEST
@ DMG_TPA_REQUEST
Definition
mgt-action-headers.h:169
ns3::WifiActionHeader::DMG_RELAY_ACK_RESPONSE
@ DMG_RELAY_ACK_RESPONSE
Definition
mgt-action-headers.h:168
ns3::WifiActionHeader::DMG_DTP_RESPONSE
@ DMG_DTP_RESPONSE
Definition
mgt-action-headers.h:158
ns3::WifiActionHeader::DMG_RELAY_SEARCH_RESPONSE
@ DMG_RELAY_SEARCH_RESPONSE
Definition
mgt-action-headers.h:160
ns3::WifiActionHeader::DMG_RELAY_SEARCH_REQUEST
@ DMG_RELAY_SEARCH_REQUEST
Definition
mgt-action-headers.h:159
ns3::WifiActionHeader::DMG_RLS_ANNOUNCEMENT
@ DMG_RLS_ANNOUNCEMENT
Definition
mgt-action-headers.h:165
ns3::WifiActionHeader::DMG_POWER_SAVE_CONFIGURATION_RESPONSE
@ DMG_POWER_SAVE_CONFIGURATION_RESPONSE
Definition
mgt-action-headers.h:152
ns3::WifiActionHeader::DMG_RLS_RESPONSE
@ DMG_RLS_RESPONSE
Definition
mgt-action-headers.h:164
ns3::WifiActionHeader::DMG_INFORMATION_RESPONSE
@ DMG_INFORMATION_RESPONSE
Definition
mgt-action-headers.h:154
ns3::WifiActionHeader::DMG_ROC_RESPONSE
@ DMG_ROC_RESPONSE
Definition
mgt-action-headers.h:173
ns3::WifiActionHeader::DMG_DTP_REQUEST
@ DMG_DTP_REQUEST
Definition
mgt-action-headers.h:157
ns3::WifiActionHeader::DMG_ROC_REQUEST
@ DMG_ROC_REQUEST
Definition
mgt-action-headers.h:172
ns3::WifiActionHeader::DMG_HANDOVER_RESPONSE
@ DMG_HANDOVER_RESPONSE
Definition
mgt-action-headers.h:156
ns3::WifiActionHeader::DMG_TPA_REPORT
@ DMG_TPA_REPORT
Definition
mgt-action-headers.h:171
ns3::WifiActionHeader::DMG_RLS_TEARDOWN
@ DMG_RLS_TEARDOWN
Definition
mgt-action-headers.h:166
ns3::WifiActionHeader::DMG_RELAY_ACK_REQUEST
@ DMG_RELAY_ACK_REQUEST
Definition
mgt-action-headers.h:167
ns3::WifiActionHeader::DMG_POWER_SAVE_CONFIGURATION_REQUEST
@ DMG_POWER_SAVE_CONFIGURATION_REQUEST
Definition
mgt-action-headers.h:151
ns3::WifiActionHeader::DMG_TPA_RESPONSE
@ DMG_TPA_RESPONSE
Definition
mgt-action-headers.h:170
ns3::WifiActionHeader::DMG_INFORMATION_REQUEST
@ DMG_INFORMATION_REQUEST
Definition
mgt-action-headers.h:153
ns3::WifiActionHeader::DMG_RLS_REQUEST
@ DMG_RLS_REQUEST
Definition
mgt-action-headers.h:163
ns3::WifiActionHeader::DMG_HANDOVER_REQUEST
@ DMG_HANDOVER_REQUEST
Definition
mgt-action-headers.h:155
ns3::WifiActionHeader::DMG_MULTI_RELAY_CHANNEL_MEASUREMENT_REPORT
@ DMG_MULTI_RELAY_CHANNEL_MEASUREMENT_REPORT
Definition
mgt-action-headers.h:162
ns3::WifiActionHeader::RadioMeasurementActionValue
RadioMeasurementActionValue
RadioMeasurementActionValue enumeration.
Definition
mgt-action-headers.h:100
ns3::WifiActionHeader::RADIO_MEASUREMENT_REPORT
@ RADIO_MEASUREMENT_REPORT
Definition
mgt-action-headers.h:102
ns3::WifiActionHeader::NEIGHBOR_REPORT_REQUEST
@ NEIGHBOR_REPORT_REQUEST
Definition
mgt-action-headers.h:105
ns3::WifiActionHeader::NEIGHBOR_REPORT_RESPONSE
@ NEIGHBOR_REPORT_RESPONSE
Definition
mgt-action-headers.h:106
ns3::WifiActionHeader::RADIO_MEASUREMENT_REQUEST
@ RADIO_MEASUREMENT_REQUEST
Definition
mgt-action-headers.h:101
ns3::WifiActionHeader::LINK_MEASUREMENT_REQUEST
@ LINK_MEASUREMENT_REQUEST
Definition
mgt-action-headers.h:103
ns3::WifiActionHeader::LINK_MEASUREMENT_REPORT
@ LINK_MEASUREMENT_REPORT
Definition
mgt-action-headers.h:104
ns3::WifiActionHeader::SelfProtectedActionValue
SelfProtectedActionValue
SelfProtectedActionValue enumeration.
Definition
mgt-action-headers.h:137
ns3::WifiActionHeader::PEER_LINK_OPEN
@ PEER_LINK_OPEN
Definition
mgt-action-headers.h:138
ns3::WifiActionHeader::GROUP_KEY_INFORM
@ GROUP_KEY_INFORM
Definition
mgt-action-headers.h:141
ns3::WifiActionHeader::GROUP_KEY_ACK
@ GROUP_KEY_ACK
Definition
mgt-action-headers.h:142
ns3::WifiActionHeader::PEER_LINK_CLOSE
@ PEER_LINK_CLOSE
Definition
mgt-action-headers.h:140
ns3::WifiActionHeader::PEER_LINK_CONFIRM
@ PEER_LINK_CONFIRM
Definition
mgt-action-headers.h:139
ns3::WifiActionHeader::GetInstanceTypeId
TypeId GetInstanceTypeId() const override
Get the most derived TypeId for this Object.
Definition
mgt-action-headers.cc:488
ns3::WifiActionHeader::FstActionValue
FstActionValue
FST Action field values See 802.11ad Table 8-281x.
Definition
mgt-action-headers.h:181
ns3::WifiActionHeader::FST_SETUP_REQUEST
@ FST_SETUP_REQUEST
Definition
mgt-action-headers.h:182
ns3::WifiActionHeader::FST_TEAR_DOWN
@ FST_TEAR_DOWN
Definition
mgt-action-headers.h:184
ns3::WifiActionHeader::FST_SETUP_RESPONSE
@ FST_SETUP_RESPONSE
Definition
mgt-action-headers.h:183
ns3::WifiActionHeader::FST_ACK_RESPONSE
@ FST_ACK_RESPONSE
Definition
mgt-action-headers.h:186
ns3::WifiActionHeader::FST_ACK_REQUEST
@ FST_ACK_REQUEST
Definition
mgt-action-headers.h:185
ns3::WifiActionHeader::ON_CHANNEL_TUNNEL_REQUEST
@ ON_CHANNEL_TUNNEL_REQUEST
Definition
mgt-action-headers.h:187
ns3::WifiActionHeader::UnprotectedDmgActionValue
UnprotectedDmgActionValue
Unprotected DMG action field values See 802.11ad Table 8-281ae.
Definition
mgt-action-headers.h:195
ns3::WifiActionHeader::UNPROTECTED_DMG_ANNOUNCE
@ UNPROTECTED_DMG_ANNOUNCE
Definition
mgt-action-headers.h:196
ns3::WifiActionHeader::UNPROTECTED_MIMO_BF_SELECTION
@ UNPROTECTED_MIMO_BF_SELECTION
Definition
mgt-action-headers.h:201
ns3::WifiActionHeader::UNPROTECTED_MIMO_BF_SETUP
@ UNPROTECTED_MIMO_BF_SETUP
Definition
mgt-action-headers.h:198
ns3::WifiActionHeader::UNPROTECTED_MIMO_BF_FEEDBACK
@ UNPROTECTED_MIMO_BF_FEEDBACK
Definition
mgt-action-headers.h:200
ns3::WifiActionHeader::UNPROTECTED_MIMO_BF_POLL
@ UNPROTECTED_MIMO_BF_POLL
Definition
mgt-action-headers.h:199
ns3::WifiActionHeader::UNPROTECTED_DMG_BRP
@ UNPROTECTED_DMG_BRP
Definition
mgt-action-headers.h:197
ns3::WifiActionHeader::m_actionValue
uint8_t m_actionValue
Action value.
Definition
mgt-action-headers.h:289
ns3::WifiActionHeader::QosActionValue
QosActionValue
QosActionValue enumeration.
Definition
mgt-action-headers.h:71
ns3::WifiActionHeader::DELTS
@ DELTS
Definition
mgt-action-headers.h:74
ns3::WifiActionHeader::SCHEDULE
@ SCHEDULE
Definition
mgt-action-headers.h:75
ns3::WifiActionHeader::QOS_MAP_CONFIGURE
@ QOS_MAP_CONFIGURE
Definition
mgt-action-headers.h:76
ns3::WifiActionHeader::ADDTS_RESPONSE
@ ADDTS_RESPONSE
Definition
mgt-action-headers.h:73
ns3::WifiActionHeader::ADDTS_REQUEST
@ ADDTS_REQUEST
Definition
mgt-action-headers.h:72
ns3::WifiActionHeader::Deserialize
uint32_t Deserialize(Buffer::Iterator start) override
Definition
mgt-action-headers.cc:709
ns3::WifiActionHeader::WifiActionHeader
WifiActionHeader()
Definition
mgt-action-headers.cc:24
ns3::WifiActionHeader::BlockAckActionValue
BlockAckActionValue
Block Ack Action field values See 802.11 Table 8-202.
Definition
mgt-action-headers.h:84
ns3::WifiActionHeader::BLOCK_ACK_DELBA
@ BLOCK_ACK_DELBA
Definition
mgt-action-headers.h:87
ns3::WifiActionHeader::BLOCK_ACK_ADDBA_REQUEST
@ BLOCK_ACK_ADDBA_REQUEST
Definition
mgt-action-headers.h:85
ns3::WifiActionHeader::BLOCK_ACK_ADDBA_RESPONSE
@ BLOCK_ACK_ADDBA_RESPONSE
Definition
mgt-action-headers.h:86
ns3::WifiActionHeader::Peek
static std::pair< CategoryValue, ActionValue > Peek(Ptr< const Packet > pkt)
Peek an Action header from the given packet.
Definition
mgt-action-headers.cc:494
ns3::WifiActionHeader::Print
void Print(std::ostream &os) const override
Definition
mgt-action-headers.cc:510
ns3::WifiActionHeader::MultihopActionValue
MultihopActionValue
MultihopActionValue enumeration.
Definition
mgt-action-headers.h:130
ns3::WifiActionHeader::PROXY_UPDATE
@ PROXY_UPDATE
Definition
mgt-action-headers.h:131
ns3::WifiActionHeader::PROXY_UPDATE_CONFIRMATION
@ PROXY_UPDATE_CONFIRMATION
Definition
mgt-action-headers.h:132
ns3::WifiActionHeader::ProtectedEhtActionValue
ProtectedEhtActionValue
Protected EHT action field values See 802.11be D3.0 Table 9-623c.
Definition
mgt-action-headers.h:209
ns3::WifiActionHeader::PROTECTED_EHT_EML_OPERATING_MODE_NOTIFICATION
@ PROTECTED_EHT_EML_OPERATING_MODE_NOTIFICATION
Definition
mgt-action-headers.h:216
ns3::WifiActionHeader::PROTECTED_EHT_EPCS_PRIORITY_ACCESS_TEARDOWN
@ PROTECTED_EHT_EPCS_PRIORITY_ACCESS_TEARDOWN
Definition
mgt-action-headers.h:215
ns3::WifiActionHeader::PROTECTED_EHT_TID_TO_LINK_MAPPING_TEARDOWN
@ PROTECTED_EHT_TID_TO_LINK_MAPPING_TEARDOWN
Definition
mgt-action-headers.h:212
ns3::WifiActionHeader::PROTECTED_EHT_LINK_RECOMMENDATION
@ PROTECTED_EHT_LINK_RECOMMENDATION
Definition
mgt-action-headers.h:217
ns3::WifiActionHeader::PROTECTED_EHT_TID_TO_LINK_MAPPING_RESPONSE
@ PROTECTED_EHT_TID_TO_LINK_MAPPING_RESPONSE
Definition
mgt-action-headers.h:211
ns3::WifiActionHeader::PROTECTED_EHT_EPCS_PRIORITY_ACCESS_ENABLE_RESPONSE
@ PROTECTED_EHT_EPCS_PRIORITY_ACCESS_ENABLE_RESPONSE
Definition
mgt-action-headers.h:214
ns3::WifiActionHeader::PROTECTED_EHT_MULTI_LINK_OPERATION_UPDATE_RESPONSE
@ PROTECTED_EHT_MULTI_LINK_OPERATION_UPDATE_RESPONSE
Definition
mgt-action-headers.h:219
ns3::WifiActionHeader::PROTECTED_EHT_TID_TO_LINK_MAPPING_REQUEST
@ PROTECTED_EHT_TID_TO_LINK_MAPPING_REQUEST
Definition
mgt-action-headers.h:210
ns3::WifiActionHeader::PROTECTED_EHT_EPCS_PRIORITY_ACCESS_ENABLE_REQUEST
@ PROTECTED_EHT_EPCS_PRIORITY_ACCESS_ENABLE_REQUEST
Definition
mgt-action-headers.h:213
ns3::WifiActionHeader::PROTECTED_EHT_MULTI_LINK_OPERATION_UPDATE_REQUEST
@ PROTECTED_EHT_MULTI_LINK_OPERATION_UPDATE_REQUEST
Definition
mgt-action-headers.h:218
ns3::WifiActionHeader::Remove
static std::pair< CategoryValue, ActionValue > Remove(Ptr< Packet > pkt)
Remove an Action header from the given packet.
Definition
mgt-action-headers.cc:502
ns3::WifiActionHeader::GetTypeId
static TypeId GetTypeId()
Register this type.
Definition
mgt-action-headers.cc:478
ns3::WifiActionHeader::SetAction
void SetAction(CategoryValue type, ActionValue action)
Set action for this Action header.
Definition
mgt-action-headers.cc:33
ns3::WifiActionHeader::MeshActionValue
MeshActionValue
MeshActionValue enumeration.
Definition
mgt-action-headers.h:111
ns3::WifiActionHeader::MDA_SETUP_REQUEST
@ MDA_SETUP_REQUEST
Definition
mgt-action-headers.h:116
ns3::WifiActionHeader::CONGESTION_CONTROL_NOTIFICATION
@ CONGESTION_CONTROL_NOTIFICATION
Definition
mgt-action-headers.h:115
ns3::WifiActionHeader::TBTT_ADJUSTMENT_RESPONSE
@ TBTT_ADJUSTMENT_RESPONSE
Definition
mgt-action-headers.h:125
ns3::WifiActionHeader::MDA_SETUP_REPLY
@ MDA_SETUP_REPLY
Definition
mgt-action-headers.h:118
ns3::WifiActionHeader::LINK_METRIC_REPORT
@ LINK_METRIC_REPORT
Definition
mgt-action-headers.h:112
ns3::WifiActionHeader::MDAOP_SET_TEARDOWN
@ MDAOP_SET_TEARDOWN
Definition
mgt-action-headers.h:123
ns3::WifiActionHeader::MDAOP_ADVERTISEMENT_REQUEST
@ MDAOP_ADVERTISEMENT_REQUEST
Definition
mgt-action-headers.h:120
ns3::WifiActionHeader::PATH_SELECTION
@ PATH_SELECTION
Definition
mgt-action-headers.h:113
ns3::WifiActionHeader::TBTT_ADJUSTMENT_REQUEST
@ TBTT_ADJUSTMENT_REQUEST
Definition
mgt-action-headers.h:124
ns3::WifiActionHeader::PORTAL_ANNOUNCEMENT
@ PORTAL_ANNOUNCEMENT
Definition
mgt-action-headers.h:114
ns3::WifiActionHeader::MDAOP_ADVERTISEMENTS
@ MDAOP_ADVERTISEMENTS
Definition
mgt-action-headers.h:122
ns3::WifiActionHeader::~WifiActionHeader
~WifiActionHeader() override
Definition
mgt-action-headers.cc:28
ns3::WifiActionHeader::Serialize
void Serialize(Buffer::Iterator start) const override
Definition
mgt-action-headers.cc:702
ns3::WifiActionHeader::PublicActionValue
PublicActionValue
PublicActionValue enumeration.
Definition
mgt-action-headers.h:92
ns3::WifiActionHeader::QAB_REQUEST
@ QAB_REQUEST
Definition
mgt-action-headers.h:93
ns3::WifiActionHeader::QAB_RESPONSE
@ QAB_RESPONSE
Definition
mgt-action-headers.h:94
ns3::WifiActionHeader::FILS_DISCOVERY
@ FILS_DISCOVERY
Definition
mgt-action-headers.h:95
ns3::WifiActionHeader::GetCategory
CategoryValue GetCategory() const
Return the category value.
Definition
mgt-action-headers.cc:93
ns3::WifiActionHeader::GetAction
ActionValue GetAction() const
Return the action value.
Definition
mgt-action-headers.cc:128
uint32_t
ns3::WifiStandard
WifiStandard
Identifies the IEEE 802.11 specifications that a Wifi device can be configured to use.
Definition
wifi-standards.h:29
ns3::WifiPhyBand
WifiPhyBand
Identifies the PHY band.
Definition
wifi-phy-band.h:22
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::operator<<
std::ostream & operator<<(std::ostream &os, const Angles &a)
Definition
angles.cc:148
timeout
ns3::Time timeout
Definition
openflow-switch.cc:44
reduced-neighbor-report.h
status-code.h
ns3::FilsDiscHeader::FdCapability
FD Capability subfield of FILS Discovery Information field.
Definition
mgt-action-headers.h:732
ns3::FilsDiscHeader::FdCapability::GetStandard
WifiStandard GetStandard(WifiPhyBand band) const
Definition
mgt-action-headers.cc:1728
ns3::FilsDiscHeader::FdCapability::GetOpChannelWidth
MHz_u GetOpChannelWidth() const
Definition
mgt-action-headers.cc:1665
ns3::FilsDiscHeader::FdCapability::SetOpChannelWidth
void SetOpChannelWidth(MHz_u width)
Set the BSS Operating Channel Width field based on the operating channel width.
Definition
mgt-action-headers.cc:1655
ns3::FilsDiscHeader::FdCapability::GetMaxNss
uint8_t GetMaxNss() const
Note that this function returns 5 if the maximum number of supported spatial streams is greater than ...
Definition
mgt-action-headers.cc:1693
ns3::FilsDiscHeader::FdCapability::m_phyIdx
uint8_t m_phyIdx
PHY Index.
Definition
mgt-action-headers.h:739
ns3::FilsDiscHeader::FdCapability::m_minRate
uint8_t m_minRate
FILS Minimum Rate.
Definition
mgt-action-headers.h:740
ns3::FilsDiscHeader::FdCapability::SetMaxNss
void SetMaxNss(uint8_t maxNss)
Set the Maximum Number of Spatial Streams field.
Definition
mgt-action-headers.cc:1684
ns3::FilsDiscHeader::FdCapability::m_chWidth
uint8_t m_chWidth
BSS Operating Channel Width.
Definition
mgt-action-headers.h:735
ns3::FilsDiscHeader::FdCapability::m_multiBssidPresenceInd
uint8_t m_multiBssidPresenceInd
Multiple BSSIDs Presence Indicator.
Definition
mgt-action-headers.h:738
ns3::FilsDiscHeader::FdCapability::m_privacy
uint8_t m_privacy
Privacy.
Definition
mgt-action-headers.h:734
ns3::FilsDiscHeader::FdCapability::m_maxNss
uint8_t m_maxNss
Maximum Number of Spatial Streams.
Definition
mgt-action-headers.h:736
ns3::FilsDiscHeader::FdCapability::m_ess
uint8_t m_ess
ESS.
Definition
mgt-action-headers.h:733
ns3::FilsDiscHeader::FdCapability::m_reserved
uint8_t m_reserved
Reserved Bit.
Definition
mgt-action-headers.h:737
ns3::FilsDiscHeader::FdCapability::Serialize
void Serialize(Buffer::Iterator &start) const
serialize content to a given buffer
Definition
mgt-action-headers.cc:1631
ns3::FilsDiscHeader::FdCapability::Deserialize
uint32_t Deserialize(Buffer::Iterator start)
read content from a given buffer
Definition
mgt-action-headers.cc:1639
ns3::FilsDiscHeader::FdCapability::SetStandard
void SetStandard(WifiStandard standard)
Set the PHY Index field based on the given wifi standard.
Definition
mgt-action-headers.cc:1699
ns3::FilsDiscHeader::FilsDiscFrameControl
FILS Discovery Frame Control subfield of FILS Discovery Information field.
Definition
mgt-action-headers.h:702
ns3::FilsDiscHeader::FilsDiscFrameControl::m_apCsnPresenceInd
bool m_apCsnPresenceInd
AP-CSN Presence Indicator.
Definition
mgt-action-headers.h:706
ns3::FilsDiscHeader::FilsDiscFrameControl::m_chCntrFreqSeg1PresenceInd
bool m_chCntrFreqSeg1PresenceInd
Channel Center Frequency Segment 1 Presence Indicator.
Definition
mgt-action-headers.h:708
ns3::FilsDiscHeader::FilsDiscFrameControl::m_shortSsidInd
uint8_t m_shortSsidInd
Short SSID Indicator (not supported)
Definition
mgt-action-headers.h:705
ns3::FilsDiscHeader::FilsDiscFrameControl::m_anoPresenceInd
bool m_anoPresenceInd
ANO Presence Indicator.
Definition
mgt-action-headers.h:707
ns3::FilsDiscHeader::FilsDiscFrameControl::Serialize
void Serialize(Buffer::Iterator &start) const
serialize content to a given buffer
Definition
mgt-action-headers.cc:1591
ns3::FilsDiscHeader::FilsDiscFrameControl::m_rsnInfoPresenceInd
uint8_t m_rsnInfoPresenceInd
RSN info Presence Indicator (not supported)
Definition
mgt-action-headers.h:711
ns3::FilsDiscHeader::FilsDiscFrameControl::m_reserved
uint8_t m_reserved
Reserved Bits.
Definition
mgt-action-headers.h:714
ns3::FilsDiscHeader::FilsDiscFrameControl::m_capPresenceInd
bool m_capPresenceInd
Capability Presence Indicator.
Definition
mgt-action-headers.h:704
ns3::FilsDiscHeader::FilsDiscFrameControl::m_mdPresenceInd
uint8_t m_mdPresenceInd
MD Presence Indicator (not supported)
Definition
mgt-action-headers.h:713
ns3::FilsDiscHeader::FilsDiscFrameControl::Deserialize
uint32_t Deserialize(Buffer::Iterator start)
read content from a given buffer
Definition
mgt-action-headers.cc:1602
ns3::FilsDiscHeader::FilsDiscFrameControl::m_lenPresenceInd
bool m_lenPresenceInd
Length Presence Indicator.
Definition
mgt-action-headers.h:712
ns3::FilsDiscHeader::FilsDiscFrameControl::m_primChPresenceInd
bool m_primChPresenceInd
Primary Channel Presence Indicator.
Definition
mgt-action-headers.h:710
ns3::FilsDiscHeader::FilsDiscFrameControl::m_ssidLen
uint8_t m_ssidLen
SSID Length.
Definition
mgt-action-headers.h:703
ns3::MgtEmlOmn::EmlControl
EML Control field.
Definition
mgt-action-headers.h:628
ns3::MgtEmlOmn::EmlControl::mcsMapCountCtrl
std::optional< uint8_t > mcsMapCountCtrl
MCS Map Count Control.
Definition
mgt-action-headers.h:634
ns3::MgtEmlOmn::EmlControl::emlsrMode
uint8_t emlsrMode
EMLSR Mode.
Definition
mgt-action-headers.h:629
ns3::MgtEmlOmn::EmlControl::emlsrParamUpdateCtrl
uint8_t emlsrParamUpdateCtrl
EMLSR Parameter Update Control.
Definition
mgt-action-headers.h:631
ns3::MgtEmlOmn::EmlControl::emlmrMode
uint8_t emlmrMode
EMLMR Mode.
Definition
mgt-action-headers.h:630
ns3::MgtEmlOmn::EmlControl::linkBitmap
std::optional< uint16_t > linkBitmap
EMLSR/EMLMR Link Bitmap.
Definition
mgt-action-headers.h:633
ns3::MgtEmlOmn::EmlsrParamUpdate
EMLSR Parameter Update field.
Definition
mgt-action-headers.h:642
ns3::MgtEmlOmn::EmlsrParamUpdate::transitionDelay
uint8_t transitionDelay
EMLSR Transition Delay.
Definition
mgt-action-headers.h:644
ns3::MgtEmlOmn::EmlsrParamUpdate::paddingDelay
uint8_t paddingDelay
EMLSR Padding Delay.
Definition
mgt-action-headers.h:643
tim.h
ns3::WifiActionHeader::ActionValue
typedef for union of different ActionValues
Definition
mgt-action-headers.h:225
ns3::WifiActionHeader::ActionValue::unprotectedDmgAction
UnprotectedDmgActionValue unprotectedDmgAction
unprotected dmg
Definition
mgt-action-headers.h:235
ns3::WifiActionHeader::ActionValue::fstAction
FstActionValue fstAction
fst
Definition
mgt-action-headers.h:234
ns3::WifiActionHeader::ActionValue::protectedEhtAction
ProtectedEhtActionValue protectedEhtAction
protected eht
Definition
mgt-action-headers.h:236
ns3::WifiActionHeader::ActionValue::selfProtectedAction
SelfProtectedActionValue selfProtectedAction
self protected
Definition
mgt-action-headers.h:230
ns3::WifiActionHeader::ActionValue::multihopAction
MultihopActionValue multihopAction
multi hop
Definition
mgt-action-headers.h:231
ns3::WifiActionHeader::ActionValue::radioMeasurementAction
RadioMeasurementActionValue radioMeasurementAction
radio measurement
Definition
mgt-action-headers.h:228
ns3::WifiActionHeader::ActionValue::dmgAction
DmgActionValue dmgAction
dmg
Definition
mgt-action-headers.h:233
ns3::WifiActionHeader::ActionValue::publicAction
PublicActionValue publicAction
public
Definition
mgt-action-headers.h:229
ns3::WifiActionHeader::ActionValue::qos
QosActionValue qos
qos
Definition
mgt-action-headers.h:226
ns3::WifiActionHeader::ActionValue::meshAction
MeshActionValue meshAction
mesh
Definition
mgt-action-headers.h:232
ns3::WifiActionHeader::ActionValue::blockAck
BlockAckActionValue blockAck
block ack
Definition
mgt-action-headers.h:227
wifi-opt-field.h
wifi-standards.h
src
wifi
model
mgt-action-headers.h
Generated on Fri Nov 8 2024 13:59:07 for ns-3 by
1.11.0