23 #ifndef MESH_CONFIGURATION_H
24 #define MESH_CONFIGURATION_H
26 #include "ns3/mesh-information-element-vector.h"
111 bool Is (uint8_t cap, uint8_t n)
const;
174 virtual void Print (std::ostream& os)
const;
iterator in a Buffer instance
A set of values indicating whether a mesh STA is a possible candidate for mesh peering establishment ...
friend bool operator==(const Dot11sMeshCapability &a, const Dot11sMeshCapability &b)
equality operator
uint8_t GetUint8() const
The Mesh Capability is expressed in terms of 8 single bit fields.
Buffer::Iterator Serialize(Buffer::Iterator i) const
Serialize to a buffer.
bool acceptPeerLinks
accept peer links
uint8_t GetSerializedSize() const
Size of the field in bytes when serialized.
bool powerSaveLevel
power save level
bool Is(uint8_t cap, uint8_t n) const
This is a utility function to test if the bit at position n is true.
bool forwarding
forwarding?
bool beaconTimingReport
beacon timing report
bool MCCAEnabled
MCCA enabled.
bool TBTTAdjustment
TBTT adjustment.
Buffer::Iterator Deserialize(Buffer::Iterator i)
Deserialize from a buffer.
bool MCCASupported
MCCA supported.
Describes Mesh Configuration Element see 7.3.2.86 of 802.11s draft 3.0.
void SetNeighborCount(uint8_t neighbors)
Set neighbor count.
void SetMetric(dot11sPathSelectionMetric metricId)
Set metric value.
Dot11sMeshCapability m_meshCap
Mesh capability.
dot11sAuthenticationProtocol m_APId
Auth protocol ID.
virtual uint8_t DeserializeInformationField(Buffer::Iterator i, uint8_t length)
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
virtual uint8_t GetInformationFieldSize() const
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
dot11sPathSelectionMetric m_APSMId
Active Path Metric ID.
virtual void SerializeInformationField(Buffer::Iterator i) const
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
Dot11sMeshCapability const & MeshCapability()
Mesh capability.
virtual WifiInformationElementId ElementId() const
dot11sCongestionControlMode m_CCMId
Congestion Control Mode ID.
dot11sPathSelectionProtocol m_APSPId
Active Path Selection Protocol ID.
virtual void Print(std::ostream &os) const
Generate human-readable form of IE.
void SetRouting(dot11sPathSelectionProtocol routingId)
Set routing value.
uint8_t m_neighbors
neighbors
uint8_t GetNeighborCount()
Get neighbor count.
dot11sSynchronizationProtocolIdentifier m_SPId
Sync protocol ID.
bool IsHWMP()
Is HWMP function.
friend bool operator==(const IeConfiguration &a, const IeConfiguration &b)
equality operator
bool IsAirtime()
Is airtime function.
dot11sPathSelectionProtocol
dot11sSynchronizationProtocolIdentifier
dot11sAuthenticationProtocol
bool operator==(const MeshHeader &a, const MeshHeader &b)
dot11sCongestionControlMode
dot11sPathSelectionMetric
std::ostream & operator<<(std::ostream &os, const IeBeaconTiming &a)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.