23 #ifndef LINK_MANAGER_H
24 #define LINK_MANAGER_H
29 #include "ns3/event-id.h"
BaseStation Link Manager.
uint8_t CalculateRangingOppsToAllocate(void)
Ptr< BaseStationNetDevice > m_bs
base station
void PerformInvitedRanging(Cid cid, RngRsp *rngrsp)
Perform inivted ranging function.
static TypeId GetTypeId(void)
Get the type ID.
BSLinkManager(Ptr< BaseStationNetDevice > bs)
Constructor.
void ProcessRangingRequest(Cid cid, RngReq rngreq)
process a ranging request message
void AbortRanging(Cid cid, RngRsp *rngrsp, SSRecord *ssRecord, bool isNewSS)
Abort ranging function.
uint8_t GetSignalQuality(void)
Get signal quality function.
void VerifyInvitedRanging(Cid cid, uint8_t uiuc)
Verifies at the end of an invited ranging interval if SS sent ranging message in it or not.
BSLinkManager(const BSLinkManager &)
copy constructor (disabled)
void DeallocateCids(Cid cid)
Deallocate CIDs function.
int tries
variable to test multiple RNG-REQ by the SS for example undecodable at BS or lost RNG-RSP
uint32_t GetNewDlChannel(void)
Get new DL channel function.
uint8_t m_signalQualityThreshold
signal quality threshold
void ScheduleRngRspMessage(Cid cid, RngRsp *rngrsp)
Schedule range response message function.
void PerformInitialRanging(Cid cid, RngReq *rngreq, RngRsp *rngrsp)
Perform initial ranging function.
BSLinkManager & operator=(const BSLinkManager &)
assignment operator (disabled)
void SetParametersToAdjust(RngRsp *rngrsp)
Set parameters to adjust function.
void ContinueRanging(Cid cid, RngRsp *rngrsp, SSRecord *ssRecord)
Continue ranging function.
uint64_t SelectDlChannel(void)
void AcceptRanging(Cid cid, RngRsp *rngrsp, SSRecord *ssRecord)
Accept ranging function.
void PerformRanging(Cid cid, RngReq rngreq)
Perform ranging function.
bool ChangeDlChannel(void)
Change DL channel function.
bool IsRangingAcceptable(void)
Is ranging acceptable function.
uint32_t m_signalQuality
signal quality
A base class which provides memory management and object aggregation.
Smart pointer class similar to boost::intrusive_ptr.
This class implements the ranging request message described by "IEEE Standard for Local and metropoli...
This class implements the ranging response message described by "IEEE Standard for Local and metropol...
This class is used by the base station to store some information related to subscriber station in the...
a unique identifier for an interface.
Every class exported by the ns3 library is enclosed in the ns3 namespace.