28 #ifndef A2_A4_RSRQ_HANDOVER_ALGORITHM_H    29 #define A2_A4_RSRQ_HANDOVER_ALGORITHM_H    31 #include <ns3/lte-handover-algorithm.h>    32 #include <ns3/lte-handover-management-sap.h>    33 #include <ns3/lte-rrc-sap.h>    34 #include <ns3/simple-ref-count.h> uint8_t m_rsrp
RSRP in quantized format. 
The abstract base class of a handover algorithm that operates using the Handover Management SAP inter...
uint16_t m_cellId
Cell ID. 
MeasurementTable_t m_neighbourCellMeasures
Table of measurement reports from all UEs. 
virtual void SetLteHandoverManagementSapUser(LteHandoverManagementSapUser *s)
Set the "user" part of the Handover Management SAP interface that this handover algorithm instance wi...
LteHandoverManagementSapProvider * m_handoverManagementSapProvider
Receive API calls from the eNodeB RRC instance. 
virtual LteHandoverManagementSapProvider * GetLteHandoverManagementSapProvider()
Export the "provider" part of the Handover Management SAP interface. 
A2A4RsrqHandoverAlgorithm()
Creates an A2-A4-RSRQ handover algorithm instance. 
uint8_t m_rsrq
RSRQ in quantized format. 
Handover algorithm implementation based on RSRQ measurements, Event A2 and Event A4. 
virtual ~A2A4RsrqHandoverAlgorithm()
uint8_t m_neighbourCellOffset
The NeighbourCellOffset attribute. 
bool IsValidNeighbour(uint16_t cellId)
Determines if a neighbour cell is a valid destination for handover. 
void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults)
Implementation of LteHandoverManagementSapProvider::ReportUeMeas. 
static TypeId GetTypeId()
Get the type ID. 
LteHandoverManagementSapUser * m_handoverManagementSapUser
Interface to the eNodeB RRC instance. 
virtual void DoInitialize()
Initialize() implementation. 
Template for the implementation of the LteHandoverManagementSapProvider as a member of an owner class...
std::map< uint16_t, MeasurementRow_t > MeasurementTable_t
Measurements reported by several UEs. 
uint8_t m_servingCellThreshold
The ServingCellThreshold attribute. 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
uint8_t m_a2MeasId
The expected measurement identity for A2 measurements. 
Service Access Point (SAP) offered by the handover algorithm instance to the eNodeB RRC instance...
void UpdateNeighbourMeasurements(uint16_t rnti, uint16_t cellId, uint8_t rsrq)
Called when Event A4 is reported, then update the measurements table. 
std::map< uint16_t, Ptr< UeMeasure > > MeasurementRow_t
Measurements reported by a UE for several cells. 
void EvaluateHandover(uint16_t rnti, uint8_t servingCellRsrq)
Called when Event A2 is detected, then trigger a handover if needed. 
uint8_t m_a4MeasId
The expected measurement identity for A4 measurements. 
virtual void DoDispose()
Destructor implementation. 
A template-based reference counting class. 
a unique identifier for an interface. 
Service Access Point (SAP) offered by the eNodeB RRC instance to the handover algorithm instance...
Measurements reported by a UE for a cell ID.