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 <<
", " 1072 static TypeId tid =
TypeId (
"ns3::MgtAssocResponseHeader")
1074 .SetGroupName (
"Wifi")
1110 os <<
"status code=" <<
m_code <<
", " 1111 <<
"aid=" <<
m_aid <<
", " 1112 <<
"rates=" <<
m_rates <<
", " 1345 .SetGroupName (
"Wifi")
1364 else if (value ==
MESH)
1370 return "SelfProtected";
1374 return "VendorSpecificAction";
1378 std::ostringstream convert;
1380 return convert.str ();
1388 return "PeerLinkOpen";
1392 return "PeerLinkConfirm";
1396 return "PeerLinkClose";
1400 return "GroupKeyInform";
1404 return "GroupKeyAck";
1408 std::ostringstream convert;
1410 return convert.str ();
1451 : m_dialogToken (1),
1460 static TypeId tid =
TypeId (
"ns3::MgtAddBaRequestHeader")
1462 .SetGroupName (
"Wifi")
1569 return (
m_policy == 1) ? true :
false;
1618 m_tid = (params >> 2) & 0x0f;
1630 : m_dialogToken (1),
1639 static TypeId tid =
TypeId (
"ns3::MgtAddBaResponseHeader")
1641 .SetGroupName (
"Wifi")
1656 os <<
"status code=" <<
m_code;
1749 return (
m_policy == 1) ? true :
false;
1786 m_tid = (params >> 2) & 0x0f;
1807 .SetGroupName (
"Wifi")
1860 uint8_t tid =
static_cast<uint8_t
> (
m_tid);
1880 m_tid =
static_cast<uint16_t
> (tid);
1896 m_tid = (params >> 12) & 0x0f;
Buffer::Iterator Serialize(Buffer::Iterator start) const
Buffer::Iterator Serialize(Buffer::Iterator start) const
uint16_t GetSerializedSize() const
uint16_t GetSerializedSize() const
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
void ReadFrom(Buffer::Iterator &i, Ipv4Address &ad)
Read an Ipv4Address from a Buffer.
uint16_t GetSerializedSize() const
The Extended Capabilities Information ElementThis class knows how to serialise and deserialise the Ex...
The VHT Operation Information ElementThis class knows how to serialise and deserialise the VHT Operat...
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
void WriteTo(Buffer::Iterator &i, Ipv4Address ad)
Write an Ipv4Address to a Buffer.
The HT Capabilities Information ElementThis class knows how to serialise and deserialise the HT Capab...
uint32_t GetSerializedSize(void) const
Buffer::Iterator Serialize(Buffer::Iterator start) const
The HT Operation Information ElementThis class knows how to serialise and deserialise the HT Operatio...
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
uint16_t GetSerializedSize() const
Buffer::Iterator Serialize(Buffer::Iterator start) const
The Supported Rates Information ElementThis class knows how to serialise and deserialise the Supporte...
Buffer::Iterator Serialize(Buffer::Iterator start) const
iterator in a Buffer instance
Buffer::Iterator Serialize(Buffer::Iterator start) const
uint32_t GetDistanceFrom(Iterator const &o) const
ExtendedSupportedRatesIE extended
extended supported rates info element
uint16_t GetSerializedSize() const
uint16_t GetSerializedSize() const
Buffer::Iterator Serialize(Buffer::Iterator start) const
The IEEE 802.11ac VHT Capabilities.
The CF Parameter SetThis class knows how to serialise and deserialise the CF Parameter Set...
Buffer::Iterator Serialize(Buffer::Iterator start) const
uint16_t GetSerializedSize() const
Status code for association response.
uint16_t GetSerializedSize() const
uint16_t GetSerializedSize() const
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.
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)
void WriteHtolsbU64(uint64_t data)
uint16_t GetSerializedSize() const
Buffer::Iterator Serialize(Buffer::Iterator start) const
uint16_t ReadLsbtohU16(void)
uint16_t GetSerializedSize() const
The HE Operation Information ElementThis class knows how to serialise and deserialise the HE Operatio...
Buffer::Iterator Serialize(Buffer::Iterator start) const
uint64_t ReadLsbtohU64(void)
The IEEE 802.11ax HE Capabilities.
Buffer::Iterator Serialize(Buffer::Iterator start) const
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Buffer::Iterator Serialize(Buffer::Iterator start) const