[Epic-ID: ODUHIGH-516][Task-ID: 526] Fixing the memory issue 85/11785/2
authorpborla <pborla@radisys.com>
Mon, 11 Sep 2023 15:36:23 +0000 (21:06 +0530)
committerpborla <pborla@radisys.com>
Mon, 11 Sep 2023 16:10:55 +0000 (21:40 +0530)
Change-Id: I3bafe9422209025e52b8b0fb734b5f6004b90de6
Signed-off-by: pborla <pborla@radisys.com>
build/odu/makefile
src/cu_stub/cu_stub.c
src/du_app/du_e2ap_msg_hdl.c

index 5154448..7095ad7 100644 (file)
@@ -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
index 833e568..2df3cd7 100644 (file)
@@ -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)
index d528b51..db42a86 100644 (file)
@@ -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;
                }