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