23 #include "ns3/packet.h"
31 : acceptPeerLinks(true),
35 beaconTimingReport(true),
109 uint16_t mask = 1 << n;
179 os <<
"MeshConfiguration=(neighbors=" << (uint16_t)
m_neighbors
180 <<
", Active Path Selection Protocol ID=" << (uint32_t)
m_APSPId
181 <<
", Active Path Selection Metric ID=" << (uint32_t)
m_APSMId
182 <<
", Congestion Control Mode ID=" << (uint32_t)
m_CCMId
183 <<
", Synchronize protocol ID=" << (uint32_t)
m_SPId
184 <<
", Authentication protocol ID=" << (uint32_t)
m_APId
iterator in a Buffer instance
void WriteU8(uint8_t data)
uint32_t GetDistanceFrom(const Iterator &o) const
A set of values indicating whether a mesh STA is a possible candidate for mesh peering establishment ...
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.
WifiInformationElementId ElementId() const override
Get the wifi information element ID.
void SerializeInformationField(Buffer::Iterator i) const override
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
Dot11sMeshCapability m_meshCap
Mesh capability.
void SetMetric(Dot11sPathSelectionMetric metricId)
Set metric value.
const Dot11sMeshCapability & MeshCapability()
Mesh capability.
Dot11sPathSelectionMetric m_APSMId
Active Path Metric ID.
Dot11sAuthenticationProtocol m_APId
Auth protocol ID.
uint16_t DeserializeInformationField(Buffer::Iterator i, uint16_t length) override
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
Dot11sCongestionControlMode m_CCMId
Congestion Control Mode ID.
Dot11sSynchronizationProtocolIdentifier m_SPId
Sync protocol ID.
Dot11sPathSelectionProtocol m_APSPId
Active Path Selection Protocol ID.
uint8_t GetNeighborCount() const
Get neighbor count.
uint8_t m_neighbors
neighbors
bool IsHWMP()
Is HWMP function.
void Print(std::ostream &os) const override
Generate human-readable form of IE.
uint16_t GetInformationFieldSize() const override
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
void SetRouting(Dot11sPathSelectionProtocol routingId)
Set routing value.
bool IsAirtime()
Is airtime function.
Dot11sCongestionControlMode
Dot11sPathSelectionProtocol
Dot11sPathSelectionMetric
Dot11sAuthenticationProtocol
Dot11sSynchronizationProtocolIdentifier
bool operator==(const MeshHeader &a, const MeshHeader &b)
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.