X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Frg_ex_ms.c;h=79d69e56bb153689ac297b97dd442ca397211f6b;hb=45d134510deb6902b870b4a0fb574b6075fba601;hp=b24e3e0411f231f5ca47bd18598b0157f9358156;hpb=719cc82cbb3d21edc03cccdae046f5a2d5f3d427;p=o-du%2Fl2.git diff --git a/src/5gnrmac/rg_ex_ms.c b/src/5gnrmac/rg_ex_ms.c index b24e3e041..79d69e56b 100755 --- a/src/5gnrmac/rg_ex_ms.c +++ b/src/5gnrmac/rg_ex_ms.c @@ -33,17 +33,7 @@ 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 */ @@ -73,10 +54,9 @@ registered with SSI during the LTE MAC Task initialization. #include "crg.x" /* CRG interface typedes */ #include "rg_sch_inf.x" /* SCH interface typedefs */ #include "rg_prg.x" /*PRG interface includes*/ -#include "mac_interface.h" +#include "du_app_mac_inf.h" #include "rg.x" /* typedefs for MAC */ - /** * @brief Task Activation callback function Entity SM. * @@ -116,9 +96,6 @@ Buffer *mBuf; /* message buffer */ /* Process a config. request */ cmUnpkLrgSchCfgReq(MacSchGenCfgReq, pst, mBuf); break; - case EVTMACSCHCFGREQ: - cmUnpkRgrCfgReq(MacSchCfgReq, pst, mBuf); - break; case EVTLRGCNTRLREQ: /* Process a control request */ cmUnpkLrgCntrlReq(RgMiLrgCntrlReq, pst, mBuf); @@ -134,8 +111,24 @@ Buffer *mBuf; /* message buffer */ #endif /* LCRGMILRG */ case EVENT_MAC_CELL_CONFIG_REQ: /* Process MAC cell config */ - unpackDuMacCellCfg(handleMacCellCfgReq, pst, mBuf); - break; + 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; default: RG_FREE_MSG(mBuf); break; @@ -228,10 +221,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 @@ -284,9 +277,6 @@ Buffer *mBuf; /* message buffer */ case EVTTFUDATIND: cmUnpkTfuDatInd(RgLiTfuDatInd, pst, mBuf); break; - case EVTTFUTTIIND: - cmUnpkTfuTtiInd(RgLiTfuTtiInd, pst, mBuf); - break; #if defined(TENB_T2K3K_SPECIFIC_CHANGES) && defined(LTE_TDD) case EVTTFUNONRTIND: cmUnpkTfuNonRtInd(RgLiTfuNonRtInd, pst, mBuf);