JIRA ID ODUHIGH193: Allocation and deallocation of MaceCellCfg sharable buffer
[o-du/l2.git] / src / 5gnrmac / rg_ex_ms.c
index e6a65c4..736b6b2 100755 (executable)
 registered with SSI during the LTE MAC Task initialization.
 */
 /* header include files -- defines (.h) */
-#include "envopt.h"        /* environment options */
-#include "envdep.h"        /* environment dependent */
-#include "envind.h"        /* environment independent */
-#include "gen.h"           /* general layer */
-#include "ssi.h"           /* system services */
-#include "cm5.h"           /* common timers defines */
-#include "cm_hash.h"       /* common hash list defines */
-#include "cm_llist.h"      /* common linked list defines */
-#include "cm_mblk.h"       /* memory management */
-#include "cm_tkns.h"       /* common tokens */
-#include "cm_lte.h"        /* common tokens */
+#include "common_def.h"
 #include "rgu.h"           /* RGU defines */
 #include "tfu.h"           /* RGU defines */
 #include "lrg.h"           /* layer management defines for LTE-MAC */
@@ -57,15 +47,6 @@ registered with SSI during the LTE MAC Task initialization.
 
 
 /* header/extern include files (.x) */
-#include "gen.x"           /* general layer typedefs */
-#include "ssi.x"           /* system services typedefs */
-#include "cm5.x"           /* common timers */
-#include "cm_hash.x"       /* common hash list */
-#include "cm_lib.x"        /* common library */
-#include "cm_llist.x"      /* common linked list */
-#include "cm_mblk.x"       /* memory management */
-#include "cm_tkns.x"       /* common tokens */
-#include "cm_lte.x"        /* common tokens */
 #include "rgu.x"           /* RGU types */
 #include "tfu.x"           /* RGU types */
 #include "lrg.x"           /* layer management typedefs for MAC */
@@ -137,10 +118,18 @@ 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;
+               case EVENT_MAC_UE_CREATE_REQ:
+                  /* Process Ue Create Request */
+                       unpackMacUeCreateReq(MacHdlUeCreateReq, pst, mBuf);
+                       break;
       default:
          RG_FREE_MSG(mBuf);
          break;