macCellCfg
[o-du/l2.git] / src / 5gnrmac / rg_utl.c
index df681c6..8171c4c 100755 (executable)
@@ -78,6 +78,7 @@ static int RLOG_FILE_ID=179;
 #include "lrg.x"           /* LRG Interface includes */
 #include "rg_prg.x"        /* PRG(MAC-MAC) Interface includes */
 
+#include "mac_interface.h"
 #include "rg.x"            /* MAC includes */
 
 /* local defines */
@@ -1519,8 +1520,8 @@ Pst                 *pst;
 RgInfRlsRnti        *rlsRnti;
 #endif
 {
-   Pst            schPst;
-   RgInfUeDelInd  ueDelInd;
+//   Pst            schPst;
+//   RgInfUeDelInd  ueDelInd;
    Inst           macInst;
    RgCellCb       *cell;
 #ifdef L2_OPTMZ
@@ -1590,11 +1591,14 @@ TfuDelDatReqInfo delDatReq;
    if(FALSE == rlsRnti->isUeSCellDel)
 #endif
    {
+      //TODO: commented for compilation without SCH 
+#if 0
       ueDelInd.cellSapId  = cell->schInstMap.cellSapId;
       ueDelInd.cellId  = rlsRnti->cellId;
       ueDelInd.rnti    = rlsRnti->rnti; 
       rgGetPstToInst(&schPst,macInst, cell->schInstMap.schInst);
       RgMacSchUeDel(&schPst, &ueDelInd);
+#endif
    }
 
    RETVALUE(ROK);