*******************************************************************************/
/* 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"
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;
duCb.cfgCellLst[id] = NULL;
duCb.actvCellLst[id] = NULL;
}
+ duCb.numUe = 0;
+ memset(duCb.ueCcchCtxt, 0, DU_MAX_UE * sizeof(UeCcchCtxt));
SSetProcId(DU_PROC);
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");