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