Bug-fix: Update DoSchedUlTriggerReq of both RR and PF for avoiding allocation of resources to UEs with no data to send

This commit is contained in:
Marco Miozzo
2012-10-31 12:06:26 +01:00
parent 113aabd54d
commit e8cbb95ab2
2 changed files with 2 additions and 2 deletions

View File

@@ -1340,7 +1340,7 @@ PfFfMacScheduler::DoSchedUlTriggerReq (const struct FfMacSchedSapProvider::Sched
do
{
std::set <uint16_t>::iterator itRnti = rntiAllocated.find ((*it).first);
if (itRnti!=rntiAllocated.end ())
if ((itRnti!=rntiAllocated.end ())||((*it).second == 0))
{
// UE already allocated for UL-HARQ -> skip it
it++;

View File

@@ -1177,7 +1177,7 @@ RrFfMacScheduler::DoSchedUlTriggerReq (const struct FfMacSchedSapProvider::Sched
do
{
std::set <uint16_t>::iterator itRnti = rntiAllocated.find ((*it).first);
if (itRnti!=rntiAllocated.end ())
if ((itRnti!=rntiAllocated.end ())||((*it).second == 0))
{
// UE already allocated for UL-HARQ -> skip it
it++;