X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Frg_sch_uhm.c;h=ab4039684ebac8393f0c0e1a9b12130dfeeb3c5b;hb=eb178a8cc45a9cebc65df73f128f88b3a3dfefbb;hp=fa58038de247e05ca12b8fbbd4b4e7a770aab66d;hpb=3235ecfc7414aa0b72d0ad50db63ae8b5626045b;p=o-du%2Fl2.git diff --git a/src/5gnrsch/rg_sch_uhm.c b/src/5gnrsch/rg_sch_uhm.c index fa58038de..ab4039684 100755 --- a/src/5gnrsch/rg_sch_uhm.c +++ b/src/5gnrsch/rg_sch_uhm.c @@ -33,19 +33,7 @@ */ /* header include files -- defines (.h) */ -#include "envopt.h" /* environment options */ -#include "envdep.h" /* environment dependent */ -#include "envind.h" /* environment independent */ - -#include "gen.h" /* general */ -#include "ssi.h" /* system services */ - -#include "cm_lte.h" /* Common LTE */ -#include "cm_tkns.h" /* Common Token Defines */ -#include "cm_llist.h" /* Common Link List Defines */ -#include "cm_hash.h" /* Common Hash List Defines */ -#include "cm_mblk.h" /* memory management */ - +#include "common_def.h" #include "rg_env.h" /* MAC Environment Defines */ #include "tfu.h" /* TFU Interface defines */ #include "rgr.h" /* RGR Interface defines */ @@ -56,15 +44,6 @@ #include "rg_sch_err.h" /* MAC error defines */ /* header/extern include files (.x) */ -#include "gen.x" /* general */ -#include "ssi.x" /* system services */ -#include "cm5.x" /* system services */ -#include "cm_lte.x" /* Common LTE */ -#include "cm_tkns.x" /* Common Token Definitions */ -#include "cm_llist.x" /* Common Link List Definitions */ -#include "cm_lib.x" /* Common Library Definitions */ -#include "cm_hash.x" /* Common Hash List Definitions */ -#include "cm_mblk.x" /* memory management */ #include "tfu.x" /* TFU Interface defines */ #include "rgr.x" /* RGR Interface includes */ @@ -172,7 +151,7 @@ U8 cqi; if (hqProc == NULLP) { printf("UE[%d] failed to find UL HqProc for [%d:%d]\n", - ue->ueId, frm.sfn, frm.subframe); + ue->ueId, frm.sfn, frm.slot); RETVOID; } hqProc->rcvdCrcInd = TRUE; @@ -347,7 +326,7 @@ U8 cqi; if (hqProc == NULLP) { printf("UE[%d] failed to find UL HqProc for [%d:%d]\n", - ue->ueId, frm.sfn, frm.subframe); + ue->ueId, frm.sfn, frm.slot); RETVOID; } #ifdef UL_LA @@ -550,7 +529,7 @@ RgSchCellCb *cell; #endif hqProc->alloc = NULLP; hqProc->ulSfIdx = RGSCH_INVALID_INFO; - /*ccpu00116293 - Correcting relation between UL subframe and DL subframe based on RG_UL_DELTA*/ + /*ccpu00116293 - Correcting relation between UL slot and DL slot based on RG_UL_DELTA*/ hqProc->isRetx = FALSE; hqProc->remTx = 0; /*Reseting the remTx value to 0*/ #ifdef EMTC_ENABLE @@ -1015,7 +994,7 @@ RgSchUlHqProcCb **hqP; cmLListAdd2Tail(&hqE->inUse, &tmpHqProc->lnk); #ifdef UL_ADPT_DBG - printf("rgSCHUhmGetAvlHqProc cellId %d free %ld inUse %ld ue %d time (%d %d)\n",cell->cellId, hqE->free.count, hqE->inUse.count, ue->ueId,cellUl->schdTime.sfn,cellUl->schdTime.subframe); + printf("rgSCHUhmGetAvlHqProc cellId %d free %ld inUse %ld ue %d time (%d %d)\n",cell->cellId, hqE->free.count, hqE->inUse.count, ue->ueId,cellUl->schdTime.sfn,cellUl->schdTime.slot); #endif tmpHqProc->schdTime = cellUl->schdTime; @@ -1067,10 +1046,10 @@ CmLteTimingInfo frm; { proc = (RgSchUlHqProcCb *)(lnk->node); lnk = lnk->next; - // printf("compare rgSCHUhmGetUlProcByTime time (%d %d) CRC time (%d %d) proc->procId %d \n",proc->schdTime.sfn,proc->schdTime.subframe,frm.sfn,frm.subframe ,proc->procId); + // printf("compare rgSCHUhmGetUlProcByTime time (%d %d) CRC time (%d %d) proc->procId %d \n",proc->schdTime.sfn,proc->schdTime.slot,frm.sfn,frm.slot ,proc->procId); if (RGSCH_TIMEINFO_SAME(proc->schdTime, frm)) { - // printf("Harq timing Matched rgSCHUhmGetUlProcByTime time (%d %d) proc->procId %d \n",proc->schdTime.sfn,proc->schdTime.subframe, proc->procId); + // printf("Harq timing Matched rgSCHUhmGetUlProcByTime time (%d %d) proc->procId %d \n",proc->schdTime.sfn,proc->schdTime.slot, proc->procId); RETVALUE(proc); } }