warning set 4
[o-du/l2.git] / src / 5gnrmac / rg_ex_ms.c
index abb3014..6ee230e 100755 (executable)
@@ -75,7 +75,7 @@ registered with SSI during the LTE MAC Task initialization.
 #include "rg_prg.x"        /*PRG interface includes*/
 #include "du_app_mac_inf.h"
 #include "rg.x"            /* typedefs for MAC */
-
+int unpackDuMacCellCfg(DuMacCellCfgReq func,Pst *pst,Buffer *mBuf);
 
 /**
  * @brief Task Activation callback function Entity SM. 
@@ -116,9 +116,6 @@ Buffer  *mBuf;                      /* message buffer       */
          /* Process a config. request */
          cmUnpkLrgSchCfgReq(MacSchGenCfgReq, pst, mBuf);
          break;
-      case EVTMACSCHCFGREQ: 
-         cmUnpkRgrCfgReq(MacSchCfgReq, pst, mBuf);
-         break;
       case EVTLRGCNTRLREQ:
          /* Process a control request */
          cmUnpkLrgCntrlReq(RgMiLrgCntrlReq, pst, mBuf);
@@ -136,6 +133,14 @@ Buffer  *mBuf;                      /* message buffer       */
          /* Process MAC cell config */
          unpackDuMacCellCfg(MacHdlCellCfgReq, pst, mBuf);
          break;
+      case EVENT_MAC_CELL_START_REQ:
+         /* Process MAC cell start request */
+         unpackMacCellStartReq(MacHdlCellStartReq, pst, mBuf);
+         break;
+      case EVENT_MAC_CELL_STOP_REQ:
+         /* Process MAC cell stop request */
+         unpackMacCellStopReq(MacHdlCellStopReq, pst, mBuf);
+         break;
       default:
          RG_FREE_MSG(mBuf);
          break;
@@ -284,8 +289,8 @@ Buffer  *mBuf;                      /* message buffer       */
       case EVTTFUDATIND:
          cmUnpkTfuDatInd(RgLiTfuDatInd, pst, mBuf);
          break;
-      case EVTTFUTTIIND:
-         cmUnpkTfuTtiInd(RgLiTfuTtiInd, pst, mBuf);
+      case EVENT_SLOT_IND_TO_MAC:
+         cmUnpackSlotInd(fapiMacSlotInd, pst, mBuf);
          break;
 #if defined(TENB_T2K3K_SPECIFIC_CHANGES) && defined(LTE_TDD)
       case EVTTFUNONRTIND: