MAC Clean-up [Issue-ID: ODUHIGH-212]
[o-du/l2.git] / src / 5gnrmac / rg_ex_ms.c
index 736b6b2..79d69e5 100755 (executable)
@@ -56,7 +56,6 @@ 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. 
@@ -112,23 +111,23 @@ Buffer  *mBuf;                      /* message buffer       */
 #endif /* LCRGMILRG */
       case EVENT_MAC_CELL_CONFIG_REQ:
          /* Process MAC cell config */
-         unpackDuMacCellCfg(MacHdlCellCfgReq, pst, mBuf);
+         unpackDuMacCellCfg(MacProcCellCfgReq, pst, mBuf);
          break;
       case EVENT_MAC_CELL_START_REQ:
          /* Process MAC cell start request */
-         unpackMacCellStartReq(MacHdlCellStartReq, pst, mBuf);
+         unpackMacCellStartReq(MacProcCellStartReq, pst, mBuf);
          break;
                case EVENT_MAC_CELL_STOP_REQ:
                        /* Process MAC cell stop request */
-                       unpackMacCellStopReq(MacHdlCellStopReq, pst, mBuf);
+                       unpackMacCellStopReq(MacProcCellStopReq, pst, mBuf);
                        break;
                case EVENT_MAC_DL_CCCH_IND:
                        /* Process DL CCCH Ind */
-                       unpackMacDlCcchInd(MacHdlDlCcchInd, pst, mBuf);
+                       unpackMacDlCcchInd(MacProcDlCcchInd, pst, mBuf);
                        break;
                case EVENT_MAC_UE_CREATE_REQ:
                   /* Process Ue Create Request */
-                       unpackMacUeCreateReq(MacHdlUeCreateReq, pst, mBuf);
+                       unpackMacUeCreateReq(MacProcUeCreateReq, pst, mBuf);
                        break;
       default:
          RG_FREE_MSG(mBuf);
@@ -278,9 +277,6 @@ Buffer  *mBuf;                      /* message buffer       */
       case EVTTFUDATIND:
          cmUnpkTfuDatInd(RgLiTfuDatInd, pst, mBuf);
          break;
-      case EVENT_SLOT_IND_TO_MAC:
-         cmUnpackSlotInd(fapiMacSlotInd, pst, mBuf);
-         break;
 #if defined(TENB_T2K3K_SPECIFIC_CHANGES) && defined(LTE_TDD)
       case EVTTFUNONRTIND:
          cmUnpkTfuNonRtInd(RgLiTfuNonRtInd, pst, mBuf);