23 #ifndef LINK_MANAGER_H
24 #define LINK_MANAGER_H
29 #include "ns3/event-id.h"
32 #include "ns3/nstime.h"
108 bool deleteParameters);
133 bool deleteUlParameters,
EventId &eventId);
148 void EndScanning (
bool status, uint64_t frequency);
An identifier for simulation events.
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 implements the link manager of subscriber station net device.
void SetEirXPIrMax(uint16_t eir_x_p_ir_max)
Set EIRX IR maximum.
void AdjustRangingParameters(const RngRsp &rngrsp)
Adjust ranging parameters.
SSLinkManager & operator=(const SSLinkManager &)
assignment operator
void DeleteUplinkParameters(void)
Delete uplink parameters.
uint8_t m_rangingBO
ranging BO
void SetBsEirp(uint16_t bs_eirp)
Set BS EIRP.
uint16_t CalculateMaxIRSignalStrength(void)
Calculate maximum IR signal strength.
uint8_t m_initRangOppNumber
Initial Ranging opportunity (1–255) in which SS transmitted the RNG_REQ.
uint16_t GetMinTransmitPowerLevel(void)
Get minimum transmit power level.
EventId m_dlMapSyncTimeoutEvent
DL map sync timeout event.
uint16_t m_nrRngReqsSent
number rang requests sent
void SetRangingIntervalFound(bool rangingIntervalFound)
Set ranging interval found.
uint16_t m_pTxIrMax
maximum transmit signal strength for initial ranging calculated by SS
uint16_t m_nrInvitedPollsRecvd
number invited polls received
void EndScanning(bool status, uint64_t frequency)
End scanning.
SSLinkManager(const SSLinkManager &)
type conversion operator
RngReq m_rngreq
rng request
void PerformBackoff(void)
Perform backoff.
Ptr< SubscriberStationNetDevice > m_ss
subscriber station device
uint8_t m_contentionRangingRetries
contention ranging retries
void IncrementNrInvitedPollsRecvd(void)
Increment NR invited polls received.
void ScheduleScanningRestart(Time interval, SubscriberStationNetDevice::EventType eventType, bool deleteUlParameters, EventId &eventId)
Schedule scanning request.
uint16_t m_nrRngRspsRecvd
number rang responses received
EventId GetDlMapSyncTimeoutEvent(void)
Get DL map sync timeput event.
uint8_t m_nrRangingTransOpps
number ranging trans opps
void SendRangingRequest(uint8_t uiuc, uint16_t allocationSize)
Send ranging request.
void IncreaseRangingRequestCW(void)
Increase rnaging request CW.
void StartContentionResolution(void)
Start contention resolution.
EventId m_waitForRngRspEvent
wait for rang response event
uint16_t m_eirXPIrMax
initial ranging maximum equivalent isotropic received power at BS
void SelectRandomBackoff(void)
Select random backoff.
bool GetRangingIntervalFound(void) const
Get ranging interval found.
uint64_t m_frequency
frequency on which it is currently operating, i.e., where scanning was successful
void SetNrRangingTransOpps(uint8_t nrRangingTransOpps)
Ser NR ranging trans opps.
uint8_t m_rangingCW
ranging CW
bool IsUlChannelUsable(void)
Is UL channel usable.
void ResetRangingRequestCW(void)
Reset ranging request CW.
uint32_t m_rngReqFrameNumber
frame number in which SS sent RNG_REQ message
uint16_t m_bsEirp
BS EIRP.
bool m_isBackoffSet
is backoff set
uint8_t m_dlChnlNr
indicates the channel/frequency currently the SS is scanning
void DoDispose(void)
Destructor implementation.
bool SearchForDlChannel(uint8_t channel)
Search for DL channel.
void PerformRanging(Cid cid, RngRsp rngrsp)
Perform ranging.
static TypeId GetTypeId(void)
Get the type ID.
void NegotiateBasicCapabilities(void)
Negotiate basic capabilities.
WimaxNetDevice::RangingStatus m_rangingStatus
ranging status
void StartSynchronizing(void)
Start synchronizing.
void StartScanning(SubscriberStationNetDevice::EventType type, bool deleteParameters)
Start scanning.
uint8_t m_rangingAnomalies
ranging anomalies
bool m_rangingIntervalFound
ranging interval found
SSLinkManager(Ptr< SubscriberStationNetDevice > ss)
Constructor.
void SetRangingCW(uint8_t rangingCW)
Set ranging CW.
EventType
EventType enumeration.
Simulation virtual time values and global simulation resolution.
a unique identifier for an interface.
RangingStatus
RangingStatus enumeration.
Every class exported by the ns3 library is enclosed in the ns3 namespace.