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 <<
", "
233 static TypeId tid =
TypeId (
"ns3::MgtProbeResponseHeader")
235 .SetGroupName (
"Wifi")
266 os <<
"ssid=" <<
m_ssid <<
", "
326 .SetGroupName (
"Wifi")
340 : m_listenInterval (0)
411 static TypeId tid =
TypeId (
"ns3::MgtAssocRequestHeader")
413 .SetGroupName (
"Wifi")
442 os <<
"ssid=" <<
m_ssid <<
", "
542 static TypeId tid =
TypeId (
"ns3::MgtAssocResponseHeader")
544 .SetGroupName (
"Wifi")
573 os <<
"status code=" <<
m_code <<
", "
787 .SetGroupName (
"Wifi")
806 else if (value ==
MESH)
812 return "SelfProtected";
816 return "VendorSpecificAction";
820 std::ostringstream convert;
822 return convert.str ();
830 return "PeerLinkOpen";
834 return "PeerLinkConfirm";
838 return "PeerLinkClose";
842 return "GroupKeyInform";
846 return "GroupKeyAck";
850 std::ostringstream convert;
852 return convert.str ();
902 static TypeId tid =
TypeId (
"ns3::MgtAddBaRequestHeader")
904 .SetGroupName (
"Wifi")
1011 return (
m_policy == 1) ?
true :
false;
1060 m_tid = (params >> 2) & 0x0f;
1072 : m_dialogToken (1),
1081 static TypeId tid =
TypeId (
"ns3::MgtAddBaResponseHeader")
1083 .SetGroupName (
"Wifi")
1098 os <<
"status code=" <<
m_code;
1191 return (
m_policy == 1) ?
true :
false;
1228 m_tid = (params >> 2) & 0x0f;
1249 .SetGroupName (
"Wifi")
1302 uint8_t tid =
static_cast<uint8_t
> (
m_tid);
1322 m_tid =
static_cast<uint16_t
> (tid);
1338 m_tid = (params >> 12) & 0x0f;
#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
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.