*******************************************************************************/
/* 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 "rgr.h"
+#include "rgr.x"
+#include "E2AP-PDU.h"
+#include<ProtocolIE-Field.h>
+#include "F1AP-PDU.h"
+#include "du_e2ap_msg_hdl.h"
+#include "du_app_mac_inf.h"
+#include "du_app_rlc_inf.h"
+#include "du_cfg.h"
+#include "du_mgr.h"
+#include "odu_common_codec.h"
#include "du_cell_mgr.h"
+#include "du_f1ap_msg_hdl.h"
extern DuCfgParams duCfgParam;
-
extern S16 duBuildAndSendMacCellCfg();
/*******************************************************************
value.choice.Cells_to_be_Activated_List_Item;
bitStringToInt(&cell.nRCGI.nRCellIdentity, &nci);
- if(nci <= 0 || nci > DU_MAX_CELLS)
+ if(nci <= 0 || nci > MAX_NUM_CELL)
{
DU_LOG("\nDU APP : Invalid NCI %d", nci);
return RFAILED;
/* Now remove this cell from configured list and move to active list */
duCb.cfgCellLst[nci-1] = NULL;
duCb.actvCellLst[nci-1] = cellCb;
-
+ duCb.numActvCells++;
/* Build and send Mac Cell Cfg for the number of active cells */
ret = duBuildAndSendMacCellCfg();
if(ret != ROK)
* RFAILED - failure
*
* ****************************************************************/
-S16 procF1SetupRsp(F1AP_PDU_t *f1apMsg)
+uint8_t procF1SetupRsp(F1AP_PDU_t *f1apMsg)
{
- S16 ret = ROK;
+ uint8_t ret = ROK;
F1SetupResponse_t *f1SetRspMsg;
F1SetupRsp f1SetRspDb;