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 << std::endl <<
"<information_element id=" <<
ElementId () <<
">" << std::endl;
155 os <<
"Number of neighbors: = " << (uint16_t)
m_neighbors
156 << std::endl <<
"Active Path Selection Protocol ID: = " << (uint32_t)
m_APSPId
157 << std::endl <<
"Active Path Selection Metric ID: = " << (uint32_t)
m_APSMId
158 << std::endl <<
"Congestion Control Mode ID: = " << (uint32_t)
m_CCMId
159 << std::endl <<
"Synchronize protocol ID: = " << (uint32_t)
m_SPId
160 << std::endl <<
"Authentication protocol ID: = " << (uint32_t)
m_APId
162 os <<
"</information_element>" << std::endl;
uint8_t GetSerializedSize() const
dot11sAuthenticationProtocol m_APId
Auth protocol 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) ...
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 WifiInformationElementId ElementId() const
Own unique Element ID.
Buffer::Iterator Serialize(Buffer::Iterator i) const
dot11sPathSelectionMetric m_APSMId
Active Path Metric ID.
bool operator==(const MeshHeader &a, const MeshHeader &b)
uint32_t GetDistanceFrom(Iterator const &o) const
iterator in a Buffer instance
dot11sPathSelectionProtocol m_APSPId
Active Path Selection Protocol ID.
dot11sCongestionControlMode m_CCMId
Congestion Control Mode ID.
virtual void Print(std::ostream &os) const
Generate human-readable form of IE.
dot11sPathSelectionProtocol
dot11sPathSelectionMetric
See 7.3.2.86.7 in 802.11s draft 3.0.
dot11sAuthenticationProtocol
Every class exported by the ns3 library is enclosed in the ns3 namespace.
bool Is(uint8_t cap, uint8_t n) const
Dot11sMeshCapability const & MeshCapability()
void SetMetric(dot11sPathSelectionMetric metricId)
uint8_t GetNeighborCount()
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)
Dot11sMeshCapability m_meshCap
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
dot11sSynchronizationProtocolIdentifier
Buffer::Iterator Deserialize(Buffer::Iterator i)
std::ostream & operator<<(std::ostream &os, const IeBeaconTiming &a)
void SetRouting(dot11sPathSelectionProtocol routingId)
dot11sCongestionControlMode
virtual uint8_t GetInformationFieldSize() const
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...