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
mgt-headers.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2006 INRIA
4
* Copyright (c) 2009 MIRKO BANCHI
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2 as
8
* published by the Free Software Foundation;
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*
19
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
20
* Author: Mirko Banchi <mk.banchi@gmail.com>
21
*/
22
#ifndef MGT_HEADERS_H
23
#define MGT_HEADERS_H
24
25
#include <stdint.h>
26
27
#include "ns3/header.h"
28
#include "
status-code.h
"
29
#include "
capability-information.h
"
30
#include "
supported-rates.h
"
31
#include "
ssid.h
"
32
#include "
ht-capabilities.h
"
33
34
namespace
ns3
{
35
40
class
MgtAssocRequestHeader
:
public
Header
41
{
42
public
:
43
MgtAssocRequestHeader
();
44
~MgtAssocRequestHeader
();
45
51
void
SetSsid
(
Ssid
ssid);
57
void
SetSupportedRates
(
SupportedRates
rates);
63
void
SetListenInterval
(uint16_t interval);
69
void
SetHtCapabilities
(
HtCapabilities
htcapabilities);
70
76
HtCapabilities
GetHtCapabilities
(
void
)
const
;
82
Ssid
GetSsid
(
void
)
const
;
88
SupportedRates
GetSupportedRates
(
void
)
const
;
94
uint16_t
GetListenInterval
(
void
)
const
;
95
96
static
TypeId
GetTypeId
(
void
);
97
virtual
TypeId
GetInstanceTypeId
(
void
)
const
;
98
virtual
void
Print
(std::ostream &os)
const
;
99
virtual
uint32_t
GetSerializedSize
(
void
)
const
;
100
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
101
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start);
102
103
private
:
104
Ssid
m_ssid
;
105
SupportedRates
m_rates
;
106
CapabilityInformation
m_capability
;
107
HtCapabilities
m_htCapability
;
108
uint16_t
m_listenInterval
;
109
};
110
111
116
class
MgtAssocResponseHeader
:
public
Header
117
{
118
public
:
119
MgtAssocResponseHeader
();
120
~MgtAssocResponseHeader
();
121
127
StatusCode
GetStatusCode
(
void
);
133
SupportedRates
GetSupportedRates
(
void
);
139
HtCapabilities
GetHtCapabilities
(
void
)
const
;
140
146
void
SetHtCapabilities
(
HtCapabilities
htcapabilities);
152
void
SetSupportedRates
(
SupportedRates
rates);
158
void
SetStatusCode
(
StatusCode
code);
159
160
static
TypeId
GetTypeId
(
void
);
161
virtual
TypeId
GetInstanceTypeId
(
void
)
const
;
162
virtual
void
Print
(std::ostream &os)
const
;
163
virtual
uint32_t
GetSerializedSize
(
void
)
const
;
164
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
165
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start);
166
167
private
:
168
SupportedRates
m_rates
;
169
CapabilityInformation
m_capability
;
170
StatusCode
m_code
;
171
uint16_t
m_aid
;
172
HtCapabilities
m_htCapability
;
173
};
174
175
180
class
MgtProbeRequestHeader
:
public
Header
181
{
182
public
:
183
~MgtProbeRequestHeader
();
184
190
void
SetSsid
(
Ssid
ssid);
196
void
SetSupportedRates
(
SupportedRates
rates);
202
Ssid
GetSsid
(
void
)
const
;
208
SupportedRates
GetSupportedRates
(
void
)
const
;
214
HtCapabilities
GetHtCapabilities
(
void
)
const
;
215
221
void
SetHtCapabilities
(
HtCapabilities
htcapabilities);
222
static
TypeId
GetTypeId
(
void
);
223
virtual
TypeId
GetInstanceTypeId
(
void
)
const
;
224
virtual
void
Print
(std::ostream &os)
const
;
225
virtual
uint32_t
GetSerializedSize
(
void
)
const
;
226
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
227
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start);
228
private
:
229
Ssid
m_ssid
;
230
SupportedRates
m_rates
;
231
HtCapabilities
m_htCapability
;
232
};
233
234
239
class
MgtProbeResponseHeader
:
public
Header
240
{
241
public
:
242
MgtProbeResponseHeader
();
243
~MgtProbeResponseHeader
();
244
250
Ssid
GetSsid
(
void
)
const
;
256
uint64_t
GetBeaconIntervalUs
(
void
)
const
;
262
SupportedRates
GetSupportedRates
(
void
)
const
;
268
HtCapabilities
GetHtCapabilities
(
void
)
const
;
269
275
void
SetHtCapabilities
(
HtCapabilities
htcapabilities);
281
void
SetSsid
(
Ssid
ssid);
287
void
SetBeaconIntervalUs
(uint64_t us);
293
void
SetSupportedRates
(
SupportedRates
rates);
299
uint64_t
GetTimestamp
();
300
static
TypeId
GetTypeId
(
void
);
301
virtual
TypeId
GetInstanceTypeId
(
void
)
const
;
302
virtual
void
Print
(std::ostream &os)
const
;
303
virtual
uint32_t
GetSerializedSize
(
void
)
const
;
304
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
305
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start);
306
307
private
:
308
uint64_t
m_timestamp
;
309
Ssid
m_ssid
;
310
uint64_t
m_beaconInterval
;
311
SupportedRates
m_rates
;
312
CapabilityInformation
m_capability
;
313
HtCapabilities
m_htCapability
;
314
};
315
316
321
class
MgtBeaconHeader
:
public
MgtProbeResponseHeader
322
{
323
};
324
325
/****************************
326
* Action frames
327
*****************************/
328
336
class
WifiActionHeader
:
public
Header
337
{
338
public
:
339
WifiActionHeader
();
340
~WifiActionHeader
();
341
342
/*
343
* Compatible with table 8-38 IEEE 802.11, Part11, (Year 2012)
344
* Category values - see 802.11-2012 Table 8-38 */
345
346
enum
CategoryValue
//table 8-38 staring from IEEE 802.11, Part11, (Year 2012)
347
{
348
BLOCK_ACK
= 3,
349
MESH
= 13,
//Category: Mesh
350
MULTIHOP
= 14,
//(not used so far)
351
SELF_PROTECTED
= 15,
//Category: Self Protected
352
// since vendor specific action has no stationary Action value,the parse process is not here.
353
// refer to vendor-specific-action in wave module.
354
VENDOR_SPECIFIC_ACTION
= 127,
355
};
356
357
enum
SelfProtectedActionValue
//Category: 15 (Self Protected)
358
{
359
PEER_LINK_OPEN
= 1,
//Mesh Peering Open
360
PEER_LINK_CONFIRM
= 2,
//Mesh Peering Confirm
361
PEER_LINK_CLOSE
= 3,
//Mesh Peering Close
362
GROUP_KEY_INFORM
= 4,
//Mesh Group Key Inform
363
GROUP_KEY_ACK
= 5,
//Mesh Group Key Acknowledge
364
};
365
366
enum
MultihopActionValue
367
{
368
PROXY_UPDATE
= 0,
//(not used so far)
369
PROXY_UPDATE_CONFIRMATION
= 1,
//(not used so far)
370
};
371
372
enum
MeshActionValue
373
{
374
LINK_METRIC_REPORT
=0,
//Action Value:0 in Category 13: Mesh
375
PATH_SELECTION
= 1,
//Action Value:1 in Category 13: Mesh
376
PORTAL_ANNOUNCEMENT
= 2,
//Action Value:2 in Category 13: Mesh
377
CONGESTION_CONTROL_NOTIFICATION
= 3,
//Action Value:3 in Category 13: Mesh
378
MDA_SETUP_REQUEST
=4,
//Action Value:4 in Category 13: Mesh MCCA-Setup-Request (not used so far)
379
MDA_SETUP_REPLY
=5,
//Action Value:5 in Category 13: Mesh MCCA-Setup-Reply (not used so far)
380
MDAOP_ADVERTISMENT_REQUEST
=6,
//Action Value:6 in Category 13: Mesh MCCA-Advertisement-Request (not used so far)
381
MDAOP_ADVERTISMENTS
=7,
//Action Value:7 in Category 13: Mesh (not used so far)
382
MDAOP_SET_TEARDOWN
=8,
//Action Value:8 in Category 13: Mesh (not used so far)
383
TBTT_ADJUSTMENT_REQUEST
=9,
//Action Value:9 in Category 13: Mesh (not used so far)
384
TBTT_ADJUSTMENT_RESPONSE
=10,
//Action Value:10 in Category 13: Mesh (not used so far)
385
};
386
391
enum
BlockAckActionValue
392
{
393
BLOCK_ACK_ADDBA_REQUEST
= 0,
394
BLOCK_ACK_ADDBA_RESPONSE
= 1,
395
BLOCK_ACK_DELBA
= 2
396
};
397
398
402
typedef
union
403
{
404
enum
MeshActionValue
meshAction;
405
enum
MultihopActionValue
multihopAction;
406
enum
SelfProtectedActionValue
selfProtectedAction;
407
enum
BlockAckActionValue
blockAck;
408
}
ActionValue
;
415
void
SetAction
(
enum
CategoryValue
type,
ActionValue
action);
416
422
CategoryValue
GetCategory
();
428
ActionValue
GetAction
();
429
static
TypeId
GetTypeId
(
void
);
430
virtual
TypeId
GetInstanceTypeId
()
const
;
431
virtual
void
Print
(std::ostream &os)
const
;
432
virtual
uint32_t
GetSerializedSize
()
const
;
433
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
434
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start
);
435
private
:
436
uint8_t
m_category
;
437
uint8_t
m_actionValue
;
438
};
439
444
class
MgtAddBaRequestHeader
:
public
Header
445
{
446
public
:
447
MgtAddBaRequestHeader
();
448
449
static
TypeId
GetTypeId
(
void
);
450
virtual
TypeId
GetInstanceTypeId
(
void
)
const
;
451
virtual
void
Print
(std::ostream &os)
const
;
452
virtual
uint32_t
GetSerializedSize
(
void
)
const
;
453
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
454
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start);
455
459
void
SetDelayedBlockAck
();
463
void
SetImmediateBlockAck
();
469
void
SetTid
(uint8_t tid);
475
void
SetTimeout
(uint16_t
timeout
);
481
void
SetBufferSize
(uint16_t size);
487
void
SetStartingSequence
(uint16_t seq);
493
void
SetAmsduSupport
(
bool
supported);
494
500
uint16_t
GetStartingSequence
(
void
)
const
;
506
uint8_t
GetTid
(
void
)
const
;
512
bool
IsImmediateBlockAck
(
void
)
const
;
518
uint16_t
GetTimeout
(
void
)
const
;
524
uint16_t
GetBufferSize
(
void
)
const
;
530
bool
IsAmsduSupported
(
void
)
const
;
531
532
private
:
538
uint16_t
GetParameterSet
(
void
)
const
;
544
void
SetParameterSet
(uint16_t params);
550
uint16_t
GetStartingSequenceControl
(
void
)
const
;
556
void
SetStartingSequenceControl
(uint16_t seqControl);
557
558
uint8_t
m_dialogToken
;
/* Not used for now */
559
uint8_t
m_amsduSupport
;
560
uint8_t
m_policy
;
561
uint8_t
m_tid
;
562
uint16_t
m_bufferSize
;
563
uint16_t
m_timeoutValue
;
564
uint16_t
m_startingSeq
;
565
};
566
567
572
class
MgtAddBaResponseHeader
:
public
Header
573
{
574
public
:
575
MgtAddBaResponseHeader
();
576
577
static
TypeId
GetTypeId
(
void
);
578
virtual
TypeId
GetInstanceTypeId
(
void
)
const
;
579
virtual
void
Print
(std::ostream &os)
const
;
580
virtual
uint32_t
GetSerializedSize
(
void
)
const
;
581
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
582
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start);
583
587
void
SetDelayedBlockAck
();
591
void
SetImmediateBlockAck
();
597
void
SetTid
(uint8_t tid);
603
void
SetTimeout
(uint16_t
timeout
);
609
void
SetBufferSize
(uint16_t size);
615
void
SetStatusCode
(
StatusCode
code);
621
void
SetAmsduSupport
(
bool
supported);
622
628
StatusCode
GetStatusCode
(
void
)
const
;
634
uint8_t
GetTid
(
void
)
const
;
640
bool
IsImmediateBlockAck
(
void
)
const
;
646
uint16_t
GetTimeout
(
void
)
const
;
652
uint16_t
GetBufferSize
(
void
)
const
;
658
bool
IsAmsduSupported
(
void
)
const
;
659
660
private
:
666
uint16_t
GetParameterSet
(
void
)
const
;
672
void
SetParameterSet
(uint16_t params);
673
674
uint8_t
m_dialogToken
;
/* Not used for now */
675
StatusCode
m_code
;
676
uint8_t
m_amsduSupport
;
677
uint8_t
m_policy
;
678
uint8_t
m_tid
;
679
uint16_t
m_bufferSize
;
680
uint16_t
m_timeoutValue
;
681
};
682
683
688
class
MgtDelBaHeader
:
public
Header
689
{
690
public
:
691
MgtDelBaHeader
();
692
693
static
TypeId
GetTypeId
(
void
);
694
virtual
TypeId
GetInstanceTypeId
(
void
)
const
;
695
virtual
void
Print
(std::ostream &os)
const
;
696
virtual
uint32_t
GetSerializedSize
(
void
)
const
;
697
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
698
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start);
699
706
bool
IsByOriginator
(
void
)
const
;
712
uint8_t
GetTid
(
void
)
const
;
718
void
SetTid
(uint8_t);
722
void
SetByOriginator
(
void
);
726
void
SetByRecipient
(
void
);
727
728
private
:
734
uint16_t
GetParameterSet
(
void
)
const
;
740
void
SetParameterSet
(uint16_t params);
741
742
uint16_t
m_initiator
;
743
uint16_t
m_tid
;
744
/* Not used for now.
745
Always set to 1: "Unspecified reason" */
746
uint16_t
m_reasonCode
;
747
};
748
749
}
// namespace ns3
750
751
#endif
/* MGT_HEADERS_H */
ns3::Header
Protocol header serialization and deserialization.
Definition:
header.h:42
ns3::MgtAddBaResponseHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:871
ns3::MgtAddBaRequestHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
Definition:
mgt-headers.cc:736
ns3::MgtProbeRequestHeader::GetSupportedRates
SupportedRates GetSupportedRates(void) const
Return the supported rates.
Definition:
mgt-headers.cc:65
ns3::MgtAddBaResponseHeader::GetBufferSize
uint16_t GetBufferSize(void) const
Return the buffer size.
Definition:
mgt-headers.cc:993
ns3::MgtAssocResponseHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
Definition:
mgt-headers.cc:450
ns3::MgtAddBaResponseHeader::m_code
StatusCode m_code
Status code.
Definition:
mgt-headers.h:675
ns3::MgtDelBaHeader::GetSerializedSize
virtual uint32_t GetSerializedSize(void) const
Definition:
mgt-headers.cc:1058
ns3::MgtProbeResponseHeader::GetSupportedRates
SupportedRates GetSupportedRates(void) const
Return the supported rates.
Definition:
mgt-headers.cc:150
ns3::MgtAssocRequestHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
mgt-headers.cc:322
ns3::MgtAssocRequestHeader
Implement the header for management frames of type association request.
Definition:
mgt-headers.h:40
ns3::MgtAddBaResponseHeader::m_policy
uint8_t m_policy
Block ACK policy.
Definition:
mgt-headers.h:677
ns3::WifiActionHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:657
ns3::MgtProbeResponseHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
mgt-headers.cc:191
ns3::MgtProbeResponseHeader::GetSsid
Ssid GetSsid(void) const
Return the Service Set Identifier (SSID).
Definition:
mgt-headers.cc:140
ns3::WifiActionHeader::SELF_PROTECTED
Definition:
mgt-headers.h:351
ns3::MgtAssocResponseHeader::m_rates
SupportedRates m_rates
List of supported rates.
Definition:
mgt-headers.h:168
ns3::WifiActionHeader::CategoryValue
CategoryValue
Definition:
mgt-headers.h:346
ns3::MgtAssocRequestHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:312
ns3::MgtAddBaRequestHeader::m_timeoutValue
uint16_t m_timeoutValue
Timeout.
Definition:
mgt-headers.h:563
ns3::WifiActionHeader
See IEEE 802.11 chapter 7.3.1.11 Header format: | category: 1 | action value: 1 |.
Definition:
mgt-headers.h:336
ns3::MgtAddBaRequestHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:710
ns3::MgtProbeRequestHeader::m_htCapability
HtCapabilities m_htCapability
HT capabilities.
Definition:
mgt-headers.h:231
ns3::MgtProbeResponseHeader::GetBeaconIntervalUs
uint64_t GetBeaconIntervalUs(void) const
Return the beacon interval in microseconds unit.
Definition:
mgt-headers.cc:145
ns3::MgtAssocRequestHeader::m_rates
SupportedRates m_rates
List of supported rates.
Definition:
mgt-headers.h:105
ns3::MgtProbeRequestHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:80
ns3::MgtAddBaRequestHeader::SetImmediateBlockAck
void SetImmediateBlockAck()
Enable immediate Block ACK.
Definition:
mgt-headers.cc:753
ns3::MgtProbeResponseHeader::m_rates
SupportedRates m_rates
List of supported rates.
Definition:
mgt-headers.h:311
ns3::MgtAddBaRequestHeader::m_dialogToken
uint8_t m_dialogToken
Definition:
mgt-headers.h:558
visualizer.core.start
def start()
Definition:
core.py:1482
ns3::MgtAssocResponseHeader::m_capability
CapabilityInformation m_capability
Capability information.
Definition:
mgt-headers.h:169
ns3::MgtProbeResponseHeader::m_capability
CapabilityInformation m_capability
Capability information.
Definition:
mgt-headers.h:312
ns3::MgtAddBaRequestHeader::SetBufferSize
void SetBufferSize(uint16_t size)
Set buffer size.
Definition:
mgt-headers.cc:772
ns3::WifiActionHeader::MESH
Definition:
mgt-headers.h:349
ns3::MgtAddBaRequestHeader
Implement the header for management frames of type add block ack request.
Definition:
mgt-headers.h:444
ns3::MgtAddBaResponseHeader::IsImmediateBlockAck
bool IsImmediateBlockAck(void) const
Return whether the Block ACK policy is immediate Block ACK.
Definition:
mgt-headers.cc:981
ns3::MgtAssocRequestHeader::m_htCapability
HtCapabilities m_htCapability
HT capabilities.
Definition:
mgt-headers.h:107
status-code.h
ns3::MgtAssocRequestHeader::GetSerializedSize
virtual uint32_t GetSerializedSize(void) const
Definition:
mgt-headers.cc:327
ns3::HtCapabilities
The HT Capabilities Information ElementThis class knows how to serialise and deserialise the HT Capab...
Definition:
ht-capabilities.h:44
ns3::MgtAddBaRequestHeader::MgtAddBaRequestHeader
MgtAddBaRequestHeader()
Definition:
mgt-headers.cc:686
ns3::WifiActionHeader::PORTAL_ANNOUNCEMENT
Definition:
mgt-headers.h:376
ns3::MgtAssocRequestHeader::SetHtCapabilities
void SetHtCapabilities(HtCapabilities htcapabilities)
Set the HT capabilities.
Definition:
mgt-headers.cc:281
ns3::MgtAssocRequestHeader::SetSsid
void SetSsid(Ssid ssid)
Set the Service Set Identifier (SSID).
Definition:
mgt-headers.cc:271
ns3::MgtAddBaResponseHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:888
ns3::MgtAddBaRequestHeader::m_startingSeq
uint16_t m_startingSeq
Starting sequence number.
Definition:
mgt-headers.h:564
ns3::WifiActionHeader::SetAction
void SetAction(enum CategoryValue type, ActionValue action)
Set action for this Action header.
Definition:
mgt-headers.cc:482
ns3::MgtAddBaRequestHeader::GetBufferSize
uint16_t GetBufferSize(void) const
Return the buffer size.
Definition:
mgt-headers.cc:808
ns3::MgtAddBaResponseHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
mgt-headers.cc:882
ns3::WifiActionHeader::GetCategory
CategoryValue GetCategory()
Return the category value.
Definition:
mgt-headers.cc:515
ns3::WifiActionHeader::~WifiActionHeader
~WifiActionHeader()
Definition:
mgt-headers.cc:478
ns3::MgtAddBaResponseHeader::SetDelayedBlockAck
void SetDelayedBlockAck()
Enable delayed Block ACK.
Definition:
mgt-headers.cc:926
timeout
ns3::Time timeout
Definition:
openflow-switch.cc:52
ns3::MgtDelBaHeader::SetTid
void SetTid(uint8_t)
Set Traffic ID (TID).
Definition:
mgt-headers.cc:1110
ns3::MgtAddBaResponseHeader::SetStatusCode
void SetStatusCode(StatusCode code)
Set the status code.
Definition:
mgt-headers.cc:957
ns3::WifiActionHeader::BlockAckActionValue
BlockAckActionValue
Block ACK action field values See 802.11 Table 8-202.
Definition:
mgt-headers.h:391
ns3::SupportedRates
The Supported Rates Information ElementThis class knows how to serialise and deserialise the Supporte...
Definition:
supported-rates.h:102
ns3::MgtAssocRequestHeader::m_capability
CapabilityInformation m_capability
Capability information.
Definition:
mgt-headers.h:106
ns3::MgtAddBaRequestHeader::m_bufferSize
uint16_t m_bufferSize
Buffer size.
Definition:
mgt-headers.h:562
ns3::MgtProbeRequestHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
mgt-headers.cc:90
ns3::MgtAddBaResponseHeader::SetTimeout
void SetTimeout(uint16_t timeout)
Set timeout.
Definition:
mgt-headers.cc:945
ns3::MgtProbeRequestHeader::GetSsid
Ssid GetSsid(void) const
Return the Service Set Identifier (SSID).
Definition:
mgt-headers.cc:44
ns3::CapabilityInformation
Capability information.
Definition:
capability-information.h:33
ns3::MgtProbeRequestHeader::SetSupportedRates
void SetSupportedRates(SupportedRates rates)
Set the supported rates.
Definition:
mgt-headers.cc:49
ns3::MgtAddBaRequestHeader::SetAmsduSupport
void SetAmsduSupport(bool supported)
Enable or disable A-MSDU support.
Definition:
mgt-headers.cc:784
ns3::MgtAssocRequestHeader::GetSsid
Ssid GetSsid(void) const
Return the Service Set Identifier (SSID).
Definition:
mgt-headers.cc:296
ns3::Buffer::Iterator
iterator in a Buffer instance
Definition:
buffer.h:98
ns3::MgtDelBaHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
mgt-headers.cc:1047
ns3::MgtAssocRequestHeader::SetSupportedRates
void SetSupportedRates(SupportedRates rates)
Set the supported rates.
Definition:
mgt-headers.cc:276
ns3::MgtAddBaResponseHeader::IsAmsduSupported
bool IsAmsduSupported(void) const
Return whether A-MSDU capability is supported.
Definition:
mgt-headers.cc:999
ns3::MgtAddBaRequestHeader::GetStartingSequenceControl
uint16_t GetStartingSequenceControl(void) const
Return the raw sequence control.
Definition:
mgt-headers.cc:826
ns3::MgtDelBaHeader::m_reasonCode
uint16_t m_reasonCode
Definition:
mgt-headers.h:746
ns3::MgtAddBaResponseHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
Definition:
mgt-headers.cc:905
ns3::MgtAddBaResponseHeader::SetTid
void SetTid(uint8_t tid)
Set Traffic ID (TID).
Definition:
mgt-headers.cc:938
ns3::MgtProbeResponseHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:211
ns3::MgtProbeResponseHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
Definition:
mgt-headers.cc:218
ns3::MgtAssocRequestHeader::GetSupportedRates
SupportedRates GetSupportedRates(void) const
Return the supported rates.
Definition:
mgt-headers.cc:301
ns3::MgtAssocRequestHeader::SetListenInterval
void SetListenInterval(uint16_t interval)
Set the listen interval.
Definition:
mgt-headers.cc:286
ns3::WifiActionHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:643
ns3::MgtAddBaResponseHeader::m_amsduSupport
uint8_t m_amsduSupport
Flag if A-MSDU is supported.
Definition:
mgt-headers.h:676
ns3::MgtAddBaRequestHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
mgt-headers.cc:704
ns3::WifiActionHeader::PEER_LINK_OPEN
Definition:
mgt-headers.h:359
supported-rates.h
ns3::MgtDelBaHeader::m_initiator
uint16_t m_initiator
Definition:
mgt-headers.h:742
ns3::WifiActionHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId() const
Get the most derived TypeId for this Object.
Definition:
mgt-headers.cc:652
ns3::WifiActionHeader::MultihopActionValue
MultihopActionValue
Definition:
mgt-headers.h:366
ns3::MgtAddBaRequestHeader::SetParameterSet
void SetParameterSet(uint16_t params)
Set the parameter set from the given raw value.
Definition:
mgt-headers.cc:849
ns3::WifiActionHeader::MDA_SETUP_REQUEST
Definition:
mgt-headers.h:378
ns3::MgtDelBaHeader::MgtDelBaHeader
MgtDelBaHeader()
Definition:
mgt-headers.cc:1030
ns3::MgtAddBaRequestHeader::m_tid
uint8_t m_tid
Traffic ID.
Definition:
mgt-headers.h:561
ns3::WifiActionHeader::BLOCK_ACK
Definition:
mgt-headers.h:348
ns3::MgtProbeRequestHeader::m_rates
SupportedRates m_rates
List of supported rates.
Definition:
mgt-headers.h:230
ns3::WifiActionHeader::GetSerializedSize
virtual uint32_t GetSerializedSize() const
Definition:
mgt-headers.cc:661
ns3::MgtAddBaRequestHeader::SetStartingSequenceControl
void SetStartingSequenceControl(uint16_t seqControl)
Set sequence control with the given raw value.
Definition:
mgt-headers.cc:832
ns3::MgtAddBaResponseHeader::SetImmediateBlockAck
void SetImmediateBlockAck()
Enable immediate Block ACK.
Definition:
mgt-headers.cc:932
ns3::WifiActionHeader::GROUP_KEY_INFORM
Definition:
mgt-headers.h:362
ns3::MgtAddBaRequestHeader::SetTid
void SetTid(uint8_t tid)
Set Traffic ID (TID).
Definition:
mgt-headers.cc:759
ns3::MgtAssocRequestHeader::GetListenInterval
uint16_t GetListenInterval(void) const
Return the listen interval.
Definition:
mgt-headers.cc:306
ns3::MgtAddBaResponseHeader::SetParameterSet
void SetParameterSet(uint16_t params)
Set the parameter set from the given raw value.
Definition:
mgt-headers.cc:1016
ns3::WifiActionHeader::MDAOP_SET_TEARDOWN
Definition:
mgt-headers.h:382
ns3::MgtProbeRequestHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:95
ns3::MgtProbeRequestHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
Definition:
mgt-headers.cc:111
ns3::WifiActionHeader::MULTIHOP
Definition:
mgt-headers.h:350
ns3::MgtAddBaRequestHeader::m_amsduSupport
uint8_t m_amsduSupport
Flag if A-MSDU is supported.
Definition:
mgt-headers.h:559
ns3::WifiActionHeader::BLOCK_ACK_ADDBA_RESPONSE
Definition:
mgt-headers.h:394
ns3::MgtAddBaRequestHeader::SetStartingSequence
void SetStartingSequence(uint16_t seq)
Set the starting sequence number.
Definition:
mgt-headers.cc:778
ns3::MgtAddBaRequestHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
Definition:
mgt-headers.cc:726
ns3::MgtAssocRequestHeader::~MgtAssocRequestHeader
~MgtAssocRequestHeader()
Definition:
mgt-headers.cc:266
ns3::MgtAssocRequestHeader::MgtAssocRequestHeader
MgtAssocRequestHeader()
Definition:
mgt-headers.cc:262
ns3::MgtAddBaRequestHeader::GetTid
uint8_t GetTid(void) const
Return the Traffic ID (TID).
Definition:
mgt-headers.cc:790
ns3::WifiActionHeader::LINK_METRIC_REPORT
Definition:
mgt-headers.h:374
ns3::WifiActionHeader::MDA_SETUP_REPLY
Definition:
mgt-headers.h:379
ns3::MgtAssocResponseHeader::GetSupportedRates
SupportedRates GetSupportedRates(void)
Return the supported rates.
Definition:
mgt-headers.cc:389
ns3::MgtProbeResponseHeader::m_timestamp
uint64_t m_timestamp
Timestamp.
Definition:
mgt-headers.h:308
ns3::MgtProbeRequestHeader::SetHtCapabilities
void SetHtCapabilities(HtCapabilities htcapabilities)
Set the HT capabilities.
Definition:
mgt-headers.cc:54
ns3::MgtAssocRequestHeader::m_listenInterval
uint16_t m_listenInterval
Definition:
mgt-headers.h:108
ns3::MgtAssocResponseHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition:
mgt-headers.cc:425
ns3::MgtProbeResponseHeader::GetTimestamp
uint64_t GetTimestamp()
Return the time stamp.
Definition:
mgt-headers.cc:135
ns3::MgtAddBaRequestHeader::GetSerializedSize
virtual uint32_t GetSerializedSize(void) const
Definition:
mgt-headers.cc:715
ns3::MgtDelBaHeader::SetByOriginator
void SetByOriginator(void)
Set the initiator bit in the DELBA.
Definition:
mgt-headers.cc:1098
ns3::StatusCode
Status code for association response.
Definition:
status-code.h:32
ns3::MgtProbeResponseHeader::SetSsid
void SetSsid(Ssid ssid)
Set the Service Set Identifier (SSID).
Definition:
mgt-headers.cc:166
ns3::MgtProbeResponseHeader::~MgtProbeResponseHeader
~MgtProbeResponseHeader()
Definition:
mgt-headers.cc:131
ns3::MgtAssocRequestHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:339
ns3::WifiActionHeader::PROXY_UPDATE
Definition:
mgt-headers.h:368
ns3::MgtDelBaHeader::SetByRecipient
void SetByRecipient(void)
Un-set the initiator bit in the DELBA.
Definition:
mgt-headers.cc:1104
ns3::MgtAddBaRequestHeader::IsAmsduSupported
bool IsAmsduSupported(void) const
Return whether A-MSDU capability is supported.
Definition:
mgt-headers.cc:814
ns3::MgtDelBaHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:1036
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::MgtAddBaResponseHeader::GetSerializedSize
virtual uint32_t GetSerializedSize(void) const
Definition:
mgt-headers.cc:894
ns3::MgtProbeResponseHeader::SetBeaconIntervalUs
void SetBeaconIntervalUs(uint64_t us)
Set the beacon interval in microseconds unit.
Definition:
mgt-headers.cc:171
ns3::WifiActionHeader::TBTT_ADJUSTMENT_RESPONSE
Definition:
mgt-headers.h:384
ns3::MgtProbeResponseHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:181
capability-information.h
ns3::MgtAddBaResponseHeader::SetBufferSize
void SetBufferSize(uint16_t size)
Set buffer size.
Definition:
mgt-headers.cc:951
ns3::MgtDelBaHeader::GetTid
uint8_t GetTid(void) const
Return the Traffic ID (TID).
Definition:
mgt-headers.cc:1090
ns3::MgtDelBaHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
Definition:
mgt-headers.cc:1067
ns3::WifiActionHeader::VENDOR_SPECIFIC_ACTION
Definition:
mgt-headers.h:354
ns3::WifiActionHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
Definition:
mgt-headers.cc:672
ns3::WifiActionHeader::PATH_SELECTION
Definition:
mgt-headers.h:375
ns3::MgtProbeResponseHeader::GetHtCapabilities
HtCapabilities GetHtCapabilities(void) const
Return the HT capabilities.
Definition:
mgt-headers.cc:161
ns3::MgtAddBaResponseHeader::GetStatusCode
StatusCode GetStatusCode(void) const
Return the status code.
Definition:
mgt-headers.cc:969
ns3::MgtProbeRequestHeader::GetHtCapabilities
HtCapabilities GetHtCapabilities(void) const
Return the HT capabilities.
Definition:
mgt-headers.cc:60
ns3::WifiActionHeader::MDAOP_ADVERTISMENTS
Definition:
mgt-headers.h:381
ns3::MgtDelBaHeader::IsByOriginator
bool IsByOriginator(void) const
Check if the initiator bit in the DELBA is setted.
Definition:
mgt-headers.cc:1084
ns3::MgtProbeResponseHeader::m_htCapability
HtCapabilities m_htCapability
HT capabilities.
Definition:
mgt-headers.h:313
ns3::MgtProbeResponseHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
Definition:
mgt-headers.cc:241
ns3::MgtAddBaResponseHeader::MgtAddBaResponseHeader
MgtAddBaResponseHeader()
Definition:
mgt-headers.cc:863
ns3::MgtAddBaResponseHeader::m_tid
uint8_t m_tid
Traffic ID.
Definition:
mgt-headers.h:678
ns3::MgtAssocResponseHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:443
ns3::MgtAddBaResponseHeader::GetTimeout
uint16_t GetTimeout(void) const
Return the timeout.
Definition:
mgt-headers.cc:987
ns3::MgtAddBaResponseHeader::GetTid
uint8_t GetTid(void) const
Return the Traffic ID (TID).
Definition:
mgt-headers.cc:975
ns3::WifiActionHeader::m_actionValue
uint8_t m_actionValue
Action value.
Definition:
mgt-headers.h:437
ns3::Ssid
The IEEE 802.11 SSID Information Element.
Definition:
ssid.h:37
ns3::MgtProbeRequestHeader
Implement the header for management frames of type probe request.
Definition:
mgt-headers.h:180
ns3::MgtAddBaRequestHeader::IsImmediateBlockAck
bool IsImmediateBlockAck(void) const
Return whether the Block ACK policy is immediate Block ACK.
Definition:
mgt-headers.cc:796
ns3::MgtAssocResponseHeader
Implement the header for management frames of type association response.
Definition:
mgt-headers.h:116
ns3::WifiActionHeader::WifiActionHeader
WifiActionHeader()
Definition:
mgt-headers.cc:475
ns3::MgtAddBaResponseHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
Definition:
mgt-headers.cc:915
ns3::MgtAssocResponseHeader::m_code
StatusCode m_code
Status code.
Definition:
mgt-headers.h:170
ns3::MgtAddBaRequestHeader::GetStartingSequence
uint16_t GetStartingSequence(void) const
Return the starting sequence number.
Definition:
mgt-headers.cc:820
ns3::MgtDelBaHeader::m_tid
uint16_t m_tid
Traffic ID.
Definition:
mgt-headers.h:743
ns3::WifiActionHeader::GROUP_KEY_ACK
Definition:
mgt-headers.h:363
ns3::MgtAddBaRequestHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:694
ns3::WifiActionHeader::PEER_LINK_CLOSE
Definition:
mgt-headers.h:361
ns3::WifiActionHeader::BLOCK_ACK_DELBA
Definition:
mgt-headers.h:395
ns3::MgtAssocResponseHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:415
ns3::MgtAssocResponseHeader::SetSupportedRates
void SetSupportedRates(SupportedRates rates)
Set the supported rates.
Definition:
mgt-headers.cc:399
ns3::MgtAddBaResponseHeader::m_dialogToken
uint8_t m_dialogToken
Definition:
mgt-headers.h:674
ns3::MgtDelBaHeader::GetParameterSet
uint16_t GetParameterSet(void) const
Return the raw parameter set.
Definition:
mgt-headers.cc:1117
ns3::MgtAddBaResponseHeader
Implement the header for management frames of type add block ack response.
Definition:
mgt-headers.h:572
ns3::MgtDelBaHeader
Implement the header for management frames of type del block ack.
Definition:
mgt-headers.h:688
ns3::MgtAssocResponseHeader::~MgtAssocResponseHeader
~MgtAssocResponseHeader()
Definition:
mgt-headers.cc:379
ns3::WifiActionHeader::ActionValue
typedef for union of different ActionValues
Definition:
mgt-headers.h:402
ns3::MgtProbeResponseHeader::MgtProbeResponseHeader
MgtProbeResponseHeader()
Definition:
mgt-headers.cc:128
ns3::WifiActionHeader::BLOCK_ACK_ADDBA_REQUEST
Definition:
mgt-headers.h:393
ns3::MgtAddBaRequestHeader::m_policy
uint8_t m_policy
Block ACK policy.
Definition:
mgt-headers.h:560
ssid.h
ns3::MgtAssocResponseHeader::m_htCapability
HtCapabilities m_htCapability
HT capabilities.
Definition:
mgt-headers.h:172
ns3::WifiActionHeader::PEER_LINK_CONFIRM
Definition:
mgt-headers.h:360
ns3::MgtProbeResponseHeader::SetSupportedRates
void SetSupportedRates(SupportedRates rates)
Set the supported rates.
Definition:
mgt-headers.cc:176
ns3::MgtProbeRequestHeader::m_ssid
Ssid m_ssid
Service Set ID (SSID)
Definition:
mgt-headers.h:229
ns3::MgtAssocResponseHeader::MgtAssocResponseHeader
MgtAssocResponseHeader()
Definition:
mgt-headers.cc:375
ns3::MgtAssocResponseHeader::SetHtCapabilities
void SetHtCapabilities(HtCapabilities htcapabilities)
Set the HT capabilities.
Definition:
mgt-headers.cc:404
ns3::MgtAssocResponseHeader::m_aid
uint16_t m_aid
Definition:
mgt-headers.h:171
ns3::MgtProbeRequestHeader::SetSsid
void SetSsid(Ssid ssid)
Set the Service Set Identifier (SSID).
Definition:
mgt-headers.cc:39
ns3::MgtAssocResponseHeader::SetStatusCode
void SetStatusCode(StatusCode code)
Set the status code.
Definition:
mgt-headers.cc:394
ns3::MgtDelBaHeader::SetParameterSet
void SetParameterSet(uint16_t params)
Set the parameter set from the given raw value.
Definition:
mgt-headers.cc:1126
ns3::MgtAddBaResponseHeader::SetAmsduSupport
void SetAmsduSupport(bool supported)
Enable or disable A-MSDU support.
Definition:
mgt-headers.cc:963
ns3::WifiActionHeader::MeshActionValue
MeshActionValue
Definition:
mgt-headers.h:372
ns3::WifiActionHeader::m_category
uint8_t m_category
Category of the action.
Definition:
mgt-headers.h:436
ns3::MgtAddBaRequestHeader::SetDelayedBlockAck
void SetDelayedBlockAck()
Enable delayed Block ACK.
Definition:
mgt-headers.cc:747
ns3::MgtAssocRequestHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
Definition:
mgt-headers.cc:357
ns3::MgtAddBaRequestHeader::SetTimeout
void SetTimeout(uint16_t timeout)
Set timeout.
Definition:
mgt-headers.cc:766
ns3::MgtProbeResponseHeader
Implement the header for management frames of type probe response.
Definition:
mgt-headers.h:239
ns3::MgtAddBaRequestHeader::GetParameterSet
uint16_t GetParameterSet(void) const
Return the raw parameter set.
Definition:
mgt-headers.cc:838
ns3::WifiActionHeader::TBTT_ADJUSTMENT_REQUEST
Definition:
mgt-headers.h:383
ns3::WifiActionHeader::GetAction
ActionValue GetAction()
Return the action value.
Definition:
mgt-headers.cc:535
ns3::MgtAddBaResponseHeader::m_bufferSize
uint16_t m_bufferSize
Buffer size.
Definition:
mgt-headers.h:679
ns3::MgtAddBaResponseHeader::GetParameterSet
uint16_t GetParameterSet(void) const
Return the raw parameter set.
Definition:
mgt-headers.cc:1005
ns3::MgtProbeResponseHeader::m_beaconInterval
uint64_t m_beaconInterval
Beacon interval.
Definition:
mgt-headers.h:310
ns3::MgtProbeRequestHeader::GetSerializedSize
virtual uint32_t GetSerializedSize(void) const
Definition:
mgt-headers.cc:70
ns3::MgtAddBaResponseHeader::m_timeoutValue
uint16_t m_timeoutValue
Timeout.
Definition:
mgt-headers.h:680
ns3::MgtAssocRequestHeader::m_ssid
Ssid m_ssid
Service Set ID (SSID)
Definition:
mgt-headers.h:104
ns3::MgtAssocRequestHeader::GetHtCapabilities
HtCapabilities GetHtCapabilities(void) const
Return the HT capabilities.
Definition:
mgt-headers.cc:291
ns3::MgtProbeResponseHeader::GetSerializedSize
virtual uint32_t GetSerializedSize(void) const
Definition:
mgt-headers.cc:196
ht-capabilities.h
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:57
ns3::MgtProbeRequestHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
Definition:
mgt-headers.cc:102
ns3::MgtProbeResponseHeader::SetHtCapabilities
void SetHtCapabilities(HtCapabilities htcapabilities)
Set the HT capabilities.
Definition:
mgt-headers.cc:155
ns3::MgtBeaconHeader
Implement the header for management frames of type beacon.
Definition:
mgt-headers.h:321
ns3::WifiActionHeader::MDAOP_ADVERTISMENT_REQUEST
Definition:
mgt-headers.h:380
ns3::MgtAssocResponseHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
Definition:
mgt-headers.cc:461
ns3::MgtAssocResponseHeader::GetSerializedSize
virtual uint32_t GetSerializedSize(void) const
Definition:
mgt-headers.cc:430
ns3::MgtAssocResponseHeader::GetStatusCode
StatusCode GetStatusCode(void)
Return the status code.
Definition:
mgt-headers.cc:384
ns3::WifiActionHeader::CONGESTION_CONTROL_NOTIFICATION
Definition:
mgt-headers.h:377
ns3::MgtProbeResponseHeader::m_ssid
Ssid m_ssid
Service set ID (SSID)
Definition:
mgt-headers.h:309
ns3::WifiActionHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
Definition:
mgt-headers.cc:666
ns3::MgtDelBaHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
Definition:
mgt-headers.cc:1075
ns3::WifiActionHeader::SelfProtectedActionValue
SelfProtectedActionValue
Definition:
mgt-headers.h:357
ns3::MgtAddBaRequestHeader::GetTimeout
uint16_t GetTimeout(void) const
Return the timeout.
Definition:
mgt-headers.cc:802
ns3::MgtAssocResponseHeader::GetHtCapabilities
HtCapabilities GetHtCapabilities(void) const
Return the HT capabilities.
Definition:
mgt-headers.cc:410
ns3::MgtDelBaHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:1053
ns3::WifiActionHeader::PROXY_UPDATE_CONFIRMATION
Definition:
mgt-headers.h:369
ns3::MgtAssocRequestHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
Definition:
mgt-headers.cc:346
ns3::MgtProbeRequestHeader::~MgtProbeRequestHeader
~MgtProbeRequestHeader()
Definition:
mgt-headers.cc:34
src
wifi
model
mgt-headers.h
Generated on Wed May 13 2015 14:59:35 for ns-3 by
1.8.9.1