U8, U16, U32 data type changes
[o-du/l2.git] / src / 5gnrmac / rg_ex_ms.c
index 6fded63..c742209 100755 (executable)
@@ -56,6 +56,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 */
+#include "rlc_mac_inf.h"
 
 /**
  * @brief Task Activation callback function Entity SM. 
@@ -83,8 +84,6 @@ Pst     *pst;                       /* post structure       */
 Buffer  *mBuf;                      /* message buffer       */
 #endif
 {
-   TRC2(rgHdlSMEvents)
-
    switch(pst->event)
    {
 #ifdef LCRGMILRG
@@ -114,21 +113,25 @@ Buffer  *mBuf;                      /* message buffer       */
          unpackDuMacCellCfg(MacProcCellCfgReq, pst, mBuf);
          break;
       case EVENT_MAC_CELL_START_REQ:
-         /* Process MAC cell start request */
-         unpackMacCellStartReq(MacProcCellStartReq, pst, mBuf);
-         break;
-               case EVENT_MAC_CELL_STOP_REQ:
-                       /* Process MAC cell stop request */
-                       unpackMacCellStopReq(MacProcCellStopReq, pst, mBuf);
-                       break;
-               case EVENT_MAC_DL_CCCH_IND:
-                       /* Process DL CCCH Ind */
-                       unpackMacDlCcchInd(MacProcDlCcchInd, pst, mBuf);
-                       break;
-               case EVENT_MAC_UE_CREATE_REQ:
-                  /* Process Ue Create Request */
-                       unpackMacUeCreateReq(MacProcUeCreateReq, pst, mBuf);
-                       break;
+        /* Process MAC cell start request */
+        unpackMacCellStartReq(MacProcCellStartReq, pst, mBuf);
+        break;
+      case EVENT_MAC_CELL_STOP_REQ:
+        /* Process MAC cell stop request */
+        unpackMacCellStopReq(MacProcCellStopReq, pst, mBuf);
+        break;
+      case EVENT_MAC_DL_CCCH_IND:
+        /* Process DL CCCH Ind */
+        unpackMacDlCcchInd(MacProcDlCcchInd, pst, mBuf);
+        break;
+      case EVENT_MAC_UE_CREATE_REQ:
+        /* Process Ue Create Request */
+        unpackMacUeCreateReq(MacProcUeCreateReq, pst, mBuf);
+        break;
+      case EVENT_MAC_UE_RECONFIG_REQ:
+        /* Process Ue Reconfig Request */
+        unpackMacUeReconfigReq(MacProcUeReconfigReq, pst, mBuf);
+        break;
       default:
          RG_FREE_MSG(mBuf);
          break;
@@ -162,8 +165,6 @@ Pst     *pst;                       /* post structure       */
 Buffer  *mBuf;                      /* message buffer       */
 #endif
 {
-   TRC2(rgHdlNHEvents)
-
    switch(pst->event)
    {
 #ifdef LCRGUICRG
@@ -209,8 +210,6 @@ Pst     *pst;                       /* post structure       */
 Buffer  *mBuf;                      /* message buffer       */
 #endif
 {
-   TRC2(rgHdlKWEvents)
-
    switch(pst->event)
    {
 #ifdef LCRGUIRGU
@@ -220,11 +219,11 @@ Buffer  *mBuf;                      /* message buffer       */
       case EVTRGUUBNDREQ:
          cmUnpkRguUbndReq(RgUiRguUbndReq, pst, mBuf);
          break;
-      case EVTRLCDLDAT:
-         unpackDlData(MacRlcProcDlData, pst, mBuf);
+      case EVENT_DL_DATA_TO_MAC:
+         unpackRlcDlData(MacProcRlcDlData, pst, mBuf);
          break;
-      case EVTRLCBOSTA:
-         unpackBOStatus(MacRlcProcBOStatus, pst, mBuf);
+      case EVENT_BO_STATUS_TO_MAC:
+         unpackRlcBoStatus(MacProcRlcBoStatus, pst, mBuf);
          break;
 #ifdef LTE_L2_MEAS
 
@@ -266,8 +265,6 @@ Pst     *pst;                       /* post structure       */
 Buffer  *mBuf;                      /* message buffer       */
 #endif
 {
-   TRC2(rgHdlTFEvents)
-
    switch(pst->event)
    {
 #if  (defined(LCRGLITFU) || defined(LWLCRGLITFU))
@@ -316,8 +313,6 @@ Pst     *pst;                       /* post structure       */
 Buffer  *mBuf;                      /* message buffer       */
 #endif
 {
-   TRC2(rgHdlRGEvents)
-
    switch(pst->event)
    {
 #ifdef LCRG
@@ -442,8 +437,6 @@ Pst     *pst;                       /* post structure       */
 Buffer  *mBuf;                      /* message buffer       */
 #endif
 {
-   TRC2(rgActvTsk)
-
    switch(pst->srcEnt)
    {
       /* The originator of this message is the stack manager,