From: pborla Date: Mon, 11 Sep 2023 15:36:23 +0000 (+0530) Subject: [Epic-ID: ODUHIGH-516][Task-ID: 526] Fixing the memory issue X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F85%2F11785%2F2;hp=904a5d446b480d71da1bf81f892bab86ab365ce6;p=o-du%2Fl2.git [Epic-ID: ODUHIGH-516][Task-ID: 526] Fixing the memory issue Change-Id: I3bafe9422209025e52b8b0fb734b5f6004b90de6 Signed-off-by: pborla --- 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; }