24 #include "ns3/simulator.h"
114 static TypeId tid =
TypeId (
"ns3::MgtProbeRequestHeader")
116 .SetGroupName (
"Wifi")
131 os <<
"ssid=" <<
m_ssid <<
", "
331 static TypeId tid =
TypeId (
"ns3::MgtProbeResponseHeader")
333 .SetGroupName (
"Wifi")
369 os <<
"ssid=" <<
m_ssid <<
", "
443 .SetGroupName (
"Wifi")
457 : m_listenInterval (0)
552 static TypeId tid =
TypeId (
"ns3::MgtAssocRequestHeader")
554 .SetGroupName (
"Wifi")
584 os <<
"ssid=" <<
m_ssid <<
", "
759 static TypeId tid =
TypeId (
"ns3::MgtAssocResponseHeader")
761 .SetGroupName (
"Wifi")
795 os <<
"status code=" <<
m_code <<
", "
1022 .SetGroupName (
"Wifi")
1041 else if (value ==
MESH)
1047 return "SelfProtected";
1051 return "VendorSpecificAction";
1055 std::ostringstream convert;
1057 return convert.str ();
1065 return "PeerLinkOpen";
1069 return "PeerLinkConfirm";
1073 return "PeerLinkClose";
1077 return "GroupKeyInform";
1081 return "GroupKeyAck";
1085 std::ostringstream convert;
1087 return convert.str ();
1128 : m_dialogToken (1),
1137 static TypeId tid =
TypeId (
"ns3::MgtAddBaRequestHeader")
1139 .SetGroupName (
"Wifi")
1246 return (
m_policy == 1) ?
true :
false;
1295 m_tid = (params >> 2) & 0x0f;
1307 : m_dialogToken (1),
1316 static TypeId tid =
TypeId (
"ns3::MgtAddBaResponseHeader")
1318 .SetGroupName (
"Wifi")
1333 os <<
"status code=" <<
m_code;
1426 return (
m_policy == 1) ?
true :
false;
1463 m_tid = (params >> 2) & 0x0f;
1484 .SetGroupName (
"Wifi")
1537 uint8_t tid =
static_cast<uint8_t
> (
m_tid);
1557 m_tid =
static_cast<uint16_t
> (tid);
1573 m_tid = (params >> 12) & 0x0f;
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
CategoryValue
CategoryValue enumeration.
uint16_t GetSerializedSize() const
Return the serialized size of this supported rates information element.
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...
The HT Capabilities Information ElementThis class knows how to serialise and deserialise the HT Capab...
uint32_t GetSerializedSize(void) 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
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
ExtendedSupportedRatesIE extended
extended suppoted rates info element
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 HT STA...
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 the STA is an HT STA...
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 there are more than 8 rates...
uint16_t GetSerializedSize() const
Return the serialized size of this HT Operation 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 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
This information element is a bit special in that it is only included if the STA is an VHT STA...
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
Get the serialized size.
void WriteHtolsbU64(uint64_t data)
uint16_t ReadLsbtohU16(void)
Buffer::Iterator Serialize(Buffer::Iterator start) const
Serialize function.
uint64_t ReadLsbtohU64(void)
uint16_t GetSerializedSize() const
Return the serialized size of this HT capability information element.
uint16_t GetSerializedSize() const
Return the serialized size of this HT Operations IE.
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 is an HT STA...
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
SelfProtectedActionValue
SelfProtectedActionValue enumeration.
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...