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