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