23 #include "ns3/simulator.h" 24 #include "ns3/address-utils.h" 134 static TypeId tid =
TypeId (
"ns3::MgtProbeRequestHeader")
136 .SetGroupName (
"Wifi")
151 os <<
"ssid=" <<
m_ssid <<
", " 390 static TypeId tid =
TypeId (
"ns3::MgtProbeResponseHeader")
392 .SetGroupName (
"Wifi")
431 os <<
"ssid=" <<
m_ssid <<
", " 513 .SetGroupName (
"Wifi")
527 : m_listenInterval (0)
634 static TypeId tid =
TypeId (
"ns3::MgtAssocRequestHeader")
636 .SetGroupName (
"Wifi")
667 os <<
"ssid=" <<
m_ssid <<
", " 827 static TypeId tid =
TypeId (
"ns3::MgtReassocRequestHeader")
829 .SetGroupName (
"Wifi")
862 <<
"ssid=" <<
m_ssid <<
", " 1066 static TypeId tid =
TypeId (
"ns3::MgtAssocResponseHeader")
1068 .SetGroupName (
"Wifi")
1104 os <<
"status code=" <<
m_code <<
", " 1105 <<
"aid=" <<
m_aid <<
", " 1106 <<
"rates=" <<
m_rates <<
", " 1339 .SetGroupName (
"Wifi")
1358 else if (value ==
MESH)
1364 return "SelfProtected";
1368 return "VendorSpecificAction";
1372 std::ostringstream convert;
1374 return convert.str ();
1382 return "PeerLinkOpen";
1386 return "PeerLinkConfirm";
1390 return "PeerLinkClose";
1394 return "GroupKeyInform";
1398 return "GroupKeyAck";
1402 std::ostringstream convert;
1404 return convert.str ();
1445 : m_dialogToken (1),
1454 static TypeId tid =
TypeId (
"ns3::MgtAddBaRequestHeader")
1456 .SetGroupName (
"Wifi")
1563 return (
m_policy == 1) ? true :
false;
1612 m_tid = (params >> 2) & 0x0f;
1624 : m_dialogToken (1),
1633 static TypeId tid =
TypeId (
"ns3::MgtAddBaResponseHeader")
1635 .SetGroupName (
"Wifi")
1650 os <<
"status code=" <<
m_code;
1743 return (
m_policy == 1) ? true :
false;
1780 m_tid = (params >> 2) & 0x0f;
1801 .SetGroupName (
"Wifi")
1854 uint8_t tid =
static_cast<uint8_t
> (
m_tid);
1874 m_tid =
static_cast<uint16_t
> (tid);
1890 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...
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 VHT STA...
uint16_t GetSerializedSize() const
Return the serialized size of this HE Operations IE.
uint16_t GetSerializedSize() const
Return the serialized size of this HT Operation IE.
#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
Return the serialized size of this EDCA Parameter Set.
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
This information element is a bit special in that it is only included if the STA is a HE STA...
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
Return the serialized size of this supported rates 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...
The Supported Rates Information ElementThis class knows how to serialise and deserialise the Supporte...
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...
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
Get the serialized size.
uint16_t GetSerializedSize() const
Set serialize size function.
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...
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
This information element is a bit special in that it is only included if the STA is an HT or a VHT ST...
uint16_t GetSerializedSize() const
Return the serialized size of this EDCA Parameter Set.
Status code for association response.
uint16_t GetSerializedSize() const
Return the serialized size of this HT capability information element.
uint16_t GetSerializedSize() const
Return the serialized size of this DSSS Parameter Set.
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
Return the serialized size of this VHT Operations IE.
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 VHT STA...
uint16_t ReadLsbtohU16(void)
uint16_t GetSerializedSize() const
Return the serialized size of this extended capabilities information element.
The HE Operation Information ElementThis class knows how to serialise and deserialise the HE Operatio...
Buffer::Iterator Serialize(Buffer::Iterator start) const
Serialize function.
uint64_t ReadLsbtohU64(void)
The IEEE 802.11ax HE Capabilities.
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...
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 is a QoS STA...