X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fdu_app%2Fdu_cell_mgr.c;h=c73cef20c0edc541d464e29474d8dc5ab6067560;hb=105199ef642ffe9736ea24a01d4546578fa25e60;hp=522801e462dcb71caaf271f906dc22214c7986f6;hpb=e550b2091fb29289d12a5722b189acbede7862f0;p=o-du%2Fl2.git diff --git a/src/du_app/du_cell_mgr.c b/src/du_app/du_cell_mgr.c index 522801e46..c73cef20c 100644 --- a/src/du_app/du_cell_mgr.c +++ b/src/du_app/du_cell_mgr.c @@ -17,10 +17,18 @@ *******************************************************************************/ /* This file contains message handling functionality for DU cell management */ +#include "common_def.h" +#include "lrg.h" +#include "legtp.h" +#include "lrg.x" +#include "lkw.x" +#include "du_cfg.h" +#include "E2AP-PDU.h" #include "du_cell_mgr.h" +#include +#include "F1AP-PDU.h" extern DuCfgParams duCfgParam; - extern S16 duBuildAndSendMacCellCfg(); /******************************************************************* @@ -171,6 +179,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 **********************************************************************/