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:
@@ -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++;
|
||||
|
||||
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user