25 #include "ns3/simulator.h"
26 #include "ns3/assert.h"
103 static TypeId tid =
TypeId (
"ns3::MgtProbeRequestHeader")
105 .SetGroupName (
"Wifi")
120 os <<
"ssid=" <<
m_ssid <<
", "
293 static TypeId tid =
TypeId (
"ns3::MgtProbeResponseHeader")
295 .SetGroupName (
"Wifi")
329 os <<
"ssid=" <<
m_ssid <<
", "
398 .SetGroupName (
"Wifi")
412 : m_listenInterval (0)
495 static TypeId tid =
TypeId (
"ns3::MgtAssocRequestHeader")
497 .SetGroupName (
"Wifi")
526 os <<
"ssid=" <<
m_ssid <<
", "
674 static TypeId tid =
TypeId (
"ns3::MgtAssocResponseHeader")
676 .SetGroupName (
"Wifi")
708 os <<
"status code=" <<
m_code <<
", "
930 .SetGroupName (
"Wifi")
949 else if (value ==
MESH)
955 return "SelfProtected";
959 return "VendorSpecificAction";
963 std::ostringstream convert;
965 return convert.str ();
973 return "PeerLinkOpen";
977 return "PeerLinkConfirm";
981 return "PeerLinkClose";
985 return "GroupKeyInform";
989 return "GroupKeyAck";
993 std::ostringstream convert;
995 return convert.str ();
1036 : m_dialogToken (1),
1045 static TypeId tid =
TypeId (
"ns3::MgtAddBaRequestHeader")
1047 .SetGroupName (
"Wifi")
1154 return (
m_policy == 1) ?
true :
false;
1203 m_tid = (params >> 2) & 0x0f;
1215 : m_dialogToken (1),
1224 static TypeId tid =
TypeId (
"ns3::MgtAddBaResponseHeader")
1226 .SetGroupName (
"Wifi")
1241 os <<
"status code=" <<
m_code;
1334 return (
m_policy == 1) ?
true :
false;
1371 m_tid = (params >> 2) & 0x0f;
1392 .SetGroupName (
"Wifi")
1445 uint8_t tid =
static_cast<uint8_t
> (
m_tid);
1465 m_tid =
static_cast<uint16_t
> (tid);
1481 m_tid = (params >> 12) & 0x0f;
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...
The HT Operations Information ElementThis class knows how to serialise and deserialise the HT Operati...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
uint16_t GetSerializedSize() const
Return the serialized size of this supported rates information element.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
The HT Capabilities Information ElementThis class knows how to serialise and deserialise the HT Capab...
uint32_t GetSerializedSize(void) const
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
uint16_t GetSerializedSize() const
Return the serialized size of this DSSS Parameter Set.
The Supported Rates Information ElementThis class knows how to serialise and deserialise the Supporte...
uint32_t GetDistanceFrom(Iterator const &o) const
iterator in a Buffer instance
uint16_t GetSerializedSize() const
Return the serialized size of this HT Operations IE.
ExtendedSupportedRatesIE extended
uint16_t GetSerializedSize() const
Return the serialized size of this EDCA Parameter Set.
The IEEE 802.11ac VHT Capabilities.
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
This information element is a bit special in that it is only included if the STA is a QoS STA...
Buffer::Iterator Serialize(Buffer::Iterator start) const
Status code for association response.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
The EDCA Parameter SetThis class knows how to serialise and deserialise the EDCA Parameter Set...
Buffer::Iterator Deserialize(Buffer::Iterator start)
static Time Now(void)
Return the current simulation virtual time.
Buffer::Iterator Serialize(Buffer::Iterator start) const
The IEEE 802.11 SSID Information Element.
void WriteHtolsbU16(uint16_t data)
The DSSS Parameter SetThis class knows how to serialise and deserialise the DSSS Parameter Set...
void WriteU8(uint8_t data)
uint16_t GetSerializedSize() const
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)
Set the parent TypeId.
Buffer::Iterator Serialize(Buffer::Iterator start) const
This information element is a bit special in that it is only included if the STA does support DSSS...