X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Frg_sch_utl.c;h=91999208d5e96daa7c04ce93e072d56ca2e6f70e;hb=8340c342ebcfc82193c3f66e7f15047c1e37399b;hp=5f39b7a0e583770eef76becc25ed2f7de84d9d7d;hpb=5ea4c59cb4dd37164953218b0bd355284e11d22c;p=o-du%2Fl2.git diff --git a/src/5gnrsch/rg_sch_utl.c b/src/5gnrsch/rg_sch_utl.c index 5f39b7a0e..91999208d 100755 --- a/src/5gnrsch/rg_sch_utl.c +++ b/src/5gnrsch/rg_sch_utl.c @@ -236,6 +236,7 @@ PRIVATE S16 rgSCHChkBoUpdate ARGS(( RgSchCellCb *cell, RgInfCmnBoRpt *boUpdt )); +#ifdef UNUSE_FUN #ifdef TFU_UPGRADE PRIVATE U8 rgSCHUtlFetchPcqiBitSz ARGS(( RgSchCellCb *cell, @@ -243,6 +244,7 @@ PRIVATE U8 rgSCHUtlFetchPcqiBitSz ARGS(( U8 numTxAnt )); #endif +#endif /* sorted in ascending order of tbSz */ CONSTANT struct rgSchUtlBcchPcchTbSz { @@ -615,7 +617,7 @@ RgSchPdcch *pdcch; { U8 *byte; U8 offset; - U8 mask; + uint16_t mask; TRC2(rgSCHUtlPdcchPut); @@ -7126,7 +7128,7 @@ U8 status; #endif { Pst cfmPst; - Inst inst; + Inst inst = 0; TRC2(schSendCfgCfm) cmMemset((U8 *)(&cfmPst), 0, sizeof(Pst)); @@ -7143,7 +7145,7 @@ U8 status; if(RgUiRgrCfgCfm(&cfmPst,transId, status) != ROK) { - RLOG_ARG0(L_ERROR,DBG_INSTID,inst,"schSendCfgCfm: RgUiRgrCfgCfm Failed "); + RLOG_ARG0(L_ERROR,DBG_INSTID,inst,"schSendCfgCfm: RgUiRgrCfgCfm Failed"); printf("\nschSendCfgCfm: RgUiRgrCfgCfm Failed "); RETVALUE(RFAILED); } @@ -11240,6 +11242,7 @@ U32 *prbReqrd; RETVOID; } /* rgSchUtlCalcTotalPrbReq */ +#ifdef UNUSE_FUN #ifdef TFU_UPGRADE /*********************************************************** * @@ -11397,6 +11400,7 @@ U8 numTxAnt; RETVALUE(pcqiSz); } #endif +#endif /** * @brief Utility function to returns the number of subbands based on the * requested bytes.