A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::FdTbfqFfMacScheduler Class Reference

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

#include <fdtbfq-ff-mac-scheduler.h>

+ Inheritance diagram for ns3::FdTbfqFfMacScheduler:
+ Collaboration diagram for ns3::FdTbfqFfMacScheduler:

Public Member Functions

 FdTbfqFfMacScheduler ()
 Constructor. More...
 
virtual ~FdTbfqFfMacScheduler ()
 Destructor. More...
 
virtual void DoDispose (void)
 This method is called by Object::Dispose or by the object's destructor, whichever comes first. More...
 
virtual FfMacCschedSapProviderGetFfMacCschedSapProvider ()
 
virtual FfMacSchedSapProviderGetFfMacSchedSapProvider ()
 
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...
 
void TransmissionModeConfigurationUpdate (uint16_t rnti, uint8_t txMode)
 
- Public Member Functions inherited from ns3::FfMacScheduler
 FfMacScheduler ()
 constructor More...
 
virtual ~FfMacScheduler ()
 destructor More...
 
- Public Member Functions inherited from ns3::Object
 Object ()
 
virtual ~Object ()
 
void AggregateObject (Ptr< Object > other)
 
void Dispose (void)
 Run the DoDispose methods of this object and all the objects aggregated to it. More...
 
AggregateIterator GetAggregateIterator (void) const
 
virtual TypeId GetInstanceTypeId (void) const
 
template<typename T >
Ptr< T > GetObject (void) const
 
template<typename T >
Ptr< T > GetObject (TypeId tid) const
 
void Initialize (void)
 This method calls the virtual DoInitialize method on all the objects aggregated to this object. More...
 
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount ()
 Constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment. 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
 
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
 
void SetAttribute (std::string name, const AttributeValue &value)
 
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 

Static Public Member Functions

static TypeId GetTypeId (void)
 
- Static Public Member Functions inherited from ns3::FfMacScheduler
static TypeId GetTypeId (void)
 
- Static Public Member Functions inherited from ns3::Object
static TypeId GetTypeId (void)
 Register this type. More...
 
- Static Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
static void Cleanup (void)
 Noop. More...
 
- Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId (void)
 Get the type ID. More...
 

Private Member Functions

void DoCschedCellConfigReq (const struct FfMacCschedSapProvider::CschedCellConfigReqParameters &params)
 
void DoCschedLcConfigReq (const struct FfMacCschedSapProvider::CschedLcConfigReqParameters &params)
 
void DoCschedLcReleaseReq (const struct FfMacCschedSapProvider::CschedLcReleaseReqParameters &params)
 
void DoCschedUeConfigReq (const struct FfMacCschedSapProvider::CschedUeConfigReqParameters &params)
 
void DoCschedUeReleaseReq (const struct FfMacCschedSapProvider::CschedUeReleaseReqParameters &params)
 
void DoSchedDlCqiInfoReq (const struct FfMacSchedSapProvider::SchedDlCqiInfoReqParameters &params)
 
void DoSchedDlMacBufferReq (const struct FfMacSchedSapProvider::SchedDlMacBufferReqParameters &params)
 
void DoSchedDlPagingBufferReq (const struct FfMacSchedSapProvider::SchedDlPagingBufferReqParameters &params)
 
void DoSchedDlRachInfoReq (const struct FfMacSchedSapProvider::SchedDlRachInfoReqParameters &params)
 
void DoSchedDlRlcBufferReq (const struct FfMacSchedSapProvider::SchedDlRlcBufferReqParameters &params)
 
void DoSchedDlTriggerReq (const struct FfMacSchedSapProvider::SchedDlTriggerReqParameters &params)
 
void DoSchedUlCqiInfoReq (const struct FfMacSchedSapProvider::SchedUlCqiInfoReqParameters &params)
 
void DoSchedUlMacCtrlInfoReq (const struct FfMacSchedSapProvider::SchedUlMacCtrlInfoReqParameters &params)
 
void DoSchedUlNoiseInterferenceReq (const struct FfMacSchedSapProvider::SchedUlNoiseInterferenceReqParameters &params)
 
void DoSchedUlSrInfoReq (const struct FfMacSchedSapProvider::SchedUlSrInfoReqParameters &params)
 
void DoSchedUlTriggerReq (const struct FfMacSchedSapProvider::SchedUlTriggerReqParameters &params)
 
double EstimateUlSinr (uint16_t rnti, uint16_t rb)
 
int GetRbgSize (int dlbandwidth)
 
uint8_t HarqProcessAvailability (uint16_t rnti)
 Return the availability of free process for the RNTI specified. More...
 
int LcActivePerFlow (uint16_t rnti)
 
void RefreshDlCqiMaps (void)
 
void RefreshHarqProcesses ()
 Refresh HARQ processes according to the timers. More...
 
void RefreshUlCqiMaps (void)
 
void UpdateDlRlcBufferInfo (uint16_t rnti, uint8_t lcid, uint16_t size)
 
uint8_t UpdateHarqProcessId (uint16_t rnti)
 Update and return a new process Id for the RNTI specified. More...
 
void UpdateUlRlcBufferInfo (uint16_t rnti, uint16_t size)
 

Private Attributes

uint64_t bankSize
 
std::map< uint16_t,
SbMeasResult_s
m_a30CqiRxed
 
std::map< uint16_t, uint32_t > m_a30CqiTimers
 
std::map< uint16_t,
std::vector< uint16_t > > 
m_allocationMaps
 
Ptr< LteAmcm_amc
 
std::map< uint16_t, uint32_t > m_ceBsrRxed
 
uint32_t m_cqiTimersThreshold
 
uint32_t m_creditableThreshold
 
uint32_t m_creditLimit
 
FfMacCschedSapProvider::CschedCellConfigReqParameters m_cschedCellConfig
 
FfMacCschedSapProviderm_cschedSapProvider
 
FfMacCschedSapUserm_cschedSapUser
 
int m_debtLimit
 
std::map< uint16_t, uint8_t > m_dlHarqCurrentProcessId
 
std::map< uint16_t,
DlHarqProcessesDciBuffer_t
m_dlHarqProcessesDciBuffer
 
std::map< uint16_t,
DlHarqRlcPduListBuffer_t
m_dlHarqProcessesRlcPduListBuffer
 
std::map< uint16_t,
DlHarqProcessesStatus_t
m_dlHarqProcessesStatus
 
std::map< uint16_t,
DlHarqProcessesTimer_t
m_dlHarqProcessesTimer
 
std::vector< DlInfoListElement_sm_dlInfoListBuffered
 
std::map< uint16_t,
fdtbfqsFlowPerf_t
m_flowStatsDl
 
std::map< uint16_t,
fdtbfqsFlowPerf_t
m_flowStatsUl
 
bool m_harqOn
 m_harqOn when false inhibit te HARQ mechanisms (by default active) More...
 
uint16_t m_nextRntiUl
 
std::map< uint16_t, uint8_t > m_p10CqiRxed
 
std::map< uint16_t, uint32_t > m_p10CqiTimers
 
std::vector< uint16_t > m_rachAllocationMap
 
std::vector< struct
RachListElement_s
m_rachList
 
std::map< LteFlowId_t,
FfMacSchedSapProvider::SchedDlRlcBufferReqParameters
m_rlcBufferReq
 
FfMacSchedSapProviderm_schedSapProvider
 
FfMacSchedSapUserm_schedSapUser
 
uint32_t m_tokenPoolSize
 
std::map< uint16_t,
std::vector< double > > 
m_ueCqi
 
std::map< uint16_t, uint32_t > m_ueCqiTimers
 
std::map< uint16_t, uint8_t > m_uesTxMode
 
uint8_t m_ulGrantMcs
 
std::map< uint16_t, uint8_t > m_ulHarqCurrentProcessId
 
std::map< uint16_t,
UlHarqProcessesDciBuffer_t
m_ulHarqProcessesDciBuffer
 
std::map< uint16_t,
UlHarqProcessesStatus_t
m_ulHarqProcessesStatus
 

Friends

class FdTbfqSchedulerMemberCschedSapProvider
 
class FdTbfqSchedulerMemberSchedSapProvider
 

Additional Inherited Members

- Public Types inherited from ns3::FfMacScheduler
enum  UlCqiFilter_t { SRS_UL_CQI, PUSCH_UL_CQI, ALL_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)
 
virtual void DoInitialize (void)
 This method is called only once by Object::Initialize. More...
 
virtual void NotifyNewAggregate (void)
 This method is invoked whenever two sets of objects are aggregated together. More...
 
- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 
virtual void NotifyConstructionCompleted (void)
 This method is invoked once all member attributes have been initialized. More...
 
- Protected Attributes inherited from ns3::FfMacScheduler
UlCqiFilter_t m_ulCqiFilter
 

Detailed Description

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

This class implements the interface defined by the FfMacScheduler abstract class

Config Paths

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

  • /NodeList/[i]/DeviceList/[i]/$ns3::LteEnbNetDevice/FfMacScheduler/$ns3::FdTbfqFfMacScheduler
  • /NodeList/[i]/DeviceList/[i]/$ns3::LteNetDevice/$ns3::LteEnbNetDevice/FfMacScheduler/$ns3::FdTbfqFfMacScheduler

Attributes

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

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|ALL_UL_CQI
    • Initial value: ALL_UL_CQI
    • Flags: construct write read

No TraceSources are defined for this type.

Definition at line 79 of file fdtbfq-ff-mac-scheduler.h.

Constructor & Destructor Documentation

ns3::FdTbfqFfMacScheduler::FdTbfqFfMacScheduler ( )

Constructor.

Creates the MAC Scheduler interface implementation

Definition at line 218 of file fdtbfq-ff-mac-scheduler.cc.

References FdTbfqSchedulerMemberCschedSapProvider, FdTbfqSchedulerMemberSchedSapProvider, m_amc, m_cschedSapProvider, and m_schedSapProvider.

ns3::FdTbfqFfMacScheduler::~FdTbfqFfMacScheduler ( )
virtual

Destructor.

Definition at line 229 of file fdtbfq-ff-mac-scheduler.cc.

References NS_LOG_FUNCTION.

Member Function Documentation

void ns3::FdTbfqFfMacScheduler::DoDispose ( void  )
virtual

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden 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 235 of file fdtbfq-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.

void ns3::FdTbfqFfMacScheduler::DoSchedDlMacBufferReq ( const struct FfMacSchedSapProvider::SchedDlMacBufferReqParameters params)
private

Definition at line 524 of file fdtbfq-ff-mac-scheduler.cc.

References NS_FATAL_ERROR, and NS_LOG_FUNCTION.

Referenced by ns3::FdTbfqSchedulerMemberSchedSapProvider::SchedDlMacBufferReq().

+ Here is the caller graph for this function:

void ns3::FdTbfqFfMacScheduler::DoSchedDlPagingBufferReq ( const struct FfMacSchedSapProvider::SchedDlPagingBufferReqParameters params)
private

Definition at line 516 of file fdtbfq-ff-mac-scheduler.cc.

References NS_FATAL_ERROR, and NS_LOG_FUNCTION.

Referenced by ns3::FdTbfqSchedulerMemberSchedSapProvider::SchedDlPagingBufferReq().

+ Here is the caller graph for this function:

void ns3::FdTbfqFfMacScheduler::DoSchedDlRachInfoReq ( const struct FfMacSchedSapProvider::SchedDlRachInfoReqParameters params)
private
void ns3::FdTbfqFfMacScheduler::DoSchedDlTriggerReq ( const struct FfMacSchedSapProvider::SchedDlTriggerReqParameters params)
private
Todo:
check correct value according the DCIs txed

Definition at line 677 of file fdtbfq-ff-mac-scheduler.cc.

References bankSize, GetRbgSize(), HARQ_PROC_NUM, HarqProcessAvailability(), 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, 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, m_flowStatsDl, ns3::UlDciListElement_s::m_freqHopping, m_harqOn, ns3::DlDciListElement_s::m_harqProcess, ns3::UlDciListElement_s::m_hopping, ns3::RlcPduListElement_s::m_logicalChannelIdentity, ns3::DlDciListElement_s::m_mcs, ns3::UlDciListElement_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::UlDciListElement_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::BuildRarListElement_s::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::DlDciListElement_s::m_tbsSize, ns3::UlDciListElement_s::m_tpc, m_uesTxMode, ns3::UlDciListElement_s::m_ueTxAntennaSelection, ns3::FfMacCschedSapProvider::CschedCellConfigReqParameters::m_ulBandwidth, 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().

Referenced by ns3::FdTbfqSchedulerMemberSchedSapProvider::SchedDlTriggerReq().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::FdTbfqFfMacScheduler::DoSchedUlMacCtrlInfoReq ( const struct FfMacSchedSapProvider::SchedUlMacCtrlInfoReqParameters params)
private
void ns3::FdTbfqFfMacScheduler::DoSchedUlNoiseInterferenceReq ( const struct FfMacSchedSapProvider::SchedUlNoiseInterferenceReqParameters params)
private

Definition at line 1989 of file fdtbfq-ff-mac-scheduler.cc.

References NS_LOG_FUNCTION.

Referenced by ns3::FdTbfqSchedulerMemberSchedSapProvider::SchedUlNoiseInterferenceReq().

+ Here is the caller graph for this function:

void ns3::FdTbfqFfMacScheduler::DoSchedUlSrInfoReq ( const struct FfMacSchedSapProvider::SchedUlSrInfoReqParameters params)
private

Definition at line 1996 of file fdtbfq-ff-mac-scheduler.cc.

References NS_LOG_FUNCTION.

Referenced by ns3::FdTbfqSchedulerMemberSchedSapProvider::SchedUlSrInfoReq().

+ Here is the caller graph for this function:

void ns3::FdTbfqFfMacScheduler::DoSchedUlTriggerReq ( const struct FfMacSchedSapProvider::SchedUlTriggerReqParameters params)
private

Definition at line 1637 of file fdtbfq-ff-mac-scheduler.cc.

References EstimateUlSinr(), HARQ_PERIOD, 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, 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, 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_FATAL_ERROR, NS_LOG_DEBUG, NS_LOG_ERROR, NS_LOG_FUNCTION, NS_LOG_INFO, RefreshUlCqiMaps(), s, ns3::FfMacSchedSapUser::SchedUlConfigInd(), and UpdateUlRlcBufferInfo().

Referenced by ns3::FdTbfqSchedulerMemberSchedSapProvider::SchedUlTriggerReq().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 1606 of file fdtbfq-ff-mac-scheduler.cc.

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

Referenced by DoSchedUlTriggerReq().

+ Here is the caller graph for this function:

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

Implements ns3::FfMacScheduler.

Definition at line 310 of file fdtbfq-ff-mac-scheduler.cc.

References m_cschedSapProvider.

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

Implements ns3::FfMacScheduler.

Definition at line 316 of file fdtbfq-ff-mac-scheduler.cc.

References m_schedSapProvider.

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

Definition at line 532 of file fdtbfq-ff-mac-scheduler.cc.

References ns3::FdTbfqType0AllocationRbg.

Referenced by DoSchedDlTriggerReq().

+ Here is the caller graph for this function:

TypeId ns3::FdTbfqFfMacScheduler::GetTypeId ( void  )
static

Definition at line 250 of file fdtbfq-ff-mac-scheduler.cc.

References m_cqiTimersThreshold, m_creditableThreshold, m_creditLimit, m_debtLimit, m_harqOn, m_tokenPoolSize, m_ulGrantMcs, and ns3::TypeId::SetParent().

+ Here is the call graph for this function:

uint8_t ns3::FdTbfqFfMacScheduler::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 process id value

Definition at line 570 of file fdtbfq-ff-mac-scheduler.cc.

References 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:

int ns3::FdTbfqFfMacScheduler::LcActivePerFlow ( uint16_t  rnti)
private

Definition at line 547 of file fdtbfq-ff-mac-scheduler.cc.

References m_rlcBufferReq.

Referenced by DoSchedDlTriggerReq().

+ Here is the caller graph for this function:

void ns3::FdTbfqFfMacScheduler::RefreshDlCqiMaps ( void  )
private

Definition at line 2195 of file fdtbfq-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:

void ns3::FdTbfqFfMacScheduler::RefreshHarqProcesses ( )
private

Refresh HARQ processes according to the timers.

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

+ Here is the caller graph for this function:

void ns3::FdTbfqFfMacScheduler::RefreshUlCqiMaps ( void  )
private

Definition at line 2248 of file fdtbfq-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:

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

Parameters
s

Implements ns3::FfMacScheduler.

Definition at line 298 of file fdtbfq-ff-mac-scheduler.cc.

References m_cschedSapUser, and s.

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

Parameters
s

Implements ns3::FfMacScheduler.

Definition at line 304 of file fdtbfq-ff-mac-scheduler.cc.

References m_schedSapUser, and s.

void ns3::FdTbfqFfMacScheduler::TransmissionModeConfigurationUpdate ( uint16_t  rnti,
uint8_t  txMode 
)
void ns3::FdTbfqFfMacScheduler::UpdateDlRlcBufferInfo ( uint16_t  rnti,
uint8_t  lcid,
uint16_t  size 
)
private

Definition at line 2278 of file fdtbfq-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:

uint8_t ns3::FdTbfqFfMacScheduler::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 603 of file fdtbfq-ff-mac-scheduler.cc.

References 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:

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

Definition at line 2330 of file fdtbfq-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

Definition at line 104 of file fdtbfq-ff-mac-scheduler.h.

Referenced by FdTbfqFfMacScheduler().

Definition at line 105 of file fdtbfq-ff-mac-scheduler.h.

Referenced by FdTbfqFfMacScheduler().

Member Data Documentation

uint64_t ns3::FdTbfqFfMacScheduler::bankSize
private

Definition at line 261 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlTriggerReq().

std::map<uint16_t,SbMeasResult_s> ns3::FdTbfqFfMacScheduler::m_a30CqiRxed
private
std::map<uint16_t,uint32_t> ns3::FdTbfqFfMacScheduler::m_a30CqiTimers
private

Definition at line 222 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlCqiInfoReq(), and RefreshDlCqiMaps().

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

Definition at line 228 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedUlCqiInfoReq(), and DoSchedUlTriggerReq().

Ptr<LteAmc> ns3::FdTbfqFfMacScheduler::m_amc
private
std::map<uint16_t,uint32_t> ns3::FdTbfqFfMacScheduler::m_ceBsrRxed
private
uint32_t ns3::FdTbfqFfMacScheduler::m_cqiTimersThreshold
private
uint32_t ns3::FdTbfqFfMacScheduler::m_creditableThreshold
private

Definition at line 269 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedLcConfigReq(), and GetTypeId().

uint32_t ns3::FdTbfqFfMacScheduler::m_creditLimit
private

Definition at line 265 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedLcConfigReq(), and GetTypeId().

FfMacCschedSapProvider* ns3::FdTbfqFfMacScheduler::m_cschedSapProvider
private
FfMacCschedSapUser* ns3::FdTbfqFfMacScheduler::m_cschedSapUser
private
int ns3::FdTbfqFfMacScheduler::m_debtLimit
private

Definition at line 263 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedLcConfigReq(), and GetTypeId().

std::map<uint16_t, uint8_t> ns3::FdTbfqFfMacScheduler::m_dlHarqCurrentProcessId
private
std::map<uint16_t, DlHarqProcessesDciBuffer_t> ns3::FdTbfqFfMacScheduler::m_dlHarqProcessesDciBuffer
private
std::map<uint16_t, DlHarqRlcPduListBuffer_t> ns3::FdTbfqFfMacScheduler::m_dlHarqProcessesRlcPduListBuffer
private
std::map<uint16_t, DlHarqProcessesStatus_t> ns3::FdTbfqFfMacScheduler::m_dlHarqProcessesStatus
private
std::map<uint16_t, DlHarqProcessesTimer_t> ns3::FdTbfqFfMacScheduler::m_dlHarqProcessesTimer
private
std::vector<DlInfoListElement_s> ns3::FdTbfqFfMacScheduler::m_dlInfoListBuffered
private

Definition at line 284 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoDispose(), and DoSchedDlTriggerReq().

std::map<uint16_t, fdtbfqsFlowPerf_t> ns3::FdTbfqFfMacScheduler::m_flowStatsDl
private
std::map<uint16_t, fdtbfqsFlowPerf_t> ns3::FdTbfqFfMacScheduler::m_flowStatsUl
private

Definition at line 203 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedLcConfigReq(), and DoCschedUeReleaseReq().

bool ns3::FdTbfqFfMacScheduler::m_harqOn
private

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

Definition at line 275 of file fdtbfq-ff-mac-scheduler.h.

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

uint16_t ns3::FdTbfqFfMacScheduler::m_nextRntiUl
private

Definition at line 255 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedUeReleaseReq(), and DoSchedUlTriggerReq().

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

Definition at line 209 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlCqiInfoReq(), and RefreshDlCqiMaps().

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

Definition at line 213 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlCqiInfoReq(), and RefreshDlCqiMaps().

std::vector<uint16_t> ns3::FdTbfqFfMacScheduler::m_rachAllocationMap
private
std::vector<struct RachListElement_s> ns3::FdTbfqFfMacScheduler::m_rachList
private

Definition at line 295 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedDlRachInfoReq(), and DoSchedDlTriggerReq().

FfMacSchedSapProvider* ns3::FdTbfqFfMacScheduler::m_schedSapProvider
private
FfMacSchedSapUser* ns3::FdTbfqFfMacScheduler::m_schedSapUser
private
uint32_t ns3::FdTbfqFfMacScheduler::m_tokenPoolSize
private

Definition at line 267 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoCschedLcConfigReq(), and GetTypeId().

std::map<uint16_t, std::vector <double> > ns3::FdTbfqFfMacScheduler::m_ueCqi
private
std::map<uint16_t, uint32_t> ns3::FdTbfqFfMacScheduler::m_ueCqiTimers
private

Definition at line 237 of file fdtbfq-ff-mac-scheduler.h.

Referenced by DoSchedUlCqiInfoReq(), and RefreshUlCqiMaps().

std::map<uint16_t,uint8_t> ns3::FdTbfqFfMacScheduler::m_uesTxMode
private
uint8_t ns3::FdTbfqFfMacScheduler::m_ulGrantMcs
private

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

Referenced by DoSchedDlTriggerReq(), and GetTypeId().

std::map<uint16_t, uint8_t> ns3::FdTbfqFfMacScheduler::m_ulHarqCurrentProcessId
private
std::map<uint16_t, UlHarqProcessesDciBuffer_t> ns3::FdTbfqFfMacScheduler::m_ulHarqProcessesDciBuffer
private
std::map<uint16_t, UlHarqProcessesStatus_t> ns3::FdTbfqFfMacScheduler::m_ulHarqProcessesStatus
private

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