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 <<
", "
269 static TypeId tid =
TypeId (
"ns3::MgtProbeResponseHeader")
271 .SetGroupName (
"Wifi")
304 os <<
"ssid=" <<
m_ssid <<
", "
370 .SetGroupName (
"Wifi")
384 : m_listenInterval (0)
467 static TypeId tid =
TypeId (
"ns3::MgtAssocRequestHeader")
469 .SetGroupName (
"Wifi")
498 os <<
"ssid=" <<
m_ssid <<
", "
635 static TypeId tid =
TypeId (
"ns3::MgtAssocResponseHeader")
637 .SetGroupName (
"Wifi")
668 os <<
"status code=" <<
m_code <<
", "
888 .SetGroupName (
"Wifi")
907 else if (value ==
MESH)
913 return "SelfProtected";
917 return "VendorSpecificAction";
921 std::ostringstream convert;
923 return convert.str ();
931 return "PeerLinkOpen";
935 return "PeerLinkConfirm";
939 return "PeerLinkClose";
943 return "GroupKeyInform";
947 return "GroupKeyAck";
951 std::ostringstream convert;
953 return convert.str ();
1003 static TypeId tid =
TypeId (
"ns3::MgtAddBaRequestHeader")
1005 .SetGroupName (
"Wifi")
1112 return (
m_policy == 1) ?
true :
false;
1161 m_tid = (params >> 2) & 0x0f;
1173 : m_dialogToken (1),
1182 static TypeId tid =
TypeId (
"ns3::MgtAddBaResponseHeader")
1184 .SetGroupName (
"Wifi")
1199 os <<
"status code=" <<
m_code;
1292 return (
m_policy == 1) ?
true :
false;
1329 m_tid = (params >> 2) & 0x0f;
1350 .SetGroupName (
"Wifi")
1403 uint8_t tid =
static_cast<uint8_t
> (
m_tid);
1423 m_tid =
static_cast<uint16_t
> (tid);
1439 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...
The HT Operations Information ElementThis class knows how to serialise and deserialise the HT Operati...
#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
uint16_t GetSerializedSize() const
Return the serialized size of this HT Operations IE.
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.