23 #include "ns3/simulator.h"
24 #include "ns3/address-utils.h"
128 static TypeId tid =
TypeId (
"ns3::MgtProbeRequestHeader")
130 .SetGroupName (
"Wifi")
145 os <<
"ssid=" <<
m_ssid <<
", "
384 static TypeId tid =
TypeId (
"ns3::MgtProbeResponseHeader")
386 .SetGroupName (
"Wifi")
425 os <<
"ssid=" <<
m_ssid <<
", "
507 .SetGroupName (
"Wifi")
521 : m_listenInterval (0)
628 static TypeId tid =
TypeId (
"ns3::MgtAssocRequestHeader")
630 .SetGroupName (
"Wifi")
661 os <<
"ssid=" <<
m_ssid <<
", "
821 static TypeId tid =
TypeId (
"ns3::MgtReassocRequestHeader")
823 .SetGroupName (
"Wifi")
856 <<
"ssid=" <<
m_ssid <<
", "
1084 static TypeId tid =
TypeId (
"ns3::MgtAssocResponseHeader")
1086 .SetGroupName (
"Wifi")
1123 os <<
"status code=" <<
m_code <<
", "
1124 <<
"aid=" <<
m_aid <<
", "
1125 <<
"rates=" <<
m_rates <<
", "
1360 .SetGroupName (
"Wifi")
1379 else if (value ==
MESH)
1385 return "SelfProtected";
1389 return "VendorSpecificAction";
1393 std::ostringstream convert;
1395 return convert.str ();
1403 return "PeerLinkOpen";
1407 return "PeerLinkConfirm";
1411 return "PeerLinkClose";
1415 return "GroupKeyInform";
1419 return "GroupKeyAck";
1423 std::ostringstream convert;
1425 return convert.str ();
1466 : m_dialogToken (1),
1475 static TypeId tid =
TypeId (
"ns3::MgtAddBaRequestHeader")
1477 .SetGroupName (
"Wifi")
1633 m_tid = (params >> 2) & 0x0f;
1645 : m_dialogToken (1),
1654 static TypeId tid =
TypeId (
"ns3::MgtAddBaResponseHeader")
1656 .SetGroupName (
"Wifi")
1671 os <<
"status code=" <<
m_code;
1801 m_tid = (params >> 2) & 0x0f;
1822 .SetGroupName (
"Wifi")
1875 uint8_t tid =
static_cast<uint8_t
> (
m_tid);
1895 m_tid =
static_cast<uint16_t
> (tid);
1911 m_tid = (params >> 12) & 0x0f;
iterator in a Buffer instance
void WriteHtolsbU16(uint16_t data)
void WriteU8(uint8_t data)
void WriteHtolsbU64(uint64_t data)
uint16_t ReadLsbtohU16(void)
uint64_t ReadLsbtohU64(void)
uint32_t GetDistanceFrom(Iterator const &o) const
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
The Extended Capabilities Information Element.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
The IEEE 802.11ax HE Capabilities.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
The HE Operation Information Element.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
The HT Capabilities Information Element.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
The HT Operation Information Element.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
The MU EDCA Parameter Set.
uint16_t GetSerializedSize() const
Return the serialized size of this EDCA Parameter Set.
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 HE STA.
static Time Now(void)
Return the current simulation virtual time.
The IEEE 802.11 SSID Information Element.
Status code for association response.
Buffer::Iterator Serialize(Buffer::Iterator start) const
Buffer::Iterator Deserialize(Buffer::Iterator start)
uint32_t GetSerializedSize(void) const
The Supported Rates Information Element.
ExtendedSupportedRatesIE extended
extended supported rates info element
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
The IEEE 802.11ac VHT Capabilities.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
The VHT Operation Information Element.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
void WriteTo(Buffer::Iterator &i, Ipv4Address ad)
Write an Ipv4Address to a Buffer.
void ReadFrom(Buffer::Iterator &i, Ipv4Address &ad)
Read an Ipv4Address from a Buffer.