22 #ifndef LTE_FR_SOFT_ALGORITHM_H
23 #define LTE_FR_SOFT_ALGORITHM_H
25 #include <ns3/lte-ffr-algorithm.h>
26 #include <ns3/lte-ffr-sap.h>
27 #include <ns3/lte-ffr-rrc-sap.h>
28 #include <ns3/lte-rrc-sap.h>
75 virtual void DoReportUlCqiInfo ( std::map <uint16_t, std::vector <double> > ulCqiMap );
76 virtual uint8_t
DoGetTpc (uint16_t rnti);
118 std::map< uint16_t, uint8_t >
m_ues;
virtual void SetLteFfrRrcSapUser(LteFfrRrcSapUser *s)
Set the "user" part of the LteFfrRrcSap interface that this frequency reuse algorithm instance will i...
Service Access Point (SAP) offered by the Frequency Reuse algorithm instance to the eNodeB RRC instan...
Template for the implementation of the LteFfrRrcSapProvider as a member of an owner class of type C t...
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
virtual void SetLteFfrSapUser(LteFfrSapUser *s)
Set the "user" part of the LteFfrSap interface that this frequency reuse algorithm instance will inte...
void SetUplinkConfiguration(uint16_t cellId, uint8_t bandwidth)
virtual void DoReportDlCqiInfo(const struct FfMacSchedSapProvider::SchedDlCqiInfoReqParameters ¶ms)
DoReportDlCqiInfo.
void InitializeDownlinkRbgMaps()
void InitializeUplinkRbgMaps()
void SetDownlinkConfiguration(uint16_t cellId, uint8_t bandwidth)
virtual LteFfrRrcSapProvider * GetLteFfrRrcSapProvider()
Export the "provider" part of the LteFfrRrcSap interface.
LteFrSoftAlgorithm()
Creates a trivial ffr algorithm instance.
virtual uint8_t DoGetTpc(uint16_t rnti)
DoGetTpc for UE.
std::vector< uint16_t > m_egdeUes
LteFfrSapUser * m_ffrSapUser
uint8_t m_ulEdgeSubBandwidth
LteFfrRrcSapProvider * m_ffrRrcSapProvider
std::vector< bool > m_dlRbgMap
virtual std::vector< bool > DoGetAvailableUlRbg()
Implementation of LteFfrSapProvider::GetAvailableUlRbg.
Template for the implementation of the LteFfrSapProvider as a member of an owner class of type C to w...
LteFfrSapProvider * m_ffrSapProvider
LteFfrRrcSapUser * m_ffrRrcSapUser
static TypeId GetTypeId()
Service Access Point (SAP) offered by the Frequency Reuse algorithm instance to the MAC Scheduler ins...
virtual void Reconfigure()
Automatic FR reconfiguration.
virtual LteFfrSapProvider * GetLteFfrSapProvider()
Export the "provider" part of the LteFfrSap interface.
std::vector< bool > m_dlEdgeRbgMap
virtual ~LteFrSoftAlgorithm()
uint8_t m_edgePowerOffset
Every class exported by the ns3 library is enclosed in the ns3 namespace.
The abstract base class of a Frequency Reuse algorithm.
std::map< uint16_t, uint8_t > m_ues
virtual bool DoIsUlRbgAvailableForUe(int i, uint16_t rnti)
Implementation of LteFfrSapProvider::IsUlRbgAvailableForUe.
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
virtual void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults)
Implementation of LteFfrRrcSapProvider::ReportUeMeas.
Parameters of the SCHED_DL_CQI_INFO_REQ primitive.
Parameters of the SCHED_UL_CQI_INFO_REQ primitive.
std::vector< bool > m_ulEdgeRbgMap
virtual void DoInitialize()
Initialize() implementation.
uint8_t m_egdeSubBandThreshold
virtual std::vector< bool > DoGetAvailableDlRbg()
Implementation of LteFfrSapProvider::GetAvailableDlRbg.
bool m_isEdgeSubBandForCenterUe
virtual void DoDispose()
Destructor implementation.
uint8_t m_centerPowerOffset
virtual uint8_t DoGetMinContinuousUlBandwidth()
DoGetMinContinuousUlBandwidth in number of RB.
Soft Frequency Reuse algorithm implementation.
a unique identifier for an interface.
virtual void DoReportUlCqiInfo(const struct FfMacSchedSapProvider::SchedUlCqiInfoReqParameters ¶ms)
DoReportUlCqiInfo.
uint8_t m_dlEdgeSubBandwidth
std::vector< bool > m_ulRbgMap
uint8_t m_ulEgdeSubBandOffset
uint8_t m_dlEgdeSubBandOffset
virtual void DoRecvLoadInformation(EpcX2Sap::LoadInformationParams params)
DoRecvLoadInformation.
virtual bool DoIsDlRbgAvailableForUe(int i, uint16_t rnti)
Implementation of LteFfrSapProvider::IsDlRbgAvailableForUe.