X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Frg_sch_gom.c;h=127eeba35ad1991b9b19c87ab6e73c4cf5d7dce5;hb=5ea4c59cb4dd37164953218b0bd355284e11d22c;hp=ad26f4939919e15b4cc826ebe2957b8e7fbdd2cb;hpb=43f9a063a851c5318a609e9966cdc0b30f0abaf5;p=o-du%2Fl2.git diff --git a/src/5gnrsch/rg_sch_gom.c b/src/5gnrsch/rg_sch_gom.c index ad26f4939..127eeba35 100755 --- a/src/5gnrsch/rg_sch_gom.c +++ b/src/5gnrsch/rg_sch_gom.c @@ -442,12 +442,12 @@ RgrCfgReqInfo *rgrCfgReq; /* Check if the activation time is valid */ if (actvTime.sfn >= RGSCH_MAX_SFN - || actvTime.subframe >= RGSCH_NUM_SUB_FRAMES_5G) + || actvTime.slot >= RGSCH_NUM_SUB_FRAMES_5G) { RLOG_ARG4(L_ERROR,DBG_CELLID,cell->cellId, "Invalid activation time for RGR " - "config request: activation sfn %d activation subframe %d current " - "sfn %d current subframe %d", actvTime.sfn, actvTime.subframe, - cell->crntTime.sfn, cell->crntTime.subframe); + "config request: activation sfn %d activation slot %d current " + "sfn %d current slot %d", actvTime.sfn, actvTime.slot, + cell->crntTime.sfn, cell->crntTime.slot); /* ccpu00117052 - MOD - Passing double pointer for proper NULLP assignment*/ rgSCHUtlFreeSBuf(inst, (Data **)&rgrCfgElem, sizeof(*rgrCfgElem)); @@ -459,9 +459,9 @@ RgrCfgReqInfo *rgrCfgReq; if (sfDiff > (RGR_ACTV_WIN_SIZE * RGSCH_NUM_SUB_FRAMES_5G)) { RLOG_ARG4(L_ERROR,DBG_CELLID,cell->cellId,"Invalid activation time for RGR" - " config request: activation sfn %d activation subframe %d " - "current sfn %d current subframe %d", actvTime.sfn, - actvTime.subframe, cell->crntTime.sfn, cell->crntTime.subframe); + " config request: activation sfn %d activation slot %d " + "current sfn %d current slot %d", actvTime.sfn, + actvTime.slot, cell->crntTime.sfn, cell->crntTime.slot); /* ccpu00117052 - MOD - Passing double pointer for proper NULLP assignment*/ rgSCHUtlFreeSBuf(inst, (Data **)&rgrCfgElem, sizeof(*rgrCfgElem)); @@ -1849,7 +1849,7 @@ PUBLIC S16 rgSCHGomHndlLoadInf(reg, pool, instCb, spId, transId, loadInfReq) } /* Update the RNTP info rcvd in the respective cell centre pool so that Phigh can be sent for the UEs scheduled in that particular RB range*/ - for(i = 0; i < RGSCH_NUM_DL_SUBFRAMES; i++) + for(i = 0; i < RGSCH_NUM_DL_slotS; i++) { if((rgSchUpdtRNTPInfo(cell, cell->subFrms[i], loadInfReq) != ROK)) {