From 6cf77deda4e840c6f543bc7ca3c70580f968d875 Mon Sep 17 00:00:00 2001 From: pborla Date: Mon, 11 Sep 2023 21:06:23 +0530 Subject: [PATCH] [Epic-ID: ODUHIGH-516][Task-ID: 526] Fixing the memory issue Change-Id: I3bafe9422209025e52b8b0fb734b5f6004b90de6 Signed-off-by: pborla --- build/odu/makefile | 2 +- src/cu_stub/cu_stub.c | 2 +- src/du_app/du_e2ap_msg_hdl.c | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build/odu/makefile b/build/odu/makefile index 515444826..7095ad78b 100644 --- a/build/odu/makefile +++ b/build/odu/makefile @@ -74,7 +74,7 @@ endif # macro for output file name and makefile name # -PLTFRM_FLAGS= -UMSPD -DODU -DINTEL_FAPI -UODU_MEMORY_DEBUG_LOG -DDEBUG_ASN_PRINT -UDEBUG_PRINT -DERROR_PRINT -USTART_DL_UL_DATA -UNR_DRX -UCALL_FLOW_DEBUG_LOG -UODU_SLOT_IND_DEBUG_LOG +PLTFRM_FLAGS= -UMSPD -DODU -DINTEL_FAPI -UODU_MEMORY_DEBUG_LOG -DDEBUG_ASN_PRINT -UDEBUG_PRINT -DERROR_PRINT -USTART_DL_UL_DATA -UNR_DRX -UCALL_FLOW_DEBUG_LOG -UODU_SLOT_IND_DEBUG_LOG -UKPI_CALCULATION ifeq ($(MODE),TDD) PLTFRM_FLAGS += -DNR_TDD diff --git a/src/cu_stub/cu_stub.c b/src/cu_stub/cu_stub.c index 833e568ea..2df3cd76e 100644 --- a/src/cu_stub/cu_stub.c +++ b/src/cu_stub/cu_stub.c @@ -378,7 +378,7 @@ uint8_t startDlData() uint32_t duId; uint8_t ret = ROK; uint8_t cnt = 0; - int32_t totalNumOfTestFlow = 20; + int32_t totalNumOfTestFlow = 200; EgtpTeIdCb *teidCb = NULLP; while(totalNumOfTestFlow) diff --git a/src/du_app/du_e2ap_msg_hdl.c b/src/du_app/du_e2ap_msg_hdl.c index d528b5121..db42a861d 100644 --- a/src/du_app/du_e2ap_msg_hdl.c +++ b/src/du_app/du_e2ap_msg_hdl.c @@ -1653,12 +1653,14 @@ uint8_t procRicSubsReq(E2AP_PDU_t *e2apMsg) free(ricSubsReq->protocolIEs.list.array[idx]->value.choice.RICsubscriptionDetails.ricAction_ToBeSetup_List.\ list.array); +#ifdef KPI_CALCULATION /* This is a dummy trigger for statistics request. It will * be removed in next gerrit and actual statistics request * will be sent when RIC subscription request is received * from RIC */ ricSubscriptionInfo->actionSequence[0].definition.styleType = 1; BuildAndSendStatsReq(ricSubscriptionInfo->actionSequence[0].definition); +#endif } break; } -- 2.16.6