23 #include "ns3/packet.h"
28 acceptPeerLinks (true), MCCASupported (false), MCCAEnabled (false), forwarding (true), beaconTimingReport (
29 true), TBTTAdjustment (true), powerSaveLevel (false)
93 uint16_t mask = 1 << n;
154 os <<
"MeshConfiguration=(neighbors=" << (uint16_t)
m_neighbors
155 <<
", Active Path Selection Protocol ID=" << (uint32_t)
m_APSPId
156 <<
", Active Path Selection Metric ID=" << (uint32_t)
m_APSMId
157 <<
", Congestion Control Mode ID=" << (uint32_t)
m_CCMId
158 <<
", Synchronize protocol ID=" << (uint32_t)
m_SPId
159 <<
", Authentication protocol ID=" << (uint32_t)
m_APId
iterator in a Buffer instance
void WriteU8(uint8_t data)
uint32_t GetDistanceFrom(Iterator const &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.
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.
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.