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 <<
", "
245 static TypeId tid =
TypeId (
"ns3::MgtProbeResponseHeader")
247 .SetGroupName (
"Wifi")
278 os <<
"ssid=" <<
m_ssid <<
", "
338 .SetGroupName (
"Wifi")
352 : m_listenInterval (0)
435 static TypeId tid =
TypeId (
"ns3::MgtAssocRequestHeader")
437 .SetGroupName (
"Wifi")
466 os <<
"ssid=" <<
m_ssid <<
", "
578 static TypeId tid =
TypeId (
"ns3::MgtAssocResponseHeader")
580 .SetGroupName (
"Wifi")
609 os <<
"status code=" <<
m_code <<
", "
823 .SetGroupName (
"Wifi")
842 else if (value ==
MESH)
848 return "SelfProtected";
852 return "VendorSpecificAction";
856 std::ostringstream convert;
858 return convert.str ();
866 return "PeerLinkOpen";
870 return "PeerLinkConfirm";
874 return "PeerLinkClose";
878 return "GroupKeyInform";
882 return "GroupKeyAck";
886 std::ostringstream convert;
888 return convert.str ();
938 static TypeId tid =
TypeId (
"ns3::MgtAddBaRequestHeader")
940 .SetGroupName (
"Wifi")
1047 return (
m_policy == 1) ?
true :
false;
1096 m_tid = (params >> 2) & 0x0f;
1108 : m_dialogToken (1),
1117 static TypeId tid =
TypeId (
"ns3::MgtAddBaResponseHeader")
1119 .SetGroupName (
"Wifi")
1134 os <<
"status code=" <<
m_code;
1227 return (
m_policy == 1) ?
true :
false;
1264 m_tid = (params >> 2) & 0x0f;
1285 .SetGroupName (
"Wifi")
1338 uint8_t tid =
static_cast<uint8_t
> (
m_tid);
1358 m_tid =
static_cast<uint16_t
> (tid);
1374 m_tid = (params >> 12) & 0x0f;
#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.
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
ExtendedSupportedRatesIE extended
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
Status code for association response.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
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)
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.