|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
122 .AddAttribute (
"UlSubBandOffset",
123 "Uplink Offset in number of Resource Block Groups",
126 MakeUintegerChecker<uint8_t> ())
127 .AddAttribute (
"UlSubBandwidth",
128 "Uplink Transmission SubBandwidth Configuration in number of Resource Block Groups",
131 MakeUintegerChecker<uint8_t> ())
132 .AddAttribute (
"DlSubBandOffset",
133 "Downlink Offset in number of Resource Block Groups",
136 MakeUintegerChecker<uint8_t> ())
137 .AddAttribute (
"DlSubBandwidth",
138 "Downlink Transmission SubBandwidth Configuration in number of Resource Block Groups",
141 MakeUintegerChecker<uint8_t> ())
250 "(DlOffset+DlSubBand) higher than DlBandwidth");
275 "(UlOffset+UlSubBand) higher than UlBandwidth");
338 NS_LOG_WARN (
"Method should not be called, because it is empty");
345 NS_LOG_WARN (
"Method should not be called, because it is empty");
352 NS_LOG_WARN (
"Method should not be called, because it is empty");
380 NS_LOG_WARN (
"Method should not be called, because it is empty");
387 NS_LOG_WARN (
"Method should not be called, because it is empty");
a unique identifier for an interface.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
uint8_t m_dlSubBand
DL subband.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
Hard Frequency Reuse algorithm implementation which uses only 1 sub-band.
virtual void DoReportDlCqiInfo(const struct FfMacSchedSapProvider::SchedDlCqiInfoReqParameters ¶ms)
DoReportDlCqiInfo.
uint8_t m_ulBandwidth
UL bandwidth.
FrHardUplinkDefaultConfiguration structure.
const uint16_t NUM_UPLINK_CONFS(sizeof(g_ffrEnhancedUplinkDefaultConfiguration)/sizeof(FfrEnhancedUplinkDefaultConfiguration))
virtual std::vector< bool > DoGetAvailableUlRbg()
Implementation of LteFfrSapProvider::GetAvailableUlRbg.
Parameters of the SCHED_DL_CQI_INFO_REQ primitive.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t m_ulSubBand
UL subband.
Parameters of the SCHED_UL_CQI_INFO_REQ primitive.
virtual bool DoIsDlRbgAvailableForUe(int i, uint16_t rnti)
Implementation of LteFfrSapProvider::IsDlRbgAvailableForUe.
LteFfrSapProvider * m_ffrSapProvider
FFR SAP provider.
#define NS_LOG_WARN(msg)
Use NS_LOG to output a message of level LOG_WARN.
virtual uint8_t DoGetTpc(uint16_t rnti)
DoGetTpc for UE.
virtual void DoReportUeMeas(uint16_t rnti, LteRrcSap::MeasResults measResults)
Implementation of LteFfrRrcSapProvider::ReportUeMeas.
LteFfrRrcSapUser * m_ffrRrcSapUser
FFR RRC SAP user.
virtual void SetLteFfrRrcSapUser(LteFfrRrcSapUser *s)
Set the "user" part of the LteFfrRrcSap interface that this frequency reuse algorithm instance will i...
virtual std::vector< bool > DoGetAvailableDlRbg()
Implementation of LteFfrSapProvider::GetAvailableDlRbg.
uint8_t m_dlOffset
DL offset.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
virtual LteFfrSapProvider * GetLteFfrSapProvider()
Export the "provider" part of the LteFfrSap interface.
bool m_needReconfiguration
If true FR algorithm will be reconfigured.
virtual void DoRecvLoadInformation(EpcX2Sap::LoadInformationParams params)
DoRecvLoadInformation.
uint8_t m_ulBandwidth
uplink bandwidth in RBs
virtual LteFfrRrcSapProvider * GetLteFfrRrcSapProvider()
Export the "provider" part of the LteFfrRrcSap interface.
virtual bool DoIsUlRbgAvailableForUe(int i, uint16_t rnti)
Implementation of LteFfrSapProvider::IsUlRbgAvailableForUe.
void InitializeUplinkRbgMaps()
Initialize uplink rbg maps.
uint8_t m_ulSubBand
UL subband.
uint8_t m_dlBandwidth
DL bandwidth.
virtual uint16_t DoGetMinContinuousUlBandwidth()
DoGetMinContinuousUlBandwidth in number of RB.
uint8_t m_dlOffset
DL offset.
void SetDownlinkConfiguration(uint16_t cellId, uint8_t bandwidth)
Set downlink configuration.
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
std::vector< bool > m_ulRbgMap
UL RBG Map.
FrHardDownlinkDefaultConfiguration structure.
const uint16_t NUM_DOWNLINK_CONFS(sizeof(g_ffrEnhancedDownlinkDefaultConfiguration)/sizeof(FfrEnhancedDownlinkDefaultConfiguration))
uint8_t m_frCellTypeId
FFR cell type ID for automatic configuration.
Service Access Point (SAP) offered by the Frequency Reuse algorithm instance to the MAC Scheduler ins...
virtual void DoInitialize()
Initialize() implementation.
virtual void DoReportUlCqiInfo(const struct FfMacSchedSapProvider::SchedUlCqiInfoReqParameters ¶ms)
DoReportUlCqiInfo.
uint8_t m_dlBandwidth
downlink bandwidth in RBs
uint8_t m_ulOffset
UL offset.
uint8_t m_dlSubBand
DL subband.
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)
Set uplink configuration.
#define NS_ASSERT_MSG(condition, message)
At runtime, in debugging builds, if this condition is not true, the program prints the message to out...
virtual void DoInitialize(void)
Initialize() implementation.
static const struct ns3::FrHardDownlinkDefaultConfiguration g_frHardDownlinkDefaultConfiguration[]
the hard downlink default configuration
LteFrHardAlgorithm()
Creates a trivial ffr algorithm instance.
static const struct ns3::FrHardUplinkDefaultConfiguration g_frHardUplinkDefaultConfiguration[]
the hard uplink default configuration
virtual void Reconfigure()
Automatic FR reconfiguration.
virtual void DoDispose()
Destructor implementation.
friend class MemberLteFfrRrcSapProvider< LteFrHardAlgorithm >
let the forwarder class access the protected and private members
int GetRbgSize(int dlbandwidth)
Get RBG size for DL Bandwidth according to table 7.1.6.1-1 of 36.213.
The abstract base class of a Frequency Reuse algorithm.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
Hold an unsigned integer type.
virtual ~LteFrHardAlgorithm()
LteFfrSapUser * m_ffrSapUser
FFR SAP user.
bool m_enabledInUplink
If true FR algorithm will also work in Uplink.
void InitializeDownlinkRbgMaps()
Initialize downlink rbg maps.
Ptr< const AttributeAccessor > MakeUintegerAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method.
uint8_t m_ulOffset
Ul offset.
friend class MemberLteFfrSapProvider< LteFrHardAlgorithm >
let the forwarder class access the protected and private members
Service Access Point (SAP) offered by the Frequency Reuse algorithm instance to the eNodeB RRC instan...
LteFfrRrcSapProvider * m_ffrRrcSapProvider
FFR RRC SAP provider.
std::vector< bool > m_dlRbgMap
DL RBG Map.
static TypeId GetTypeId()
Get the type ID.