Information element describing one unit of beacon timing element. More...
#include "ie-dot11s-beacon-timing.h"
Public Member Functions | |
IeBeaconTimingUnit () | |
uint8_t | GetAid () const |
Get AID value. More... | |
uint16_t | GetBeaconInterval () const |
Get beacon interval. More... | |
uint16_t | GetLastBeacon () const |
Get last beacon value. More... | |
void | SetAid (uint8_t aid) |
Set AID value. More... | |
void | SetBeaconInterval (uint16_t beaconInterval) |
Set beacon interval value. More... | |
void | SetLastBeacon (uint16_t lastBeacon) |
Set last beacon value. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< IeBeaconTimingUnit > | |
SimpleRefCount () | |
Default constructor. More... | |
SimpleRefCount (const SimpleRefCount &o[[maybe_unused]]) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount () const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o[[maybe_unused]]) |
Assignment operator. More... | |
void | Ref () const |
Increment the reference count. More... | |
void | Unref () const |
Decrement the reference count. More... | |
Private Attributes | |
uint8_t | m_aid |
Least significant octet of AID: More... | |
uint16_t | m_beaconInterval |
Beacon interval of remote mesh point. More... | |
uint16_t | m_lastBeacon |
Last time we received a beacon in accordance with a local TSF measured in 256 microseconds unit. More... | |
Friends | |
bool | operator== (const IeBeaconTimingUnit &a, const IeBeaconTimingUnit &b) |
equality operator More... | |
Information element describing one unit of beacon timing element.
Definition at line 36 of file ie-dot11s-beacon-timing.h.
ns3::dot11s::IeBeaconTimingUnit::IeBeaconTimingUnit | ( | ) |
Definition at line 31 of file ie-dot11s-beacon-timing.cc.
uint8_t ns3::dot11s::IeBeaconTimingUnit::GetAid | ( | ) | const |
Get AID value.
Definition at line 57 of file ie-dot11s-beacon-timing.cc.
References m_aid.
uint16_t ns3::dot11s::IeBeaconTimingUnit::GetBeaconInterval | ( | ) | const |
Get beacon interval.
Definition at line 69 of file ie-dot11s-beacon-timing.cc.
References m_beaconInterval.
uint16_t ns3::dot11s::IeBeaconTimingUnit::GetLastBeacon | ( | ) | const |
Get last beacon value.
Definition at line 63 of file ie-dot11s-beacon-timing.cc.
References m_lastBeacon.
void ns3::dot11s::IeBeaconTimingUnit::SetAid | ( | uint8_t | aid | ) |
Set AID value.
aid | the AID |
Definition at line 39 of file ie-dot11s-beacon-timing.cc.
References m_aid.
Referenced by ns3::dot11s::IeBeaconTiming::AddNeighboursTimingElementUnit(), and ns3::dot11s::IeBeaconTiming::DeserializeInformationField().
void ns3::dot11s::IeBeaconTimingUnit::SetBeaconInterval | ( | uint16_t | beaconInterval | ) |
Set beacon interval value.
beaconInterval | the beacon interval |
Definition at line 51 of file ie-dot11s-beacon-timing.cc.
References m_beaconInterval.
Referenced by ns3::dot11s::IeBeaconTiming::AddNeighboursTimingElementUnit(), and ns3::dot11s::IeBeaconTiming::DeserializeInformationField().
void ns3::dot11s::IeBeaconTimingUnit::SetLastBeacon | ( | uint16_t | lastBeacon | ) |
Set last beacon value.
lastBeacon | the last beacon |
Definition at line 45 of file ie-dot11s-beacon-timing.cc.
References m_lastBeacon.
Referenced by ns3::dot11s::IeBeaconTiming::AddNeighboursTimingElementUnit(), and ns3::dot11s::IeBeaconTiming::DeserializeInformationField().
|
friend |
equality operator
a | lhs |
b | rhs |
Definition at line 209 of file ie-dot11s-beacon-timing.cc.
|
private |
Least significant octet of AID:
Definition at line 74 of file ie-dot11s-beacon-timing.h.
|
private |
Beacon interval of remote mesh point.
Definition at line 79 of file ie-dot11s-beacon-timing.h.
Referenced by GetBeaconInterval(), and SetBeaconInterval().
|
private |
Last time we received a beacon in accordance with a local TSF measured in 256 microseconds unit.
Definition at line 77 of file ie-dot11s-beacon-timing.h.
Referenced by GetLastBeacon(), and SetLastBeacon().