A set of values indicating whether a mesh STA is a possible candidate for mesh peering establishment (Section 8.4.2.100.8 of IEEE 802.11-2012) More...
#include "ie-dot11s-configuration.h"
Public Member Functions | |
Dot11sMeshCapability () | |
Buffer::Iterator | Deserialize (Buffer::Iterator i) |
Deserialize from a buffer. | |
uint8_t | GetSerializedSize () const |
Size of the field in bytes when serialized. | |
uint8_t | GetUint8 () const |
The Mesh Capability is expressed in terms of 8 single bit fields. | |
bool | Is (uint8_t cap, uint8_t n) const |
This is a utility function to test if the bit at position n is true. | |
Buffer::Iterator | Serialize (Buffer::Iterator i) const |
Serialize to a buffer. | |
Public Attributes | |
bool | acceptPeerLinks |
accept peer links | |
bool | beaconTimingReport |
beacon timing report | |
bool | forwarding |
forwarding? | |
bool | MCCAEnabled |
MCCA enabled. | |
bool | MCCASupported |
MCCA supported. | |
bool | powerSaveLevel |
power save level | |
bool | TBTTAdjustment |
TBTT adjustment. | |
Friends | |
bool | operator== (const Dot11sMeshCapability &a, const Dot11sMeshCapability &b) |
equality operator | |
A set of values indicating whether a mesh STA is a possible candidate for mesh peering establishment (Section 8.4.2.100.8 of IEEE 802.11-2012)
Definition at line 62 of file ie-dot11s-configuration.h.
ns3::dot11s::Dot11sMeshCapability::Dot11sMeshCapability | ( | ) |
Definition at line 19 of file ie-dot11s-configuration.cc.
Buffer::Iterator ns3::dot11s::Dot11sMeshCapability::Deserialize | ( | Buffer::Iterator | i | ) |
Deserialize from a buffer.
i | the iterator from which to deserialize |
Definition at line 82 of file ie-dot11s-configuration.cc.
References acceptPeerLinks, beaconTimingReport, forwarding, Is(), MCCAEnabled, MCCASupported, powerSaveLevel, ns3::Buffer::Iterator::ReadU8(), and TBTTAdjustment.
Referenced by ns3::dot11s::IeConfiguration::DeserializeInformationField().
uint8_t ns3::dot11s::Dot11sMeshCapability::GetSerializedSize | ( | ) | const |
Size of the field in bytes when serialized.
Definition at line 31 of file ie-dot11s-configuration.cc.
Referenced by ns3::dot11s::IeConfiguration::GetInformationFieldSize().
uint8_t ns3::dot11s::Dot11sMeshCapability::GetUint8 | ( | ) | const |
The Mesh Capability is expressed in terms of 8 single bit fields.
This method returns the whole byte.
Definition at line 37 of file ie-dot11s-configuration.cc.
References acceptPeerLinks, beaconTimingReport, forwarding, MCCAEnabled, MCCASupported, powerSaveLevel, and TBTTAdjustment.
Referenced by ns3::dot11s::IeConfiguration::Print(), and Serialize().
bool ns3::dot11s::Dot11sMeshCapability::Is | ( | uint8_t | cap, |
uint8_t | n ) const |
This is a utility function to test if the bit at position n is true.
cap | byte to test |
n | bit number to mask |
Definition at line 96 of file ie-dot11s-configuration.cc.
Referenced by Deserialize().
Buffer::Iterator ns3::dot11s::Dot11sMeshCapability::Serialize | ( | Buffer::Iterator | i | ) | const |
Serialize to a buffer.
i | the iterator of the buffer to serialize to |
Definition at line 75 of file ie-dot11s-configuration.cc.
References GetUint8(), and ns3::Buffer::Iterator::WriteU8().
Referenced by ns3::dot11s::IeConfiguration::SerializeInformationField().
|
friend |
equality operator
a | lhs |
b | rhs |
Definition at line 221 of file ie-dot11s-configuration.cc.
bool ns3::dot11s::Dot11sMeshCapability::acceptPeerLinks |
accept peer links
Definition at line 89 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().
bool ns3::dot11s::Dot11sMeshCapability::beaconTimingReport |
beacon timing report
Definition at line 93 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().
bool ns3::dot11s::Dot11sMeshCapability::forwarding |
forwarding?
Definition at line 92 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().
bool ns3::dot11s::Dot11sMeshCapability::MCCAEnabled |
MCCA enabled.
Definition at line 91 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().
bool ns3::dot11s::Dot11sMeshCapability::MCCASupported |
MCCA supported.
Definition at line 90 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().
bool ns3::dot11s::Dot11sMeshCapability::powerSaveLevel |
power save level
Definition at line 95 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().
bool ns3::dot11s::Dot11sMeshCapability::TBTTAdjustment |
TBTT adjustment.
Definition at line 94 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().