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
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
346
enum
CategoryValue
347
{
348
BLOCK_ACK
= 3,
349
MESH_PEERING_MGT
= 30,
350
MESH_LINK_METRIC
= 31,
351
MESH_PATH_SELECTION
= 32,
352
MESH_INTERWORKING
= 33,
353
MESH_RESOURCE_COORDINATION
= 34,
354
MESH_PROXY_FORWARDING
= 35,
355
// since vendor specific action has no stationary Action value,the parse process is not here.
356
// refer to vendor-specific-action in wave module.
357
VENDOR_SPECIFIC_ACTION
= 127,
358
};
362
enum
PeerLinkMgtActionValue
363
{
364
PEER_LINK_OPEN
= 0,
365
PEER_LINK_CONFIRM
= 1,
366
PEER_LINK_CLOSE
= 2,
367
};
368
enum
LinkMetricActionValue
369
{
370
LINK_METRIC_REQUEST
= 0,
371
LINK_METRIC_REPORT
,
372
};
376
enum
PathSelectionActionValue
377
{
378
PATH_SELECTION
= 0,
379
};
380
enum
InterworkActionValue
381
{
382
PORTAL_ANNOUNCEMENT
= 0,
383
};
384
enum
ResourceCoordinationActionValue
385
{
386
CONGESTION_CONTROL_NOTIFICATION
= 0,
387
MDA_SETUP_REQUEST
,
388
MDA_SETUP_REPLY
,
389
MDAOP_ADVERTISMENT_REQUEST
,
390
MDAOP_ADVERTISMENTS
,
391
MDAOP_SET_TEARDOWN
,
392
BEACON_TIMING_REQUEST
,
393
BEACON_TIMING_RESPONSE
,
394
TBTT_ADJUSTMENT_REQUEST
,
395
MESH_CHANNEL_SWITCH_ANNOUNCEMENT
,
396
};
401
enum
BlockAckActionValue
402
{
403
BLOCK_ACK_ADDBA_REQUEST
= 0,
404
BLOCK_ACK_ADDBA_RESPONSE
= 1,
405
BLOCK_ACK_DELBA
= 2
406
};
410
typedef
union
411
{
412
enum
PeerLinkMgtActionValue
peerLink;
413
enum
LinkMetricActionValue
linkMetrtic;
414
enum
PathSelectionActionValue
pathSelection;
415
enum
InterworkActionValue
interwork;
416
enum
ResourceCoordinationActionValue
resourceCoordination;
417
enum
BlockAckActionValue
blockAck;
418
}
ActionValue
;
425
void
SetAction
(
enum
CategoryValue
type,
ActionValue
action);
426
432
CategoryValue
GetCategory
();
438
ActionValue
GetAction
();
439
static
TypeId
GetTypeId
(
void
);
440
virtual
TypeId
GetInstanceTypeId
()
const
;
441
virtual
void
Print
(std::ostream &os)
const
;
442
virtual
uint32_t
GetSerializedSize
()
const
;
443
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
444
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start
);
445
private
:
446
uint8_t
m_category
;
447
uint8_t
m_actionValue
;
448
};
449
454
class
MgtAddBaRequestHeader
:
public
Header
455
{
456
public
:
457
MgtAddBaRequestHeader
();
458
459
static
TypeId
GetTypeId
(
void
);
460
virtual
TypeId
GetInstanceTypeId
(
void
)
const
;
461
virtual
void
Print
(std::ostream &os)
const
;
462
virtual
uint32_t
GetSerializedSize
(
void
)
const
;
463
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
464
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start);
465
469
void
SetDelayedBlockAck
();
473
void
SetImmediateBlockAck
();
479
void
SetTid
(uint8_t tid);
485
void
SetTimeout
(uint16_t
timeout
);
491
void
SetBufferSize
(uint16_t size);
497
void
SetStartingSequence
(uint16_t seq);
503
void
SetAmsduSupport
(
bool
supported);
504
510
uint16_t
GetStartingSequence
(
void
)
const
;
516
uint8_t
GetTid
(
void
)
const
;
522
bool
IsImmediateBlockAck
(
void
)
const
;
528
uint16_t
GetTimeout
(
void
)
const
;
534
uint16_t
GetBufferSize
(
void
)
const
;
540
bool
IsAmsduSupported
(
void
)
const
;
541
542
private
:
548
uint16_t
GetParameterSet
(
void
)
const
;
554
void
SetParameterSet
(uint16_t params);
560
uint16_t
GetStartingSequenceControl
(
void
)
const
;
566
void
SetStartingSequenceControl
(uint16_t seqControl);
567
568
uint8_t
m_dialogToken
;
/* Not used for now */
569
uint8_t
m_amsduSupport
;
570
uint8_t
m_policy
;
571
uint8_t
m_tid
;
572
uint16_t
m_bufferSize
;
573
uint16_t
m_timeoutValue
;
574
uint16_t
m_startingSeq
;
575
};
576
577
582
class
MgtAddBaResponseHeader
:
public
Header
583
{
584
public
:
585
MgtAddBaResponseHeader
();
586
587
static
TypeId
GetTypeId
(
void
);
588
virtual
TypeId
GetInstanceTypeId
(
void
)
const
;
589
virtual
void
Print
(std::ostream &os)
const
;
590
virtual
uint32_t
GetSerializedSize
(
void
)
const
;
591
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
592
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start);
593
597
void
SetDelayedBlockAck
();
601
void
SetImmediateBlockAck
();
607
void
SetTid
(uint8_t tid);
613
void
SetTimeout
(uint16_t
timeout
);
619
void
SetBufferSize
(uint16_t size);
625
void
SetStatusCode
(
StatusCode
code);
631
void
SetAmsduSupport
(
bool
supported);
632
638
StatusCode
GetStatusCode
(
void
)
const
;
644
uint8_t
GetTid
(
void
)
const
;
650
bool
IsImmediateBlockAck
(
void
)
const
;
656
uint16_t
GetTimeout
(
void
)
const
;
662
uint16_t
GetBufferSize
(
void
)
const
;
668
bool
IsAmsduSupported
(
void
)
const
;
669
670
private
:
676
uint16_t
GetParameterSet
(
void
)
const
;
682
void
SetParameterSet
(uint16_t params);
683
684
uint8_t
m_dialogToken
;
/* Not used for now */
685
StatusCode
m_code
;
686
uint8_t
m_amsduSupport
;
687
uint8_t
m_policy
;
688
uint8_t
m_tid
;
689
uint16_t
m_bufferSize
;
690
uint16_t
m_timeoutValue
;
691
};
692
693
698
class
MgtDelBaHeader
:
public
Header
699
{
700
public
:
701
MgtDelBaHeader
();
702
703
static
TypeId
GetTypeId
(
void
);
704
virtual
TypeId
GetInstanceTypeId
(
void
)
const
;
705
virtual
void
Print
(std::ostream &os)
const
;
706
virtual
uint32_t
GetSerializedSize
(
void
)
const
;
707
virtual
void
Serialize
(
Buffer::Iterator
start
)
const
;
708
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start);
709
716
bool
IsByOriginator
(
void
)
const
;
722
uint8_t
GetTid
(
void
)
const
;
728
void
SetTid
(uint8_t);
732
void
SetByOriginator
(
void
);
736
void
SetByRecipient
(
void
);
737
738
private
:
744
uint16_t
GetParameterSet
(
void
)
const
;
750
void
SetParameterSet
(uint16_t params);
751
752
uint16_t
m_initiator
;
753
uint16_t
m_tid
;
754
/* Not used for now.
755
Always set to 1: "Unspecified reason" */
756
uint16_t
m_reasonCode
;
757
};
758
759
}
// namespace ns3
760
761
#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:832
ns3::MgtAddBaRequestHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
Definition:
mgt-headers.cc:696
ns3::MgtProbeRequestHeader::GetSupportedRates
SupportedRates GetSupportedRates(void) const
Return the supported rates.
Definition:
mgt-headers.cc:66
ns3::WifiActionHeader::PeerLinkMgtActionValue
PeerLinkMgtActionValue
Compatible with open80211s implementation.
Definition:
mgt-headers.h:362
ns3::MgtAddBaResponseHeader::GetBufferSize
uint16_t GetBufferSize(void) const
Return the buffer size.
Definition:
mgt-headers.cc:953
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:685
ns3::MgtDelBaHeader::GetSerializedSize
virtual uint32_t GetSerializedSize(void) const
Definition:
mgt-headers.cc:1018
ns3::MgtProbeResponseHeader::GetSupportedRates
SupportedRates GetSupportedRates(void) const
Return the supported rates.
Definition:
mgt-headers.cc:151
ns3::MgtAssocRequestHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
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:687
ns3::WifiActionHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:617
ns3::MgtProbeResponseHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Definition:
mgt-headers.cc:191
ns3::MgtProbeResponseHeader::GetSsid
Ssid GetSsid(void) const
Return the Service Set Identifier (SSID).
Definition:
mgt-headers.cc:141
ns3::WifiActionHeader::MESH_INTERWORKING
Definition:
mgt-headers.h:352
ns3::MgtAssocResponseHeader::m_rates
SupportedRates m_rates
List of supported rates.
Definition:
mgt-headers.h:168
ns3::MgtAssocRequestHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:313
ns3::MgtAddBaRequestHeader::m_timeoutValue
uint16_t m_timeoutValue
Timeout.
Definition:
mgt-headers.h:573
ns3::WifiActionHeader
See IEEE 802.11 chapter 7.3.1.11 Header format: | category: 1 | action value: 1 |.
Definition:
mgt-headers.h:336
ns3::WifiActionHeader::BLOCK_ACK
Definition:
mgt-headers.h:348
ns3::MgtAddBaRequestHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:670
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:146
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:81
ns3::MgtAddBaRequestHeader::SetImmediateBlockAck
void SetImmediateBlockAck()
Enable immediate Block ACK.
Definition:
mgt-headers.cc:713
ns3::MgtProbeResponseHeader::m_rates
SupportedRates m_rates
List of supported rates.
Definition:
mgt-headers.h:311
ns3::WifiActionHeader::CONGESTION_CONTROL_NOTIFICATION
Definition:
mgt-headers.h:386
ns3::MgtAddBaRequestHeader::m_dialogToken
uint8_t m_dialogToken
Definition:
mgt-headers.h:568
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:732
ns3::MgtAddBaRequestHeader
Implement the header for management frames of type add block ack request.
Definition:
mgt-headers.h:454
ns3::WifiActionHeader::BLOCK_ACK_ADDBA_REQUEST
Definition:
mgt-headers.h:403
ns3::MgtAddBaResponseHeader::IsImmediateBlockAck
bool IsImmediateBlockAck(void) const
Return whether the Block ACK policy is immediate Block ACK.
Definition:
mgt-headers.cc:941
ns3::WifiActionHeader::PEER_LINK_CONFIRM
Definition:
mgt-headers.h:365
ns3::WifiActionHeader::MESH_LINK_METRIC
Definition:
mgt-headers.h:350
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::WifiActionHeader::BLOCK_ACK_ADDBA_RESPONSE
Definition:
mgt-headers.h:404
ns3::HtCapabilities
The Ht Capabilities Information ElementThis class knows how to serialise and deserialise the Ht Capab...
Definition:
ht-capabilities.h:42
ns3::MgtAddBaRequestHeader::MgtAddBaRequestHeader
MgtAddBaRequestHeader()
Definition:
mgt-headers.cc:647
ns3::MgtAssocRequestHeader::SetHtCapabilities
void SetHtCapabilities(HtCapabilities htcapabilities)
Set the HT capabilities.
Definition:
mgt-headers.cc:282
ns3::MgtAssocRequestHeader::SetSsid
void SetSsid(Ssid ssid)
Set the Service Set Identifier (SSID).
Definition:
mgt-headers.cc:272
ns3::MgtAddBaResponseHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:848
ns3::MgtAddBaRequestHeader::m_startingSeq
uint16_t m_startingSeq
Starting sequence number.
Definition:
mgt-headers.h:574
ns3::WifiActionHeader::SetAction
void SetAction(enum CategoryValue type, ActionValue action)
Set action for this Action header.
Definition:
mgt-headers.cc:482
ns3::WifiActionHeader::CategoryValue
CategoryValue
Compatible with open80211s implementation Category values - see 802.11-2012 Table 8-38...
Definition:
mgt-headers.h:346
ns3::MgtAddBaRequestHeader::GetBufferSize
uint16_t GetBufferSize(void) const
Return the buffer size.
Definition:
mgt-headers.cc:768
ns3::MgtAddBaResponseHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Definition:
mgt-headers.cc:842
ns3::WifiActionHeader::TBTT_ADJUSTMENT_REQUEST
Definition:
mgt-headers.h:394
visualizer.core.start
def start
Definition:
core.py:1482
ns3::WifiActionHeader::GetCategory
CategoryValue GetCategory()
Return the category value.
Definition:
mgt-headers.cc:513
ns3::WifiActionHeader::~WifiActionHeader
~WifiActionHeader()
Definition:
mgt-headers.cc:478
ns3::MgtAddBaResponseHeader::SetDelayedBlockAck
void SetDelayedBlockAck()
Enable delayed Block ACK.
Definition:
mgt-headers.cc:886
timeout
ns3::Time timeout
Definition:
openflow-switch.cc:52
ns3::MgtDelBaHeader::SetTid
void SetTid(uint8_t)
Set Traffic ID (TID).
Definition:
mgt-headers.cc:1070
ns3::MgtAddBaResponseHeader::SetStatusCode
void SetStatusCode(StatusCode code)
Set the status code.
Definition:
mgt-headers.cc:917
ns3::WifiActionHeader::MDAOP_SET_TEARDOWN
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:108
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:572
ns3::WifiActionHeader::BEACON_TIMING_RESPONSE
Definition:
mgt-headers.h:393
ns3::MgtProbeRequestHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Definition:
mgt-headers.cc:90
ns3::MgtAddBaResponseHeader::SetTimeout
void SetTimeout(uint16_t timeout)
Set timeout.
Definition:
mgt-headers.cc:905
ns3::MgtProbeRequestHeader::GetSsid
Ssid GetSsid(void) const
Return the Service Set Identifier (SSID).
Definition:
mgt-headers.cc:45
ns3::CapabilityInformation
Capability information.
Definition:
capability-information.h:33
ns3::MgtProbeRequestHeader::SetSupportedRates
void SetSupportedRates(SupportedRates rates)
Set the supported rates.
Definition:
mgt-headers.cc:50
ns3::MgtAddBaRequestHeader::SetAmsduSupport
void SetAmsduSupport(bool supported)
Enable or disable A-MSDU support.
Definition:
mgt-headers.cc:744
ns3::MgtAssocRequestHeader::GetSsid
Ssid GetSsid(void) const
Return the Service Set Identifier (SSID).
Definition:
mgt-headers.cc:297
ns3::Buffer::Iterator
iterator in a Buffer instance
Definition:
buffer.h:98
ns3::MgtDelBaHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Definition:
mgt-headers.cc:1007
ns3::MgtAssocRequestHeader::SetSupportedRates
void SetSupportedRates(SupportedRates rates)
Set the supported rates.
Definition:
mgt-headers.cc:277
ns3::MgtAddBaResponseHeader::IsAmsduSupported
bool IsAmsduSupported(void) const
Return whether A-MSDU capability is supported.
Definition:
mgt-headers.cc:959
ns3::MgtAddBaRequestHeader::GetStartingSequenceControl
uint16_t GetStartingSequenceControl(void) const
Return the raw sequence control.
Definition:
mgt-headers.cc:786
ns3::MgtDelBaHeader::m_reasonCode
uint16_t m_reasonCode
Definition:
mgt-headers.h:756
ns3::MgtAddBaResponseHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
Definition:
mgt-headers.cc:865
ns3::MgtAddBaResponseHeader::SetTid
void SetTid(uint8_t tid)
Set Traffic ID (TID).
Definition:
mgt-headers.cc:898
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:302
ns3::MgtAssocRequestHeader::SetListenInterval
void SetListenInterval(uint16_t interval)
Set the listen interval.
Definition:
mgt-headers.cc:287
ns3::WifiActionHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:604
ns3::MgtAddBaResponseHeader::m_amsduSupport
uint8_t m_amsduSupport
Flag if A-MSDU is supported.
Definition:
mgt-headers.h:686
ns3::MgtAddBaRequestHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Definition:
mgt-headers.cc:664
ns3::WifiActionHeader::LINK_METRIC_REQUEST
Definition:
mgt-headers.h:370
supported-rates.h
ns3::MgtDelBaHeader::m_initiator
uint16_t m_initiator
Definition:
mgt-headers.h:752
ns3::WifiActionHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId() const
Definition:
mgt-headers.cc:612
ns3::WifiActionHeader::LINK_METRIC_REPORT
Definition:
mgt-headers.h:371
ns3::WifiActionHeader::BEACON_TIMING_REQUEST
Definition:
mgt-headers.h:392
ns3::MgtAddBaRequestHeader::SetParameterSet
void SetParameterSet(uint16_t params)
Set the parameter set from the given raw value.
Definition:
mgt-headers.cc:809
ns3::MgtDelBaHeader::MgtDelBaHeader
MgtDelBaHeader()
Definition:
mgt-headers.cc:991
ns3::MgtAddBaRequestHeader::m_tid
uint8_t m_tid
Traffic ID.
Definition:
mgt-headers.h:571
ns3::WifiActionHeader::ResourceCoordinationActionValue
ResourceCoordinationActionValue
Definition:
mgt-headers.h:384
ns3::MgtProbeRequestHeader::m_rates
SupportedRates m_rates
List of supported rates.
Definition:
mgt-headers.h:230
ns3::WifiActionHeader::MDA_SETUP_REQUEST
Definition:
mgt-headers.h:387
ns3::WifiActionHeader::GetSerializedSize
virtual uint32_t GetSerializedSize() const
Definition:
mgt-headers.cc:621
ns3::MgtAddBaRequestHeader::SetStartingSequenceControl
void SetStartingSequenceControl(uint16_t seqControl)
Set sequence control with the given raw value.
Definition:
mgt-headers.cc:792
ns3::MgtAddBaResponseHeader::SetImmediateBlockAck
void SetImmediateBlockAck()
Enable immediate Block ACK.
Definition:
mgt-headers.cc:892
ns3::MgtAddBaRequestHeader::SetTid
void SetTid(uint8_t tid)
Set Traffic ID (TID).
Definition:
mgt-headers.cc:719
ns3::MgtAssocRequestHeader::GetListenInterval
uint16_t GetListenInterval(void) const
Return the listen interval.
Definition:
mgt-headers.cc:307
ns3::MgtAddBaResponseHeader::SetParameterSet
void SetParameterSet(uint16_t params)
Set the parameter set from the given raw value.
Definition:
mgt-headers.cc:976
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::MgtAddBaRequestHeader::m_amsduSupport
uint8_t m_amsduSupport
Flag if A-MSDU is supported.
Definition:
mgt-headers.h:569
ns3::WifiActionHeader::PEER_LINK_CLOSE
Definition:
mgt-headers.h:366
ns3::MgtAddBaRequestHeader::SetStartingSequence
void SetStartingSequence(uint16_t seq)
Set the starting sequence number.
Definition:
mgt-headers.cc:738
ns3::MgtAddBaRequestHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
Definition:
mgt-headers.cc:686
ns3::WifiActionHeader::MESH_RESOURCE_COORDINATION
Definition:
mgt-headers.h:353
ns3::MgtAssocRequestHeader::~MgtAssocRequestHeader
~MgtAssocRequestHeader()
Definition:
mgt-headers.cc:267
ns3::MgtAssocRequestHeader::MgtAssocRequestHeader
MgtAssocRequestHeader()
Definition:
mgt-headers.cc:263
ns3::WifiActionHeader::MDAOP_ADVERTISMENT_REQUEST
Definition:
mgt-headers.h:389
ns3::MgtAddBaRequestHeader::GetTid
uint8_t GetTid(void) const
Return the Traffic ID (TID).
Definition:
mgt-headers.cc:750
ns3::WifiActionHeader::BLOCK_ACK_DELBA
Definition:
mgt-headers.h:405
ns3::MgtAssocResponseHeader::GetSupportedRates
SupportedRates GetSupportedRates(void)
Return the supported rates.
Definition:
mgt-headers.cc:390
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:55
ns3::MgtAssocRequestHeader::m_listenInterval
uint16_t m_listenInterval
Definition:
mgt-headers.h:108
ns3::MgtAssocResponseHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Definition:
mgt-headers.cc:425
ns3::MgtProbeResponseHeader::GetTimestamp
uint64_t GetTimestamp()
Return the time stamp.
Definition:
mgt-headers.cc:136
ns3::MgtAddBaRequestHeader::GetSerializedSize
virtual uint32_t GetSerializedSize(void) const
Definition:
mgt-headers.cc:675
ns3::MgtDelBaHeader::SetByOriginator
void SetByOriginator(void)
Set the initiator bit in the DELBA.
Definition:
mgt-headers.cc:1058
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:167
ns3::MgtProbeResponseHeader::~MgtProbeResponseHeader
~MgtProbeResponseHeader()
Definition:
mgt-headers.cc:132
ns3::MgtAssocRequestHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:339
ns3::MgtDelBaHeader::SetByRecipient
void SetByRecipient(void)
Un-set the initiator bit in the DELBA.
Definition:
mgt-headers.cc:1064
ns3::MgtAddBaRequestHeader::IsAmsduSupported
bool IsAmsduSupported(void) const
Return whether A-MSDU capability is supported.
Definition:
mgt-headers.cc:774
ns3::WifiActionHeader::MESH_PEERING_MGT
Definition:
mgt-headers.h:349
ns3::WifiActionHeader::MDA_SETUP_REPLY
Definition:
mgt-headers.h:388
ns3::MgtDelBaHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:997
ns3::WifiActionHeader::VENDOR_SPECIFIC_ACTION
Definition:
mgt-headers.h:357
ns3::MgtAddBaResponseHeader::GetSerializedSize
virtual uint32_t GetSerializedSize(void) const
Definition:
mgt-headers.cc:854
ns3::WifiActionHeader::MESH_PATH_SELECTION
Definition:
mgt-headers.h:351
ns3::MgtProbeResponseHeader::SetBeaconIntervalUs
void SetBeaconIntervalUs(uint64_t us)
Set the beacon interval in microseconds unit.
Definition:
mgt-headers.cc:172
ns3::WifiActionHeader::BlockAckActionValue
BlockAckActionValue
Block ACK action field values See 802.11 Table 8-202.
Definition:
mgt-headers.h:401
ns3::MgtProbeResponseHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:182
capability-information.h
ns3::MgtAddBaResponseHeader::SetBufferSize
void SetBufferSize(uint16_t size)
Set buffer size.
Definition:
mgt-headers.cc:911
ns3::MgtDelBaHeader::GetTid
uint8_t GetTid(void) const
Return the Traffic ID (TID).
Definition:
mgt-headers.cc:1050
ns3::MgtDelBaHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
Definition:
mgt-headers.cc:1027
ns3::WifiActionHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
Definition:
mgt-headers.cc:632
ns3::WifiActionHeader::PEER_LINK_OPEN
Definition:
mgt-headers.h:364
ns3::MgtProbeResponseHeader::GetHtCapabilities
HtCapabilities GetHtCapabilities(void) const
Return the HT capabilities.
Definition:
mgt-headers.cc:162
ns3::MgtAddBaResponseHeader::GetStatusCode
StatusCode GetStatusCode(void) const
Return the status code.
Definition:
mgt-headers.cc:929
ns3::MgtProbeRequestHeader::GetHtCapabilities
HtCapabilities GetHtCapabilities(void) const
Return the HT capabilities.
Definition:
mgt-headers.cc:61
ns3::MgtDelBaHeader::IsByOriginator
bool IsByOriginator(void) const
Check if the initiator bit in the DELBA is setted.
Definition:
mgt-headers.cc:1044
ns3::WifiActionHeader::MESH_CHANNEL_SWITCH_ANNOUNCEMENT
Definition:
mgt-headers.h:395
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:824
ns3::MgtAddBaResponseHeader::m_tid
uint8_t m_tid
Traffic ID.
Definition:
mgt-headers.h:688
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:947
ns3::MgtAddBaResponseHeader::GetTid
uint8_t GetTid(void) const
Return the Traffic ID (TID).
Definition:
mgt-headers.cc:935
ns3::WifiActionHeader::m_actionValue
uint8_t m_actionValue
Action value.
Definition:
mgt-headers.h:447
ns3::Ssid
The IEEE 802.11 SSID Information Element.
Definition:
ssid.h:35
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:756
ns3::WifiActionHeader::LinkMetricActionValue
LinkMetricActionValue
Definition:
mgt-headers.h:368
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:875
ns3::MgtAssocResponseHeader::m_code
StatusCode m_code
Status code.
Definition:
mgt-headers.h:170
ns3::WifiActionHeader::MDAOP_ADVERTISMENTS
Definition:
mgt-headers.h:390
ns3::MgtAddBaRequestHeader::GetStartingSequence
uint16_t GetStartingSequence(void) const
Return the starting sequence number.
Definition:
mgt-headers.cc:780
ns3::MgtDelBaHeader::m_tid
uint16_t m_tid
Traffic ID.
Definition:
mgt-headers.h:753
ns3::MgtAddBaRequestHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:655
ns3::MgtAssocResponseHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
mgt-headers.cc:416
ns3::MgtAssocResponseHeader::SetSupportedRates
void SetSupportedRates(SupportedRates rates)
Set the supported rates.
Definition:
mgt-headers.cc:400
ns3::MgtAddBaResponseHeader::m_dialogToken
uint8_t m_dialogToken
Definition:
mgt-headers.h:684
ns3::MgtDelBaHeader::GetParameterSet
uint16_t GetParameterSet(void) const
Return the raw parameter set.
Definition:
mgt-headers.cc:1077
ns3::MgtAddBaResponseHeader
Implement the header for management frames of type add block ack response.
Definition:
mgt-headers.h:582
ns3::MgtDelBaHeader
Implement the header for management frames of type del block ack.
Definition:
mgt-headers.h:698
ns3::WifiActionHeader::PathSelectionActionValue
PathSelectionActionValue
Compatible with open80211s implementation.
Definition:
mgt-headers.h:376
ns3::WifiActionHeader::PORTAL_ANNOUNCEMENT
Definition:
mgt-headers.h:382
ns3::MgtAssocResponseHeader::~MgtAssocResponseHeader
~MgtAssocResponseHeader()
Definition:
mgt-headers.cc:380
ns3::WifiActionHeader::ActionValue
typedef for union of different ActionValues
Definition:
mgt-headers.h:410
ns3::MgtProbeResponseHeader::MgtProbeResponseHeader
MgtProbeResponseHeader()
Definition:
mgt-headers.cc:129
ns3::WifiActionHeader::InterworkActionValue
InterworkActionValue
Definition:
mgt-headers.h:380
ns3::MgtAddBaRequestHeader::m_policy
uint8_t m_policy
Block ACK policy.
Definition:
mgt-headers.h:570
ssid.h
ns3::MgtAssocResponseHeader::m_htCapability
HtCapabilities m_htCapability
HT capabilities.
Definition:
mgt-headers.h:172
ns3::MgtProbeResponseHeader::SetSupportedRates
void SetSupportedRates(SupportedRates rates)
Set the supported rates.
Definition:
mgt-headers.cc:177
ns3::MgtProbeRequestHeader::m_ssid
Ssid m_ssid
Service Set ID (SSID)
Definition:
mgt-headers.h:229
ns3::MgtAssocResponseHeader::MgtAssocResponseHeader
MgtAssocResponseHeader()
Definition:
mgt-headers.cc:376
ns3::WifiActionHeader::MESH_PROXY_FORWARDING
Definition:
mgt-headers.h:354
ns3::MgtAssocResponseHeader::SetHtCapabilities
void SetHtCapabilities(HtCapabilities htcapabilities)
Set the HT capabilities.
Definition:
mgt-headers.cc:405
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:40
ns3::MgtAssocResponseHeader::SetStatusCode
void SetStatusCode(StatusCode code)
Set the status code.
Definition:
mgt-headers.cc:395
ns3::MgtDelBaHeader::SetParameterSet
void SetParameterSet(uint16_t params)
Set the parameter set from the given raw value.
Definition:
mgt-headers.cc:1086
ns3::MgtAddBaResponseHeader::SetAmsduSupport
void SetAmsduSupport(bool supported)
Enable or disable A-MSDU support.
Definition:
mgt-headers.cc:923
ns3::WifiActionHeader::m_category
uint8_t m_category
Category of the action.
Definition:
mgt-headers.h:446
ns3::MgtAddBaRequestHeader::SetDelayedBlockAck
void SetDelayedBlockAck()
Enable delayed Block ACK.
Definition:
mgt-headers.cc:707
ns3::MgtAssocRequestHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
Definition:
mgt-headers.cc:357
ns3::WifiActionHeader::PATH_SELECTION
Definition:
mgt-headers.h:378
ns3::MgtAddBaRequestHeader::SetTimeout
void SetTimeout(uint16_t timeout)
Set timeout.
Definition:
mgt-headers.cc:726
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:798
ns3::WifiActionHeader::GetAction
ActionValue GetAction()
Return the action value.
Definition:
mgt-headers.cc:539
ns3::MgtAddBaResponseHeader::m_bufferSize
uint16_t m_bufferSize
Buffer size.
Definition:
mgt-headers.h:689
ns3::MgtAddBaResponseHeader::GetParameterSet
uint16_t GetParameterSet(void) const
Return the raw parameter set.
Definition:
mgt-headers.cc:965
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:71
ns3::MgtAddBaResponseHeader::m_timeoutValue
uint16_t m_timeoutValue
Timeout.
Definition:
mgt-headers.h:690
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:292
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:49
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:156
ns3::MgtBeaconHeader
Implement the header for management frames of type beacon.
Definition:
mgt-headers.h:321
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:385
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:626
ns3::MgtDelBaHeader::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)
Definition:
mgt-headers.cc:1035
ns3::MgtAddBaRequestHeader::GetTimeout
uint16_t GetTimeout(void) const
Return the timeout.
Definition:
mgt-headers.cc:762
ns3::MgtAssocResponseHeader::GetHtCapabilities
HtCapabilities GetHtCapabilities(void) const
Return the HT capabilities.
Definition:
mgt-headers.cc:411
ns3::MgtDelBaHeader::Print
virtual void Print(std::ostream &os) const
Definition:
mgt-headers.cc:1013
ns3::MgtAssocRequestHeader::Serialize
virtual void Serialize(Buffer::Iterator start) const
Definition:
mgt-headers.cc:346
ns3::MgtProbeRequestHeader::~MgtProbeRequestHeader
~MgtProbeRequestHeader()
Definition:
mgt-headers.cc:35
src
wifi
model
mgt-headers.h
Generated on Sat Apr 19 2014 14:07:11 for ns-3 by
1.8.6