X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_cell_mgr.c;h=73732df09b0b79a080ea63f2a9a7abff3571c87c;hb=a2484c58e5beeb1ab9e1c86104cf9d9bc56750d1;hp=1af02edaa8be8e8d466fc3104572442f81010618;hpb=5ea4c59cb4dd37164953218b0bd355284e11d22c;p=o-du%2Fl2.git diff --git a/src/du_app/du_cell_mgr.c b/src/du_app/du_cell_mgr.c index 1af02edaa..73732df09 100644 --- a/src/du_app/du_cell_mgr.c +++ b/src/du_app/du_cell_mgr.c @@ -16,7 +16,7 @@ ################################################################################ *******************************************************************************/ -/* This file contains message handling functionality for DU APP */ +/* This file contains message handling functionality for DU cell management */ #include "du_cell_mgr.h" extern DuCfgParams duCfgParam; @@ -76,7 +76,7 @@ S16 procCellsToBeActivated(Cells_to_be_Activated_List_t cellsToActivate) cellCb->cellInfo.nrPci = pci; /* Now remove this cell from configured list and move to active list */ - duCb.cfgCellLst[nci-1] = NULLP; + duCb.cfgCellLst[nci-1] = NULL; duCb.actvCellLst[nci-1] = cellCb; /* Build and send Mac Cell Cfg for the number of active cells */ @@ -171,6 +171,37 @@ S16 procF1SetupRsp(F1AP_PDU_t *f1apMsg) return ret; } +/******************************************************************* + * + * @brief Processes GNB DU config update ack + * + * @details + * + * Function : procGNBDUCfgUpdAck + * + * Functionality: Processes GNB DU config update ack + * + * @params[in] F1AP_PDU_t ASN decoded F1AP message + * @return ROK - success + * RFAILED - failure + * + * ****************************************************************/ +S16 procGNBDUCfgUpdAck(F1AP_PDU_t *f1apMsg) +{ + DU_LOG("\nF1AP : GNB-DU config update acknowledgment received"); +/* TODO :Check the deallocation */ +#if 0 + SPutSBuf(DU_APP_MEM_REGION,DU_POOL,(Data*)&(gNBDuCfgAck->protocolIEs.list.array),\ + (Size)elementCnt * sizeof(GNBDUConfigurationUpdateAcknowledgeIEs_t +)); + SPutSBuf(DU_APP_MEM_REGION,DU_POOL,(Data*)&(f1apMsg->choice.successfulOutcome),\ + (Size)sizeof(SuccessfulOutcome_t)); + SPutSBuf(DU_APP_MEM_REGION,DU_POOL,(Data*)&f1apMsg,(Size)sizeof(F1AP_PDU_t)); +#endif + return ROK; +} + + /********************************************************************** End of file **********************************************************************/