The Extended Supported Rates Information ElementThis class knows how to serialise and deserialise the Extended Supported Rates Element that holds (non-HT) rates beyond the 8 that the original Supported Rates element can carry. More...
#include <supported-rates.h>
Private Attributes | |
SupportedRates * | m_supportedRates |
Additional Inherited Members | |
![]() | |
static void | Cleanup (void) |
The Extended Supported Rates Information Element
This class knows how to serialise and deserialise the Extended Supported Rates Element that holds (non-HT) rates beyond the 8 that the original Supported Rates element can carry.
The SupportedRates
class still records all the rates, and an instance of ExtendedSupportedRatesIE
lies within SupportedRates
.
Definition at line 52 of file supported-rates.h.
ns3::ExtendedSupportedRatesIE::ExtendedSupportedRatesIE | ( | ) |
Definition at line 136 of file supported-rates.cc.
ns3::ExtendedSupportedRatesIE::ExtendedSupportedRatesIE | ( | SupportedRates * | rates | ) |
Definition at line 140 of file supported-rates.cc.
References m_supportedRates.
|
virtual |
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
Implements ns3::WifiInformationElement.
Definition at line 210 of file supported-rates.cc.
References ns3::SupportedRates::m_nRates, ns3::SupportedRates::m_rates, m_supportedRates, MAX_SUPPORTED_RATES, NS_ASSERT, and ns3::Buffer::Iterator::Read().
|
virtual |
Own unique Element ID.
Implements ns3::WifiInformationElement.
Definition at line 146 of file supported-rates.cc.
References IE_EXTENDED_SUPPORTED_RATES.
|
virtual |
Length of serialized information (i.e., the length of the body of the IE, not including the Element ID and length octets. This is the value that will appear in the second octet of the entire IE - the length field)
Implements ns3::WifiInformationElement.
Definition at line 152 of file supported-rates.cc.
References ns3::SupportedRates::m_nRates, m_supportedRates, and NS_ASSERT.
uint16_t ns3::ExtendedSupportedRatesIE::GetSerializedSize | ( | void | ) | const |
Definition at line 195 of file supported-rates.cc.
References ns3::WifiInformationElement::GetSerializedSize(), ns3::SupportedRates::m_nRates, and m_supportedRates.
Referenced by ns3::MgtAssocRequestHeader::GetSerializedSize(), ns3::dot11s::PeerLinkFrameStart::GetSerializedSize(), ns3::MgtAssocResponseHeader::GetSerializedSize(), ns3::MgtProbeRequestHeader::GetSerializedSize(), and ns3::MgtProbeResponseHeader::GetSerializedSize().
Buffer::Iterator ns3::ExtendedSupportedRatesIE::Serialize | ( | Buffer::Iterator | start | ) | const |
Definition at line 181 of file supported-rates.cc.
References ns3::SupportedRates::m_nRates, m_supportedRates, ns3::WifiInformationElement::Serialize(), and visualizer.core::start().
Referenced by ns3::MgtAssocRequestHeader::Serialize(), ns3::dot11s::PeerLinkFrameStart::Serialize(), ns3::MgtAssocResponseHeader::Serialize(), ns3::MgtProbeRequestHeader::Serialize(), and ns3::MgtProbeResponseHeader::Serialize().
|
virtual |
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
Implements ns3::WifiInformationElement.
Definition at line 167 of file supported-rates.cc.
References ns3::SupportedRates::m_nRates, ns3::SupportedRates::m_rates, m_supportedRates, NS_ASSERT, and ns3::Buffer::Iterator::Write().
|
private |
This member points to the SupportedRates object that contains the actual rate details. This class is a friend of that, so we have access to all the private data we need.
Definition at line 78 of file supported-rates.h.
Referenced by DeserializeInformationField(), ExtendedSupportedRatesIE(), GetInformationFieldSize(), GetSerializedSize(), Serialize(), and SerializeInformationField().