A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::TdTbfqFfMacScheduler Class Reference

Implements the SCHED SAP and CSCHED SAP for a Time Domain Token Bank Fair Queue scheduler. More...

#include "tdtbfq-ff-mac-scheduler.h"

+ Inheritance diagram for ns3::TdTbfqFfMacScheduler:
+ Collaboration diagram for ns3::TdTbfqFfMacScheduler:

Public Member Functions

 TdTbfqFfMacScheduler ()
 Constructor.
 
 ~TdTbfqFfMacScheduler () override
 Destructor.
 
void DoDispose () override
 Destructor implementation.
 
FfMacCschedSapProviderGetFfMacCschedSapProvider () override
 
FfMacSchedSapProviderGetFfMacSchedSapProvider () override
 
LteFfrSapUserGetLteFfrSapUser () 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 mde configuration update function.
 
- Public Member Functions inherited from ns3::FfMacScheduler
 FfMacScheduler ()
 constructor
 
 ~FfMacScheduler () override
 destructor
 
void DoDispose () override
 Destructor implementation.
 
virtual FfMacCschedSapProviderGetFfMacCschedSapProvider ()=0
 
virtual FfMacSchedSapProviderGetFfMacSchedSapProvider ()=0
 
virtual LteFfrSapUserGetLteFfrSapUser ()=0
 
virtual void SetFfMacCschedSapUser (FfMacCschedSapUser *s)=0
 set the user part of the FfMacCschedSap that this Scheduler will interact with.
 
virtual void SetFfMacSchedSapUser (FfMacSchedSapUser *s)=0
 set the user part of the FfMacSchedSap that this Scheduler will interact with.
 
virtual void SetLteFfrSapProvider (LteFfrSapProvider *s)=0
 Set the Provider part of the LteFfrSap that this Scheduler will interact with.
 
- 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< ObjectGetObject () 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< ObjectGetObject (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.
 
- 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.
 
SimpleRefCountoperator= (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) 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.
 
virtual TypeId GetInstanceTypeId () const =0
 Get the most derived TypeId for this Object.
 
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 &params)
 CSched cell config request.
 
void DoCschedLcConfigReq (const FfMacCschedSapProvider::CschedLcConfigReqParameters &params)
 CSched LC config request.
 
void DoCschedLcReleaseReq (const FfMacCschedSapProvider::CschedLcReleaseReqParameters &params)
 CSched LC release request.
 
void DoCschedUeConfigReq (const FfMacCschedSapProvider::CschedUeConfigReqParameters &params)
 CSched UE config request.
 
void DoCschedUeReleaseReq (const FfMacCschedSapProvider::CschedUeReleaseReqParameters &params)
 CSched UE release request.
 
void DoSchedDlCqiInfoReq (const FfMacSchedSapProvider::SchedDlCqiInfoReqParameters &params)
 Sched DL CQI info request.
 
void DoSchedDlMacBufferReq (const FfMacSchedSapProvider::SchedDlMacBufferReqParameters &params)
 Sched DL MAC buffer request.
 
void DoSchedDlPagingBufferReq (const FfMacSchedSapProvider::SchedDlPagingBufferReqParameters &params)
 Sched DL paging buffer request.
 
void DoSchedDlRachInfoReq (const FfMacSchedSapProvider::SchedDlRachInfoReqParameters &params)
 Sched DL RACH info request.
 
void DoSchedDlRlcBufferReq (const FfMacSchedSapProvider::SchedDlRlcBufferReqParameters &params)
 Sched DL RLC buffer request.
 
void DoSchedDlTriggerReq (const FfMacSchedSapProvider::SchedDlTriggerReqParameters &params)
 Sched DL trigger request.
 
void DoSchedUlCqiInfoReq (const FfMacSchedSapProvider::SchedUlCqiInfoReqParameters &params)
 Sched UL CQI info request.
 
void DoSchedUlMacCtrlInfoReq (const FfMacSchedSapProvider::SchedUlMacCtrlInfoReqParameters &params)
 Sched UL MAC control info request.
 
void DoSchedUlNoiseInterferenceReq (const FfMacSchedSapProvider::SchedUlNoiseInterferenceReqParameters &params)
 Sched UL noise interference request.
 
void DoSchedUlSrInfoReq (const FfMacSchedSapProvider::SchedUlSrInfoReqParameters &params)
 Sched UL SR info request.
 
void DoSchedUlTriggerReq (const FfMacSchedSapProvider::SchedUlTriggerReqParameters &params)
 Sched UL trigger request.
 
double EstimateUlSinr (uint16_t rnti, uint16_t rb)
 Estimate UL SINR function.
 
int GetRbgSize (int dlbandwidth)
 Get RBG size.
 
bool HarqProcessAvailability (uint16_t rnti)
 Return the availability of free process for the RNTI specified.
 
unsigned int LcActivePerFlow (uint16_t rnti)
 LC active flow size.
 
void RefreshDlCqiMaps ()
 Refresh DL CQI maps function.
 
void RefreshHarqProcesses ()
 Refresh HARQ processes according to the timers.
 
void RefreshUlCqiMaps ()
 Refresh UL CQI maps function.
 
void UpdateDlRlcBufferInfo (uint16_t rnti, uint8_t lcid, uint16_t size)
 Update DL RLC buffer info function.
 
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 function.
 

Private Attributes

uint64_t bankSize
 the number of bytes in token bank
 
std::map< uint16_t, SbMeasResult_sm_a30CqiRxed
 Map of UE's DL CQI A30 received.
 
std::map< uint16_t, uint32_tm_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< LteAmcm_amc
 AMC.
 
std::map< uint16_t, uint32_tm_ceBsrRxed
 Map of UE's buffer status reports received.
 
uint32_t m_cqiTimersThreshold
 
uint32_t m_creditableThreshold
 threshold of flow credit
 
uint32_t m_creditLimit
 flow credit limit (byte)
 
FfMacCschedSapProvider::CschedCellConfigReqParameters m_cschedCellConfig
 CSched cell config.
 
FfMacCschedSapProviderm_cschedSapProvider
 CSched SAP provider.
 
FfMacCschedSapUserm_cschedSapUser
 CSched SAP user.
 
int m_debtLimit
 flow debt limit (byte)
 
std::map< uint16_t, uint8_t > m_dlHarqCurrentProcessId
 DL HARQ current process ID.
 
std::map< uint16_t, DlHarqProcessesDciBuffer_tm_dlHarqProcessesDciBuffer
 DL HARQ process DCI buffer.
 
std::map< uint16_t, DlHarqRlcPduListBuffer_tm_dlHarqProcessesRlcPduListBuffer
 DL HARQ process RLC PDU list buffer.
 
std::map< uint16_t, DlHarqProcessesStatus_tm_dlHarqProcessesStatus
 DL HARQ process status.
 
std::map< uint16_t, DlHarqProcessesTimer_tm_dlHarqProcessesTimer
 DL HARQ process timer.
 
std::vector< DlInfoListElement_sm_dlInfoListBuffered
 HARQ retx buffered.
 
LteFfrSapProviderm_ffrSapProvider
 FFR SAP provider.
 
LteFfrSapUserm_ffrSapUser
 FFR SAP user.
 
std::map< uint16_t, tdtbfqsFlowPerf_tm_flowStatsDl
 Map of UE statistics (per RNTI basis) in downlink.
 
std::map< uint16_t, tdtbfqsFlowPerf_tm_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_tm_p10CqiTimers
 Map of UE's timers on DL CQI P01 received.
 
std::vector< uint16_t > m_rachAllocationMap
 RACH allocation map.
 
std::vector< RachListElement_sm_rachList
 RACH list.
 
std::map< LteFlowId_t, FfMacSchedSapProvider::SchedDlRlcBufferReqParametersm_rlcBufferReq
 Vectors of UE's LC info.
 
FfMacSchedSapProviderm_schedSapProvider
 Sched SAP provider.
 
FfMacSchedSapUserm_schedSapUser
 A=Sched SAP user.
 
uint32_t m_tokenPoolSize
 maximum size of token pool (byte)
 
std::map< uint16_t, std::vector< double > > m_ueCqi
 Map of UEs' UL-CQI per RBG.
 
std::map< uint16_t, uint32_tm_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_tm_ulHarqProcessesDciBuffer
 UL HARQ process DCI buffer.
 
std::map< uint16_t, UlHarqProcessesStatus_tm_ulHarqProcessesStatus
 UL HARQ process status.
 

Friends

class MemberCschedSapProvider< TdTbfqFfMacScheduler >
 allow MemberCschedSapProvider<TdTbfqFfMacScheduler> class friend access
 
class MemberSchedSapProvider< TdTbfqFfMacScheduler >
 allow MemberSchedSapProvider<TdTbfqFfMacScheduler> 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 DoDispose ()
 Destructor implementation.
 
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.
 

Detailed Description

Implements the SCHED SAP and CSCHED SAP for a Time Domain Token Bank Fair Queue scheduler.

This class implements the interface defined by the FfMacScheduler abstract class

Config Paths

ns3::TdTbfqFfMacScheduler is accessible through the following paths with Config::Set and Config::Connect:

  • "/NodeList/[i]/DeviceList/[i]/$ns3::LteEnbNetDevice/ComponentCarrierMap/[i]/FfMacScheduler/$ns3::TdTbfqFfMacScheduler"
  • "/NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/$ns3::LteEnbNetDevice/ComponentCarrierMap/[i]/FfMacScheduler/$ns3::TdTbfqFfMacScheduler"

Attributes

  • CqiTimerThreshold: The number of TTIs a CQI is valid (default 1000 - 1 sec.)
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 1000
    • Flags: constructwriteread
  • CreditLimit: Flow credit limit (default 625000 bytes)
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 625000
    • Flags: constructwriteread
  • CreditableThreshold: Threshold of flow credit (default 0 bytes)
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 0
    • Flags: constructwriteread
  • DebtLimit: Flow debt limit (default -625000 bytes)
    • Set with class: ns3::IntegerValue
    • Underlying type: int32_t -2147483648:2147483647
    • Initial value: -625000
    • Flags: constructwriteread
  • HarqEnabled: Activate/Deactivate the HARQ [by default is active].
    • Set with class: ns3::BooleanValue
    • Underlying type: bool
    • Initial value: true
    • Flags: constructwriteread
  • TokenPoolSize: The maximum value of flow token pool (default 1 bytes)
    • Set with class: ns3::UintegerValue
    • Underlying type: uint32_t 0:4294967295
    • Initial value: 1
    • Flags: constructwriteread
  • UlGrantMcs: The MCS of the UL grant, must be [0..15] (default 0)
    • Set with class: ns3::UintegerValue
    • Underlying type: uint8_t 0:255
    • Initial value: 0
    • Flags: constructwriteread

Attributes defined in parent class ns3::FfMacScheduler

  • UlCqiFilter: The filter to apply on UL CQIs received
    • Set with class: ns3::EnumValue
    • Underlying type: SRS_UL_CQI|PUSCH_UL_CQI
    • Initial value: SRS_UL_CQI
    • Flags: constructwriteread

No TraceSources are defined for this type.
Size of this type is 1368 bytes (on a 64-bit architecture).

Definition at line 64 of file tdtbfq-ff-mac-scheduler.h.

Constructor & Destructor Documentation

◆ TdTbfqFfMacScheduler()

ns3::TdTbfqFfMacScheduler::TdTbfqFfMacScheduler ( )

◆ ~TdTbfqFfMacScheduler()

ns3::TdTbfqFfMacScheduler::~TdTbfqFfMacScheduler ( )
override

Destructor.

Definition at line 64 of file tdtbfq-ff-mac-scheduler.cc.

References NS_LOG_FUNCTION.

Member Function Documentation

◆ DoCschedCellConfigReq()

◆ DoCschedLcConfigReq()

◆ DoCschedLcReleaseReq()

void ns3::TdTbfqFfMacScheduler::DoCschedLcReleaseReq ( const FfMacCschedSapProvider::CschedLcReleaseReqParameters params)
private

CSched LC release request.

Parameters
paramsFfMacCschedSapProvider::CschedLcReleaseReqParameters

Definition at line 284 of file tdtbfq-ff-mac-scheduler.cc.

References m_rlcBufferReq, and NS_LOG_FUNCTION.

◆ DoCschedUeConfigReq()

◆ DoCschedUeReleaseReq()

◆ DoDispose()

void ns3::TdTbfqFfMacScheduler::DoDispose ( )
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::FfMacScheduler.

Definition at line 70 of file tdtbfq-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.

◆ DoSchedDlCqiInfoReq()

void ns3::TdTbfqFfMacScheduler::DoSchedDlCqiInfoReq ( const FfMacSchedSapProvider::SchedDlCqiInfoReqParameters params)
private

◆ DoSchedDlMacBufferReq()

void ns3::TdTbfqFfMacScheduler::DoSchedDlMacBufferReq ( const FfMacSchedSapProvider::SchedDlMacBufferReqParameters params)
private

Sched DL MAC buffer request.

Parameters
paramsFfMacSchedSapProvider::SchedDlMacBufferReqParameters

Definition at line 384 of file tdtbfq-ff-mac-scheduler.cc.

References NS_FATAL_ERROR, and NS_LOG_FUNCTION.

◆ DoSchedDlPagingBufferReq()

void ns3::TdTbfqFfMacScheduler::DoSchedDlPagingBufferReq ( const FfMacSchedSapProvider::SchedDlPagingBufferReqParameters params)
private

Sched DL paging buffer request.

Parameters
paramsFfMacSchedSapProvider::SchedDlPagingBufferReqParameters

Definition at line 376 of file tdtbfq-ff-mac-scheduler.cc.

References NS_FATAL_ERROR, and NS_LOG_FUNCTION.

◆ DoSchedDlRachInfoReq()

void ns3::TdTbfqFfMacScheduler::DoSchedDlRachInfoReq ( const FfMacSchedSapProvider::SchedDlRachInfoReqParameters params)
private

Sched DL RACH info request.

Parameters
paramsFfMacSchedSapProvider::SchedDlRachInfoReqParameters

Definition at line 1326 of file tdtbfq-ff-mac-scheduler.cc.

References m_rachList, and NS_LOG_FUNCTION.

◆ DoSchedDlRlcBufferReq()

void ns3::TdTbfqFfMacScheduler::DoSchedDlRlcBufferReq ( const FfMacSchedSapProvider::SchedDlRlcBufferReqParameters params)
private

Sched DL RLC buffer request.

Parameters
paramsFfMacSchedSapProvider::SchedDlRlcBufferReqParameters

Definition at line 351 of file tdtbfq-ff-mac-scheduler.cc.

References m_rlcBufferReq, and NS_LOG_FUNCTION.

◆ DoSchedDlTriggerReq()

void ns3::TdTbfqFfMacScheduler::DoSchedDlTriggerReq ( const FfMacSchedSapProvider::SchedDlTriggerReqParameters params)
private

Sched DL trigger request.

Parameters
paramsFfMacSchedSapProvider::SchedDlTriggerReqParameters
Todo:
check correct value according the DCIs txed

Definition at line 526 of file tdtbfq-ff-mac-scheduler.cc.

References bankSize, ns3::LteFfrSapProvider::GetAvailableDlRbg(), ns3::LteFfrSapProvider::GetAvailableUlRbg(), GetRbgSize(), ns3::LteFfrSapProvider::GetTpc(), ns3::HARQ_PROC_NUM, HarqProcessAvailability(), ns3::LteFfrSapProvider::IsDlRbgAvailableForUe(), 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, 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_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::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::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, 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().

+ Here is the call graph for this function:

◆ DoSchedUlCqiInfoReq()

◆ DoSchedUlMacCtrlInfoReq()

void ns3::TdTbfqFfMacScheduler::DoSchedUlMacCtrlInfoReq ( const FfMacSchedSapProvider::SchedUlMacCtrlInfoReqParameters params)
private

Sched UL MAC control info request.

Parameters
paramsFfMacSchedSapProvider::SchedUlMacCtrlInfoReqParameters

Definition at line 1847 of file tdtbfq-ff-mac-scheduler.cc.

References ns3::MacCeListElement_s::BSR, ns3::BufferSizeLevelBsr::BsrId2BufferSize(), m_ceBsrRxed, NS_LOG_FUNCTION, and NS_LOG_LOGIC.

+ Here is the call graph for this function:

◆ DoSchedUlNoiseInterferenceReq()

void ns3::TdTbfqFfMacScheduler::DoSchedUlNoiseInterferenceReq ( const FfMacSchedSapProvider::SchedUlNoiseInterferenceReqParameters params)
private

Sched UL noise interference request.

Parameters
paramsFfMacSchedSapProvider::SchedUlNoiseInterferenceReqParameters

Definition at line 1833 of file tdtbfq-ff-mac-scheduler.cc.

References NS_LOG_FUNCTION.

◆ DoSchedUlSrInfoReq()

void ns3::TdTbfqFfMacScheduler::DoSchedUlSrInfoReq ( const FfMacSchedSapProvider::SchedUlSrInfoReqParameters params)
private

Sched UL SR info request.

Parameters
paramsFfMacSchedSapProvider::SchedUlSrInfoReqParameters

Definition at line 1840 of file tdtbfq-ff-mac-scheduler.cc.

References NS_LOG_FUNCTION.

◆ DoSchedUlTriggerReq()

void ns3::TdTbfqFfMacScheduler::DoSchedUlTriggerReq ( const FfMacSchedSapProvider::SchedUlTriggerReqParameters params)
private

Sched UL trigger request.

Parameters
paramsFfMacSchedSapProvider::SchedUlTriggerReqParameters

Definition at line 1430 of file tdtbfq-ff-mac-scheduler.cc.

References EstimateUlSinr(), ns3::LteFfrSapProvider::GetAvailableUlRbg(), ns3::LteFfrSapProvider::GetMinContinuousUlBandwidth(), HARQ_PERIOD, ns3::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, 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, 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::LteFfrSapProvider::ReportUlCqiInfo(), ns3::FfMacSchedSapUser::SchedUlConfigInd(), and UpdateUlRlcBufferInfo().

+ Here is the call graph for this function:

◆ EstimateUlSinr()

double ns3::TdTbfqFfMacScheduler::EstimateUlSinr ( uint16_t  rnti,
uint16_t  rb 
)
private

Estimate UL SINR function.

Parameters
rntithe RNTI
rbthe RB
Returns
the SINR

Definition at line 1400 of file tdtbfq-ff-mac-scheduler.cc.

References m_cschedCellConfig, m_ueCqi, ns3::FfMacCschedSapProvider::CschedCellConfigReqParameters::m_ulBandwidth, and ns3::NO_SINR.

Referenced by DoSchedUlTriggerReq().

+ Here is the caller graph for this function:

◆ GetFfMacCschedSapProvider()

FfMacCschedSapProvider * ns3::TdTbfqFfMacScheduler::GetFfMacCschedSapProvider ( )
overridevirtual
Returns
the Provider part of the FfMacCschedSap provided by the Scheduler

Implements ns3::FfMacScheduler.

Definition at line 145 of file tdtbfq-ff-mac-scheduler.cc.

References m_cschedSapProvider.

◆ GetFfMacSchedSapProvider()

FfMacSchedSapProvider * ns3::TdTbfqFfMacScheduler::GetFfMacSchedSapProvider ( )
overridevirtual
Returns
the Provider part of the FfMacSchedSap provided by the Scheduler

Implements ns3::FfMacScheduler.

Definition at line 151 of file tdtbfq-ff-mac-scheduler.cc.

References m_schedSapProvider.

◆ GetLteFfrSapUser()

LteFfrSapUser * ns3::TdTbfqFfMacScheduler::GetLteFfrSapUser ( )
overridevirtual
Returns
the User part of the LteFfrSap provided by the FfrAlgorithm

Implements ns3::FfMacScheduler.

Definition at line 163 of file tdtbfq-ff-mac-scheduler.cc.

References m_ffrSapUser.

◆ GetRbgSize()

int ns3::TdTbfqFfMacScheduler::GetRbgSize ( int  dlbandwidth)
private

Get RBG size.

Parameters
dlbandwidthhe DL bandwidth
Returns
the RBG size

Definition at line 392 of file tdtbfq-ff-mac-scheduler.cc.

References ns3::TdTbfqType0AllocationRbg.

Referenced by DoSchedDlTriggerReq().

+ Here is the caller graph for this function:

◆ GetTypeId()

TypeId ns3::TdTbfqFfMacScheduler::GetTypeId ( )
static

◆ HarqProcessAvailability()

bool ns3::TdTbfqFfMacScheduler::HarqProcessAvailability ( uint16_t  rnti)
private

Return the availability of free process for the RNTI specified.

Parameters
rntithe RNTI of the UE to be updated
Returns
the availability

Definition at line 427 of file tdtbfq-ff-mac-scheduler.cc.

References ns3::HARQ_PROC_NUM, m_dlHarqCurrentProcessId, m_dlHarqProcessesStatus, NS_FATAL_ERROR, and NS_LOG_FUNCTION.

Referenced by DoSchedDlTriggerReq().

+ Here is the caller graph for this function:

◆ LcActivePerFlow()

unsigned int ns3::TdTbfqFfMacScheduler::LcActivePerFlow ( uint16_t  rnti)
private

LC active flow size.

Parameters
rntithe RNTI
Returns
the LC active flow

Definition at line 406 of file tdtbfq-ff-mac-scheduler.cc.

References m_rlcBufferReq.

Referenced by DoSchedDlTriggerReq().

+ Here is the caller graph for this function:

◆ RefreshDlCqiMaps()

void ns3::TdTbfqFfMacScheduler::RefreshDlCqiMaps ( )
private

Refresh DL CQI maps function.

Definition at line 2031 of file tdtbfq-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().

+ Here is the caller graph for this function:

◆ RefreshHarqProcesses()

void ns3::TdTbfqFfMacScheduler::RefreshHarqProcesses ( )
private

Refresh HARQ processes according to the timers.

Definition at line 492 of file tdtbfq-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().

+ Here is the caller graph for this function:

◆ RefreshUlCqiMaps()

void ns3::TdTbfqFfMacScheduler::RefreshUlCqiMaps ( )
private

Refresh UL CQI maps function.

Definition at line 2085 of file tdtbfq-ff-mac-scheduler.cc.

References m_cqiTimersThreshold, m_ueCqi, m_ueCqiTimers, NS_ASSERT_MSG, and NS_LOG_INFO.

Referenced by DoSchedUlTriggerReq().

+ Here is the caller graph for this function:

◆ SetFfMacCschedSapUser()

void ns3::TdTbfqFfMacScheduler::SetFfMacCschedSapUser ( FfMacCschedSapUser s)
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.

Parameters
s

Implements ns3::FfMacScheduler.

Definition at line 133 of file tdtbfq-ff-mac-scheduler.cc.

References m_cschedSapUser.

◆ SetFfMacSchedSapUser()

void ns3::TdTbfqFfMacScheduler::SetFfMacSchedSapUser ( FfMacSchedSapUser s)
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.

Parameters
s

Implements ns3::FfMacScheduler.

Definition at line 139 of file tdtbfq-ff-mac-scheduler.cc.

References m_schedSapUser.

◆ SetLteFfrSapProvider()

void ns3::TdTbfqFfMacScheduler::SetLteFfrSapProvider ( LteFfrSapProvider s)
overridevirtual

Set the Provider part of the LteFfrSap that this Scheduler will interact with.

Parameters
s

Implements ns3::FfMacScheduler.

Definition at line 157 of file tdtbfq-ff-mac-scheduler.cc.

References m_ffrSapProvider.

◆ TransmissionModeConfigurationUpdate()

void ns3::TdTbfqFfMacScheduler::TransmissionModeConfigurationUpdate ( uint16_t  rnti,
uint8_t  txMode 
)

Transmission mde configuration update function.

Parameters
rntithe RNTI
txModethe transmission mode

Definition at line 2194 of file tdtbfq-ff-mac-scheduler.cc.

References ns3::FfMacCschedSapUser::CschedUeConfigUpdateInd(), m_cschedSapUser, and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

◆ UpdateDlRlcBufferInfo()

void ns3::TdTbfqFfMacScheduler::UpdateDlRlcBufferInfo ( uint16_t  rnti,
uint8_t  lcid,
uint16_t  size 
)
private

Update DL RLC buffer info function.

Parameters
rntithe RNTI
lcidthe LCID
sizethe size

Definition at line 2115 of file tdtbfq-ff-mac-scheduler.cc.

References m_rlcBufferReq, NS_LOG_ERROR, and NS_LOG_INFO.

Referenced by DoSchedDlTriggerReq().

+ Here is the caller graph for this function:

◆ UpdateHarqProcessId()

uint8_t ns3::TdTbfqFfMacScheduler::UpdateHarqProcessId ( uint16_t  rnti)
private

Update and return a new process Id for the RNTI specified.

Parameters
rntithe RNTI of the UE to be updated
Returns
the process id value

Definition at line 452 of file tdtbfq-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().

+ Here is the caller graph for this function:

◆ UpdateUlRlcBufferInfo()

void ns3::TdTbfqFfMacScheduler::UpdateUlRlcBufferInfo ( uint16_t  rnti,
uint16_t  size 
)
private

Update UL RLC buffer info function.

Parameters
rntithe RNTI
sizethe size

Definition at line 2171 of file tdtbfq-ff-mac-scheduler.cc.

References m_ceBsrRxed, NS_LOG_ERROR, and NS_LOG_INFO.

Referenced by DoSchedUlTriggerReq().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ MemberCschedSapProvider< TdTbfqFfMacScheduler >

allow MemberCschedSapProvider<TdTbfqFfMacScheduler> class friend access

Definition at line 95 of file tdtbfq-ff-mac-scheduler.h.

Referenced by TdTbfqFfMacScheduler().

◆ MemberSchedSapProvider< TdTbfqFfMacScheduler >

allow MemberSchedSapProvider<TdTbfqFfMacScheduler> class friend access

Definition at line 95 of file tdtbfq-ff-mac-scheduler.h.

Referenced by TdTbfqFfMacScheduler().

Member Data Documentation

◆ bankSize

uint64_t ns3::TdTbfqFfMacScheduler::bankSize
private

the number of bytes in token bank

Definition at line 357 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlTriggerReq().

◆ m_a30CqiRxed

std::map<uint16_t, SbMeasResult_s> ns3::TdTbfqFfMacScheduler::m_a30CqiRxed
private

Map of UE's DL CQI A30 received.

Definition at line 311 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlCqiInfoReq(), DoSchedDlTriggerReq(), and RefreshDlCqiMaps().

◆ m_a30CqiTimers

std::map<uint16_t, uint32_t> ns3::TdTbfqFfMacScheduler::m_a30CqiTimers
private

Map of UE's timers on DL CQI A30 received.

Definition at line 315 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlCqiInfoReq(), and RefreshDlCqiMaps().

◆ m_allocationMaps

std::map<uint16_t, std::vector<uint16_t> > ns3::TdTbfqFfMacScheduler::m_allocationMaps
private

Map of previous allocated UE per RBG (used to retrieve info from UL-CQI)

Definition at line 321 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedUlCqiInfoReq(), and DoSchedUlTriggerReq().

◆ m_amc

Ptr<LteAmc> ns3::TdTbfqFfMacScheduler::m_amc
private

◆ m_ceBsrRxed

std::map<uint16_t, uint32_t> ns3::TdTbfqFfMacScheduler::m_ceBsrRxed
private

Map of UE's buffer status reports received.

Definition at line 335 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedUeReleaseReq(), DoSchedUlMacCtrlInfoReq(), DoSchedUlTriggerReq(), and UpdateUlRlcBufferInfo().

◆ m_cqiTimersThreshold

uint32_t ns3::TdTbfqFfMacScheduler::m_cqiTimersThreshold
private

of TTIs for which a CQI can be considered valid

Definition at line 353 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlCqiInfoReq(), DoSchedUlCqiInfoReq(), GetTypeId(), RefreshDlCqiMaps(), and RefreshUlCqiMaps().

◆ m_creditableThreshold

uint32_t ns3::TdTbfqFfMacScheduler::m_creditableThreshold
private

threshold of flow credit

Definition at line 365 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedLcConfigReq(), and GetTypeId().

◆ m_creditLimit

uint32_t ns3::TdTbfqFfMacScheduler::m_creditLimit
private

flow credit limit (byte)

Definition at line 361 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedLcConfigReq(), and GetTypeId().

◆ m_cschedCellConfig

FfMacCschedSapProvider::CschedCellConfigReqParameters ns3::TdTbfqFfMacScheduler::m_cschedCellConfig
private

◆ m_cschedSapProvider

FfMacCschedSapProvider* ns3::TdTbfqFfMacScheduler::m_cschedSapProvider
private

CSched SAP provider.

Definition at line 340 of file tdtbfq-ff-mac-scheduler.h.

Referenced by TdTbfqFfMacScheduler(), DoDispose(), and GetFfMacCschedSapProvider().

◆ m_cschedSapUser

FfMacCschedSapUser* ns3::TdTbfqFfMacScheduler::m_cschedSapUser
private

◆ m_debtLimit

int ns3::TdTbfqFfMacScheduler::m_debtLimit
private

flow debt limit (byte)

Definition at line 359 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedLcConfigReq(), and GetTypeId().

◆ m_dlHarqCurrentProcessId

std::map<uint16_t, uint8_t> ns3::TdTbfqFfMacScheduler::m_dlHarqCurrentProcessId
private

DL HARQ current process ID.

Definition at line 372 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), HarqProcessAvailability(), and UpdateHarqProcessId().

◆ m_dlHarqProcessesDciBuffer

std::map<uint16_t, DlHarqProcessesDciBuffer_t> ns3::TdTbfqFfMacScheduler::m_dlHarqProcessesDciBuffer
private

DL HARQ process DCI buffer.

Definition at line 379 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), and DoSchedDlTriggerReq().

◆ m_dlHarqProcessesRlcPduListBuffer

std::map<uint16_t, DlHarqRlcPduListBuffer_t> ns3::TdTbfqFfMacScheduler::m_dlHarqProcessesRlcPduListBuffer
private

DL HARQ process RLC PDU list buffer.

Definition at line 381 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), and DoSchedDlTriggerReq().

◆ m_dlHarqProcessesStatus

std::map<uint16_t, DlHarqProcessesStatus_t> ns3::TdTbfqFfMacScheduler::m_dlHarqProcessesStatus
private

◆ m_dlHarqProcessesTimer

std::map<uint16_t, DlHarqProcessesTimer_t> ns3::TdTbfqFfMacScheduler::m_dlHarqProcessesTimer
private

◆ m_dlInfoListBuffered

std::vector<DlInfoListElement_s> ns3::TdTbfqFfMacScheduler::m_dlInfoListBuffered
private

HARQ retx buffered.

Definition at line 382 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoDispose(), and DoSchedDlTriggerReq().

◆ m_ffrSapProvider

LteFfrSapProvider* ns3::TdTbfqFfMacScheduler::m_ffrSapProvider
private

◆ m_ffrSapUser

LteFfrSapUser* ns3::TdTbfqFfMacScheduler::m_ffrSapUser
private

FFR SAP user.

Definition at line 344 of file tdtbfq-ff-mac-scheduler.h.

Referenced by TdTbfqFfMacScheduler(), DoDispose(), and GetLteFfrSapUser().

◆ m_flowStatsDl

std::map<uint16_t, tdtbfqsFlowPerf_t> ns3::TdTbfqFfMacScheduler::m_flowStatsDl
private

Map of UE statistics (per RNTI basis) in downlink.

Definition at line 292 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedLcConfigReq(), DoCschedUeReleaseReq(), and DoSchedDlTriggerReq().

◆ m_flowStatsUl

std::map<uint16_t, tdtbfqsFlowPerf_t> ns3::TdTbfqFfMacScheduler::m_flowStatsUl
private

Map of UE statistics (per RNTI basis)

Definition at line 297 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedLcConfigReq(), and DoCschedUeReleaseReq().

◆ m_harqOn

bool ns3::TdTbfqFfMacScheduler::m_harqOn
private

m_harqOn when false inhibit the HARQ mechanisms (by default active)

Definition at line 371 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlTriggerReq(), DoSchedUlTriggerReq(), GetTypeId(), and UpdateHarqProcessId().

◆ m_nextRntiUl

uint16_t ns3::TdTbfqFfMacScheduler::m_nextRntiUl
private

RNTI of the next user to be served next scheduling in UL.

Definition at line 351 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedUeReleaseReq(), and DoSchedUlTriggerReq().

◆ m_p10CqiRxed

std::map<uint16_t, uint8_t> ns3::TdTbfqFfMacScheduler::m_p10CqiRxed
private

Map of UE's DL CQI P01 received.

Definition at line 302 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlCqiInfoReq(), and RefreshDlCqiMaps().

◆ m_p10CqiTimers

std::map<uint16_t, uint32_t> ns3::TdTbfqFfMacScheduler::m_p10CqiTimers
private

Map of UE's timers on DL CQI P01 received.

Definition at line 306 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlCqiInfoReq(), and RefreshDlCqiMaps().

◆ m_rachAllocationMap

std::vector<uint16_t> ns3::TdTbfqFfMacScheduler::m_rachAllocationMap
private

RACH allocation map.

Definition at line 394 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedCellConfigReq(), DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().

◆ m_rachList

std::vector<RachListElement_s> ns3::TdTbfqFfMacScheduler::m_rachList
private

RACH list.

Definition at line 393 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlRachInfoReq(), and DoSchedDlTriggerReq().

◆ m_rlcBufferReq

std::map<LteFlowId_t, FfMacSchedSapProvider::SchedDlRlcBufferReqParameters> ns3::TdTbfqFfMacScheduler::m_rlcBufferReq
private

◆ m_schedSapProvider

FfMacSchedSapProvider* ns3::TdTbfqFfMacScheduler::m_schedSapProvider
private

Sched SAP provider.

Definition at line 341 of file tdtbfq-ff-mac-scheduler.h.

Referenced by TdTbfqFfMacScheduler(), DoDispose(), and GetFfMacSchedSapProvider().

◆ m_schedSapUser

FfMacSchedSapUser* ns3::TdTbfqFfMacScheduler::m_schedSapUser
private

A=Sched SAP user.

Definition at line 339 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlTriggerReq(), DoSchedUlTriggerReq(), and SetFfMacSchedSapUser().

◆ m_tokenPoolSize

uint32_t ns3::TdTbfqFfMacScheduler::m_tokenPoolSize
private

maximum size of token pool (byte)

Definition at line 363 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedLcConfigReq(), and GetTypeId().

◆ m_ueCqi

std::map<uint16_t, std::vector<double> > ns3::TdTbfqFfMacScheduler::m_ueCqi
private

Map of UEs' UL-CQI per RBG.

Definition at line 326 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedUlCqiInfoReq(), DoSchedUlTriggerReq(), EstimateUlSinr(), and RefreshUlCqiMaps().

◆ m_ueCqiTimers

std::map<uint16_t, uint32_t> ns3::TdTbfqFfMacScheduler::m_ueCqiTimers
private

Map of UEs' timers on UL-CQI per RBG.

Definition at line 330 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedUlCqiInfoReq(), and RefreshUlCqiMaps().

◆ m_uesTxMode

std::map<uint16_t, uint8_t> ns3::TdTbfqFfMacScheduler::m_uesTxMode
private

txMode of the UEs

Definition at line 355 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), and DoSchedDlTriggerReq().

◆ m_ulGrantMcs

uint8_t ns3::TdTbfqFfMacScheduler::m_ulGrantMcs
private

MCS for UL grant (default 0)

Definition at line 395 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlTriggerReq(), and GetTypeId().

◆ m_ulHarqCurrentProcessId

std::map<uint16_t, uint8_t> ns3::TdTbfqFfMacScheduler::m_ulHarqCurrentProcessId
private

UL HARQ current process ID.

Definition at line 384 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().

◆ m_ulHarqProcessesDciBuffer

std::map<uint16_t, UlHarqProcessesDciBuffer_t> ns3::TdTbfqFfMacScheduler::m_ulHarqProcessesDciBuffer
private

UL HARQ process DCI buffer.

Definition at line 390 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), DoSchedDlTriggerReq(), and DoSchedUlTriggerReq().

◆ m_ulHarqProcessesStatus

std::map<uint16_t, UlHarqProcessesStatus_t> ns3::TdTbfqFfMacScheduler::m_ulHarqProcessesStatus
private

UL HARQ process status.

Definition at line 388 of file tdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedUeConfigReq(), DoCschedUeReleaseReq(), DoDispose(), and DoSchedUlTriggerReq().


The documentation for this class was generated from the following files: