X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_cfg.c;h=f3435616edd2854f9b0a9862149b47032f3c0d4f;hb=refs%2Fchanges%2F77%2F4377%2F11;hp=4bc03401a287acea29a3dc6e172b25a1bae120cd;hpb=f6dbb92a3f650e539df1f1499e664b8650cf6dbd;p=o-du%2Fl2.git diff --git a/src/du_app/du_cfg.c b/src/du_app/du_cfg.c index 4bc03401a..f3435616e 100644 --- a/src/du_app/du_cfg.c +++ b/src/du_app/du_cfg.c @@ -17,6 +17,12 @@ *******************************************************************************/ /* 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" @@ -261,6 +267,7 @@ S16 readMacCfg() 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 */ @@ -275,6 +282,9 @@ S16 readMacCfg() 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) */ @@ -770,7 +780,7 @@ S16 duReadCfg() 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;