Implements the SCHED SAP and CSCHED SAP for a Frequency Domain Blind Equal Throughput scheduler. More...
#include "fdbet-ff-mac-scheduler.h"
Public Member Functions | |
FdBetFfMacScheduler () | |
Constructor. | |
~FdBetFfMacScheduler () override | |
Destructor. | |
void | DoDispose () override |
Destructor implementation. | |
FfMacCschedSapProvider * | GetFfMacCschedSapProvider () override |
FfMacSchedSapProvider * | GetFfMacSchedSapProvider () override |
LteFfrSapUser * | GetLteFfrSapUser () override |
void | SetFfMacCschedSapUser (FfMacCschedSapUser *s) override |
set the user part of the FfMacCschedSap that this Scheduler will interact with. | |
void | SetFfMacSchedSapUser (FfMacSchedSapUser *s) override |
set the user part of the FfMacSchedSap that this Scheduler will interact with. | |
void | SetLteFfrSapProvider (LteFfrSapProvider *s) override |
Set the Provider part of the LteFfrSap that this Scheduler will interact with. | |
void | TransmissionModeConfigurationUpdate (uint16_t rnti, uint8_t txMode) |
Transmission mode configuration update function. | |
Public Member Functions inherited from ns3::FfMacScheduler | |
FfMacScheduler () | |
constructor | |
~FfMacScheduler () override | |
destructor | |
void | DoDispose () override |
Destructor implementation. | |
Public Member Functions inherited from ns3::Object | |
Object () | |
Constructor. | |
~Object () override | |
Destructor. | |
void | AggregateObject (Ptr< Object > other) |
Aggregate two Objects together. | |
void | Dispose () |
Dispose of this Object. | |
AggregateIterator | GetAggregateIterator () const |
Get an iterator to the Objects aggregated to this one. | |
TypeId | GetInstanceTypeId () const override |
Get the most derived TypeId for this Object. | |
template<typename T > | |
Ptr< T > | GetObject () const |
Get a pointer to the requested aggregated Object. | |
template<> | |
Ptr< Object > | GetObject () const |
Specialization of () for objects of type ns3::Object. | |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
Get a pointer to the requested aggregated Object by TypeId. | |
template<> | |
Ptr< Object > | GetObject (TypeId tid) const |
Specialization of (TypeId tid) for objects of type ns3::Object. | |
void | Initialize () |
Invoke DoInitialize on all Objects aggregated to this one. | |
bool | IsInitialized () const |
Check if the object has been initialized. | |
void | UnidirectionalAggregateObject (Ptr< Object > other) |
Aggregate an Object to another Object. | |
Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
SimpleRefCount () | |
Default constructor. | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. | |
uint32_t | GetReferenceCount () const |
Get the reference count of the object. | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment operator. | |
void | Ref () const |
Increment the reference count. | |
void | Unref () const |
Decrement the reference count. | |
Public Member Functions inherited from ns3::ObjectBase | |
virtual | ~ObjectBase () |
Virtual destructor. | |
void | GetAttribute (std::string name, AttributeValue &value, bool permissive=false) const |
Get the value of an attribute, raising fatal errors if unsuccessful. | |
bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
Get the value of an attribute without raising errors. | |
void | SetAttribute (std::string name, const AttributeValue &value) |
Set a single attribute, raising fatal errors if unsuccessful. | |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
Set a single attribute without raising errors. | |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
Connect a TraceSource to a Callback with a context. | |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
Connect a TraceSource to a Callback without a context. | |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected with a context. | |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected without a context. | |
Static Public Member Functions | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::FfMacScheduler | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::Object | |
static TypeId | GetTypeId () |
Register this type. | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId () |
Get the type ID. | |
Private Member Functions | |
void | DoCschedCellConfigReq (const FfMacCschedSapProvider::CschedCellConfigReqParameters ¶ms) |
CSched cell config request function. | |
void | DoCschedLcConfigReq (const FfMacCschedSapProvider::CschedLcConfigReqParameters ¶ms) |
Csched LC config request function. | |
void | DoCschedLcReleaseReq (const FfMacCschedSapProvider::CschedLcReleaseReqParameters ¶ms) |
CSched LC release request function. | |
void | DoCschedUeConfigReq (const FfMacCschedSapProvider::CschedUeConfigReqParameters ¶ms) |
Csched UE config request function. | |
void | DoCschedUeReleaseReq (const FfMacCschedSapProvider::CschedUeReleaseReqParameters ¶ms) |
CSched UE release request function. | |
void | DoSchedDlCqiInfoReq (const FfMacSchedSapProvider::SchedDlCqiInfoReqParameters ¶ms) |
Sched DL CGI info request function. | |
void | DoSchedDlMacBufferReq (const FfMacSchedSapProvider::SchedDlMacBufferReqParameters ¶ms) |
Sched DL MAC buffer request function. | |
void | DoSchedDlPagingBufferReq (const FfMacSchedSapProvider::SchedDlPagingBufferReqParameters ¶ms) |
Sched DL paging buffer request function. | |
void | DoSchedDlRachInfoReq (const FfMacSchedSapProvider::SchedDlRachInfoReqParameters ¶ms) |
Sched DL RACH info request function. | |
void | DoSchedDlRlcBufferReq (const FfMacSchedSapProvider::SchedDlRlcBufferReqParameters ¶ms) |
Sched DL RLC buffer request function. | |
void | DoSchedDlTriggerReq (const FfMacSchedSapProvider::SchedDlTriggerReqParameters ¶ms) |
Sched DL trigger request function. | |
void | DoSchedUlCqiInfoReq (const FfMacSchedSapProvider::SchedUlCqiInfoReqParameters ¶ms) |
Sched UL CGI info request function. | |
void | DoSchedUlMacCtrlInfoReq (const FfMacSchedSapProvider::SchedUlMacCtrlInfoReqParameters ¶ms) |
Sched UL MAC control info request function. | |
void | DoSchedUlNoiseInterferenceReq (const FfMacSchedSapProvider::SchedUlNoiseInterferenceReqParameters ¶ms) |
Sched UL noise interference request function. | |
void | DoSchedUlSrInfoReq (const FfMacSchedSapProvider::SchedUlSrInfoReqParameters ¶ms) |
Sched UL SR info request function. | |
void | DoSchedUlTriggerReq (const FfMacSchedSapProvider::SchedUlTriggerReqParameters ¶ms) |
Sched UL trigger request function. | |
double | EstimateUlSinr (uint16_t rnti, uint16_t rb) |
Estimate UL SNR. | |
int | GetRbgSize (int dlbandwidth) |
Get RBG size function. | |
bool | HarqProcessAvailability (uint16_t rnti) |
Return the availability of free process for the RNTI specified. | |
unsigned int | LcActivePerFlow (uint16_t rnti) |
LC active per flow function. | |
void | RefreshDlCqiMaps () |
Refresh DL CQI maps. | |
void | RefreshHarqProcesses () |
Refresh HARQ processes according to the timers. | |
void | RefreshUlCqiMaps () |
Refresh UL CQI maps. | |
void | UpdateDlRlcBufferInfo (uint16_t rnti, uint8_t lcid, uint16_t size) |
Update DL RLC buffer info. | |
uint8_t | UpdateHarqProcessId (uint16_t rnti) |
Update and return a new process Id for the RNTI specified. | |
void | UpdateUlRlcBufferInfo (uint16_t rnti, uint16_t size) |
Update UL RLC buffer info. | |
Private Attributes | |
std::map< uint16_t, SbMeasResult_s > | m_a30CqiRxed |
Map of UE's DL CQI A30 received. | |
std::map< uint16_t, uint32_t > | m_a30CqiTimers |
Map of UE's timers on DL CQI A30 received. | |
std::map< uint16_t, std::vector< uint16_t > > | m_allocationMaps |
Map of previous allocated UE per RBG (used to retrieve info from UL-CQI) | |
Ptr< LteAmc > | m_amc |
amc | |
std::map< uint16_t, uint32_t > | m_ceBsrRxed |
Map of UE's buffer status reports received. | |
uint32_t | m_cqiTimersThreshold |
FfMacCschedSapProvider::CschedCellConfigReqParameters | m_cschedCellConfig |
csched cell config | |
FfMacCschedSapProvider * | m_cschedSapProvider |
csched sap provider | |
FfMacCschedSapUser * | m_cschedSapUser |
csched sap user | |
std::map< uint16_t, uint8_t > | m_dlHarqCurrentProcessId |
DL HARQ current process ID. | |
std::map< uint16_t, DlHarqProcessesDciBuffer_t > | m_dlHarqProcessesDciBuffer |
DL HARQ process DCI buffer. | |
std::map< uint16_t, DlHarqRlcPduListBuffer_t > | m_dlHarqProcessesRlcPduListBuffer |
DL HARQ process RLC PDU List. | |
std::map< uint16_t, DlHarqProcessesStatus_t > | m_dlHarqProcessesStatus |
DL HARQ process status. | |
std::map< uint16_t, DlHarqProcessesTimer_t > | m_dlHarqProcessesTimer |
DL HARQ process timer. | |
std::vector< DlInfoListElement_s > | m_dlInfoListBuffered |
DL HARQ retx buffered. | |
LteFfrSapProvider * | m_ffrSapProvider |
ffr sap provider | |
LteFfrSapUser * | m_ffrSapUser |
ffr sap user | |
std::map< uint16_t, fdbetsFlowPerf_t > | m_flowStatsDl |
Map of UE statistics (per RNTI basis) in downlink. | |
std::map< uint16_t, fdbetsFlowPerf_t > | m_flowStatsUl |
Map of UE statistics (per RNTI basis) | |
bool | m_harqOn |
m_harqOn when false inhibit the HARQ mechanisms (by default active) | |
uint16_t | m_nextRntiUl |
RNTI of the next user to be served next scheduling in UL. | |
std::map< uint16_t, uint8_t > | m_p10CqiRxed |
Map of UE's DL CQI P01 received. | |
std::map< uint16_t, uint32_t > | m_p10CqiTimers |
Map of UE's timers on DL CQI P01 received. | |
std::vector< uint16_t > | m_rachAllocationMap |
rach allocation map | |
std::vector< RachListElement_s > | m_rachList |
rach list | |
std::map< LteFlowId_t, FfMacSchedSapProvider::SchedDlRlcBufferReqParameters > | m_rlcBufferReq |
Vectors of UE's LC info. | |
FfMacSchedSapProvider * | m_schedSapProvider |
sched sap provider | |
FfMacSchedSapUser * | m_schedSapUser |
sched sap user | |
double | m_timeWindow |
time window | |
std::map< uint16_t, std::vector< double > > | m_ueCqi |
Map of UEs' UL-CQI per RBG. | |
std::map< uint16_t, uint32_t > | m_ueCqiTimers |
Map of UEs' timers on UL-CQI per RBG. | |
std::map< uint16_t, uint8_t > | m_uesTxMode |
txMode of the UEs | |
uint8_t | m_ulGrantMcs |
MCS for UL grant (default 0) | |
std::map< uint16_t, uint8_t > | m_ulHarqCurrentProcessId |
UL HARQ current process ID. | |
std::map< uint16_t, UlHarqProcessesDciBuffer_t > | m_ulHarqProcessesDciBuffer |
UL HARQ process DCI Buffer. | |
std::map< uint16_t, UlHarqProcessesStatus_t > | m_ulHarqProcessesStatus |
UL HARQ process status. | |
Friends | |
class | MemberCschedSapProvider< FdBetFfMacScheduler > |
allow MemberCschedSapProvider<FdBetFfMacScheduler> class friend access | |
class | MemberSchedSapProvider< FdBetFfMacScheduler > |
allow MemberSchedSapProvider<FdBetFfMacScheduler> class friend access | |
Additional Inherited Members | |
Public Types inherited from ns3::FfMacScheduler | |
enum | UlCqiFilter_t { SRS_UL_CQI , PUSCH_UL_CQI } |
The type of UL CQI to be filtered (ALL means accept all the CQI, where a new CQI of any type overwrite the old one, even of another type) More... | |
Protected Member Functions inherited from ns3::Object | |
Object (const Object &o) | |
Copy an Object. | |
virtual void | DoInitialize () |
Initialize() implementation. | |
virtual void | NotifyNewAggregate () |
Notify all Objects aggregated to this one of a new Object being aggregated. | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
Complete construction of ObjectBase; invoked by derived classes. | |
virtual void | NotifyConstructionCompleted () |
Notifier called once the ObjectBase is fully constructed. | |
Protected Attributes inherited from ns3::FfMacScheduler | |
UlCqiFilter_t | m_ulCqiFilter |
UL CQI filter. | |
Related Symbols inherited from ns3::ObjectBase | |
static TypeId | GetObjectIid () |
Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. | |
Implements the SCHED SAP and CSCHED SAP for a Frequency Domain Blind Equal Throughput scheduler.
This class implements the interface defined by the FfMacScheduler abstract class
Definition at line 45 of file fdbet-ff-mac-scheduler.h.
ns3::FdBetFfMacScheduler::FdBetFfMacScheduler | ( | ) |
Constructor.
Creates the MAC Scheduler interface implementation
Definition at line 39 of file fdbet-ff-mac-scheduler.cc.
References ns3::CreateObject(), m_amc, m_cschedSapProvider, m_schedSapProvider, MemberCschedSapProvider< FdBetFfMacScheduler >, and MemberSchedSapProvider< FdBetFfMacScheduler >.
|
override |
|
private |
CSched cell config request function.
params | the CSched cell config request parameters |
Definition at line 133 of file fdbet-ff-mac-scheduler.cc.
References ns3::FfMacCschedSapUser::CschedUeConfigCnf(), m_cschedCellConfig, m_cschedSapUser, m_rachAllocationMap, ns3::FfMacCschedSapUser::CschedUeConfigCnfParameters::m_result, ns3::FfMacCschedSapProvider::CschedCellConfigReqParameters::m_ulBandwidth, NS_LOG_FUNCTION, and ns3::SUCCESS.
|
private |
Csched LC config request function.
params | the CSched LC config request parameters |
Definition at line 186 of file fdbet-ff-mac-scheduler.cc.
References ns3::fdbetsFlowPerf_t::flowStart, ns3::fdbetsFlowPerf_t::lastAveragedThroughput, ns3::fdbetsFlowPerf_t::lastTtiBytesTransmitted, m_flowStatsDl, m_flowStatsUl, ns3::Simulator::Now(), NS_LOG_FUNCTION, and ns3::fdbetsFlowPerf_t::totalBytesTransmitted.
|
private |
CSched LC release request function.
params | the CSched LC release request parameters |
Definition at line 214 of file fdbet-ff-mac-scheduler.cc.
References m_rlcBufferReq, and NS_LOG_FUNCTION.
|
private |
Csched UE config request function.
params | the CSched UE config request parameters |
Definition at line 146 of file fdbet-ff-mac-scheduler.cc.
References m_dlHarqCurrentProcessId, m_dlHarqProcessesDciBuffer, m_dlHarqProcessesRlcPduListBuffer, m_dlHarqProcessesStatus, m_dlHarqProcessesTimer, m_uesTxMode, m_ulHarqCurrentProcessId, m_ulHarqProcessesDciBuffer, m_ulHarqProcessesStatus, and NS_LOG_FUNCTION.
|
private |
CSched UE release request function.
params | the CSChed UE release request parameters |
Definition at line 239 of file fdbet-ff-mac-scheduler.cc.
References m_ceBsrRxed, m_dlHarqCurrentProcessId, m_dlHarqProcessesDciBuffer, m_dlHarqProcessesRlcPduListBuffer, m_dlHarqProcessesStatus, m_dlHarqProcessesTimer, m_flowStatsDl, m_flowStatsUl, m_nextRntiUl, m_rlcBufferReq, m_uesTxMode, m_ulHarqCurrentProcessId, m_ulHarqProcessesDciBuffer, m_ulHarqProcessesStatus, and NS_LOG_FUNCTION.
|
overridevirtual |
Destructor implementation.
This method is called by Dispose() or by the Object's destructor, whichever comes first.
Subclasses are expected to implement their real destruction code in an overridden version of this method and chain up to their parent's implementation once they are done. i.e, for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose() method.
It is safe to call GetObject() from within this method.
Reimplemented from ns3::Object.
Definition at line 56 of file fdbet-ff-mac-scheduler.cc.
References m_cschedSapProvider, m_dlHarqProcessesDciBuffer, m_dlHarqProcessesRlcPduListBuffer, m_dlHarqProcessesTimer, m_dlInfoListBuffered, m_schedSapProvider, m_ulHarqCurrentProcessId, m_ulHarqProcessesDciBuffer, m_ulHarqProcessesStatus, and NS_LOG_FUNCTION.
|
private |
Sched DL CGI info request function.
params | the Sched DL CGI info request parameters |
Definition at line 1181 of file fdbet-ff-mac-scheduler.cc.
References ns3::CqiListElement_s::A30, m_a30CqiRxed, m_a30CqiTimers, m_cqiTimersThreshold, m_p10CqiRxed, m_p10CqiTimers, NS_LOG_ERROR, NS_LOG_FUNCTION, NS_LOG_LOGIC, and ns3::CqiListElement_s::P10.
|
private |
Sched DL MAC buffer request function.
params | the Sched DL MAC buffer request parameters |
Definition at line 306 of file fdbet-ff-mac-scheduler.cc.
References NS_FATAL_ERROR, and NS_LOG_FUNCTION.
|
private |
Sched DL paging buffer request function.
params | the Sched DL paging buffer request parameters |
Definition at line 298 of file fdbet-ff-mac-scheduler.cc.
References NS_FATAL_ERROR, and NS_LOG_FUNCTION.
|
private |
Sched DL RACH info request function.
params | the Sched DL RACH info request parameters |
Definition at line 1172 of file fdbet-ff-mac-scheduler.cc.
References m_rachList, and NS_LOG_FUNCTION.
|
private |
Sched DL RLC buffer request function.
params | the Sched DL RLC buffer request parameters |
Definition at line 277 of file fdbet-ff-mac-scheduler.cc.
References m_rlcBufferReq, and NS_LOG_FUNCTION.
|
private |
Sched DL trigger request function.
params | FfMacSchedSapProvider::SchedDlTriggerReqParameters& |
Definition at line 443 of file fdbet-ff-mac-scheduler.cc.
References GetRbgSize(), ns3::HARQ_PROC_NUM, HarqProcessAvailability(), LcActivePerFlow(), ns3::UlDciListElement_s::m_aggrLevel, m_amc, ns3::FfMacSchedSapUser::SchedDlConfigIndParameters::m_buildDataList, ns3::FfMacSchedSapUser::SchedDlConfigIndParameters::m_buildRarList, ns3::UlDciListElement_s::m_cceIndex, ns3::UlDciListElement_s::m_cqiRequest, ns3::UlGrant_s::m_cqiRequest, m_cschedCellConfig, ns3::UlDciListElement_s::m_dai, ns3::BuildDataListElement_s::m_dci, ns3::FfMacCschedSapProvider::CschedCellConfigReqParameters::m_dlBandwidth, m_dlHarqProcessesDciBuffer, m_dlHarqProcessesRlcPduListBuffer, m_dlHarqProcessesStatus, m_dlHarqProcessesTimer, m_dlInfoListBuffered, m_flowStatsDl, ns3::UlDciListElement_s::m_freqHopping, ns3::BuildRarListElement_s::m_grant, m_harqOn, ns3::DlDciListElement_s::m_harqProcess, ns3::UlDciListElement_s::m_hopping, ns3::UlGrant_s::m_hopping, ns3::RlcPduListElement_s::m_logicalChannelIdentity, ns3::DlDciListElement_s::m_mcs, ns3::UlDciListElement_s::m_mcs, ns3::UlGrant_s::m_mcs, ns3::UlDciListElement_s::m_n2Dmrs, ns3::DlDciListElement_s::m_ndi, ns3::UlDciListElement_s::m_ndi, ns3::FfMacSchedSapUser::SchedDlConfigIndParameters::m_nrOfPdcchOfdmSymbols, m_p10CqiRxed, ns3::UlDciListElement_s::m_pdcchPowerOffset, m_rachAllocationMap, m_rachList, ns3::DlDciListElement_s::m_rbBitmap, ns3::UlDciListElement_s::m_rbLen, ns3::UlGrant_s::m_rbLen, ns3::UlDciListElement_s::m_rbStart, ns3::UlGrant_s::m_rbStart, ns3::DlDciListElement_s::m_resAlloc, m_rlcBufferReq, ns3::BuildDataListElement_s::m_rlcPduList, ns3::BuildDataListElement_s::m_rnti, ns3::BuildRarListElement_s::m_rnti, ns3::DlDciListElement_s::m_rnti, ns3::UlDciListElement_s::m_rnti, ns3::UlGrant_s::m_rnti, ns3::DlDciListElement_s::m_rv, m_schedSapUser, ns3::RlcPduListElement_s::m_size, ns3::UlDciListElement_s::m_tbSize, ns3::UlGrant_s::m_tbSize, ns3::DlDciListElement_s::m_tbsSize, m_timeWindow, ns3::DlDciListElement_s::m_tpc, ns3::UlDciListElement_s::m_tpc, ns3::UlGrant_s::m_tpc, m_uesTxMode, ns3::UlDciListElement_s::m_ueTxAntennaSelection, ns3::FfMacCschedSapProvider::CschedCellConfigReqParameters::m_ulBandwidth, ns3::UlGrant_s::m_ulDelay, m_ulGrantMcs, m_ulHarqCurrentProcessId, m_ulHarqProcessesDciBuffer, ns3::UlDciListElement_s::m_ulIndex, ns3::DlInfoListElement_s::NACK, NS_ASSERT_MSG, NS_FATAL_ERROR, NS_LOG_DEBUG, NS_LOG_ERROR, NS_LOG_FUNCTION, NS_LOG_INFO, RefreshDlCqiMaps(), RefreshHarqProcesses(), ns3::FfMacSchedSapUser::SchedDlConfigInd(), ns3::TransmissionModesLayers::TxMode2LayerNum(), UpdateDlRlcBufferInfo(), and UpdateHarqProcessId().
|
private |
Sched UL CGI info request function.
params | the Sched UL CGI info request parameters |
Definition at line 1713 of file fdbet-ff-mac-scheduler.cc.
References ns3::DynamicCast(), ns3::LteFfConverter::fpS11dot3toDouble(), m_allocationMaps, m_cqiTimersThreshold, m_cschedCellConfig, m_ueCqi, m_ueCqiTimers, ns3::FfMacCschedSapProvider::CschedCellConfigReqParameters::m_ulBandwidth, ns3::FfMacScheduler::m_ulCqiFilter, ns3::NO_SINR, NS_ASSERT, NS_FATAL_ERROR, NS_LOG_DEBUG, NS_LOG_FUNCTION, NS_LOG_INFO, ns3::UlCqi_s::PRACH, ns3::UlCqi_s::PUCCH_1, ns3::UlCqi_s::PUCCH_2, ns3::UlCqi_s::PUSCH, ns3::FfMacScheduler::PUSCH_UL_CQI, ns3::UlCqi_s::SRS, SRS_CQI_RNTI_VSP, and ns3::FfMacScheduler::SRS_UL_CQI.
|
private |
Sched UL MAC control info request function.
params | the Sched UL MAC control info request parameters |
Definition at line 1672 of file fdbet-ff-mac-scheduler.cc.
References ns3::MacCeListElement_s::BSR, ns3::BufferSizeLevelBsr::BsrId2BufferSize(), m_ceBsrRxed, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
|
private |
Sched UL noise interference request function.
params | the Sched UL noise interference request parameters |
Definition at line 1658 of file fdbet-ff-mac-scheduler.cc.
References NS_LOG_FUNCTION.
|
private |
Sched UL SR info request function.
params | the Schedule UL SR info request parameters |
Definition at line 1665 of file fdbet-ff-mac-scheduler.cc.
References NS_LOG_FUNCTION.
|
private |
Sched UL trigger request function.
params | the Sched UL trigger request parameters |
Definition at line 1268 of file fdbet-ff-mac-scheduler.cc.
References EstimateUlSinr(), HARQ_PERIOD, ns3::HARQ_PROC_NUM, ns3::UlDciListElement_s::m_aggrLevel, m_allocationMaps, m_amc, ns3::UlDciListElement_s::m_cceIndex, m_ceBsrRxed, ns3::UlDciListElement_s::m_cqiRequest, m_cschedCellConfig, ns3::UlDciListElement_s::m_dai, ns3::FfMacSchedSapUser::SchedUlConfigIndParameters::m_dciList, m_flowStatsUl, ns3::UlDciListElement_s::m_freqHopping, m_harqOn, ns3::UlDciListElement_s::m_hopping, ns3::UlDciListElement_s::m_mcs, ns3::UlDciListElement_s::m_n2Dmrs, ns3::UlDciListElement_s::m_ndi, m_nextRntiUl, ns3::UlDciListElement_s::m_pdcchPowerOffset, m_rachAllocationMap, ns3::UlDciListElement_s::m_rbLen, ns3::UlDciListElement_s::m_rbStart, ns3::UlDciListElement_s::m_rnti, m_schedSapUser, ns3::UlDciListElement_s::m_tbSize, m_timeWindow, ns3::UlDciListElement_s::m_tpc, m_ueCqi, ns3::UlDciListElement_s::m_ueTxAntennaSelection, ns3::FfMacCschedSapProvider::CschedCellConfigReqParameters::m_ulBandwidth, m_ulHarqCurrentProcessId, m_ulHarqProcessesDciBuffer, m_ulHarqProcessesStatus, ns3::UlDciListElement_s::m_ulIndex, ns3::NO_SINR, ns3::UlInfoListElement_s::NotOk, NS_ABORT_MSG_IF, NS_FATAL_ERROR, NS_LOG_DEBUG, NS_LOG_ERROR, NS_LOG_FUNCTION, NS_LOG_INFO, RefreshUlCqiMaps(), ns3::FfMacSchedSapUser::SchedUlConfigInd(), and UpdateUlRlcBufferInfo().
|
private |
Estimate UL SNR.
rnti | the RNTI |
rb | the RB |
Definition at line 1238 of file fdbet-ff-mac-scheduler.cc.
References m_cschedCellConfig, m_ueCqi, ns3::FfMacCschedSapProvider::CschedCellConfigReqParameters::m_ulBandwidth, and ns3::NO_SINR.
Referenced by DoSchedUlTriggerReq().
|
overridevirtual |
Implements ns3::FfMacScheduler.
Definition at line 109 of file fdbet-ff-mac-scheduler.cc.
References m_cschedSapProvider.
|
overridevirtual |
Implements ns3::FfMacScheduler.
Definition at line 115 of file fdbet-ff-mac-scheduler.cc.
References m_schedSapProvider.
|
overridevirtual |
Implements ns3::FfMacScheduler.
Definition at line 127 of file fdbet-ff-mac-scheduler.cc.
References m_ffrSapUser.
|
private |
Get RBG size function.
dlbandwidth | the DL bandwidth |
Definition at line 314 of file fdbet-ff-mac-scheduler.cc.
References ns3::FdBetType0AllocationRbg.
Referenced by DoSchedDlTriggerReq().
|
static |
Get the type ID.
Definition at line 71 of file fdbet-ff-mac-scheduler.cc.
References m_cqiTimersThreshold, m_harqOn, m_ulGrantMcs, ns3::MakeBooleanAccessor(), ns3::MakeBooleanChecker(), ns3::MakeUintegerAccessor(), ns3::MakeUintegerChecker(), and ns3::TypeId::SetParent().
|
private |
Return the availability of free process for the RNTI specified.
rnti | the RNTI of the UE to be updated |
Definition at line 348 of file fdbet-ff-mac-scheduler.cc.
References ns3::HARQ_PROC_NUM, m_dlHarqCurrentProcessId, m_dlHarqProcessesStatus, NS_FATAL_ERROR, and NS_LOG_FUNCTION.
Referenced by DoSchedDlTriggerReq().
|
private |
LC active per flow function.
rnti | the RNTI |
Definition at line 328 of file fdbet-ff-mac-scheduler.cc.
References m_rlcBufferReq.
Referenced by DoSchedDlTriggerReq().
|
private |
Refresh DL CQI maps.
Definition at line 1847 of file fdbet-ff-mac-scheduler.cc.
References m_a30CqiRxed, m_a30CqiTimers, m_cqiTimersThreshold, m_p10CqiRxed, m_p10CqiTimers, NS_ASSERT_MSG, and NS_LOG_INFO.
Referenced by DoSchedDlTriggerReq().
|
private |
Refresh HARQ processes according to the timers.
Definition at line 411 of file fdbet-ff-mac-scheduler.cc.
References ns3::HARQ_DL_TIMEOUT, ns3::HARQ_PROC_NUM, m_dlHarqProcessesStatus, m_dlHarqProcessesTimer, NS_FATAL_ERROR, NS_LOG_DEBUG, and NS_LOG_FUNCTION.
Referenced by DoSchedDlTriggerReq().
|
private |
Refresh UL CQI maps.
Definition at line 1901 of file fdbet-ff-mac-scheduler.cc.
References m_cqiTimersThreshold, m_ueCqi, m_ueCqiTimers, NS_ASSERT_MSG, and NS_LOG_INFO.
Referenced by DoSchedUlTriggerReq().
|
overridevirtual |
set the user part of the FfMacCschedSap that this Scheduler will interact with.
Normally this part of the SAP is exported by the MAC.
s |
Implements ns3::FfMacScheduler.
Definition at line 97 of file fdbet-ff-mac-scheduler.cc.
References m_cschedSapUser.
|
overridevirtual |
set the user part of the FfMacSchedSap that this Scheduler will interact with.
Normally this part of the SAP is exported by the MAC.
s |
Implements ns3::FfMacScheduler.
Definition at line 103 of file fdbet-ff-mac-scheduler.cc.
References m_schedSapUser.
|
overridevirtual |
Set the Provider part of the LteFfrSap that this Scheduler will interact with.
s |
Implements ns3::FfMacScheduler.
Definition at line 121 of file fdbet-ff-mac-scheduler.cc.
References m_ffrSapProvider.
void ns3::FdBetFfMacScheduler::TransmissionModeConfigurationUpdate | ( | uint16_t | rnti, |
uint8_t | txMode ) |
Transmission mode configuration update function.
rnti | the RNTI |
txMode | the transmit mode |
Definition at line 2009 of file fdbet-ff-mac-scheduler.cc.
References ns3::FfMacCschedSapUser::CschedUeConfigUpdateInd(), m_cschedSapUser, and NS_LOG_FUNCTION.
|
private |
Update DL RLC buffer info.
rnti | the RNTI |
lcid | the LCID |
size | the size |
Definition at line 1931 of file fdbet-ff-mac-scheduler.cc.
References m_rlcBufferReq, NS_LOG_ERROR, and NS_LOG_INFO.
Referenced by DoSchedDlTriggerReq().
|
private |
Update and return a new process Id for the RNTI specified.
rnti | the RNTI of the UE to be updated |
Definition at line 372 of file fdbet-ff-mac-scheduler.cc.
References ns3::HARQ_PROC_NUM, m_dlHarqCurrentProcessId, m_dlHarqProcessesStatus, m_harqOn, NS_FATAL_ERROR, and NS_LOG_FUNCTION.
Referenced by DoSchedDlTriggerReq().
|
private |
Update UL RLC buffer info.
rnti | the RNTI |
size | the size |
Definition at line 1986 of file fdbet-ff-mac-scheduler.cc.
References m_ceBsrRxed, NS_LOG_ERROR, and NS_LOG_INFO.
Referenced by DoSchedUlTriggerReq().
|
friend |
allow MemberCschedSapProvider<FdBetFfMacScheduler> class friend access
Definition at line 76 of file fdbet-ff-mac-scheduler.h.
Referenced by FdBetFfMacScheduler().
|
friend |
allow MemberSchedSapProvider<FdBetFfMacScheduler> class friend access
Definition at line 76 of file fdbet-ff-mac-scheduler.h.
Referenced by FdBetFfMacScheduler().
|
private |
Map of UE's DL CQI A30 received.
Definition at line 294 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedDlCqiInfoReq(), and RefreshDlCqiMaps().
|
private |
Map of UE's timers on DL CQI A30 received.
Definition at line 299 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedDlCqiInfoReq(), and RefreshDlCqiMaps().
|
private |
Map of previous allocated UE per RBG (used to retrieve info from UL-CQI)
Definition at line 305 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedUlCqiInfoReq(), and DoSchedUlTriggerReq().
amc
Definition at line 264 of file fdbet-ff-mac-scheduler.h.
Referenced by FdBetFfMacScheduler(), DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().
|
private |
Map of UE's buffer status reports received.
Definition at line 320 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedUeReleaseReq(), DoSchedUlMacCtrlInfoReq(), DoSchedUlTriggerReq(), and UpdateUlRlcBufferInfo().
|
private |
Definition at line 340 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedDlCqiInfoReq(), DoSchedUlCqiInfoReq(), GetTypeId(), RefreshDlCqiMaps(), and RefreshUlCqiMaps().
|
private |
csched cell config
Definition at line 334 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedCellConfigReq(), DoSchedDlTriggerReq(), DoSchedUlCqiInfoReq(), DoSchedUlTriggerReq(), and EstimateUlSinr().
|
private |
csched sap provider
Definition at line 325 of file fdbet-ff-mac-scheduler.h.
Referenced by FdBetFfMacScheduler(), DoDispose(), and GetFfMacCschedSapProvider().
|
private |
csched sap user
Definition at line 323 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedCellConfigReq(), SetFfMacCschedSapUser(), and TransmissionModeConfigurationUpdate().
|
private |
DL HARQ current process ID.
Definition at line 346 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), HarqProcessAvailability(), and UpdateHarqProcessId().
|
private |
DL HARQ process DCI buffer.
Definition at line 353 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), and DoSchedDlTriggerReq().
|
private |
DL HARQ process RLC PDU List.
Definition at line 355 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), and DoSchedDlTriggerReq().
|
private |
DL HARQ process status.
Definition at line 350 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoSchedDlTriggerReq(), HarqProcessAvailability(), RefreshHarqProcesses(), and UpdateHarqProcessId().
|
private |
DL HARQ process timer.
Definition at line 351 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), DoSchedDlTriggerReq(), and RefreshHarqProcesses().
|
private |
DL HARQ retx buffered.
Definition at line 356 of file fdbet-ff-mac-scheduler.h.
Referenced by DoDispose(), and DoSchedDlTriggerReq().
|
private |
ffr sap provider
Definition at line 330 of file fdbet-ff-mac-scheduler.h.
Referenced by SetLteFfrSapProvider().
|
private |
ffr sap user
Definition at line 329 of file fdbet-ff-mac-scheduler.h.
Referenced by GetLteFfrSapUser().
|
private |
Map of UE statistics (per RNTI basis) in downlink.
Definition at line 274 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedLcConfigReq(), DoCschedUeReleaseReq(), and DoSchedDlTriggerReq().
|
private |
Map of UE statistics (per RNTI basis)
Definition at line 279 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedLcConfigReq(), DoCschedUeReleaseReq(), and DoSchedUlTriggerReq().
|
private |
m_harqOn when false inhibit the HARQ mechanisms (by default active)
Definition at line 345 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedDlTriggerReq(), DoSchedUlTriggerReq(), GetTypeId(), and UpdateHarqProcessId().
|
private |
RNTI of the next user to be served next scheduling in UL.
Definition at line 338 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedUeReleaseReq(), and DoSchedUlTriggerReq().
|
private |
Map of UE's DL CQI P01 received.
Definition at line 284 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedDlCqiInfoReq(), DoSchedDlTriggerReq(), and RefreshDlCqiMaps().
|
private |
Map of UE's timers on DL CQI P01 received.
Definition at line 289 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedDlCqiInfoReq(), and RefreshDlCqiMaps().
|
private |
rach allocation map
Definition at line 368 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedCellConfigReq(), DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().
|
private |
rach list
Definition at line 367 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedDlRachInfoReq(), and DoSchedDlTriggerReq().
|
private |
Vectors of UE's LC info.
Definition at line 269 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedLcReleaseReq(), DoCschedUeReleaseReq(), DoSchedDlRlcBufferReq(), DoSchedDlTriggerReq(), LcActivePerFlow(), and UpdateDlRlcBufferInfo().
|
private |
sched sap provider
Definition at line 326 of file fdbet-ff-mac-scheduler.h.
Referenced by FdBetFfMacScheduler(), DoDispose(), and GetFfMacSchedSapProvider().
|
private |
sched sap user
Definition at line 324 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedDlTriggerReq(), DoSchedUlTriggerReq(), and SetFfMacSchedSapUser().
|
private |
time window
Definition at line 336 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().
|
private |
Map of UEs' UL-CQI per RBG.
Definition at line 310 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedUlCqiInfoReq(), DoSchedUlTriggerReq(), EstimateUlSinr(), and RefreshUlCqiMaps().
|
private |
Map of UEs' timers on UL-CQI per RBG.
Definition at line 315 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedUlCqiInfoReq(), and RefreshUlCqiMaps().
|
private |
txMode of the UEs
Definition at line 342 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), and DoSchedDlTriggerReq().
|
private |
MCS for UL grant (default 0)
Definition at line 369 of file fdbet-ff-mac-scheduler.h.
Referenced by DoSchedDlTriggerReq(), and GetTypeId().
|
private |
UL HARQ current process ID.
Definition at line 358 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().
|
private |
UL HARQ process DCI Buffer.
Definition at line 364 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().
|
private |
UL HARQ process status.
Definition at line 362 of file fdbet-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), and DoSchedUlTriggerReq().