From 459433b355a5d2a661aafb4e727a42281639b9c3 Mon Sep 17 00:00:00 2001 From: Marco Miozzo Date: Tue, 19 Apr 2011 17:01:54 +0200 Subject: [PATCH] LENA-81 same priority a start-up in PfScheduler for GBR and NGBR flows (i.e., flowStats.lastAveragedThroughput=1 always) --- src/lte/model/pf-ff-mac-scheduler.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/lte/model/pf-ff-mac-scheduler.cc b/src/lte/model/pf-ff-mac-scheduler.cc index d7b08f993..08d0f01e2 100644 --- a/src/lte/model/pf-ff-mac-scheduler.cc +++ b/src/lte/model/pf-ff-mac-scheduler.cc @@ -303,14 +303,7 @@ PfFfMacScheduler::DoCschedLcConfigReq (const struct FfMacCschedSapProvider::Csch flowStats.flowStart = Simulator::Now (); flowStats.totalBytesTransmitted = 0; flowStats.lastTtiBytesTrasmitted = 0; - if (params.m_logicalChannelConfigList.at (i).m_eRabGuaranteedBitrateDl != 0) - { - flowStats.lastAveragedThroughput = params.m_logicalChannelConfigList.at (i).m_eRabGuaranteedBitrateDl; - } - else - { - flowStats.lastAveragedThroughput = 1; // minimum bitrate -> high priority to new flows - } + flowStats.lastAveragedThroughput = 1; flowStats.rlcBufferReq.m_rlcTransmissionQueueSize = 0; flowStats.rlcBufferReq.m_rlcRetransmissionQueueSize = 0; flowStats.rlcBufferReq.m_rlcStatusPduSize = 0;