*******************************************************************************/
/* This file contains all utility functions */
+#include "common_def.h"
+#include "legtp.h"
+#include "lrg.h"
+#include "lkw.x"
+#include "lrg.x"
+#include "du_cfg.h"
#include "du_mgr.h"
#include "du_sys_info_hdl.h"
#include "MIB.h"
PDSCH_LENGTH_SYMBOL;
/* ra-searchSpace ID is set to 1 */
duCfgParam.macCellCfg.initialDlBwp.pdcchCommon.raSearchSpaceId = SEARCHSPACE_1_INDEX;
+
/* fill Intial UL BWP */
duCfgParam.macCellCfg.initialUlBwp.bwp.firstPrb = 0;
duCfgParam.macCellCfg.initialUlBwp.bwp.numPrb = TOTAL_PRB_BW; /* configured to total BW */
PUSCH_LENGTH_SYMBOL;
duCfgParam.macCellCfg.dmrsTypeAPos = DMRS_TYPE_A_POS;
+ /* fill PUCCH config common */
+ duCfgParam.macCellCfg.initialUlBwp.pucchCommon.pucchResourceCommon = PUCCH_RSRC_COMMON;
+ duCfgParam.macCellCfg.initialUlBwp.pucchCommon.pucchGroupHopping = PUCCH_GROUP_HOPPING;
/* This should be calculated based on
(number of mandatory parameters) + (number of otional parameters being filled) */
pst.dstInst = pst.srcInst;
pst.dstProcId = pst.srcProcId;
pst.event = EVTCFG;
- pst.selector = DU_SELECTOR_TC;
+ pst.selector = ODU_SELECTOR_TC;
pst.pool= DU_POOL;