A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::SSLinkManager Class Reference

this class implements the link manager of subscriber station net device. An ss link manager is responsible for link scanning and ranging More...

#include <ss-link-manager.h>

+ Inheritance diagram for ns3::SSLinkManager:

Public Member Functions

 SSLinkManager (Ptr< SubscriberStationNetDevice > ss)
 
void DoDispose (void)
 
EventId GetDlMapSyncTimeoutEvent (void)
 
bool GetRangingIntervalFound (void) const
 
void IncrementNrInvitedPollsRecvd (void)
 
bool IsUlChannelUsable (void)
 
void PerformBackoff (void)
 
void PerformRanging (Cid cid, RngRsp rngrsp)
 
void ScheduleScanningRestart (Time interval, SubscriberStationNetDevice::EventType eventType, bool deleteUlParameters, EventId &eventId)
 
void SendRangingRequest (uint8_t uiuc, uint16_t allocationSize)
 
void SetBsEirp (uint16_t bs_eirp)
 
void SetEirXPIrMax (uint16_t eir_x_p_ir_max)
 
void SetNrRangingTransOpps (uint8_t nrRangingTransOpps)
 
void SetRangingCW (uint8_t rangingCW)
 
void SetRangingIntervalFound (bool rangingIntervalFound)
 
void StartContentionResolution (void)
 
void StartScanning (SubscriberStationNetDevice::EventType type, bool deleteParameters)
 
- Public Member Functions inherited from ns3::Object
void AggregateObject (Ptr< Object > other)
 
void Dispose (void)
 
AggregateIterator GetAggregateIterator (void) const
 
virtual TypeId GetInstanceTypeId (void) const
 
template<typename T >
Ptr< T > GetObject (void) const
 
template<typename T >
Ptr< T > GetObject (TypeId tid) const
 
void Initialize (void)
 
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount (const SimpleRefCount &o)
 
uint32_t GetReferenceCount (void) const
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 
void Ref (void) const
 
void Unref (void) const
 
- Public Member Functions inherited from ns3::ObjectBase
void GetAttribute (std::string name, AttributeValue &value) const
 
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
 
void SetAttribute (std::string name, const AttributeValue &value)
 
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 

Static Public Member Functions

static TypeId GetTypeId (void)
 
- Static Public Member Functions inherited from ns3::Object
static TypeId GetTypeId (void)
 
- Static Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
static void Cleanup (void)
 
- Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId (void)
 

Private Member Functions

 SSLinkManager (const SSLinkManager &)
 
void AdjustRangingParameters (const RngRsp &rngrsp)
 
uint16_t CalculateMaxIRSignalStrength (void)
 
void DeleteUplinkParameters (void)
 
void EndScanning (bool status, uint64_t frequency)
 
uint16_t GetMinTransmitPowerLevel (void)
 
void IncreaseRangingRequestCW (void)
 
void NegotiateBasicCapabilities (void)
 
SSLinkManageroperator= (const SSLinkManager &)
 
void ResetRangingRequestCW (void)
 
bool SearchForDlChannel (uint8_t channel)
 
void SelectRandomBackoff (void)
 
void StartSynchronizing (void)
 

Private Attributes

uint16_t m_bsEirp
 
uint8_t m_contentionRangingRetries
 
uint8_t m_dlChnlNr
 
EventId m_dlMapSyncTimeoutEvent
 
uint16_t m_eirXPIrMax
 
uint64_t m_frequency
 
uint8_t m_initRangOppNumber
 
bool m_isBackoffSet
 
uint16_t m_nrInvitedPollsRecvd
 
uint8_t m_nrRangingTransOpps
 
uint16_t m_nrRngReqsSent
 
uint16_t m_nrRngRspsRecvd
 
uint16_t m_pTxIrMax
 
uint8_t m_rangingAnomalies
 
uint8_t m_rangingBO
 
uint8_t m_rangingCW
 
bool m_rangingIntervalFound
 
WimaxNetDevice::RangingStatus m_rangingStatus
 
RngReq m_rngreq
 
uint32_t m_rngReqFrameNumber
 
Ptr< SubscriberStationNetDevicem_ss
 
EventId m_waitForRngRspEvent
 

Additional Inherited Members

- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
 
virtual void DoInitialize (void)
 
virtual void NotifyNewAggregate (void)
 
- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 
virtual void NotifyConstructionCompleted (void)
 

Detailed Description

this class implements the link manager of subscriber station net device. An ss link manager is responsible for link scanning and ranging

Config Paths

ns3::SSLinkManager is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/LinkManager
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/LinkManager

No Attributes are defined for this type.
No TraceSources are defined for this type.

Definition at line 41 of file ss-link-manager.h.

Member Function Documentation

void ns3::SSLinkManager::DoDispose ( void  )
virtual

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

It is safe to call GetObject from within this method.

Reimplemented from ns3::Object.

Definition at line 78 of file ss-link-manager.cc.


The documentation for this class was generated from the following files: