X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch_harq_dl.c;h=b60ae93dced60e2072fca5b554d5f63d0f4fa285;hb=d677deafcfd8b9984be18a25398502a84684d44c;hp=758f03334c28cc8a50165b94fd90816102ed2694;hpb=e596baac85d7993d92b3077ddc1b99af14b5e8a6;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch_harq_dl.c b/src/5gnrsch/sch_harq_dl.c index 758f03334..b60ae93dc 100644 --- a/src/5gnrsch/sch_harq_dl.c +++ b/src/5gnrsch/sch_harq_dl.c @@ -26,6 +26,9 @@ #include "sch.h" #include "sch_utils.h" #include "cm_llist.h" +#ifdef NR_DRX +#include "sch_drx.h" +#endif SchMacDlReleaseHarqFunc schMacDlReleaseHarqOpts[] = { @@ -395,7 +398,16 @@ void schDlHqFeedbackUpdate(SchDlHqProcCb *hqP, uint8_t fdbk1, uint8_t fdbk2) else { schDlHqTbFail(hqP, tbIdx, FALSE); - addUeToBeScheduled(hqP->hqEnt->cell, hqP->hqEnt->ue->ueId); +#ifdef NR_DRX + if(hqP->hqEnt->ue->ueDrxInfoPres == true) + { + schDrxStrtDlHqRttTmr(hqP); + } + else +#endif + { + addUeToBeScheduled(hqP->hqEnt->cell, hqP->hqEnt->ue->ueId); + } } } }