|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
23 #include "ns3/simulator.h"
24 #include "ns3/address-utils.h"
128 static TypeId tid =
TypeId (
"ns3::MgtProbeRequestHeader")
130 .SetGroupName (
"Wifi")
145 os <<
"ssid=" <<
m_ssid <<
", "
384 static TypeId tid =
TypeId (
"ns3::MgtProbeResponseHeader")
386 .SetGroupName (
"Wifi")
425 os <<
"ssid=" <<
m_ssid <<
", "
507 .SetGroupName (
"Wifi")
521 : m_listenInterval (0)
628 static TypeId tid =
TypeId (
"ns3::MgtAssocRequestHeader")
630 .SetGroupName (
"Wifi")
661 os <<
"ssid=" <<
m_ssid <<
", "
821 static TypeId tid =
TypeId (
"ns3::MgtReassocRequestHeader")
823 .SetGroupName (
"Wifi")
856 <<
"ssid=" <<
m_ssid <<
", "
1084 static TypeId tid =
TypeId (
"ns3::MgtAssocResponseHeader")
1086 .SetGroupName (
"Wifi")
1123 os <<
"status code=" <<
m_code <<
", "
1124 <<
"aid=" <<
m_aid <<
", "
1125 <<
"rates=" <<
m_rates <<
", "
1360 .SetGroupName (
"Wifi")
1379 else if (value ==
MESH)
1385 return "SelfProtected";
1389 return "VendorSpecificAction";
1393 std::ostringstream convert;
1395 return convert.str ();
1403 return "PeerLinkOpen";
1407 return "PeerLinkConfirm";
1411 return "PeerLinkClose";
1415 return "GroupKeyInform";
1419 return "GroupKeyAck";
1423 std::ostringstream convert;
1425 return convert.str ();
1466 : m_dialogToken (1),
1475 static TypeId tid =
TypeId (
"ns3::MgtAddBaRequestHeader")
1477 .SetGroupName (
"Wifi")
1584 return (
m_policy == 1) ? true :
false;
1633 m_tid = (params >> 2) & 0x0f;
1645 : m_dialogToken (1),
1654 static TypeId tid =
TypeId (
"ns3::MgtAddBaResponseHeader")
1656 .SetGroupName (
"Wifi")
1671 os <<
"status code=" <<
m_code;
1764 return (
m_policy == 1) ? true :
false;
1801 m_tid = (params >> 2) & 0x0f;
1822 .SetGroupName (
"Wifi")
1875 uint8_t tid =
static_cast<uint8_t
> (
m_tid);
1895 m_tid =
static_cast<uint16_t
> (tid);
1911 m_tid = (params >> 12) & 0x0f;
a unique identifier for an interface.
The IEEE 802.11ac VHT Capabilities.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
void WriteHtolsbU16(uint16_t data)
static Time Now(void)
Return the current simulation virtual time.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint32_t GetDistanceFrom(Iterator const &o) const
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
uint32_t GetSerializedSize(void) const
The IEEE 802.11ax HE Capabilities.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
void WriteU8(uint8_t data)
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
The IEEE 802.11 SSID Information Element.
The VHT Operation Information Element.
void WriteHtolsbU64(uint64_t data)
uint64_t ReadLsbtohU64(void)
The Supported Rates Information Element.
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
The HT Capabilities Information Element.
Buffer::Iterator Serialize(Buffer::Iterator start) const
Buffer::Iterator Deserialize(Buffer::Iterator start)
The HE Operation Information Element.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
Status code for association response.
uint16_t ReadLsbtohU16(void)
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 HE STA.
iterator in a Buffer instance
ExtendedSupportedRatesIE extended
extended supported rates info element
The Extended Capabilities Information Element.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
void WriteTo(Buffer::Iterator &i, Ipv4Address ad)
Write an Ipv4Address to a Buffer.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
The HT Operation Information Element.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
uint16_t GetSerializedSize() const
Return the serialized size of this EDCA Parameter Set.
Buffer::Iterator Serialize(Buffer::Iterator start) const override
Serialize entire IE including Element ID and length fields.
uint16_t GetSerializedSize() const override
Get the size of the serialized IE including Element ID and length fields.
The MU EDCA Parameter Set.
void ReadFrom(Buffer::Iterator &i, Ipv4Address &ad)
Read an Ipv4Address from a Buffer.