24 #include "ns3/simulator.h"
133 static TypeId tid =
TypeId (
"ns3::MgtProbeRequestHeader")
135 .SetGroupName (
"Wifi")
150 os <<
"ssid=" <<
m_ssid <<
", "
376 static TypeId tid =
TypeId (
"ns3::MgtProbeResponseHeader")
378 .SetGroupName (
"Wifi")
416 os <<
"ssid=" <<
m_ssid <<
", "
495 .SetGroupName (
"Wifi")
509 : m_listenInterval (0)
616 static TypeId tid =
TypeId (
"ns3::MgtAssocRequestHeader")
618 .SetGroupName (
"Wifi")
649 os <<
"ssid=" <<
m_ssid <<
", "
808 static TypeId tid =
TypeId (
"ns3::MgtReassocRequestHeader")
810 .SetGroupName (
"Wifi")
843 <<
"ssid=" <<
m_ssid <<
", "
1046 static TypeId tid =
TypeId (
"ns3::MgtAssocResponseHeader")
1048 .SetGroupName (
"Wifi")
1084 os <<
"status code=" <<
m_code <<
", "
1085 <<
"aid=" <<
m_aid <<
", "
1086 <<
"rates=" <<
m_rates <<
", "
1318 .SetGroupName (
"Wifi")
1337 else if (value ==
MESH)
1343 return "SelfProtected";
1347 return "VendorSpecificAction";
1351 std::ostringstream convert;
1353 return convert.str ();
1361 return "PeerLinkOpen";
1365 return "PeerLinkConfirm";
1369 return "PeerLinkClose";
1373 return "GroupKeyInform";
1377 return "GroupKeyAck";
1381 std::ostringstream convert;
1383 return convert.str ();
1424 : m_dialogToken (1),
1433 static TypeId tid =
TypeId (
"ns3::MgtAddBaRequestHeader")
1435 .SetGroupName (
"Wifi")
1542 return (
m_policy == 1) ?
true :
false;
1591 m_tid = (params >> 2) & 0x0f;
1603 : m_dialogToken (1),
1612 static TypeId tid =
TypeId (
"ns3::MgtAddBaResponseHeader")
1614 .SetGroupName (
"Wifi")
1629 os <<
"status code=" <<
m_code;
1722 return (
m_policy == 1) ?
true :
false;
1759 m_tid = (params >> 2) & 0x0f;
1780 .SetGroupName (
"Wifi")
1833 uint8_t tid =
static_cast<uint8_t
> (
m_tid);
1853 m_tid =
static_cast<uint16_t
> (tid);
1869 m_tid = (params >> 12) & 0x0f;
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
CategoryValue
CategoryValue enumeration.
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...
void ReadFrom(Buffer::Iterator &i, Ipv4Address &ad)
Read an Ipv4Address from a Buffer.
uint16_t GetSerializedSize() const
Return the serialized size of this supported rates information element.
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
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...
uint16_t GetSerializedSize() const
Return the serialized size of this extended capabilities information element.
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 a VHT 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)
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 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.
The HE Operation Information ElementThis class knows how to serialise and deserialise the HE Operatio...
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 HE Operations IE.
uint16_t GetSerializedSize() const
Return the serialized size of this VHT 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...