msg3 and msg4 changes
[o-du/l2.git] / src / 5gnrmac / rg_ex_ms.c
index 8da7b84..335a367 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);
+int unpackDuMacCellCfg(DuMacCellCfgReq func,Pst *pst,Buffer *mBuf);
 
 /**
  * @brief Task Activation callback function Entity SM. 
@@ -137,10 +137,14 @@ Buffer  *mBuf;                      /* message buffer       */
          /* 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;
+               case EVENT_MAC_CELL_STOP_REQ:
+                       /* Process MAC cell stop request */
+                       unpackMacCellStopReq(MacHdlCellStopReq, pst, mBuf);
+                       break;
+               case EVENT_MAC_DL_CCCH_IND:
+                       /* Process DL CCCH Ind */
+                       unpackMacDlCcchInd(MacHdlDlCcchInd, pst, mBuf);
+                       break;
       default:
          RG_FREE_MSG(mBuf);
          break;
@@ -233,10 +237,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