22 #ifndef LTE_FFR_SOFT_ALGORITHM_H
23 #define LTE_FFR_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);
126 std::map< uint16_t, uint8_t >
m_ues;
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...
std::vector< bool > m_ulEdgeRbgMap
std::vector< bool > m_dlCenterRbgMap
void InitializeDownlinkRbgMaps()
uint8_t m_ulCommonSubBandwidth
void InitializeUplinkRbgMaps()
virtual LteFfrSapProvider * GetLteFfrSapProvider()
Export the "provider" part of the LteFfrSap interface.
virtual bool DoIsUlRbgAvailableForUe(int i, uint16_t rnti)
Implementation of LteFfrSapProvider::IsUlRbgAvailableForUe.
uint8_t m_dlEdgeSubBandwidth
virtual void DoRecvLoadInformation(EpcX2Sap::LoadInformationParams params)
DoRecvLoadInformation.
virtual void SetLteFfrRrcSapUser(LteFfrRrcSapUser *s)
Set the "user" part of the LteFfrRrcSap interface that this frequency reuse algorithm instance will i...
virtual bool DoIsDlRbgAvailableForUe(int i, uint16_t rnti)
Implementation of LteFfrSapProvider::IsDlRbgAvailableForUe.
virtual void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults)
Implementation of LteFfrRrcSapProvider::ReportUeMeas.
uint8_t m_centerSubBandThreshold
std::vector< bool > m_ulCenterRbgMap
Template for the implementation of the LteFfrSapProvider as a member of an owner class of type C to w...
uint8_t m_centerAreaPowerOffset
virtual uint8_t DoGetTpc(uint16_t rnti)
DoGetTpc for UE.
Service Access Point (SAP) offered by the Frequency Reuse algorithm instance to the MAC Scheduler ins...
std::vector< bool > m_ulRbgMap
Soft Fractional Frequency Reuse algorithm implementation.
std::vector< bool > m_dlRbgMap
std::vector< bool > m_dlEdgeRbgMap
uint8_t m_dlEgdeSubBandOffset
std::vector< bool > m_ulMediumRbgMap
virtual void DoReportDlCqiInfo(const struct FfMacSchedSapProvider::SchedDlCqiInfoReqParameters ¶ms)
DoReportDlCqiInfo.
uint8_t m_dlCommonSubBandwidth
virtual LteFfrRrcSapProvider * GetLteFfrRrcSapProvider()
Export the "provider" part of the LteFfrRrcSap interface.
virtual void Reconfigure()
Automatic FR reconfiguration.
LteFfrSapUser * m_ffrSapUser
virtual std::vector< bool > DoGetAvailableUlRbg()
Implementation of LteFfrSapProvider::GetAvailableUlRbg.
The abstract base class of a Frequency Reuse algorithm.
uint8_t m_edgeAreaPowerOffset
virtual std::vector< bool > DoGetAvailableDlRbg()
Implementation of LteFfrSapProvider::GetAvailableDlRbg.
virtual void DoInitialize()
Initialize() implementation.
std::map< uint16_t, uint8_t > m_ues
virtual ~LteFfrSoftAlgorithm()
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
virtual void DoReportUlCqiInfo(const struct FfMacSchedSapProvider::SchedUlCqiInfoReqParameters ¶ms)
DoReportUlCqiInfo.
Parameters of the SCHED_DL_CQI_INFO_REQ primitive.
void SetUplinkConfiguration(uint16_t cellId, uint8_t bandwidth)
uint8_t m_egdeSubBandThreshold
Parameters of the SCHED_UL_CQI_INFO_REQ primitive.
void SetDownlinkConfiguration(uint16_t cellId, uint8_t bandwidth)
virtual void SetLteFfrSapUser(LteFfrSapUser *s)
Set the "user" part of the LteFfrSap interface that this frequency reuse algorithm instance will inte...
uint8_t m_ulEgdeSubBandOffset
virtual void DoDispose()
Destructor implementation.
std::vector< bool > m_dlMediumRbgMap
LteFfrRrcSapProvider * m_ffrRrcSapProvider
static TypeId GetTypeId()
LteFfrSapProvider * m_ffrSapProvider
virtual uint8_t DoGetMinContinuousUlBandwidth()
DoGetMinContinuousUlBandwidth in number of RB.
uint8_t m_ulEdgeSubBandwidth
uint8_t m_mediumAreaPowerOffset
a unique identifier for an interface.
LteFfrRrcSapUser * m_ffrRrcSapUser
LteFfrSoftAlgorithm()
Creates a trivial ffr algorithm instance.