macCellCfg
[o-du/l2.git] / src / 5gnrmac / rg_rom.c
index 30c0efa..f015788 100755 (executable)
@@ -78,6 +78,7 @@ static int RLOG_MODULE_ID=4096;
 #include "rg_prg.x"        /* PRG Interface includes */
 #include "lrg.x"           /* LRG Interface includes */
 
+#include "du_app_mac_inf.h"
 #include "rg.x"            /* MAC includes */
 
 /* local defines */
@@ -136,6 +137,7 @@ Inst      inst;
 RgRguDedDatReq *datReq;
 #endif
 {
+#if 0
    RgCellCb     *cell;
    RgUeCb       *ue;
    U8           idx1,idx2;
@@ -326,6 +328,7 @@ RgRguDedDatReq *datReq;
 #endif
    } /* for loop for num of Ue per TTI*/
 
+#endif
    /* Data send successfully to PHY. lets retuns ROK*/
    RETVALUE(ROK);
 }  /* rgROMDedDatReq */
@@ -695,7 +698,7 @@ RgRguDedStaRsp *staRsp;
                        boRpt.oldestSduArrTime = staRsp->boReport.oldestSduArrTime;
             rgGetPstToInst(&schPst,inst, cell->schInstMap.schInst);
             schPst.event = 0;
-            RgMacSchDedBoUpdt(&schPst, &boRpt);
+            //TODO: commented for compilation without SCH RgMacSchDedBoUpdt(&schPst, &boRpt);
             RETVALUE(ROK);
    }
    RLOG_ARG2(L_ERROR,DBG_CELLID,staRsp->cellId,"Invalid cell for CRNTI:%d LCID:%d ",
@@ -726,7 +729,7 @@ S32 bo
      boRpt.bo         = bo;
      rgGetPstToInst(&schPst,inst, cell->schInstMap.schInst);
      schPst.event = 0;
-     RgMacSchDedBoUpdtReq (&schPst,&boRpt);
+     //TODO: commented for compilation without SCH RgMacSchDedBoUpdtReq (&schPst,&boRpt);
   }
   RETVALUE(ROK);
 }
@@ -904,7 +907,7 @@ RgErrInfo      *err;
    boRpt.lcType  = staRsp->lcType; 
    boRpt.bo      = staRsp->bo;
    rgGetPstToInst(&schPst,macInst, cell->schInstMap.schInst);
-   RgMacSchCmnBoUpdt(&schPst, &boRpt);
+   //TODO: commented for compilation without SCH RgMacSchCmnBoUpdt(&schPst, &boRpt);
 
    RETVALUE(ROK);
 } /* rgROMHndlCcchStaRsp */
@@ -986,7 +989,7 @@ RgErrInfo      *err;
   }
 #endif
    rgGetPstToInst(&schPst,macInst, cell->schInstMap.schInst);
-   RgMacSchCmnBoUpdt(&schPst, &boRpt);
+   //TODO: commented for compilation without SCH RgMacSchCmnBoUpdt(&schPst, &boRpt);
 
    RETVALUE(ROK);
 } /* rgROMHndlBcchPcchStaRsp */