X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_mgr_ex_ms.c;h=e1f82e7354151fd4939890d552e5358a23c9012a;hb=105199ef642ffe9736ea24a01d4546578fa25e60;hp=8245d2f35f252426a38b7e5ba9097f53e4d47ac7;hpb=483d527d19566ecca87eee46a198bab6c890c6bb;p=o-du%2Fl2.git diff --git a/src/du_app/du_mgr_ex_ms.c b/src/du_app/du_mgr_ex_ms.c index 8245d2f35..e1f82e735 100644 --- a/src/du_app/du_mgr_ex_ms.c +++ b/src/du_app/du_mgr_ex_ms.c @@ -17,7 +17,14 @@ *******************************************************************************/ /* This file contains message handling functionality for DU APP */ - +#include "common_def.h" +#include "lrg.h" +#include "legtp.h" +#include "lkw.h" +#include "lrg.x" +#include "lkw.x" +#include "du_cfg.h" +#include "E2AP-PDU.h" #include "du_sctp.h" #include "du_f1ap_msg_hdl.h" #include "du_e2ap_msg_hdl.h" @@ -30,7 +37,8 @@ extern S16 cmUnpkLkwCfgCfm(LkwCfgCfm func,Pst *pst, Buffer *mBuf); extern S16 cmUnpkLkwCntrlCfm(LkwCntrlCfm func,Pst *pst, Buffer *mBuf); extern S16 cmUnpkLrgCfgCfm(LrgCfgCfm func,Pst *pst, Buffer *mBuf); - +extern S16 cmUnpkKwuDatInd(KwuDatInd func,Pst *pst, Buffer *mBuf); +extern S16 cmUnpkLrgSchCfgCfm(LrgSchCfgCfm func,Pst *pst,Buffer *mBuf); /************************************************************************** * @brief Task Initiation callback function. * @@ -54,6 +62,8 @@ extern S16 cmUnpkLrgCfgCfm(LrgCfgCfm func,Pst *pst, Buffer *mBuf); S16 duActvInit(Ent entity, Inst inst, Region region, Reason reason) { uint8_t id; + + memset(&duCb, 0, sizeof(DuCb)); duCb.init.procId = SFndProcId(); duCb.init.ent = entity; @@ -76,6 +86,8 @@ S16 duActvInit(Ent entity, Inst inst, Region region, Reason reason) duCb.cfgCellLst[id] = NULL; duCb.actvCellLst[id] = NULL; } + duCb.numUe = 0; + memset(duCb.ueCcchCtxt, 0, DU_MAX_UE * sizeof(UeCcchCtxt)); SSetProcId(DU_PROC); @@ -197,6 +209,17 @@ S16 duActvTsk(Pst *pst, Buffer *mBuf) ret = unpackMacSlotInd(duHandleSlotInd, pst, mBuf); break; } + case EVENT_MAC_STOP_IND: + { + ret = unpackMacStopInd(duHandleStopInd, pst, mBuf); + break; + } + case EVENT_MAC_UL_CCCH_IND: + { + ret = unpackMacUlCcchInd(duHandleUlCcchInd, pst, mBuf); + break; + } + default: { DU_LOG("\nDU_APP : Invalid event received at duActvTsk from ENTRG");