23 #include "ns3/simulator.h"
24 #include "ns3/assert.h"
82 static TypeId tid =
TypeId (
"ns3::MgtProbeRequestHeader")
84 .SetGroupName (
"Wifi")
97 os <<
"ssid=" <<
m_ssid <<
", "
183 static TypeId tid =
TypeId (
"ns3::MgtProbeResponseHeader")
185 .SetGroupName (
"Wifi")
213 os <<
"ssid=" <<
m_ssid <<
", "
263 : m_listenInterval (0)
314 static TypeId tid =
TypeId (
"ns3::MgtAssocRequestHeader")
316 .SetGroupName (
"Wifi")
341 os <<
"ssid=" <<
m_ssid <<
", "
417 static TypeId tid =
TypeId (
"ns3::MgtAssocResponseHeader")
419 .SetGroupName (
"Wifi")
445 os <<
"status code=" <<
m_code <<
", "
647 .SetGroupName (
"Wifi")
696 static TypeId tid =
TypeId (
"ns3::MgtAddBaRequestHeader")
698 .SetGroupName (
"Wifi")
798 return (
m_policy == 1) ?
true :
false;
853 m_tid = (params >> 2) & 0x0f;
873 static TypeId tid =
TypeId (
"ns3::MgtAddBaResponseHeader")
875 .SetGroupName (
"Wifi")
890 os <<
"status code=" <<
m_code;
983 return (
m_policy == 1) ?
true :
false;
1020 m_tid = (params >> 2) & 0x0f;
1040 .SetGroupName (
"Wifi")
1093 uint8_t tid =
static_cast<uint8_t
> (
m_tid);
1113 m_tid =
static_cast<uint16_t
> (tid);
1129 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)
Fatal error handling.
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
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.
The IEEE 802.11 SSID Information Element.
void WriteHtolsbU16(uint16_t data)
void WriteU8(uint8_t data)
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)