ns-3
|
Describes Mesh Configuration Element see 7.3.2.86 of 802.11s draft 3.0. More...
#include <ie-dot11s-configuration.h>
Public Member Functions | |
void | SetRouting (dot11sPathSelectionProtocol routingId) |
void | SetMetric (dot11sPathSelectionMetric metricId) |
bool | IsHWMP () |
bool | IsAirtime () |
void | SetNeighborCount (uint8_t neighbors) |
uint8_t | GetNeighborCount () |
Dot11sMeshCapability const & | MeshCapability () |
Inherited from WifiInformationElement | |
virtual WifiInformationElementId | ElementId () const |
Own unique Element ID. | |
virtual uint8_t | GetInformationFieldSize () const |
virtual void | SerializeInformationField (Buffer::Iterator i) const |
virtual uint8_t | DeserializeInformationField (Buffer::Iterator i, uint8_t length) |
virtual void | Print (std::ostream &os) const |
In addition, a subclass may optionally override the following... | |
![]() | |
Buffer::Iterator | Serialize (Buffer::Iterator i) const |
Serialize entire IE including Element ID and length fields. | |
Buffer::Iterator | Deserialize (Buffer::Iterator i) |
Buffer::Iterator | DeserializeIfPresent (Buffer::Iterator i) |
uint16_t | GetSerializedSize () const |
virtual bool | operator< (WifiInformationElement const &a) const |
Compare information elements using Element ID. | |
virtual bool | operator== (WifiInformationElement const &a) const |
![]() | |
SimpleRefCount (const SimpleRefCount &o) | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
uint32_t | GetReferenceCount (void) const |
Friends | |
bool | operator== (const IeConfiguration &a, const IeConfiguration &b) |
Describes Mesh Configuration Element see 7.3.2.86 of 802.11s draft 3.0.
|
virtual |
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
Implements ns3::WifiInformationElement.
References ns3::Buffer::Iterator::GetDistanceFrom(), NS_FATAL_ERROR, ns3::Buffer::Iterator::ReadLsbtohU32(), and ns3::Buffer::Iterator::ReadU8().
Referenced by ns3::dot11s::PeerLinkFrameStart::Deserialize().
|
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.
Referenced by ns3::dot11s::PeerLinkFrameStart::Deserialize(), and ns3::dot11s::PeerLinkFrameStart::GetSerializedSize().
|
virtual |
In addition, a subclass may optionally override the following...
Generate human-readable form of IE
Reimplemented from ns3::WifiInformationElement.
References ElementId().
Referenced by ns3::dot11s::PeerLinkFrameStart::Print().
|
virtual |
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
Implements ns3::WifiInformationElement.
References ns3::Buffer::Iterator::WriteHtolsbU32(), and ns3::Buffer::Iterator::WriteU8().