X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Frg_ex_ms.c;h=6ee230eedbbb2ec5edb4c2c70845e12a0b583b7d;hb=8340c342ebcfc82193c3f66e7f15047c1e37399b;hp=4f96a5f35d89a95c9f38a11ec810798f4b315e6c;hpb=d10b52519198632f93deae9574adc69c7ce12efa;p=o-du%2Fl2.git diff --git a/src/5gnrmac/rg_ex_ms.c b/src/5gnrmac/rg_ex_ms.c index 4f96a5f35..6ee230eed 100755 --- a/src/5gnrmac/rg_ex_ms.c +++ b/src/5gnrmac/rg_ex_ms.c @@ -73,8 +73,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 "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. @@ -115,9 +116,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); @@ -131,6 +129,18 @@ Buffer *mBuf; /* message buffer */ cmUnpkLrgStsReq(RgMiLrgStsReq, pst, mBuf); break; #endif /* LCRGMILRG */ + case EVENT_MAC_CELL_CONFIG_REQ: + /* Process MAC cell config */ + unpackDuMacCellCfg(MacHdlCellCfgReq, pst, mBuf); + break; + case EVENT_MAC_CELL_START_REQ: + /* 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; default: RG_FREE_MSG(mBuf); break; @@ -223,10 +233,10 @@ Buffer *mBuf; /* message buffer */ cmUnpkRguUbndReq(RgUiRguUbndReq, pst, mBuf); break; case EVTRLCDLDAT: - unpackSendDlData(RgUiRguDDatReq, pst, mBuf); + unpackDlData(RgUiRguDDatReq, pst, mBuf); break; case EVTRLCBOSTA: - unpackSendBOStatus(RgUiRguDStaRsp, pst, mBuf); + unpackBOStatus(RgUiRguDStaRsp, pst, mBuf); break; #ifdef LTE_L2_MEAS @@ -279,8 +289,8 @@ Buffer *mBuf; /* message buffer */ case EVTTFUDATIND: cmUnpkTfuDatInd(RgLiTfuDatInd, pst, mBuf); break; - case EVTTFUTTIIND: - cmUnpkTfuTtiInd(RgLiTfuTtiInd, pst, mBuf); + case EVENT_SLOT_IND_TO_MAC: + cmUnpackSlotInd(fapiMacSlotInd, pst, mBuf); break; #if defined(TENB_T2K3K_SPECIFIC_CHANGES) && defined(LTE_TDD) case EVTTFUNONRTIND: