#ifndef __DU_CONFIG_H_
#define __DU_CONFIG_H__
+#ifdef O1_ENABLE
+#include "CmInterface.h"
+#endif
+
/* MACROS */
#define DU_INST 0
#define DU_ID 1
#define NR_BANDWIDTH BANDWIDTH_20MHZ
#endif
+#define TRANS_ID 1
#define DU_TAC 1
#define PLMN_MCC0 3
#define PLMN_MCC1 1
#define SPARE 0
#define SSB_SC_OFFSET 0
#define DU_RANAC 1
-#define CELL_IDENTITY 32
+#define CELL_IDENTITY 16
/* Macro definitions for DUtoCuRrcContainer */
#define CELL_GRP_ID 1
/*VALID Tunnel ID*/
#define MIN_TEID 1 /*[Spec 29.281,Sec 5.1]: All Zero TEIDs are never assigned for setting up GTP-U Tunnel*/
-#define MAX_TEID 10 /*[Spec 29.281]: Max limit is not mentioned but as per GTP-U Header Format, TEID occupies 4 octets */
+#define MAX_TEID MAX_NUM_DRB * MAX_NUM_UE /*[Spec 29.281]: Max limit is not mentioned but as per GTP-U Header Format, TEID occupies 4 octets */
/* Slice Ratio */
#define MAX_RATIO 30
#define MIN_RATIO 20
#define DEDICATED_RATIO 10
-#define DEDICATED_SLICE_INDEX 1
#define NUM_OF_SUPPORTED_SLICE 2
typedef enum
CopyOfRecvdSliceCfg tempSliceCfg;
}DuCfgParams;
+typedef struct f1SetupMsg
+{
+ uint8_t f1MsgReqBufSize;
+ char *f1MsgReqBuf;
+ uint8_t f1MsgRspBufSize;
+ char *f1MsgRspBuf;
+}F1SetupMsg;
+
DuCfgParams duCfgParam;
/*function declarations */
uint8_t readCfg();
uint8_t duReadCfg();
uint16_t calcSliv(uint8_t startSymbol, uint8_t lengthSymbol);
-uint8_t cpyRrmPolicyInDuCfgParams(RrmPolicy rrmPolicy[], uint8_t policyNum, uint8_t memberList, CopyOfRecvdSliceCfg *tempSliceCfg);
+
+#ifdef O1_ENABLE
+uint8_t cpyRrmPolicyInDuCfgParams(RrmPolicyList rrmPolicy[], uint8_t policyNum, CopyOfRecvdSliceCfg *tempSliceCfg);
+#endif
#endif /* __DU_CONFIG_H__ */