Merge "cleanup of BuildAndSendUESetReq"
[o-du/l2.git] / src / 5gnrmac / rg_ex_ms.c
index 915d8bb..e6a65c4 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. 
@@ -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;
@@ -225,10 +233,10 @@ Buffer  *mBuf;                      /* message buffer       */
          cmUnpkRguUbndReq(RgUiRguUbndReq, pst, mBuf);
          break;
       case EVTRLCDLDAT:
-         unpackDlData(RgUiRguDDatReq, pst, mBuf);
+         unpackDlData(MacRlcProcDlData, pst, mBuf);
          break;
       case EVTRLCBOSTA:
-         unpackBOStatus(RgUiRguDStaRsp, pst, mBuf);
+         unpackBOStatus(MacRlcProcBOStatus, pst, mBuf);
          break;
 #ifdef LTE_L2_MEAS