Implements the SCHED SAP and CSCHED SAP for the Channel and QoS Aware Scheduler. More...
#include "cqa-ff-mac-scheduler.h"
Public Member Functions | |
CqaFfMacScheduler () | |
Constructor. More... | |
virtual | ~CqaFfMacScheduler () |
Destructor. More... | |
virtual void | DoDispose (void) |
Destructor implementation. More... | |
virtual FfMacCschedSapProvider * | GetFfMacCschedSapProvider () |
virtual FfMacSchedSapProvider * | GetFfMacSchedSapProvider () |
virtual LteFfrSapUser * | GetLteFfrSapUser () |
virtual void | SetFfMacCschedSapUser (FfMacCschedSapUser *s) |
set the user part of the FfMacCschedSap that this Scheduler will interact with. More... | |
virtual void | SetFfMacSchedSapUser (FfMacSchedSapUser *s) |
set the user part of the FfMacSchedSap that this Scheduler will interact with. More... | |
virtual void | SetLteFfrSapProvider (LteFfrSapProvider *s) |
Set the Provider part of the LteFfrSap that this Scheduler will interact with. More... | |
void | TransmissionModeConfigurationUpdate (uint16_t rnti, uint8_t txMode) |
Trans mode config update. More... | |
Public Member Functions inherited from ns3::FfMacScheduler | |
FfMacScheduler () | |
constructor More... | |
virtual | ~FfMacScheduler () |
destructor More... | |
Public Member Functions inherited from ns3::Object | |
Object () | |
Constructor. More... | |
virtual | ~Object () |
Destructor. More... | |
void | AggregateObject (Ptr< Object > other) |
Aggregate two Objects together. More... | |
void | Dispose (void) |
Dispose of this Object. More... | |
AggregateIterator | GetAggregateIterator (void) const |
Get an iterator to the Objects aggregated to this one. More... | |
virtual TypeId | GetInstanceTypeId (void) const |
Get the most derived TypeId for this Object. More... | |
template<> | |
Ptr< Object > | GetObject () const |
Specialization of () for objects of type ns3::Object. More... | |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
Get a pointer to the requested aggregated Object by TypeId. More... | |
template<> | |
Ptr< Object > | GetObject (TypeId tid) const |
Specialization of (TypeId tid) for objects of type ns3::Object. More... | |
template<typename T > | |
Ptr< T > | GetObject (void) const |
Get a pointer to the requested aggregated Object. More... | |
void | Initialize (void) |
Invoke DoInitialize on all Objects aggregated to this one. More... | |
bool | IsInitialized (void) const |
Check if the object has been initialized. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
SimpleRefCount () | |
Default constructor. More... | |
SimpleRefCount (const SimpleRefCount &o[[maybe_unused]]) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= ([[maybe_unused]] const SimpleRefCount &o) |
Assignment operator. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
Public Member Functions inherited from ns3::ObjectBase | |
virtual | ~ObjectBase () |
Virtual destructor. More... | |
void | GetAttribute (std::string name, AttributeValue &value) const |
Get the value of an attribute, raising fatal errors if unsuccessful. More... | |
bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
Get the value of an attribute without raising erros. More... | |
void | SetAttribute (std::string name, const AttributeValue &value) |
Set a single attribute, raising fatal errors if unsuccessful. More... | |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
Set a single attribute without raising errors. More... | |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
Connect a TraceSource to a Callback with a context. More... | |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
Connect a TraceSource to a Callback without a context. More... | |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected with a context. More... | |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected without a context. More... | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Static Public Member Functions inherited from ns3::FfMacScheduler | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Static Public Member Functions inherited from ns3::Object | |
static TypeId | GetTypeId (void) |
Register this type. More... | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Private Attributes | |
std::map< uint16_t, SbMeasResult_s > | m_a30CqiRxed |
Map of UE's DL CQI A30 received. More... | |
std::map< uint16_t, uint32_t > | m_a30CqiTimers |
Map of UE's timers on DL CQI A30 received. More... | |
std::map< uint16_t, std::vector< uint16_t > > | m_allocationMaps |
Map of previous allocated UE per RBG (used to retrieve info from UL-CQI) More... | |
Ptr< LteAmc > | m_amc |
LTE AMC object. More... | |
std::map< uint16_t, uint32_t > | m_ceBsrRxed |
Map of UE's buffer status reports received. More... | |
std::string | m_CqaMetric |
CQA metric name. More... | |
uint32_t | m_cqiTimersThreshold |
FfMacCschedSapProvider::CschedCellConfigReqParameters | m_cschedCellConfig |
Internal parameters. More... | |
FfMacCschedSapProvider * | m_cschedSapProvider |
Csched SAP provider. More... | |
FfMacCschedSapUser * | m_cschedSapUser |
MAC Csched SAP user. More... | |
std::map< uint16_t, uint8_t > | m_dlHarqCurrentProcessId |
DL HARQ process ID. More... | |
std::map< uint16_t, DlHarqProcessesDciBuffer_t > | m_dlHarqProcessesDciBuffer |
DL HARQ process DCI buffer. More... | |
std::map< uint16_t, DlHarqRlcPduListBuffer_t > | m_dlHarqProcessesRlcPduListBuffer |
DL HARQ process RLC PDU list buffer. More... | |
std::map< uint16_t, DlHarqProcessesStatus_t > | m_dlHarqProcessesStatus |
DL HARQ process statuses. More... | |
std::map< uint16_t, DlHarqProcessesTimer_t > | m_dlHarqProcessesTimer |
DL HARQ process timers. More... | |
std::vector< DlInfoListElement_s > | m_dlInfoListBuffered |
DL HARQ retx buffered. More... | |
LteFfrSapProvider * | m_ffrSapProvider |
FFR SAP provider. More... | |
LteFfrSapUser * | m_ffrSapUser |
FFR SAP user. More... | |
std::map< uint16_t, CqasFlowPerf_t > | m_flowStatsDl |
Map of UE statistics (per RNTI basis) in downlink. More... | |
std::map< uint16_t, CqasFlowPerf_t > | m_flowStatsUl |
Map of UE statistics (per RNTI basis) More... | |
bool | m_harqOn |
m_harqOn when false inhibit the HARQ mechanisms (by default active) More... | |
uint16_t | m_nextRntiUl |
RNTI of the next user to be served next scheduling in UL. More... | |
std::map< uint16_t, uint8_t > | m_p10CqiRxed |
Map of UE's DL CQI P01 received. More... | |
std::map< uint16_t, uint32_t > | m_p10CqiTimers |
Map of UE's timers on DL CQI P01 received. More... | |
std::vector< uint16_t > | m_rachAllocationMap |
RACH allocation map. More... | |
std::vector< struct RachListElement_s > | m_rachList |
RACH list. More... | |
std::map< LteFlowId_t, FfMacSchedSapProvider::SchedDlRlcBufferReqParameters > | m_rlcBufferReq |
Vectors of UE's LC info. More... | |
FfMacSchedSapProvider * | m_schedSapProvider |
Sched SAP provider. More... | |
FfMacSchedSapUser * | m_schedSapUser |
MAC Sched SAP user. More... | |
double | m_timeWindow |
time window More... | |
std::map< uint16_t, std::vector< double > > | m_ueCqi |
Map of UEs' UL-CQI per RBG. More... | |
std::map< uint16_t, uint32_t > | m_ueCqiTimers |
Map of UEs' timers on UL-CQI per RBG. More... | |
std::map< LteFlowId_t, struct LogicalChannelConfigListElement_s > | m_ueLogicalChannelsConfigList |
Map of UE logical channel config list. More... | |
std::map< uint16_t, uint8_t > | m_uesTxMode |
txMode of the UEs More... | |
uint8_t | m_ulGrantMcs |
MCS for UL grant (default 0) More... | |
std::map< uint16_t, uint8_t > | m_ulHarqCurrentProcessId |
UL HARQ current process ID. More... | |
std::map< uint16_t, UlHarqProcessesDciBuffer_t > | m_ulHarqProcessesDciBuffer |
UL HARQ process DCI buffer. More... | |
std::map< uint16_t, UlHarqProcessesStatus_t > | m_ulHarqProcessesStatus |
UL HARQ process status. More... | |
Friends | |
class | MemberCschedSapProvider< CqaFfMacScheduler > |
allow MemberCschedSapProvider<CqaFfMacScheduler> class friend access More... | |
class | MemberSchedSapProvider< CqaFfMacScheduler > |
allow MemberSchedSapProvider<CqaFfMacScheduler> class friend access More... | |
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. More... | |
virtual void | DoInitialize (void) |
Initialize() implementation. More... | |
virtual void | NotifyNewAggregate (void) |
Notify all Objects aggregated to this one of a new Object being aggregated. More... | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
Complete construction of ObjectBase; invoked by derived classes. More... | |
virtual void | NotifyConstructionCompleted (void) |
Notifier called once the ObjectBase is fully constructed. More... | |
Protected Attributes inherited from ns3::FfMacScheduler | |
UlCqiFilter_t | m_ulCqiFilter |
UL CQI filter. More... | |
Related Functions inherited from ns3::ObjectBase | |
static TypeId | GetObjectIid (void) |
Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. More... | |
Implements the SCHED SAP and CSCHED SAP for the Channel and QoS Aware Scheduler.
This class implements the interface defined by the FfMacScheduler abstract class
ns3::CqaFfMacScheduler is accessible through the following paths with Config::Set and Config::Connect:
No TraceSources are defined for this type.
Size of this type is 1432 bytes (on a 64-bit architecture).
Definition at line 81 of file cqa-ff-mac-scheduler.h.
ns3::CqaFfMacScheduler::CqaFfMacScheduler | ( | ) |
Constructor.
Creates the MAC Scheduler interface implementation
Definition at line 130 of file cqa-ff-mac-scheduler.cc.
References m_amc, m_cschedSapProvider, m_ffrSapProvider, m_ffrSapUser, m_schedSapProvider, MemberCschedSapProvider< CqaFfMacScheduler >, and MemberSchedSapProvider< CqaFfMacScheduler >.
|
virtual |
|
private |
Csched Cell Config Request.
params | CschedCellConfigReqParameters& |
Definition at line 234 of file cqa-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.
params | CschedLcConfigReqParameters& |
Definition at line 286 of file cqa-ff-mac-scheduler.cc.
References ns3::CqasFlowPerf_t::flowStart, ns3::CqasFlowPerf_t::lastAveragedThroughput, ns3::CqasFlowPerf_t::lastTtiBytesTransmitted, m_flowStatsDl, m_flowStatsUl, ns3::FfMacCschedSapProvider::CschedLcConfigReqParameters::m_logicalChannelConfigList, ns3::FfMacCschedSapProvider::CschedLcConfigReqParameters::m_reconfigureFlag, ns3::FfMacCschedSapProvider::CschedLcConfigReqParameters::m_rnti, m_ueLogicalChannelsConfigList, ns3::Simulator::Now(), NS_LOG_ERROR, NS_LOG_FUNCTION, ns3::CqasFlowPerf_t::secondLastAveragedThroughput, ns3::CqasFlowPerf_t::targetThroughput, and ns3::CqasFlowPerf_t::totalBytesTransmitted.
|
private |
Csched LC Release Request.
params | CschedLcReleaseReqParameters& |
Definition at line 367 of file cqa-ff-mac-scheduler.cc.
References ns3::FfMacCschedSapProvider::CschedLcReleaseReqParameters::m_logicalChannelIdentity, m_rlcBufferReq, ns3::FfMacCschedSapProvider::CschedLcReleaseReqParameters::m_rnti, m_ueLogicalChannelsConfigList, NS_FATAL_ERROR, and NS_LOG_FUNCTION.
|
private |
Csched UE Config Request.
params | CschedUeConfigReqParameters& |
Definition at line 247 of file cqa-ff-mac-scheduler.cc.
References m_dlHarqCurrentProcessId, m_dlHarqProcessesDciBuffer, m_dlHarqProcessesRlcPduListBuffer, m_dlHarqProcessesStatus, m_dlHarqProcessesTimer, ns3::FfMacCschedSapProvider::CschedUeConfigReqParameters::m_rnti, ns3::FfMacCschedSapProvider::CschedUeConfigReqParameters::m_transmissionMode, m_uesTxMode, m_ulHarqCurrentProcessId, m_ulHarqProcessesDciBuffer, m_ulHarqProcessesStatus, and NS_LOG_FUNCTION.
|
private |
Csched UE Release Request.
params | CschedUeReleaseReqParameters& |
Definition at line 409 of file cqa-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, ns3::FfMacCschedSapProvider::CschedUeReleaseReqParameters::m_rnti, m_ueLogicalChannelsConfigList, m_uesTxMode, m_ulHarqCurrentProcessId, m_ulHarqProcessesDciBuffer, m_ulHarqProcessesStatus, MAX_LC_LIST, and NS_LOG_FUNCTION.
|
virtual |
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::FfMacScheduler.
Definition at line 149 of file cqa-ff-mac-scheduler.cc.
References m_cschedSapProvider, m_dlHarqProcessesDciBuffer, m_dlHarqProcessesRlcPduListBuffer, m_dlHarqProcessesTimer, m_dlInfoListBuffered, m_ffrSapUser, m_schedSapProvider, m_ulHarqCurrentProcessId, m_ulHarqProcessesDciBuffer, m_ulHarqProcessesStatus, and NS_LOG_FUNCTION.
|
private |
Sched DL CGI Info Request.
params | SchedDlCqiInfoReqParameters& |
Definition at line 1683 of file cqa-ff-mac-scheduler.cc.
References ns3::CqiListElement_s::A30, m_a30CqiRxed, m_a30CqiTimers, ns3::FfMacSchedSapProvider::SchedDlCqiInfoReqParameters::m_cqiList, m_cqiTimersThreshold, m_ffrSapProvider, m_p10CqiRxed, m_p10CqiTimers, NS_LOG_ERROR, NS_LOG_FUNCTION, NS_LOG_LOGIC, ns3::CqiListElement_s::P10, and ns3::LteFfrSapProvider::ReportDlCqiInfo().
|
private |
Sched DL MAC Buffer Request.
params | SchedDlMacBufferReqParameters& |
Definition at line 492 of file cqa-ff-mac-scheduler.cc.
References NS_FATAL_ERROR, and NS_LOG_FUNCTION.
|
private |
Sched DL Paging Buffer Request.
params | SchedDlPagingBufferReqParameters& |
Definition at line 484 of file cqa-ff-mac-scheduler.cc.
References NS_FATAL_ERROR, and NS_LOG_FUNCTION.
|
private |
Sched DL RACH Info Request.
params | SchedDlRachInfoReqParameters& |
Definition at line 1673 of file cqa-ff-mac-scheduler.cc.
References m_rachList, ns3::FfMacSchedSapProvider::SchedDlRachInfoReqParameters::m_rachList, and NS_LOG_FUNCTION.
|
private |
Sched DL RLC Buffer Request.
params | SchedDlRlcBufferReqParameters& |
Definition at line 460 of file cqa-ff-mac-scheduler.cc.
References ns3::FfMacSchedSapProvider::SchedDlRlcBufferReqParameters::m_logicalChannelIdentity, m_rlcBufferReq, ns3::FfMacSchedSapProvider::SchedDlRlcBufferReqParameters::m_rnti, and NS_LOG_FUNCTION.
|
private |
Sched DL RLC Buffer Request.
params | SchedDlTriggerReqParameters& |
Definition at line 645 of file cqa-ff-mac-scheduler.cc.
References ns3::CqaGroupDescComparator(), ns3::qos_rb_and_CQI_assigned_to_lc::cqi_value_for_lc, ns3::LteFfrSapProvider::GetAvailableDlRbg(), ns3::LteFfrSapProvider::GetAvailableUlRbg(), GetRbgSize(), ns3::LteFfrSapProvider::GetTpc(), HARQ_PROC_NUM, HarqProcessAvailability(), ns3::LteFfrSapProvider::IsDlRbgAvailableForUe(), bianchi11ax::k, LcActivePerFlow(), m_a30CqiRxed, ns3::UlDciListElement_s::m_aggrLevel, m_amc, ns3::FfMacSchedSapUser::SchedDlConfigIndParameters::m_buildDataList, ns3::FfMacSchedSapUser::SchedDlConfigIndParameters::m_buildRarList, ns3::UlDciListElement_s::m_cceIndex, m_CqaMetric, 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, ns3::FfMacSchedSapProvider::SchedDlTriggerReqParameters::m_dlInfoList, m_dlInfoListBuffered, ns3::LogicalChannelConfigListElement_s::m_eRabGuaranteedBitrateDl, m_ffrSapProvider, 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::LteFlowId_t::m_lcId, 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, 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::DlDciListElement_s::m_rnti, ns3::UlDciListElement_s::m_rnti, ns3::BuildDataListElement_s::m_rnti, ns3::UlGrant_s::m_rnti, ns3::BuildRarListElement_s::m_rnti, ns3::LteFlowId_t::m_rnti, ns3::DlDciListElement_s::m_rv, m_schedSapUser, ns3::FfMacSchedSapProvider::SchedDlTriggerReqParameters::m_sfnSf, 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_ueLogicalChannelsConfigList, 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::qos_rb_and_CQI_assigned_to_lc::resource_block_index, ns3::FfMacSchedSapUser::SchedDlConfigInd(), ns3::TransmissionModesLayers::TxMode2LayerNum(), UpdateDlRlcBufferInfo(), and UpdateHarqProcessId().
|
private |
Sched UL CGI Info Request.
params | SchedUlCqiInfoReqParameters& |
Definition at line 2244 of file cqa-ff-mac-scheduler.cc.
References ns3::LteFfConverter::fpS11dot3toDouble(), m_allocationMaps, m_cqiTimersThreshold, m_cschedCellConfig, ns3::FfMacSchedSapProvider::SchedUlCqiInfoReqParameters::m_sfnSf, ns3::UlCqi_s::m_sinr, m_ueCqi, m_ueCqiTimers, ns3::FfMacCschedSapProvider::CschedCellConfigReqParameters::m_ulBandwidth, ns3::FfMacSchedSapProvider::SchedUlCqiInfoReqParameters::m_ulCqi, ns3::FfMacScheduler::m_ulCqiFilter, ns3::FfMacSchedSapProvider::SchedUlCqiInfoReqParameters::m_vendorSpecificList, 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.
params | SchedUlMacCtrlInfoReqParameters& |
Definition at line 2200 of file cqa-ff-mac-scheduler.cc.
References ns3::MacCeListElement_s::BSR, ns3::BufferSizeLevelBsr::BsrId2BufferSize(), m_ceBsrRxed, ns3::FfMacSchedSapProvider::SchedUlMacCtrlInfoReqParameters::m_macCeList, NS_LOG_FUNCTION, and NS_LOG_LOGIC.
|
private |
Sched UL Noise InterferenceRequest.
params | SchedUlNoiseInterferenceReqParameters& |
Definition at line 2186 of file cqa-ff-mac-scheduler.cc.
References NS_LOG_FUNCTION.
|
private |
Sched UL Sr Info Request.
params | SchedUlSrInfoReqParameters& |
Definition at line 2193 of file cqa-ff-mac-scheduler.cc.
References NS_LOG_FUNCTION.
|
private |
Sched UL Trigger Request.
params | SchedUlTriggerReqParameters& |
Definition at line 1776 of file cqa-ff-mac-scheduler.cc.
References EstimateUlSinr(), ns3::LteFfrSapProvider::GetAvailableUlRbg(), ns3::LteFfrSapProvider::GetMinContinuousUlBandwidth(), HARQ_PERIOD, HARQ_PROC_NUM, ns3::LteFfrSapProvider::IsUlRbgAvailableForUe(), 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_ffrSapProvider, 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::FfMacSchedSapProvider::SchedUlTriggerReqParameters::m_sfnSf, 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::FfMacSchedSapProvider::SchedUlTriggerReqParameters::m_ulInfoList, 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::LteFfrSapProvider::ReportUlCqiInfo(), ns3::FfMacSchedSapUser::SchedUlConfigInd(), and UpdateUlRlcBufferInfo().
|
private |
Estimate UL Sinr.
rnti | the RNTI |
rb | the RB |
Definition at line 1745 of file cqa-ff-mac-scheduler.cc.
References m_cschedCellConfig, m_ueCqi, ns3::FfMacCschedSapProvider::CschedCellConfigReqParameters::m_ulBandwidth, and NO_SINR.
Referenced by DoSchedUlTriggerReq().
|
virtual |
Implements ns3::FfMacScheduler.
Definition at line 210 of file cqa-ff-mac-scheduler.cc.
References m_cschedSapProvider.
|
virtual |
Implements ns3::FfMacScheduler.
Definition at line 216 of file cqa-ff-mac-scheduler.cc.
References m_schedSapProvider.
|
virtual |
Implements ns3::FfMacScheduler.
Definition at line 228 of file cqa-ff-mac-scheduler.cc.
References m_ffrSapUser.
|
private |
Get RGB Size.
dlbandwidth | the DL bandwidth |
Definition at line 500 of file cqa-ff-mac-scheduler.cc.
References ns3::CqaType0AllocationRbg.
Referenced by DoSchedDlTriggerReq().
|
static |
Get the type ID.
Definition at line 165 of file cqa-ff-mac-scheduler.cc.
References m_CqaMetric, m_cqiTimersThreshold, m_harqOn, m_ulGrantMcs, ns3::MakeBooleanAccessor(), ns3::MakeBooleanChecker(), ns3::MakeStringAccessor(), ns3::MakeStringChecker(), ns3::MakeUintegerAccessor(), 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 538 of file cqa-ff-mac-scheduler.cc.
References HARQ_PROC_NUM, m_dlHarqCurrentProcessId, m_dlHarqProcessesStatus, NS_FATAL_ERROR, and NS_LOG_FUNCTION.
Referenced by DoSchedDlTriggerReq().
|
private |
LC Active per flow.
rnti | the RNTI |
Definition at line 515 of file cqa-ff-mac-scheduler.cc.
References m_rlcBufferReq.
Referenced by DoSchedDlTriggerReq().
|
private |
Refresh DL CGI maps.
Definition at line 2391 of file cqa-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 612 of file cqa-ff-mac-scheduler.cc.
References HARQ_DL_TIMEOUT, HARQ_PROC_NUM, m_dlHarqProcessesStatus, m_dlHarqProcessesTimer, NS_FATAL_ERROR, NS_LOG_DEBUG, and NS_LOG_FUNCTION.
Referenced by DoSchedDlTriggerReq().
|
private |
Refresh UL CGI maps.
Definition at line 2444 of file cqa-ff-mac-scheduler.cc.
References m_cqiTimersThreshold, m_ueCqi, m_ueCqiTimers, NS_ASSERT_MSG, and NS_LOG_INFO.
Referenced by DoSchedUlTriggerReq().
|
virtual |
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 198 of file cqa-ff-mac-scheduler.cc.
References m_cschedSapUser.
|
virtual |
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 204 of file cqa-ff-mac-scheduler.cc.
References m_schedSapUser.
|
virtual |
Set the Provider part of the LteFfrSap that this Scheduler will interact with.
s |
Implements ns3::FfMacScheduler.
Definition at line 222 of file cqa-ff-mac-scheduler.cc.
References m_ffrSapProvider.
void ns3::CqaFfMacScheduler::TransmissionModeConfigurationUpdate | ( | uint16_t | rnti, |
uint8_t | txMode | ||
) |
Trans mode config update.
rnti | the RNTI |
txMode | the transmit mode |
Definition at line 2551 of file cqa-ff-mac-scheduler.cc.
References ns3::FfMacCschedSapUser::CschedUeConfigUpdateInd(), m_cschedSapUser, ns3::FfMacCschedSapUser::CschedUeConfigUpdateIndParameters::m_rnti, ns3::FfMacCschedSapUser::CschedUeConfigUpdateIndParameters::m_transmissionMode, and NS_LOG_FUNCTION.
|
private |
Update DL RLC buffer info.
rnti | the RNTI |
lcid | the LCID |
size | the size |
Definition at line 2474 of file cqa-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 571 of file cqa-ff-mac-scheduler.cc.
References 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 2526 of file cqa-ff-mac-scheduler.cc.
References m_ceBsrRxed, NS_LOG_ERROR, and NS_LOG_INFO.
Referenced by DoSchedUlTriggerReq().
|
friend |
allow MemberCschedSapProvider<CqaFfMacScheduler> class friend access
Definition at line 112 of file cqa-ff-mac-scheduler.h.
Referenced by CqaFfMacScheduler().
|
friend |
allow MemberSchedSapProvider<CqaFfMacScheduler> class friend access
Definition at line 112 of file cqa-ff-mac-scheduler.h.
Referenced by CqaFfMacScheduler().
|
private |
Map of UE's DL CQI A30 received.
Definition at line 332 of file cqa-ff-mac-scheduler.h.
Referenced by DoSchedDlCqiInfoReq(), DoSchedDlTriggerReq(), and RefreshDlCqiMaps().
|
private |
Map of UE's timers on DL CQI A30 received.
Definition at line 337 of file cqa-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 343 of file cqa-ff-mac-scheduler.h.
Referenced by DoSchedUlCqiInfoReq(), and DoSchedUlTriggerReq().
LTE AMC object.
Definition at line 296 of file cqa-ff-mac-scheduler.h.
Referenced by CqaFfMacScheduler(), DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().
|
private |
Map of UE's buffer status reports received.
Definition at line 358 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedUeReleaseReq(), DoSchedUlMacCtrlInfoReq(), DoSchedUlTriggerReq(), and UpdateUlRlcBufferInfo().
|
private |
CQA metric name.
Definition at line 408 of file cqa-ff-mac-scheduler.h.
Referenced by DoSchedDlTriggerReq(), and GetTypeId().
|
private |
Definition at line 378 of file cqa-ff-mac-scheduler.h.
Referenced by DoSchedDlCqiInfoReq(), DoSchedUlCqiInfoReq(), GetTypeId(), RefreshDlCqiMaps(), and RefreshUlCqiMaps().
|
private |
Internal parameters.
Definition at line 371 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedCellConfigReq(), DoSchedDlTriggerReq(), DoSchedUlCqiInfoReq(), DoSchedUlTriggerReq(), and EstimateUlSinr().
|
private |
Csched SAP provider.
Definition at line 363 of file cqa-ff-mac-scheduler.h.
Referenced by CqaFfMacScheduler(), DoDispose(), and GetFfMacCschedSapProvider().
|
private |
MAC Csched SAP user.
Definition at line 361 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedCellConfigReq(), SetFfMacCschedSapUser(), and TransmissionModeConfigurationUpdate().
|
private |
DL HARQ process ID.
Definition at line 384 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), HarqProcessAvailability(), and UpdateHarqProcessId().
|
private |
DL HARQ process DCI buffer.
Definition at line 390 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), and DoSchedDlTriggerReq().
|
private |
DL HARQ process RLC PDU list buffer.
Definition at line 391 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), and DoSchedDlTriggerReq().
|
private |
DL HARQ process statuses.
Definition at line 388 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoSchedDlTriggerReq(), HarqProcessAvailability(), RefreshHarqProcesses(), and UpdateHarqProcessId().
|
private |
DL HARQ process timers.
Definition at line 389 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), DoSchedDlTriggerReq(), and RefreshHarqProcesses().
|
private |
DL HARQ retx buffered.
Definition at line 392 of file cqa-ff-mac-scheduler.h.
Referenced by DoDispose(), and DoSchedDlTriggerReq().
|
private |
FFR SAP provider.
Definition at line 368 of file cqa-ff-mac-scheduler.h.
Referenced by CqaFfMacScheduler(), DoSchedDlCqiInfoReq(), DoSchedDlTriggerReq(), DoSchedUlTriggerReq(), and SetLteFfrSapProvider().
|
private |
FFR SAP user.
Definition at line 367 of file cqa-ff-mac-scheduler.h.
Referenced by CqaFfMacScheduler(), DoDispose(), and GetLteFfrSapUser().
|
private |
Map of UE statistics (per RNTI basis) in downlink.
Definition at line 307 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedLcConfigReq(), DoCschedUeReleaseReq(), and DoSchedDlTriggerReq().
|
private |
Map of UE statistics (per RNTI basis)
Definition at line 312 of file cqa-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 383 of file cqa-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 376 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedUeReleaseReq(), and DoSchedUlTriggerReq().
|
private |
Map of UE's DL CQI P01 received.
Definition at line 322 of file cqa-ff-mac-scheduler.h.
Referenced by DoSchedDlCqiInfoReq(), and RefreshDlCqiMaps().
|
private |
Map of UE's timers on DL CQI P01 received.
Definition at line 327 of file cqa-ff-mac-scheduler.h.
Referenced by DoSchedDlCqiInfoReq(), and RefreshDlCqiMaps().
|
private |
RACH allocation map.
Definition at line 404 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedCellConfigReq(), DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().
|
private |
RACH list.
Definition at line 403 of file cqa-ff-mac-scheduler.h.
Referenced by DoSchedDlRachInfoReq(), and DoSchedDlTriggerReq().
|
private |
Vectors of UE's LC info.
Definition at line 301 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedLcReleaseReq(), DoCschedUeReleaseReq(), DoSchedDlRlcBufferReq(), DoSchedDlTriggerReq(), LcActivePerFlow(), and UpdateDlRlcBufferInfo().
|
private |
Sched SAP provider.
Definition at line 364 of file cqa-ff-mac-scheduler.h.
Referenced by CqaFfMacScheduler(), DoDispose(), and GetFfMacSchedSapProvider().
|
private |
MAC Sched SAP user.
Definition at line 362 of file cqa-ff-mac-scheduler.h.
Referenced by DoSchedDlTriggerReq(), DoSchedUlTriggerReq(), and SetFfMacSchedSapUser().
|
private |
time window
Definition at line 374 of file cqa-ff-mac-scheduler.h.
Referenced by DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().
|
private |
Map of UEs' UL-CQI per RBG.
Definition at line 348 of file cqa-ff-mac-scheduler.h.
Referenced by DoSchedUlCqiInfoReq(), DoSchedUlTriggerReq(), EstimateUlSinr(), and RefreshUlCqiMaps().
|
private |
Map of UEs' timers on UL-CQI per RBG.
Definition at line 353 of file cqa-ff-mac-scheduler.h.
Referenced by DoSchedUlCqiInfoReq(), and RefreshUlCqiMaps().
|
private |
Map of UE logical channel config list.
Definition at line 317 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedLcConfigReq(), DoCschedLcReleaseReq(), DoCschedUeReleaseReq(), and DoSchedDlTriggerReq().
|
private |
txMode of the UEs
Definition at line 380 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), and DoSchedDlTriggerReq().
|
private |
MCS for UL grant (default 0)
Definition at line 405 of file cqa-ff-mac-scheduler.h.
Referenced by DoSchedDlTriggerReq(), and GetTypeId().
|
private |
UL HARQ current process ID.
Definition at line 394 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().
|
private |
UL HARQ process DCI buffer.
Definition at line 399 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().
|
private |
UL HARQ process status.
Definition at line 398 of file cqa-ff-mac-scheduler.h.
Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), and DoSchedUlTriggerReq().