#ifndef __DU_CONFIG_H_
#define __DU_CONFIG_H__
+#ifdef O1_ENABLE
+#include "CmInterface.h"
+#endif
+
/* MACROS */
#define DU_INST 0
#define DU_ID 1
/* MACRO Define for PUSCH Configuration */
#define MAX_UL_ALLOC 16
-#define PUSCH_K2_CFG1 3
-#define PUSCH_K2_CFG2 4
+#define PUSCH_K2_CFG1 4
+#define PUSCH_K2_CFG2 5
#define PUSCH_START_SYMBOL 3
#define PUSCH_LENGTH_SYMBOL 11
SrvCellCfgCommSib srvCellCfgCommSib;
}Sib1Params;
+typedef struct policyMemberList
+{
+ Plmn plmn;
+ Snssai snssai;
+}PolicyMemberList;
+
+typedef struct rrmPolicy
+{
+ ResourceType rsrcType;
+ uint8_t numMemberList;
+ PolicyMemberList **memberList;
+ uint8_t policyMaxRatio;
+ uint8_t policyMinRatio;
+ uint8_t policyDedicatedRatio;
+}RrmPolicy;
+
+typedef struct copyOfRecvdSliceCfg
+{
+ RrmPolicy **rrmPolicy;
+ uint8_t totalRrmPolicy;
+ uint8_t totalSliceCount;
+}CopyOfRecvdSliceCfg;
+
typedef struct duCfgParams
{
SctpParams sctpParams; /* SCTP Params */
MacCellCfg macCellCfg; /* MAC cell configuration */
MibParams mibParams; /* MIB Params */
Sib1Params sib1Params; /* SIB1 Params */
+ CopyOfRecvdSliceCfg tempSliceCfg;
}DuCfgParams;
+DuCfgParams duCfgParam;
+
/*function declarations */
void FillSlotConfig();
uint8_t readClCfg();
uint8_t duReadCfg();
uint16_t calcSliv(uint8_t startSymbol, uint8_t lengthSymbol);
+#ifdef O1_ENABLE
+uint8_t cpyRrmPolicyInDuCfgParams(RrmPolicyList rrmPolicy[], uint8_t policyNum, CopyOfRecvdSliceCfg *tempSliceCfg);
+#endif
+
#endif /* __DU_CONFIG_H__ */
/**********************************************************************