X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_cfg.c;h=72af42156ac27227efceee5319f222d03111f803;hb=refs%2Fchanges%2F52%2F12252%2F6;hp=78017261136ef6bf9cee1b132addb7e84004ce56;hpb=1848207fc6601561cbac8cbb5950d1c6e80f2bea;p=o-du%2Fl2.git diff --git a/src/du_app/du_cfg.c b/src/du_app/du_cfg.c index 780172611..72af42156 100644 --- a/src/du_app/du_cfg.c +++ b/src/du_app/du_cfg.c @@ -106,20 +106,20 @@ uint8_t readMacCfg() #ifdef O1_ENABLE duCfgParam.macCellCfg.cellId = cellParams.cellLocalId; duCfgParam.macCellCfg.carrCfg.dlBw = cellParams.bSChannelBwDL; - duCfgParam.macCellCfg.carrCfg.dlFreq = convertArfcnToFreqKhz(cellParams.arfcnDL); + duCfgParam.macCellCfg.carrCfg.arfcnDL = cellParams.arfcnDL; #else duCfgParam.macCellCfg.cellId = NR_CELL_ID; duCfgParam.macCellCfg.carrCfg.dlBw = NR_BANDWIDTH; - duCfgParam.macCellCfg.carrCfg.dlFreq = convertArfcnToFreqKhz(NR_DL_ARFCN); + duCfgParam.macCellCfg.carrCfg.arfcnDL = NR_DL_ARFCN; #endif duCfgParam.macCellCfg.carrCfg.numTxAnt = NUM_TX_ANT; /* UL Carrier configuration */ #ifdef O1_ENABLE duCfgParam.macCellCfg.carrCfg.ulBw = cellParams.bSChannelBwUL; - duCfgParam.macCellCfg.carrCfg.ulFreq = convertArfcnToFreqKhz(cellParams.arfcnUL); + duCfgParam.macCellCfg.carrCfg.arfcnUL = cellParams.arfcnUL; #else duCfgParam.macCellCfg.carrCfg.ulBw = NR_BANDWIDTH; - duCfgParam.macCellCfg.carrCfg.ulFreq = convertArfcnToFreqKhz(NR_UL_ARFCN); + duCfgParam.macCellCfg.carrCfg.arfcnUL = NR_UL_ARFCN; #endif duCfgParam.macCellCfg.carrCfg.numRxAnt = NUM_RX_ANT; @@ -709,7 +709,7 @@ uint8_t readCfg() duCb.e2apDb.ranFunction[ranFuncIdx].reportStyleList[reportStyleIdx].reportStyle.formatType = REPORT_ACTION_FORMAT_TYPE; memcpy(duCb.e2apDb.ranFunction[ranFuncIdx].reportStyleList[reportStyleIdx].reportStyle.name, ric_report_style_name, sizeof(ric_report_style_name)); - for(measurementInfoIdx =0; measurementInfoIdx