|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
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>
79 virtual void DoReportUlCqiInfo ( std::map <uint16_t, std::vector <double> > ulCqiMap );
80 virtual uint8_t
DoGetTpc (uint16_t rnti);
149 std::map< uint16_t, uint8_t >
m_ues;
LteFfrRrcSapProvider * m_ffrRrcSapProvider
FFR RRC SAP provider.
a unique identifier for an interface.
uint8_t m_edgeSubBandThreshold
edge subband threshold
void SetDownlinkConfiguration(uint16_t cellId, uint8_t bandwidth)
Set downlink configuration function.
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
virtual void DoInitialize()
Initialize() implementation.
Parameters of the SCHED_DL_CQI_INFO_REQ primitive.
uint8_t m_edgeAreaTpc
edge area tpc
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Parameters of the SCHED_UL_CQI_INFO_REQ primitive.
LteFfrSapProvider * m_ffrSapProvider
FFR SAP provider.
virtual void Reconfigure()
Automatic FR reconfiguration.
virtual void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults)
Implementation of LteFfrRrcSapProvider::ReportUeMeas.
uint8_t m_ulEdgeSubBandOffset
UL edge subband offset.
virtual void DoDispose()
Destructor implementation.
void SetUplinkConfiguration(uint16_t cellId, uint8_t bandwidth)
Set uplink configuration function.
std::vector< bool > m_dlMediumRbgMap
DL medium RBG map.
virtual void SetLteFfrSapUser(LteFfrSapUser *s)
Set the "user" part of the LteFfrSap interface that this frequency reuse algorithm instance will inte...
virtual bool DoIsDlRbgAvailableForUe(int i, uint16_t rnti)
Implementation of LteFfrSapProvider::IsDlRbgAvailableForUe.
virtual LteFfrRrcSapProvider * GetLteFfrRrcSapProvider()
Export the "provider" part of the LteFfrRrcSap interface.
virtual ~LteFfrSoftAlgorithm()
uint8_t m_edgeAreaPowerOffset
edge area power offset
uint8_t m_centerSubBandThreshold
center subband threshold
void InitializeDownlinkRbgMaps()
Initialize downlink RBG maps function.
Template for the implementation of the LteFfrRrcSapProvider as a member of an owner class of type C t...
virtual bool DoIsUlRbgAvailableForUe(int i, uint16_t rnti)
Implementation of LteFfrSapProvider::IsUlRbgAvailableForUe.
virtual std::vector< bool > DoGetAvailableUlRbg()
Implementation of LteFfrSapProvider::GetAvailableUlRbg.
uint8_t m_dlEdgeSubBandOffset
DL edge subband offset.
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
std::vector< bool > m_ulRbgMap
UL RBG map.
std::vector< bool > m_ulEdgeRbgMap
UL edge RBG map.
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...
Soft Fractional Frequency Reuse algorithm implementation.
virtual void DoReportDlCqiInfo(const struct FfMacSchedSapProvider::SchedDlCqiInfoReqParameters ¶ms)
DoReportDlCqiInfo.
static TypeId GetTypeId()
Get the type ID.
uint8_t m_ulEdgeSubBandwidth
UL edge subbandwidth.
uint8_t m_dlCommonSubBandwidth
DL common subbandwidth.
virtual void DoReportUlCqiInfo(const struct FfMacSchedSapProvider::SchedUlCqiInfoReqParameters ¶ms)
DoReportUlCqiInfo.
virtual uint16_t DoGetMinContinuousUlBandwidth()
DoGetMinContinuousUlBandwidth in number of RB.
UePosition
UE position enumeration.
uint8_t m_centerAreaTpc
center area tpc
uint8_t m_mediumAreaPowerOffset
medium area power offset
std::map< uint16_t, uint8_t > m_ues
UEs.
uint8_t m_centerAreaPowerOffset
center area power offset
std::vector< bool > m_ulCenterRbgMap
UL center RBG map.
std::vector< bool > m_dlEdgeRbgMap
DL edge RBG map.
std::vector< bool > m_dlRbgMap
DL RBG Map.
The abstract base class of a Frequency Reuse algorithm.
uint8_t m_dlEdgeSubBandwidth
DL edge subbandwidth.
std::vector< bool > m_dlCenterRbgMap
DL center RBG map.
uint8_t m_ulCommonSubBandwidth
UL common subbandwidth.
virtual void SetLteFfrRrcSapUser(LteFfrRrcSapUser *s)
Set the "user" part of the LteFfrRrcSap interface that this frequency reuse algorithm instance will i...
Template for the implementation of the LteFfrSapProvider as a member of an owner class of type C to w...
virtual void DoRecvLoadInformation(EpcX2Sap::LoadInformationParams params)
DoRecvLoadInformation.
virtual LteFfrSapProvider * GetLteFfrSapProvider()
Export the "provider" part of the LteFfrSap interface.
uint8_t m_measId
The expected measurement identity.
std::vector< bool > m_ulMediumRbgMap
UL medium RBG map.
void InitializeUplinkRbgMaps()
Initialize uplink RBG maps function.
LteFfrSoftAlgorithm()
Creates a trivial ffr algorithm instance.
uint8_t m_mediumAreaTpc
medium area tpc
Service Access Point (SAP) offered by the Frequency Reuse algorithm instance to the eNodeB RRC instan...
LteFfrSapUser * m_ffrSapUser
FFR SAP user.
virtual std::vector< bool > DoGetAvailableDlRbg()
Implementation of LteFfrSapProvider::GetAvailableDlRbg.
LteFfrRrcSapUser * m_ffrRrcSapUser
FFR RRC SAP user.