Merge "[Epic-ID: ODUHIGH-556][Task-ID: ODUHIGH-570] UL Candidate Sel and Res Alloc...
[o-du/l2.git] / src / du_app / du_cell_mgr.c
index a09e435..889a897 100644 (file)
@@ -18,6 +18,7 @@
 
 /* This file contains message handling functionality for DU cell management */
 #include "common_def.h"
+#include "du_tmr.h"
 #include "lrg.h"
 #include "legtp.h"
 #include "lrg.x"
@@ -365,7 +366,7 @@ uint8_t duHandleCellUpInd(Pst *pst, OduCellId *cellId)
    {
       DU_LOG("\nINFO   -->  DU APP : 5G-NR Cell %d is UP", cellId->cellId);
       cellCb->cellStatus = ACTIVATED;
-      gCellStatus = CELL_UP;
+      gConfigInfo.gCellStatus = CELL_UP;
 
       if(duCfgParam.tempSliceCfg.numOfRrmPolicy)
          BuildAndSendSliceConfigReq();
@@ -424,7 +425,7 @@ uint8_t DuProcMacCellDeleteRsp(Pst *pst, MacCellDeleteRsp *deleteRsp)
             }
 
             memset(duCb.actvCellLst[cellIdx], 0, sizeof(DuCellCb));
-            gCellStatus = CELL_DOWN;
+            gConfigInfo.gCellStatus = CELL_DOWN;
 
 #ifdef O1_ENABLE
             DU_LOG("\nINFO   -->  DU APP : Raise cell down alarm for cell id=%d", deleteRsp->cellId);