27 #include "ns3/header.h"
28 #include "status-code.h"
29 #include "capability-information.h"
30 #include "supported-rates.h"
45 void SetSsid (
Ssid ssid);
47 void SetListenInterval (uint16_t interval);
49 Ssid GetSsid (
void)
const;
51 uint16_t GetListenInterval (
void)
const;
53 static TypeId GetTypeId (
void);
55 virtual void Print (std::ostream &os)
const;
64 uint16_t m_listenInterval;
84 static TypeId GetTypeId (
void);
86 virtual void Print (std::ostream &os)
const;
108 void SetSsid (
Ssid ssid);
110 Ssid GetSsid (
void)
const;
113 static TypeId GetTypeId (
void);
115 virtual void Print (std::ostream &os)
const;
135 Ssid GetSsid (
void)
const;
136 uint64_t GetBeaconIntervalUs (
void)
const;
139 void SetSsid (
Ssid ssid);
140 void SetBeaconIntervalUs (uint64_t us);
142 uint64_t GetTimestamp ();
143 static TypeId GetTypeId (
void);
145 virtual void Print (std::ostream &os)
const;
151 uint64_t m_timestamp;
153 uint64_t m_beaconInterval;
188 MESH_PEERING_MGT = 30,
189 MESH_LINK_METRIC = 31,
190 MESH_PATH_SELECTION = 32,
191 MESH_INTERWORKING = 33,
192 MESH_RESOURCE_COORDINATION = 34,
193 MESH_PROXY_FORWARDING = 35,
196 enum PeerLinkMgtActionValue
199 PEER_LINK_CONFIRM = 1,
202 enum LinkMetricActionValue
204 LINK_METRIC_REQUEST = 0,
208 enum PathSelectionActionValue
212 enum InterworkActionValue
214 PORTAL_ANNOUNCEMENT = 0,
216 enum ResourceCoordinationActionValue
218 CONGESTION_CONTROL_NOTIFICATION = 0,
221 MDAOP_ADVERTISMENT_REQUEST,
224 BEACON_TIMING_REQUEST,
225 BEACON_TIMING_RESPONSE,
226 TBTT_ADJUSTMENT_REQUEST,
227 MESH_CHANNEL_SWITCH_ANNOUNCEMENT,
229 enum BlockAckActionValue
231 BLOCK_ACK_ADDBA_REQUEST = 0,
232 BLOCK_ACK_ADDBA_RESPONSE = 1,
237 enum PeerLinkMgtActionValue peerLink;
238 enum LinkMetricActionValue linkMetrtic;
239 enum PathSelectionActionValue pathSelection;
240 enum InterworkActionValue interwork;
241 enum ResourceCoordinationActionValue resourceCoordination;
242 enum BlockAckActionValue blockAck;
244 void SetAction (
enum CategoryValue type,
ActionValue action);
246 CategoryValue GetCategory ();
248 static TypeId GetTypeId (
void);
250 virtual void Print (std::ostream &os)
const;
256 uint8_t m_actionValue;
268 static TypeId GetTypeId (
void);
270 virtual void Print (std::ostream &os)
const;
275 void SetDelayedBlockAck ();
276 void SetImmediateBlockAck ();
277 void SetTid (uint8_t tid);
278 void SetTimeout (uint16_t timeout);
279 void SetBufferSize (uint16_t size);
280 void SetStartingSequence (uint16_t seq);
281 void SetAmsduSupport (
bool supported);
283 uint16_t GetStartingSequence (
void)
const;
284 uint8_t GetTid (
void)
const;
285 bool IsImmediateBlockAck (
void)
const;
286 uint16_t GetTimeout (
void)
const;
287 uint16_t GetBufferSize (
void)
const;
288 bool IsAmsduSupported (
void)
const;
291 uint16_t GetParameterSet (
void)
const;
292 void SetParameterSet (uint16_t params);
293 uint16_t GetStartingSequenceControl (
void)
const;
294 void SetStartingSequenceControl (uint16_t seqControl);
296 uint8_t m_dialogToken;
297 uint8_t m_amsduSupport;
300 uint16_t m_bufferSize;
301 uint16_t m_timeoutValue;
302 uint16_t m_startingSeq;
315 static TypeId GetTypeId (
void);
317 virtual void Print (std::ostream &os)
const;
322 void SetDelayedBlockAck ();
323 void SetImmediateBlockAck ();
324 void SetTid (uint8_t tid);
325 void SetTimeout (uint16_t timeout);
326 void SetBufferSize (uint16_t size);
328 void SetAmsduSupport (
bool supported);
331 uint8_t GetTid (
void)
const;
332 bool IsImmediateBlockAck (
void)
const;
333 uint16_t GetTimeout (
void)
const;
334 uint16_t GetBufferSize (
void)
const;
335 bool IsAmsduSupported (
void)
const;
338 uint16_t GetParameterSet (
void)
const;
339 void SetParameterSet (uint16_t params);
341 uint8_t m_dialogToken;
343 uint8_t m_amsduSupport;
346 uint16_t m_bufferSize;
347 uint16_t m_timeoutValue;
360 static TypeId GetTypeId (
void);
362 virtual void Print (std::ostream &os)
const;
367 bool IsByOriginator (
void)
const;
368 uint8_t GetTid (
void)
const;
369 void SetTid (uint8_t);
370 void SetByOriginator (
void);
371 void SetByRecipient (
void);
374 uint16_t GetParameterSet (
void)
const;
375 void SetParameterSet (uint16_t params);
377 uint16_t m_initiator;
381 uint16_t m_reasonCode;
The Supported Rates Information ElementThis class knows how to serialise and deserialise the Supporte...
iterator in a Buffer instance
a unique identifier for an interface.