23 #include "ns3/simulator.h"
24 #include "ns3/assert.h"
83 static TypeId tid =
TypeId (
"ns3::MgtProbeRequestHeader")
85 .AddConstructor<MgtProbeRequestHeader> ()
97 os <<
"ssid=" <<
m_ssid <<
", "
184 static TypeId tid =
TypeId (
"ns3::MgtProbeResponseHeader")
186 .AddConstructor<MgtProbeResponseHeader> ()
213 os <<
"ssid=" <<
m_ssid <<
", "
264 : m_listenInterval (0)
315 static TypeId tid =
TypeId (
"ns3::MgtAssocRequestHeader")
317 .AddConstructor<MgtAssocRequestHeader> ()
341 os <<
"ssid=" <<
m_ssid <<
", "
418 static TypeId tid =
TypeId (
"ns3::MgtAssocResponseHeader")
420 .AddConstructor<MgtAssocResponseHeader> ()
445 os <<
"status code=" <<
m_code <<
", "
608 .AddConstructor<WifiActionHeader> ();
657 static TypeId tid =
TypeId (
"ns3::MgtAddBaRequestHeader")
659 .AddConstructor<MgtAddBaRequestHeader> ();
758 return (
m_policy == 1) ?
true :
false;
813 m_tid = (params >> 2) & 0x0f;
834 static TypeId tid =
TypeId (
"ns3::MgtAddBaResponseHeader")
836 .AddConstructor<MgtAddBaResponseHeader> ()
850 os <<
"status code=" <<
m_code;
943 return (
m_policy == 1) ?
true :
false;
980 m_tid = (params >> 2) & 0x0f;
1001 .AddConstructor<MgtDelBaHeader> ()
1053 uint8_t tid =
static_cast<uint8_t
> (
m_tid);
1073 m_tid =
static_cast<uint16_t
> (tid);
1089 m_tid = (params >> 12) & 0x0f;
uint16_t GetSerializedSize() const
Return the serialized size of this supported rates information element.
#define NS_ASSERT(condition)
NS_OBJECT_ENSURE_REGISTERED(NullMessageSimulatorImpl)
The Ht Capabilities Information ElementThis class knows how to serialise and deserialise the Ht Capab...
uint32_t GetSerializedSize(void) const
The Supported Rates Information ElementThis class knows how to serialise and deserialise the Supporte...
uint32_t GetDistanceFrom(Iterator const &o) const
#define NS_FATAL_ERROR(msg)
fatal error handling
iterator in a Buffer instance
ExtendedSupportedRatesIE extended
Buffer::Iterator Serialize(Buffer::Iterator start) const
This information element is a bit special in that it is only included if there are more than 8 rates...
Buffer::Iterator Serialize(Buffer::Iterator start) const
Status code for association response.
Buffer::Iterator Deserialize(Buffer::Iterator start)
static Time Now(void)
Return the "current simulation time".
The IEEE 802.11 SSID Information Element.
void WriteHtolsbU16(uint16_t data)
void WriteU8(uint8_t data)
void WriteHtolsbU64(uint64_t data)
uint16_t ReadLsbtohU16(void)
uint64_t ReadLsbtohU64(void)
uint16_t GetSerializedSize() const
Return the serialized size of this HT capability information element.
Buffer::Iterator Serialize(Buffer::Iterator start) const
This information element is a bit special in that it is only included if the STA is an HT STA...
a unique identifier for an interface.
TypeId SetParent(TypeId tid)