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. More... | |
uint8_t | GetSerializedSize () const |
Size of the field in bytes when serialized. More... | |
uint8_t | GetUint8 () const |
The Mesh Capability is expressed in terms of 8 single bit fields. More... | |
bool | Is (uint8_t cap, uint8_t n) const |
This is a utility function to test if the bit at position n is true. More... | |
Buffer::Iterator | Serialize (Buffer::Iterator i) const |
Serialize to a buffer. More... | |
Public Attributes | |
bool | acceptPeerLinks |
accept peer links More... | |
bool | beaconTimingReport |
beacon timing report More... | |
bool | forwarding |
forwarding? More... | |
bool | MCCAEnabled |
MCCA enabled. More... | |
bool | MCCASupported |
MCCA supported. More... | |
bool | powerSaveLevel |
power save level More... | |
bool | TBTTAdjustment |
TBTT adjustment. More... | |
Friends | |
bool | operator== (const Dot11sMeshCapability &a, const Dot11sMeshCapability &b) |
equality operator More... | |
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 73 of file ie-dot11s-configuration.h.
ns3::dot11s::Dot11sMeshCapability::Dot11sMeshCapability | ( | ) |
Definition at line 30 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 93 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 42 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 48 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 107 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 86 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 232 of file ie-dot11s-configuration.cc.
bool ns3::dot11s::Dot11sMeshCapability::acceptPeerLinks |
accept peer links
Definition at line 100 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().
bool ns3::dot11s::Dot11sMeshCapability::beaconTimingReport |
beacon timing report
Definition at line 104 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().
bool ns3::dot11s::Dot11sMeshCapability::forwarding |
forwarding?
Definition at line 103 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().
bool ns3::dot11s::Dot11sMeshCapability::MCCAEnabled |
MCCA enabled.
Definition at line 102 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().
bool ns3::dot11s::Dot11sMeshCapability::MCCASupported |
MCCA supported.
Definition at line 101 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().
bool ns3::dot11s::Dot11sMeshCapability::powerSaveLevel |
power save level
Definition at line 106 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().
bool ns3::dot11s::Dot11sMeshCapability::TBTTAdjustment |
TBTT adjustment.
Definition at line 105 of file ie-dot11s-configuration.h.
Referenced by Deserialize(), and GetUint8().