The Supported Rates Information Element. More...
#include <supported-rates.h>
Public Member Functions | |
void | AddSupportedRate (uint32_t bs) |
void | SetBasicRate (uint32_t bs) |
bool | IsSupportedRate (uint32_t bs) const |
bool | IsBasicRate (uint32_t bs) const |
uint8_t | GetNRates (void) const |
uint32_t | GetRate (uint8_t i) const |
WifiInformationElementId | ElementId () const |
Own unique Element ID. | |
uint8_t | GetInformationFieldSize () const |
void | SerializeInformationField (Buffer::Iterator start) const |
uint8_t | DeserializeInformationField (Buffer::Iterator start, uint8_t length) |
Public Attributes | |
ExtendedSupportedRatesIE | extended |
Friends | |
class | ExtendedSupportedRatesIE |
The Supported Rates Information Element.
This class knows how to serialise and deserialise the Supported Rates Element that holds the first 8 (non-HT) supported rates.
The ExtendedSupportedRatesIE
class (of which an instance exists in objects of this class) deals with rates beyond the first 8.
uint8_t ns3::SupportedRates::DeserializeInformationField | ( | Buffer::Iterator | start, | |
uint8_t | length | |||
) | [virtual] |
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
Implements ns3::WifiInformationElement.
uint8_t ns3::SupportedRates::GetInformationFieldSize | ( | ) | const [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.
void ns3::SupportedRates::SerializeInformationField | ( | Buffer::Iterator | start | ) | const [virtual] |
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
Implements ns3::WifiInformationElement.