warning set 3: fixed warning realted to unused-variable and implicit-function-declaration
[o-du/l2.git] / src / 5gnrmac / rg_ex_ms.c
index 915d8bb..8da7b84 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 */
-
+void unpackDuMacCellCfg(DuMacCellCfgReq func,Pst *pst,Buffer *mBuf);
 
 /**
  * @brief Task Activation callback function Entity SM. 
@@ -133,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;