RgSchErrInfo *errInfo
)
{
- RGSCHDBGPRM(inst, (rgSchPBuf(inst), "VALIDATE RGR SCH ENB CONFIG: \n"));
+ DU_LOG("\nDEBUG --> SCH : VALIDATE RGR SCH ENB CONFIG: \n");
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_ENB_CFG;
// TODO
if ((rgSCHCfgVldtRgrSchCfg(inst, schedEnbCfg)) != ROK)
{
- RGSCHDBGERR(inst, (rgSchPBuf(inst), "Validation for scheduler related "
- "config failed\n"));
+ DU_LOG("\nERROR --> SCH : Validation for scheduler related "
+ "config failed\n");
return RFAILED;
}
- RLOG1(L_INFO, "MIMO_DBG:: SCH:: numAntPorts=%d\n",schedEnbCfg->numTxAntPorts);
+ DU_LOG("\nINFO --> SCH : MIMO_DBG:: SCH:: numAntPorts=%d\n",schedEnbCfg->numTxAntPorts);
/* Validation for the ENB parameters */
if ((schedEnbCfg->numTxAntPorts == 0) || (schedEnbCfg->numTxAntPorts > 4))
{
- RGSCHDBGERR(inst, (rgSchPBuf(inst),"Invalid number of transmit antenna"
- " ports %d\n", schedEnbCfg->numTxAntPorts));
+ DU_LOG("\nERROR --> SCH : Invalid number of transmit antenna"
+ " ports %d\n", schedEnbCfg->numTxAntPorts);
return RFAILED;
}
if((schedEnbCfg->accsMode < RGR_CELL_ACCS_OPEN) ||
(schedEnbCfg->accsMode > RGR_CELL_ACCS_HYBRID))
{
- RGSCHDBGERR(inst, (rgSchPBuf(inst), "Invalid CSG Access mode\n"));
+ DU_LOG("\nERROR --> SCH : Invalid CSG Access mode\n");
return RFAILED;
}
errInfo->errCause = RGSCHERR_NONE;
- RGSCHDBGINFO(inst, (rgSchPBuf(inst), "RGR SCHED ENB config validation done:"\n));
+ DU_LOG("\nINFO --> SCH : RGR SCHED ENB config validation done:");
return ROK;
} /* rgSCHCfgVldtRgrSchedEnbCfg */
/* check if cell exists already */
if ((uint8_t *)cell != NULLP)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"Cell Id already exists");
+ DU_LOG("\nERROR --> SCH : Cell Id already exists");
return RFAILED;
}
if(cellCfg->macInst >= SCH_INST_START)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid MAC Instance %d ",
+ DU_LOG("\nERROR --> SCH : Invalid MAC Instance %d ",
cellCfg->macInst);
return RFAILED;
}
if (cellCfg->macRnti.startRnti < RGSCH_MIN_MAC_RNTI )
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid start RNTI %d for cell ",
+ DU_LOG("\nERROR --> SCH : Invalid start RNTI %d for cell ",
cellCfg->macRnti.startRnti);
return RFAILED;
}
if ((rgSCHCfgVldtRgrCellSchCfg(inst, cellCfg)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId, "Validation for scheduler related "
+ DU_LOG("\nERROR --> SCH : Validation for scheduler related "
"config failed");
return RFAILED;
}
if ((cellCfg->dlHqCfg.maxDlHqTx < RGSCH_MIN_HQ_TX) ||
(cellCfg->dlHqCfg.maxMsg4HqTx < RGSCH_MIN_HQ_TX))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid Downlink HARQ configuration:"
+ DU_LOG("\nERROR --> SCH : Invalid Downlink HARQ configuration:"
" maxDlHqTx %d maxMsg4HqTx %d", cellCfg->dlHqCfg.maxDlHqTx,
cellCfg->dlHqCfg.maxMsg4HqTx);
return RFAILED;
if ((cellCfg->cfiCfg.cfi < RGSCH_MIN_CFI_VAL) ||
(cellCfg->cfiCfg.cfi > RGSCH_MAX_CFI_VAL))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid CFI configuration %d",
+ DU_LOG("\nERROR --> SCH : Invalid CFI configuration %d",
cellCfg->cfiCfg.cfi);
return RFAILED;
}
((cellCfg->puschSubBand.numSubbands -1) * cellCfg->puschSubBand.size))
> (cellCfg->bwCfg.ulTotalBw - 1))
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid PUSCH subband configuration:"
+ DU_LOG("\nERROR --> SCH : Invalid PUSCH subband configuration:"
" subBandStart %d numSubBands %d subBandSize %d ulTotBw %d",
cellCfg->puschSubBand.subbandStart,
cellCfg->puschSubBand.numSubbands, cellCfg->puschSubBand.size,
((cellCfg->bwCfg.ulTotalBw < RGSCH_MIN_UL_BW) ||
(cellCfg->bwCfg.ulTotalBw > RGSCH_MAX_UL_BW)))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid Bandwidth configuration:"
+ DU_LOG("\nERROR --> SCH : Invalid Bandwidth configuration:"
" ul %d dl %d",cellCfg->bwCfg.ulTotalBw,
cellCfg->bwCfg.dlTotalBw);
return RFAILED;
}
if (cellCfg->phichCfg.ngEnum > RGR_NG_TWO)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid PHICH Ng configuration %d",
+ DU_LOG("\nERROR --> SCH : Invalid PHICH Ng configuration %d",
(uint8_t)cellCfg->phichCfg.ngEnum);
return RFAILED;
}
if ((cellCfg->phichCfg.isDurExtend == TRUE) &&
(cellCfg->bwCfg.dlTotalBw <= 10) && (cellCfg->cfiCfg.cfi < 2))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid cfi value for"
+ DU_LOG("\nERROR --> SCH : Invalid cfi value for"
"Extended PHICH duration cfi:%d dlBw:%d",
(uint8_t)cellCfg->cfiCfg.cfi, cellCfg->bwCfg.dlTotalBw);
return RFAILED;
if ((cellCfg->phichCfg.isDurExtend == TRUE) &&
(cellCfg->bwCfg.dlTotalBw > 10) && (cellCfg->cfiCfg.cfi < 3))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid cfi value for"
+ DU_LOG("\nERROR --> SCH : Invalid cfi value for"
"Extended PHICH duration cfi:%d dlBw:%d",
(uint8_t)cellCfg->cfiCfg.cfi, cellCfg->bwCfg.dlTotalBw);
return RFAILED;
}
- RLOG4(L_INFO,"CA_DBG:: PUCCH configuration:"
+ DU_LOG("\nINFO --> SCH : CA_DBG:: PUCCH configuration:"
" N2_RB %d N1_PUCCH %d deltaShift %d cyclicShift %d",
cellCfg->pucchCfg.resourceSize,
cellCfg->pucchCfg.n1PucchAn,
(cellCfg->pucchCfg.deltaShift > RGSCH_PUCCH_MAXVAL_DS) ||
(cellCfg->pucchCfg.cyclicShift > RGSCH_PUCCH_MAXVAL_CS))
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid PUCCH configuration:"
+ DU_LOG("\nERROR --> SCH : Invalid PUCCH configuration:"
" N2_RB %d N1_PUCCH %d deltaShift %d cyclicShift %d",
cellCfg->pucchCfg.resourceSize,
cellCfg->pucchCfg.n1PucchAn,
}
if (cellCfg->srsCfg.isSrsCfgSetup && cellCfg->srsCfg.srsBwEnum > RGR_SRS_BWCFG_7)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid SRS configuration: "
+ DU_LOG("\nERROR --> SCH : Invalid SRS configuration: "
" srsBw %d", (uint8_t)cellCfg->srsCfg.srsBwEnum);
return RFAILED;
}
if ((rgSCHCfgVldtRgrCellRACfg(inst, cellCfg)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId, "Validation for Random access related"
+ DU_LOG("\nERROR --> SCH : Validation for Random access related"
"config failed");
return RFAILED;
}
if ((rgSCHCfgVldtRgrCellPwrCfg(inst, cellCfg, errInfo)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId, "Validation for cell power "
+ DU_LOG("\nERROR --> SCH : Validation for cell power "
"config failed");
return RFAILED;
}
if( (cellCfg->numCmnLcs < RGR_MIN_CMN_LC_PER_CELL)||
(cellCfg->numCmnLcs > RGR_MAX_CMN_LC_PER_CELL))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid number(%d) of common logical"
+ DU_LOG("\nERROR --> SCH : Invalid number(%d) of common logical"
"channels in cell config", cellCfg->numCmnLcs);
return RFAILED;
}
if ((rgSCHCfgVldtRgrCmnLcCfg(inst, cellCfg, errInfo)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId, "Validation for common logical"
+ DU_LOG("\nERROR --> SCH : Validation for common logical"
"channels failed");
return RFAILED;
}
#ifdef RGR_SI_SCH
if ((rgSCHCfgVldtRgrCellSiCfg(inst, &(cellCfg->siCfg))) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId, "Validation for SI"
+ DU_LOG("\nERROR --> SCH : Validation for SI"
"configuration failed");
return RFAILED;
}
if(cellCfg->srsCfg.isSrsCfgSetup && cellCfg->srsCfg.srsSubFrameCfg > 14)
#endif
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid"
+ DU_LOG("\nERROR --> SCH : Invalid"
"Subframe configuration");
return RFAILED;
}
(cellCfg->phichTxPwrOffset > 10000)
)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,
- "Invalid txPower offset ");
+ DU_LOG("\nERROR --> SCH : Invalid txPower offset ");
+
return RFAILED;
}
(!((cellCfg->rgrLteAdvCfg.pres & RGR_SFR) &&
(RGR_ENABLE == cellCfg->rgrLteAdvCfg.sfrCfg.status))))
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId, "DSFR is enbaled"
+ DU_LOG("\nERROR --> SCH : DSFR is enbaled"
"Without enabling SFR");
return RFAILED;
}
if ((rgSCHCfgVldtRgrCellLteAdvCfg(inst, &(cellCfg->rgrLteAdvCfg),
cellCfg->bwCfg.dlTotalBw)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId, "Validation for LTE Adv"
+ DU_LOG("\nERROR --> SCH : Validation for LTE Adv"
"configuration failed");
return RFAILED;
}
#ifdef LTE_ADV
if ((rgSCHCfgVldtRgrCellLteLAACfg(inst, cellCfg)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId, "Validation for LTE LAA"
+ DU_LOG("\nERROR --> SCH : Validation for LTE LAA"
"configuration failed");
return RFAILED;
}
/* LTE_ADV_FLAG_REMOVED_END */
if (cellCfg->msg4pAVal > RGRUE_DLPWRCNTRL_PA_DB3)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCfg->cellId, "Invalid"
+ DU_LOG("\nERROR --> SCH : Invalid"
"msg4pAVal %u", cellCfg->msg4pAVal);
return RFAILED;
}
if((rgSCHCfgVldtRgrCellCsgParamCfg(inst,
&(cellCfg->csgParamCfg)) != ROK))
{
- RGSCHDBGERR(inst, (rgSchPBuf(inst), "Validation failed for \n"
- "Access CSG parameter failed\n"));
+ DU_LOG("\nERROR --> SCH : Validation failed for \n"
+ "Access CSG parameter failed\n");
return RFAILED;
}
}
{
if(ROK != rgSCHCfgVldtRgrEmtcCellCfg(cellCfg))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCfg->cellId,"Invalid EMTC cell Configuration %d for cell" ,cellCfg->cellId);
+ DU_LOG("\nERROR --> SCH : Invalid EMTC cell Configuration %d for cell" ,cellCfg->cellId);
return RFAILED;
}
}
RgrSchedEnbCfg *rgSchedCfg
)
{
- RGSCHDBGPRM(inst, (rgSchPBuf(inst), "rgSCHCfgVldtRgrSchCfg:Validating \
- scheduler related Configuration"));
+ DU_LOG("\nDEBUG --> SCH : rgSCHCfgVldtRgrSchCfg:Validating \
+ scheduler related Configuration");
if (rgSchedCfg->ulSchdType > (RGSCH_NUM_SCHEDULERS - 1))
{
- RGSCHDBGERR(inst, (rgSchPBuf(inst), "rgSCHCfgVldtRgrSchCfg:Invalid \
- UL scheduler type %d \n", rgSchedCfg->ulSchdType));
+ DU_LOG("\nERROR --> SCH : rgSCHCfgVldtRgrSchCfg:Invalid \
+ UL scheduler type %d \n", rgSchedCfg->ulSchdType);
return RFAILED;
}
if (rgSchedCfg->dlSchdType > (RGSCH_NUM_SCHEDULERS - 1))
{
- RGSCHDBGERR(inst, (rgSchPBuf(inst), "rgSCHCfgVldtRgrSchCfg:Invalid \
- DL scheduler type %d \n", rgSchedCfg->dlSchdType));
+ DU_LOG("\nERROR --> SCH : rgSCHCfgVldtRgrSchCfg:Invalid \
+ DL scheduler type %d \n", rgSchedCfg->dlSchdType);
return RFAILED;
}
return ROK;
#if RGSCH_NUM_DLFS_SCHEDULERS
if (cellCfg->dlfsSchdType > RGSCH_NUM_DLFS_SCHEDULERS - 1)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCfg->cellId,"Invalid dlfs scheduler type %d for cell",
+ DU_LOG("\nERROR --> SCH : Invalid dlfs scheduler type %d for cell",
cellCfg->dlfsSchdType);
return RFAILED;
}
(cellCfg->rachCfg.prachResource >
(cellCfg->bwCfg.ulTotalBw - RGSCH_NUM_RA_RB)))
{
- RLOG_ARG3(L_ERROR,DBG_CELLID,cellCfg->cellId,"Invalid RACH configuration:"
+ DU_LOG("\nERROR --> SCH : Invalid RACH configuration:"
"preamble Fmt %d raWinSize %d maxMsg3Tx %d",
cellCfg->rachCfg.preambleFormat, cellCfg->rachCfg.raWinSize,
cellCfg->rachCfg.maxMsg3Tx);
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCfg->cellId,"Invalid numRaPreamble %d sizeRaPreambleGrpA %d",
+ DU_LOG("\nERROR --> SCH : Invalid numRaPreamble %d sizeRaPreambleGrpA %d",
cellCfg->rachCfg.numRaPreamble,
cellCfg->rachCfg.sizeRaPreambleGrpA);
return RFAILED;
cellCfg->rachCfg.numRaPreamble) ||
(cellCfg->rachCfg.raOccasion.sfnEnum == RGR_SFN_NA)))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCfg->cellId,"Invalid RACH Preambleset conf:"
+ DU_LOG("\nERROR --> SCH : Invalid RACH Preambleset conf:"
"preambleSet Start %d preambleSet Size %d",
cellCfg->macPreambleSet.start, cellCfg->macPreambleSet.size);
return RFAILED;
if(maxMsg4TxDelay >= cellCfg->rachCfg.contResTmr)
{
- RLOG_ARG2(L_WARNING,DBG_CELLID,cellCfg->cellId ,
- "Warining !: Contention Resolution timer not greater than the "
+ DU_LOG("\nERROR --> SCH : Warining !: Contention Resolution timer not greater than the "
"guard timer. Conte Res timer %d Guard timer %d",
cellCfg->rachCfg.contResTmr,
maxMsg4TxDelay );
{
/* ccpu00128575 ADD - If contention resolution timer is configured as 0,
Then return fail*/
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,
- "Contention Resolution timer is configured as '0'");
+ DU_LOG("\nERROR --> SCH : Contention Resolution timer is configured as '0'");
return RFAILED;
}
#endif
#endif
ue->numSCells++;
#ifdef CA_DBG
- printf("\n SCell added for ue %d numScells %d\n",ue->ueId,ue->numSCells);
+ DU_LOG("\nDEBUG --> SCH : SCell added for ue %d numScells %d\n",ue->ueId,ue->numSCells);
#endif
/* retrieve teh sec cell Cb */
if((secCellCb = (RgSchCellCb *)rgSchUtlGetCellCb(inst, sCellInfo->sCellId)) == NULLP)
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "SCell doesnt exists"));
+ DU_LOG("\nERROR --> SCH : SCell doesnt exists");
rgSCHSCellFreeBuf (inst,ue,ueRecfg,idx);
return RFAILED;
}
}
else
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "[%d]SCellIdx Tx mode not present ",idx));
+ DU_LOG("\nERROR --> SCH : [%d]SCellIdx Tx mode not present ",idx);
sCellInfoCfg->txMode.pres = TRUE;
sCellInfoCfg->txMode.txModeEnum = RGR_UE_TM_1;
}
aCqiCfg = &sCellInfoCfg->ueSCellDlCqiCfg.aprdCqiCfg;
- RGSCHDBGPRM(cell->instIdx, (rgSchPBuf(cell->instIdx),
- "rgSCHCfgACqiUeCfg cellId =%d,Config Presence =%d for \
+ DU_LOG("\nDEBUG --> SCH : rgSCHCfgACqiUeCfg cellId =%d,Config Presence =%d for \
Sec Cell Id = %d\n",
- cellCb->cellId, aCqiCfg->pres,sCellInfo->sCellId));
+ cellCb->cellId, aCqiCfg->pres,sCellInfo->sCellId);
/* if aperiodic cqi is present then only call the below function as it is
* not mandatory*/
if( ROK != rgSCHCfgACqiUeCfg(secCellCb,ue, &sCellInfo->acqiCb,
sCellInfo->txMode.txModeEnum, aCqiCfg, ue->ueCatEnum))
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "[%d]SCellIdx ACQI Cfg"
- "failed..n\n", idx));
+ DU_LOG("\nERROR --> SCH : [%d]SCellIdx ACQI Cfg"
+ "failed..n\n", idx);
rgSCHSCellFreeBuf (inst,ue,ueRecfg,idx);
return RFAILED;
}
if(ROK != rgSCHSCellPCqiCfg(cell,secCellCb,ue,pCqiCfg,
ue->ueCatEnum,sCellInfoCfg->sCellIdx))
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "[%d]SCellIdx PCQI Cfg failed..n\n", idx));
+ DU_LOG("\nERROR --> SCH : [%d]SCellIdx PCQI Cfg failed..n\n", idx);
rgSCHSCellFreeBuf (inst,ue,ueRecfg,idx);
return RFAILED;
}
sCellInfo->hqEnt = rgSCHDhmHqEntInit(secCellCb);
if (sCellInfo->hqEnt == NULLP)
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "[%d]UEID:Hq Entity Initialization "
- "failed in config\n", ue->ueId));
+ DU_LOG("\nERROR --> SCH : [%d]UEID:Hq Entity Initialization "
+ "failed in config\n", ue->ueId);
rgSCHSCellFreeBuf (inst,ue,ueRecfg,idx);
return RFAILED;
}
/* Init SCell Specific Sched Spfc UE DL CB */
if ((secCellCb->sc.apis->rgSCHRgrSCellUeCfg(secCellCb, ue, sCellInfoCfg, err)) != ROK)
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "Spec Sched DL UE CFG FAILED\n"));
+ DU_LOG("\nERROR --> SCH : Spec Sched DL UE CFG FAILED\n");
rgSCHSCellFreeBuf (inst,ue,ueRecfg,idx);
return RFAILED;
}
#ifdef LTE_TDD
if((rgSCHUtlAllocUeANFdbkInfo(ue,sCellInfoCfg->sCellIdx)) != ROK)
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "[%d]UEID:Memomy allocation "
+ DU_LOG("\nERROR --> SCH : [%d]UEID:Memomy allocation "
"Failed while UE related Ack Nack Information\n",
- ue->ueId));
+ ue->ueId);
rgSCHSCellFreeBuf (inst,ue,ueRecfg,idx);
return RFAILED;
}
#endif
else
{
- RLOG1(L_ERROR,"Wrong PUCCH Format:%d configured for CA",ue->uciFrmtTyp);
+ DU_LOG("\nERROR --> SCH : Wrong PUCCH Format:%d configured for CA",ue->uciFrmtTyp);
}
return ROK;
Inst inst = cell->instIdx;
- RGSCHDBGPRM(inst, (rgSchPBuf(inst), "VALIDATE RGR UE SCELL RECONFIG: cellId %d "
- "oldUeId %d cell %p \n", ueRecfg->cellId, ueRecfg->oldCrnti));
+ DU_LOG("\nDEBUG --> SCH : VALIDATE RGR UE SCELL RECONFIG: cellId %d "
+ "oldUeId %d cell %p \n", ueRecfg->cellId, ueRecfg->oldCrnti);
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_UE_SCELL_RECFG;
if((ueRecfg->ueSCellCfgInfo.numSCells > RGR_MAX_SCELL_PER_UE) ||
(ueRecfg->ueSCellCfgInfo.numSCells < 1))
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "Invalid number of SCELL "
- " in SCELL Recfg\n"));
+ DU_LOG("\nERROR --> SCH : Invalid number of SCELL "
+ " in SCELL Recfg\n");
return RFAILED;
}
ueSCellDedCfg = &ueRecfg->ueSCellCfgInfo.ueSCellDedCfg[idx];
if(ROK != rgSchUtlVldtCellId(inst, ueSCellDedCfg->sCellId))
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "SCellId is out of range"));
+ DU_LOG("\nERROR --> SCH : SCellId is out of range");
return RFAILED;
}
/* Validate existence of sec cell */
sCell = rgSchUtlGetCellCb(inst, ueSCellDedCfg->sCellId);
if(NULLP == sCell )
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "SCell doesnt exists"));
+ DU_LOG("\nERROR --> SCH : SCell doesnt exists");
return RFAILED;
}
if((ueSCellDedCfg->sCellIdx < 1) ||
(ueSCellDedCfg->sCellIdx > RGR_MAX_SCELL_PER_UE))
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst),"Invalid Serv Cell Idx %d\n",
- ueSCellDedCfg->sCellIdx));
+ DU_LOG("\nERROR --> SCH : Invalid Serv Cell Idx %d\n",
+ ueSCellDedCfg->sCellIdx);
return RFAILED;
}
/* Is this sec cell alredy confiured */
if(NULLP != ue->cellInfo[ueSCellDedCfg->sCellIdx])
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst),"Secll with id %d already added\n",
- ueSCellDedCfg->sCellIdx));
+ DU_LOG("\nERROR --> SCH : Secll with id %d already added\n",
+ ueSCellDedCfg->sCellIdx);
return RFAILED;
}
/* Validate CQI config params */
if((rgSCHCfgVldtUeCqiModeCfg(sCell, &ueSCellDedCfg->ueSCellDlCqiCfg)) != ROK)
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "Invalid CQI Mode "
- " configuration for Ue %d\n",ue->ueId));
+ DU_LOG("\nERROR --> SCH : Invalid CQI Mode "
+ " configuration for Ue %d\n",ue->ueId);
return RFAILED;
}
#ifdef TFU_UPGRADE
&ueSCellDedCfg->ueSCellDlCqiCfg.aprdCqiCfg, ueSCellDedCfg->txMode,
errInfo ))
{
- RGSCHDBGERR(sCell->instIdx, (rgSchPBuf(sCell->instIdx),
- "rgSCHCfgVldtCqiSrSrsUeCfg: Invalid Aperiodic CQI configuration\n"));
+ DU_LOG("\nERROR --> SCH : rgSCHCfgVldtCqiSrSrsUeCfg: Invalid Aperiodic CQI configuration\n");
return RFAILED;
}
errInfo ))
#endif
{
- RGSCHDBGERR(sCell->instIdx, (rgSchPBuf(sCell->instIdx),
- "rgSCHCfgVldtCqiSrSrsUeCfg: Invalid Periodic CQI configuration\n"));
+ DU_LOG("\nERROR --> SCH : rgSCHCfgVldtCqiSrSrsUeCfg: Invalid Periodic CQI configuration\n");
return RFAILED;
}
if((ueSCellDedCfg->txMode.txModeEnum < RGR_UE_TM_1) ||
(ueSCellDedCfg->txMode.txModeEnum > RGR_UE_TM_9))
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "SCELL Invalid transmission mode for"
- " UE %d\n", (uint8_t)ueSCellDedCfg->txMode.txModeEnum));
+ DU_LOG("\nERROR --> SCH : SCELL Invalid transmission mode for"
+ " UE %d\n", (uint8_t)ueSCellDedCfg->txMode.txModeEnum);
return RFAILED;
}
#endif
}
errInfo->errCause = RGSCHERR_NONE;
- RGSCHDBGINFO(inst, (rgSchPBuf(inst), "RGR Ue SCell Reconfig validation done: "
- "cellId %d oldUeId %d\n", ueRecfg->cellId, ue->ueId));
+ DU_LOG("\nDEBUG --> SCH : RGR Ue SCell Reconfig validation done: "
+ "cellId %d oldUeId %d\n", ueRecfg->cellId, ue->ueId);
return ROK;
} /* rgSCHCfgVldtRgrUeSCellRecfg */
if (((*cell) == NULLP) ||
((*cell)->cellId != ueRecfg->cellId))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueRecfg->cellId,
- "Cell does not exist for OLD CRNTI:%d",ueRecfg->oldCrnti);
+ DU_LOG("\nERROR --> SCH : Cell does not exist for OLD CRNTI:%d",ueRecfg->oldCrnti);
return RFAILED;
}
/* Fetch the Old Ue */
if ((*ue = rgSCHDbmGetUeCb(*cell, ueRecfg->oldCrnti)) == NULLP)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueRecfg->cellId,"OLD CRNTI:%d does not exist",
+ DU_LOG("\nERROR --> SCH : OLD CRNTI:%d does not exist",
ueRecfg->oldCrnti);
return RFAILED;
}
S16 ret = rgSCHCfgVldtRgrUeSCellRecfg(ueRecfg,*cell, *ue, errInfo);
if ( ret != ROK)
{
- RGSCHDBGERR(inst,(rgSchPBuf(inst), "Ue SCell Recfg Validation FAILED\n"));
+ DU_LOG("\nERROR --> SCH : Ue SCell Recfg Validation FAILED\n");
return RFAILED;
}
errInfo->errCause = RGSCHERR_NONE;
{
if (rgSCHDbmGetUeCb(*cell, ueRecfg->newCrnti) != NULLP)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueRecfg->cellId,"NEW CRNTI:%d already exists",
+ DU_LOG("\nERROR --> SCH : NEW CRNTI:%d already exists",
ueRecfg->newCrnti);
return RFAILED;
}
if ((ueRecfg->ueRecfgTypes & RGR_UE_CSG_PARAM_RECFG) &&\
((*ue)->csgMmbrSta == ueRecfg->csgMmbrSta))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"UE ID [%d] invalid CSG Membership reconfig :%d ",
+ DU_LOG("\nERROR --> SCH : UE ID [%d] invalid CSG Membership reconfig :%d ",
ueRecfg->newCrnti, (uint8_t)ueRecfg->csgMmbrSta);
return RFAILED;
}
((ueRecfg->txMode.txModeEnum < RGR_UE_TM_1) ||
(ueRecfg->txMode.txModeEnum > RGR_UE_TM_7)))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid transmission mode %d"
+ DU_LOG("\nERROR --> SCH : Invalid transmission mode %d"
"for NEW CRNTI:%d", (uint8_t)ueRecfg->txMode.txModeEnum,ueRecfg->newCrnti);
return RFAILED;
}
((ueRecfg->prdDlCqiRecfg.cqiPmiCfgIdx < 1) ||
(ueRecfg->prdDlCqiRecfg.cqiPmiCfgIdx > 1024))))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid Periodic CQI INFO"
+ DU_LOG("\nERROR --> SCH : Invalid Periodic CQI INFO"
"OLD CRNTI:%d NEW CRNTI:%d",(uint8_t)ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
}
if ((ueRecfg->ueRecfgTypes & RGR_UE_ULHARQ_RECFG) &&
(ueRecfg->ueUlHqRecfg.maxUlHqTx < RGSCH_MIN_HQ_TX))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid Uplink HARQ config %d"
+ DU_LOG("\nERROR --> SCH : Invalid Uplink HARQ config %d"
"for NEW CRNTI:%d", ueRecfg->ueUlHqRecfg.maxUlHqTx,ueRecfg->newCrnti);
return RFAILED;
}
if ((ueRecfg->ueRecfgTypes & RGR_UE_PRD_DLCQI_RECFG) &&
(ueRecfg->prdDlCqiRecfg.prdModeEnum > RGR_PRD_CQI_MOD21))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid periodic mode config for"
+ DU_LOG("\nERROR --> SCH : Invalid periodic mode config for"
" DL CQI %d NEW CRNTI:%d", (uint8_t)ueRecfg->prdDlCqiRecfg.prdModeEnum,ueRecfg->newCrnti);
return RFAILED;
}
if ((ueRecfg->ueRecfgTypes & RGR_UE_PCQI_RECFG) &&
(ueRecfg->cqiCfg.cqiSetup.prdModeEnum > RGR_PRD_CQI_MOD21))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid periodic mode config for "
+ DU_LOG("\nERROR --> SCH : Invalid periodic mode config for "
"DL CQI %d for NEW CRNTI:%d",(uint8_t)ueRecfg->cqiCfg.cqiSetup.prdModeEnum,ueRecfg->newCrnti);
return RFAILED;
}
/* Validate UE Category */
if (ueRecfg->ueCatEnum > CM_LTE_UE_CAT_8)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid category %d for NEW CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : Invalid category %d for NEW CRNTI:%d",
(uint8_t)ueRecfg->ueCatEnum,ueRecfg->newCrnti);
return RFAILED;
}
if ((ueRecfg->ueRecfgTypes & RGR_UE_UE_ACCESS_STRATUM_REL_RECFG) && \
(ueRecfg->accessStratumRls > RGR_REL_11))
{
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "Invalid Access Stratum Release %u for UE\n",
- ueRecfg->accessStratumRls));
+ DU_LOG("\nERROR --> SCH : Invalid Access Stratum Release %u for UE\n",
+ ueRecfg->accessStratumRls);
return RFAILED;
}
- RGSCHDBGINFONEW(inst, (rgSchPBuf(inst), "Configured Access Stratum Release %u\n", \
- ueRecfg->accessStratumRls));
+ DU_LOG("\nINFO --> SCH : Configured Access Stratum Release %u\n", \
+ ueRecfg->accessStratumRls);
if ((ueRecfg->ueRecfgTypes & RGR_UE_APRD_DLCQI_RECFG) &&
((ueRecfg->aprdDlCqiRecfg.pres == TRUE) &&
((ueRecfg->aprdDlCqiRecfg.aprdModeEnum > RGR_APRD_CQI_MOD31) ||
(*cell)->bwCfg.dlTotalBw <= 7)))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid aperiodic mode config for"
+ DU_LOG("\nERROR --> SCH : Invalid aperiodic mode config for"
" DL CQI %d for NEW CRNTI:%d", (uint8_t)ueRecfg->aprdDlCqiRecfg.aprdModeEnum,ueRecfg->newCrnti);
return RFAILED;
}
if ((ueRecfg->ueRecfgTypes & RGR_UE_ULPWR_RECFG) &&
(rgSCHCfgVldtUePwrCfg(*cell, &ueRecfg->ueUlPwrRecfg) != ROK))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid PUSCH Group power"
+ DU_LOG("\nERROR --> SCH : Invalid PUSCH Group power"
" Reconfiguration for NEW CRNTI:%d",ueRecfg->newCrnti);
return RFAILED;
}
if ((ueRecfg->ueRecfgTypes & RGR_UE_ACKNACK_MEASGAP_RECFG) &&
(rgSCHCfgVldtUeMeasGapAckNakRepRecfg(*cell, ueRecfg) != ROK))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid MeasGap/AckNackRep"
+ DU_LOG("\nERROR --> SCH : Invalid MeasGap/AckNackRep"
" Reconfiguration for NEW CRNTI:%d",ueRecfg->newCrnti);
return RFAILED;
}
#ifdef LTEMAC_SPS
if(rgSCHCfgVldtSpsReCfg(*cell, *ue, ueRecfg)!= ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid SPS"
+ DU_LOG("\nERROR --> SCH : Invalid SPS"
" Reconfiguration for NEW CRNTI:%d",ueRecfg->newCrnti);
return RFAILED;
}
/* Validated Periodic CQI/PMI, RI , SRS and SR related UeCfg */
if ( ROK != rgSCHCfgVldtCqiSrSrsUeReCfg(*cell, *ue, ueRecfg, errInfo))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid ACQI, PCQI/SR/SRS "
+ DU_LOG("\nERROR --> SCH : Invalid ACQI, PCQI/SR/SRS "
"Re-configuration for NEW CRNTI:%d",ueRecfg->newCrnti);
return RFAILED;
}
if ((ueRecfg->ueRecfgTypes & RGR_UE_DRX_RECFG) &&
(rgSCHCfgVldtDrxUeCfg(*cell, &(ueRecfg->ueDrxRecfg)) != ROK))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid drxParams"
+ DU_LOG("\nERROR --> SCH : Invalid drxParams"
" Reconfiguration for NEW CRNTI:%d",ueRecfg->newCrnti);
return RFAILED;
}
/* Validate DL Power Control Config parameters */
if(rgSCHCfgVldtCqiReptReCfg(*cell, ueRecfg)!= ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid DL Power Control"
+ DU_LOG("\nERROR --> SCH : Invalid DL Power Control"
" Reconfiguration for NEW CRNTI:%d",ueRecfg->newCrnti);
return RFAILED;
}
if (((*cell) == NULLP) ||
((*cell)->cellId != lcRecfg->cellId))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcRecfg->cellId,"Cell does not exist "
+ DU_LOG("\nERROR --> SCH : Cell does not exist "
"for CRNTI:%d LCID:%d",lcRecfg->crnti,lcRecfg->lcId);
return RFAILED;
}
/* Fetch the Ue for dedicated channels */
if ((*ue = rgSCHDbmGetUeCb(*cell, lcRecfg->crnti)) == NULLP)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcRecfg->cellId,"UEID does not exist"
+ DU_LOG("\nERROR --> SCH : UEID does not exist"
"dedicated logical channel for CRNTI:%d LCID:%d",lcRecfg->crnti,lcRecfg->lcId);
return RFAILED;
}
if ((*dlLc = rgSCHDbmGetDlDedLcCb((*ue), lcRecfg->lcId)) == NULLP)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcRecfg->cellId,"Dedicated DL LC does not "
+ DU_LOG("\nERROR --> SCH : Dedicated DL LC does not "
"exist for CRNTI:%d LCID:%d",lcRecfg->crnti,lcRecfg->lcId);
return RFAILED;
}
if ((cell == NULLP) || (cell->cellId != reset->cellId))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,reset->cellId,"CELL does not exist for CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : CELL does not exist for CRNTI:%d",
reset->crnti);
return RFAILED;
}
/* Fetch the Ue */
if ((*ue = rgSCHDbmGetUeCb(&(*cell), reset->crnti)) == NULLP)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,reset->cellId,"UE does not exist for CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : UE does not exist for CRNTI:%d",
reset->crnti);
return RFAILED;
}
if (((cell) == NULLP) ||
((cell)->cellId != lcgRecfg->cellId))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcgRecfg->cellId,"Cell does not exist for"
+ DU_LOG("\nERROR --> SCH : Cell does not exist for"
"CRNTI:%d LCGID:%d",lcgRecfg->crnti,lcgRecfg->ulRecfg.lcgId);
return RFAILED;
}
/* Fetch the Ue for dedicated channels */
if ((*ue = rgSCHDbmGetUeCb(&(*cell), lcgRecfg->crnti)) == NULLP)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcgRecfg->cellId,"UE does not exist for "
+ DU_LOG("\nERROR --> SCH : UE does not exist for "
"dedicated logical channel group CRNTI:%d LCGID:%d",
lcgRecfg->crnti,lcgRecfg->ulRecfg.lcgId);
return RFAILED;
}
if (lcgRecfg->ulRecfg.lcgId > (RGSCH_MAX_LCG_PER_UE - 1))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcgRecfg->cellId,"Invalid lcgId for uplink logical"
+ DU_LOG("\nERROR --> SCH : Invalid lcgId for uplink logical"
"channel CRNTI:%d LCGID:%d",
lcgRecfg->crnti,lcgRecfg->ulRecfg.lcgId);
return RFAILED;
if ((lcgRecfg->ulRecfg.gbr != 0) && (lcgRecfg->ulRecfg.mbr < lcgRecfg->ulRecfg.gbr))
{
- RGSCHDBGINFO(inst, (rgSchPBuf(inst), "Dedicated Logical Group %d validation failed"
- " for ue %d for cell %d\n", lcgCfg->ulInfo.lcgId, lcgCfg->crnti, lcgCfg->cellId));
+ DU_LOG("\nERROR --> SCH : Dedicated Logical Group %d validation failed"\
+ " for ue %d for cell %d\n", lcgRecfg->ulRecfg.lcgId,(*ue)->ueId, cell->cellId);
return RFAILED;
}
errInfo->errCause = RGSCHERR_NONE;
if((rgSCHUtlAllocSBuf(cell->instIdx, (Data**)&(cell->dynCfiCb.cceFailSamples),
(cell->dynCfiCb.numFailSamples * sizeof(uint16_t)))) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"Memory allocation FAILED for cell");
+ DU_LOG("\nERROR --> SCH : Memory allocation FAILED for cell");
return RFAILED;
}
)
{
- RGSCHDBGPRM(inst, (rgSchPBuf(inst), "APPLYING RGR SCH ENB CONFIG: \n"));
+ DU_LOG("\nDEBUG --> SCH : APPLYING RGR SCH ENB CONFIG: \n");
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_ENB_CFG;
rgSchCb[inst].rgrSchedEnbCfg = *schedEnbCfg;
- RGSCHDBGPRM(inst, (rgSchPBuf(inst),"\ndlSchdType %d ulSchdType %d dlTptCoeffi %d"
+ DU_LOG("\nDEBUG --> SCH : dlSchdType %d ulSchdType %d dlTptCoeffi %d"
"dlFairCoeffi %d ulTptCoeffi %d ulFairCoeffi %d\n",
schedEnbCfg->dlSchdType, schedEnbCfg->ulSchdType, schedEnbCfg->dlSchInfo.dlPfs.tptCoeffi,
schedEnbCfg->dlSchInfo.dlPfs.fairCoeffi, schedEnbCfg->ulSchInfo.ulPfs.tptCoeffi,
- schedEnbCfg->ulSchInfo.ulPfs.fairCoeffi));
+ schedEnbCfg->ulSchInfo.ulPfs.fairCoeffi);
#ifdef RG_5GTF
rgSchCb[inst].rgSchDynTdd.isDynTddEnbld = schedEnbCfg->isDynTddEnbld;
}
#endif
errInfo->errCause = RGSCHERR_NONE;
- RGSCHDBGINFO(inst, (rgSchPBuf(inst), "RGR SCH ENBconfig done: \n"));
+ DU_LOG("\nINFO --> SCH : RGR SCH gNB done: \n");
return ROK;
} /* rgSCHCfgRgrSchedEnbCfg */
cell->cell5gtfCb.ueGrpPerTti = cellCfg->Cell5gtfCfg.ueGrpPerTti;
cell->cell5gtfCb.numCCs = cellCfg->Cell5gtfCfg.numOfCC;
cell->cell5gtfCb.bwPerCC = cellCfg->Cell5gtfCfg.bwPerCC;
- printf("\ncell cfg at schd,numUes:%u,uepergrp:%u,uegrppertti:%u,numCC:%u,bwPerc:%u cfi %u\n",
+ DU_LOG("\nINFO --> SCH : cell cfg at schd,numUes:%u,uepergrp:%u,uegrppertti:%u,numCC:%u,bwPerc:%u cfi %u\n",
cell->cell5gtfCb.numUes,cell->cell5gtfCb.uePerGrpPerTti,cell->cell5gtfCb.ueGrpPerTti,
cell->cell5gtfCb.numCCs,cell->cell5gtfCb.bwPerCC, cell->cell5gtfCb.cfi);
return ROK;
if((ret = rgSCHUtlAllocSBuf(inst, (Data**)&cell, sizeof(RgSchCellCb)))
!= ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"Memory allocation FAILED for cell");
+ DU_LOG("\nERROR --> SCH : Memory allocation FAILED for cell");
return RFAILED;
}
#ifdef EMTC_ENABLE
if((ret = rgSCHEmtcCellAlloc(cell))
!= ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"Memory allocation FAILED for emtc cell");
+ DU_LOG("\nERROR --> SCH : Memory allocation FAILED for emtc cell");
return RFAILED;
}
}
#endif
if ((uint8_t *)cell == NULLP)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"Memory allocation FAILED for cell");
+ DU_LOG("\nERROR --> SCH : Memory allocation FAILED for cell");
return RFAILED;
}
/* Initialize the lists of the cell */
ret = rgSCHDbmInitCell(cell);
if (ret != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"DBM initialization FAILED for cell");
+ DU_LOG("\nERROR --> SCH : DBM initialization FAILED for cell");
rgSCHCfgFreeCellCb(cell);
return RFAILED;
}
ret = rgSCHDynCfiCfg(cell, cellCfg);
if(ret != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"Rgr cell Config failed at "
+ DU_LOG("\nERROR --> SCH : Rgr cell Config failed at "
"Scheduler for cell");
rgSCHCfgFreeCellCb(cell);
return RFAILED;
{
if(cell->isAutoCfgModeEnb)
{
- RLOG0(L_INFO,"Auto Mode Cfg enabled durint cell cfg\n");
+ DU_LOG("\nINFO --> SCH : Auto Mode Cfg enabled durint cell cfg\n");
}
}
/* CPU OvrLoad State Initialization */
#ifdef XEON_LMT_ITBS
cell->thresholds.maxDlItbs = gWrMaxDlItbs;
cell->thresholds.maxUlItbs = gWrMaxUlItbs;
- RLOG2(L_INFO,"LIMIT DL and UL ITBS %d:%d \n",gWrMaxDlItbs,gWrMaxUlItbs);
+ DU_LOG("\nINFO --> SCH : LIMIT DL and UL ITBS %d:%d \n",gWrMaxDlItbs,gWrMaxUlItbs);
#else
cell->thresholds.maxDlItbs = RG_SCH_DL_MAX_ITBS;
cell->thresholds.maxUlItbs = RG_SCH_UL_MAX_ITBS;
ret = rgSCHUtlRgrCellCfg(cell, cellCfg, errInfo);
if (ret != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"Rgr cell Config failed at "
+ DU_LOG("\nERROR --> SCH : Rgr cell Config failed at "
"Scheduler for cell ");
rgSCHCfgFreeCellCb(cell);
return RFAILED;
cellCfg->macRnti.size);
if (ret != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"Rgr Cell Config failed at"
+ DU_LOG("\nERROR --> SCH : Rgr Cell Config failed at"
" RNTI DB init for cell");
rgSCHCfgFreeCellCb(cell);
return RFAILED;
/* Update the cell with recieved configuration */
cell->dlHqCfg = cellCfg->dlHqCfg;
- RLOG1(L_INFO,"Config DL HQTX = %d\n",cell->dlHqCfg.maxDlHqTx);
+ DU_LOG("\nINFO --> SCH : Config DL HQTX = %d\n",cell->dlHqCfg.maxDlHqTx);
cell->crntSfIdx = 0;
/* Allocate the subframe allocation information */
if((ret = rgSCHUtlGetSfAlloc(cell)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"Memory allocation FAILED for "
+ DU_LOG("\nERROR --> SCH : Memory allocation FAILED for "
"cell");
rgSCHCfgFreeCellCb(cell);
return RFAILED;
/* Allocate the subframe allocation information */
if((ret = rgSCHUtlGetRlsHqAlloc(cell)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"Memory allocation FAILED for"
+ DU_LOG("\nERROR --> SCH : Memory allocation FAILED for"
"cell");
rgSCHCfgFreeCellCb(cell);
return RFAILED;
if (rgSCHDrxCellCfg(cell,cellCfg) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"Drx Memory allocation FAILED for"
+ DU_LOG("\nERROR --> SCH : Drx Memory allocation FAILED for"
" cell");
rgSCHCfgFreeCellCb(cell);
return RFAILED;
ret = rgSCHLaaSCellCbInit(cell, cellCfg);
if (ret != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"Rgr Cell Config failed at"
+ DU_LOG("\nERROR --> SCH : Rgr Cell Config failed at"
" Initializing the LAA Cell Control Cb");
rgSCHCfgFreeCellCb(cell);
return RFAILED;
}
cell->isPucchFormat3Sptd = cellCfg->isPucchFormat3Sptd;
- RLOG_ARG0(L_INFO,DBG_CELLID,cellCfg->cellId,"Format 3 is Enabled");
- printf ("\n Format 3 is Enabled for CELL:%d",cell->cellId);
+ DU_LOG("\nINFO --> SCH : Format 3 is Enabled");
+ DU_LOG ("\n Format 3 is Enabled for CELL:%d",cell->cellId);
#endif
{
if (rgSCHCfgEmtcCellCfg(cell,&(cellCfg->emtcCellCfg)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,"EMTC Config Failed"
- " cell");
+ DU_LOG("\nERROR --> SCH : EMTC Config Failed cell");
return RFAILED;
}
}
ret = rgSCH5gtfCellCfg(cell, cellCfg);
if (ret != ROK)
{
- RLOG_ARG0(L_ERROR, DBG_CELLID,cellCfg->cellId,"5GTF Rgr Cell Config failed");
+ DU_LOG("\nERROR --> SCH : 5GTF Rgr Cell Config failed");
rgSCHCfgFreeCellCb(cell);
return RFAILED;
}
{
if ((raCb = rgSCHDbmGetRaCb(cell, ueCfg->crnti)) == NULLP)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueCfg->cellId,"No RaCb exists for"
+ DU_LOG("\nERROR --> SCH : No RaCb exists for"
"CRNTI:%d ",ueCfg->crnti);
break;
}
if (((rgSCHUtlAllocSBuf(inst, (Data **)&ue, sizeof(RgSchUeCb))) != ROK) ||
((uint8_t *)ue == NULLP))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueCfg->cellId, "Memory allocation"
+ DU_LOG("\nERROR --> SCH : Memory allocation"
" FAILED for CRNTI:%d", ueCfg->crnti);
break;
}
sizeof(RgSchUeCellInfo))) != ROK))
{
#ifndef ALIGN_64BIT
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "[%lu]SCellIdx :Memomy allocation "
- "Failed while Adding SCell Information\n", idx));
+ DU_LOG("\nERROR --> SCH : [%lu]SCellIdx :Memomy allocation "
+ "Failed while Adding SCell Information\n", idx);
#else
- RGSCHDBGERRNEW(inst, (rgSchPBuf(inst), "[%u]SCellIdx :Memomy allocation "
- "Failed while Adding SCell Information\n", idx));
+ DU_LOG("\nERROR --> SCH : [%u]SCellIdx :Memomy allocation "
+ "Failed while Adding SCell Information\n", idx);
#endif
return RFAILED;
}
/* Initialize the lists of the UE */
if((rgSCHDbmInitUe(ue)) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueCfg->cellId,"DBM initialization "
+ DU_LOG("\nERROR --> SCH : DBM initialization "
"failed for CRNTI:%d", ueCfg->crnti);
break;
}
ue->isEmtcUe = TRUE;
if (rgSCHUtlUpdUeEmtcInfo(cell, ueCfg, ue) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueCfg->cellId,"EMTC UE Cfg"
+ DU_LOG("\nERROR --> SCH : EMTC UE Cfg"
"failed for CRNTI:%d", ueCfg->crnti);
break;
}
/* Initialize scheduler related information for UE */
if(rgSCHUtlRgrUeCfg(cell, ue, ueCfg, errInfo) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueCfg->cellId,"Scheduler handling "
+ DU_LOG("\nERROR --> SCH : Scheduler handling "
"failed in config for CRNTI:%d", ueCfg->crnti);
break;
}
ret = rgSCHUhmHqEntInit(cell, ue);
if (ret != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueCfg->cellId,"UHM HARQ Ent Init "
+ DU_LOG("\nERROR --> SCH : UHM HARQ Ent Init "
"Failed for CRNTI:%d", ueCfg->crnti);
break;
}
{
if((rgSCHRamRgrUeCfg(cell, ue, raCb, errInfo)) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueCfg->cellId,"Random access "
+ DU_LOG("\nERROR --> SCH : Random access "
"handling config failed for CRNTI:%d", ueCfg->crnti);
break;
}
hqEnt = RG_SCH_CMN_GET_UE_HQE(ue, cell);
if (hqEnt == NULLP)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueCfg->cellId,"Hq Entity Initialization "
+ DU_LOG("\nERROR --> SCH : Hq Entity Initialization "
"failed in config for CRNTI:%d", ueCfg->crnti);
break;
}
* do this. */
if (raCb->raState == RGSCH_RA_MSG4_DONE)
{
- RLOG_ARG1(L_DEBUG,DBG_CELLID,cell->cellId,
- "RNTI:%d RaCb deleted as Msg4 transmission is done",
+ DU_LOG("\nERROR --> SCH : RNTI:%d RaCb deleted as Msg4 transmission is done",
raCb->tmpCrnti);
rgSCHRamDelRaCb(cell, raCb, FALSE);
}
/* Initialize MeasureGap and Acknack Rep Information for UE */
if((rgSCHMeasGapANRepUeCfg(cell, ue, ueCfg)) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueCfg->cellId,"Measurement Gap and"
+ DU_LOG("\nERROR --> SCH : Measurement Gap and"
" AckNack Rep failed in Config for CRNTI:%d", ueCfg->crnti);
break;
}
#ifdef LTE_TDD
if((rgSCHUtlAllocUeANFdbkInfo(ue,RGSCH_PCELL_INDEX)) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueCfg->cellId,"Memomy allocation "
+ DU_LOG("\nERROR --> SCH : Memomy allocation "
"Failed while UE related Ack Nack Information for CRNTI:%d",
ueCfg->crnti);
break;
#ifdef TFU_UPGRADE
/* Int ialize APeriodic CQI/PMI/RI Information for UE */
- RGSCHDBGPRM(cell->instIdx,(rgSchPBuf(cell->instIdx),
- "\n rgSCHCfgRgrUeCfg : CellID=%d UeId =%d AcqiCfg Pres =%d",
- cell->cellId, ue->ueId, ueCfg->ueDlCqiCfg.aprdCqiCfg.pres));
+ DU_LOG("\nDEBUG --> SCH : rgSCHCfgRgrUeCfg CellID=%d UeId =%d AcqiCfg Pres =%d", cell->cellId, ue->ueId,\
+ ueCfg->ueDlCqiCfg.aprdCqiCfg.pres);
/*Store Trigger Set Bit String to UE */
#ifdef LTEMAC_HDFDD
if (rgSCHHdFddUeCfg(cell, ue, ueCfg->isHdFddEnbld) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueCfg->cellId,
- "Could not do HD-FDD config for CRNTI:%d",ueCfg->crnti);
+ DU_LOG("\nERROR --> SCH : Could not do HD-FDD config for CRNTI:%d",ueCfg->crnti);
break;
}
{
if((rgSCHDrxUeCfg(cell,ue,ueCfg)) != ROK )
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueCfg->cellId,"DRX configuration failed",
- ueCfg->crnti);
+ DU_LOG("\nERROR --> SCH : DRX configuration failed");
break;
}
}
#ifdef LTE_ADV
/*Update A Value for PCell TBs*/
ue->f1bCsAVal = rgSCHUtlGetMaxTbSupp(ue->mimoInfo.txMode);
- RLOG_ARG1(L_ERROR,DBG_CELLID, ueCfg->cellId,
- "\n UeCfg A value is %d\n",ue->f1bCsAVal);
+ DU_LOG("\nERROR --> SCH : UeCfg A value is %d\n",ue->f1bCsAVal);
#endif
errInfo->errCause = RGSCHERR_NONE;
ret = rgSCHUtlRgrCellRecfg(cell, cellRecfg, errInfo);
if (ret != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellRecfg->cellId, "RGR Cell re-configuration failed "
+ DU_LOG("\nERROR --> SCH : RGR Cell re-configuration failed "
"at Scheduler ");
return RFAILED;
}
if( ROK != rgSCHUtlResetCpuOvrLdState(cell, cellRecfg->cntrlCmdCfg.cmdDesc.\
cpuOvrLd.instruction))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID, cellRecfg->cellId,
- "Invalid CPU OvrLd Ins %d for cell",
+ DU_LOG("\nERROR --> SCH : Invalid CPU OvrLd Ins %d for cell",
cellRecfg->cntrlCmdCfg.cmdDesc.cpuOvrLd.instruction);
return RFAILED;
}
if((rgSCHUtlAllocSBuf(inst, (Data**)&(cell->rntpAggrInfo.val),
(len * sizeof(uint8_t)))) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellRecfg->cellId,
- "Memory allocation FAILED for RNTP Alloc");
+ DU_LOG("\nERROR --> SCH : Memory allocation FAILED for RNTP Alloc");
return RFAILED;
}
cell->rntpAggrInfo.pres = PRSNT_NODEF;
{
if(cell->isAutoCfgModeEnb)
{
- RLOG0(L_INFO,"Auto Mode Cfg enabled durint cell recfg\n");
+ DU_LOG("\nINFO --> SCH : Auto Mode Cfg enabled durint cell recfg\n");
}
}
CmLteRnti oldRnti = 0;
if ((raCb = rgSCHDbmGetRaCb(cell, ueRecfg->newCrnti)) == NULLP)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"UEID:No RaCb exists while"
+ DU_LOG("\nERROR --> SCH : UEID:No RaCb exists while"
"Reconfig for OLD CRNTI:%d NEW CRNTI:%d",ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
}
oldRnti = ue->ueId;
}
- RLOG2(L_INFO,"UE ID CHNG OLD %d new %d",ueRecfg->oldCrnti, ueRecfg->newCrnti);
+ DU_LOG("\nINFO --> SCH : UE ID CHNG OLD %d new %d",ueRecfg->oldCrnti, ueRecfg->newCrnti);
/* Fix : syed Deleting Old DL HqEnt. It would be assigned after
* reest RACH(msg4) is completed. */
ret = rgSCHRamRgrUeCfg(cell, ue, raCb, errInfo);
if (ret != ROK)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"RAM Handling for UE Reconfig failed"
+ DU_LOG("\nERROR --> SCH : RAM Handling for UE Reconfig failed"
"for OLD CRNTI:%d NEW CRNTI:%d",ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
}
/* Inititialize Ue control block */
ue->ueId = ueRecfg->newCrnti;
- RLOG_ARG2(L_DEBUG,DBG_CELLID,cell->cellId,
- "Changing RNTI from %d to %d",
+ DU_LOG("\nDEBUG --> SCH : Changing RNTI from %d to %d",
ueRecfg->oldCrnti,
ueRecfg->newCrnti);
#ifdef EMTC_ENABLE
if ( ret != ROK )
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"UE DRX re-est failed"
+ DU_LOG("\nERROR --> SCH : UE DRX re-est failed"
"for OLD CRNTI:%d NEW CRNTI:%d",ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
}
* for msg4 */
if (raCb->raState == RGSCH_RA_MSG4_DONE)
{
- RLOG_ARG1(L_DEBUG,DBG_CELLID,ueRecfg->cellId,
- "RNTI:%d with RaCb deleted as Msg4 transmission is done",
+ DU_LOG("\nDEBUG --> SCH : RNTI:%d with RaCb deleted as Msg4 transmission is done",
raCb->tmpCrnti);
rgSCHRamDelRaCb(cell, raCb, FALSE);
}
{
/* Fix : syed HO UE does not have a valid ue->rntiLnk */
/* Just indicate to MAC, no need to release at SCH */
- RLOG_ARG2(L_DEBUG,DBG_CELLID,cell->cellId,
- "HO OldRnti:%d RLS and NewRnti:%d CHNG IND TO MAC",
+ DU_LOG("\nDEBUG --> SCH : HO OldRnti:%d RLS and NewRnti:%d CHNG IND TO MAC",
oldRnti, ueRecfg->newCrnti);
rgSCHUtlIndRntiRls2Mac(cell, oldRnti, TRUE, ueRecfg->newCrnti);
}
ret = rgSCHUtlRgrUeRecfg(cell, ue, ueRecfg, errInfo);
if (ret != ROK)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,
- "Scheduler handling while reconfig failed"
+ DU_LOG("\nERROR --> SCH : Scheduler handling while reconfig failed"
"for OLD CRNTI:%d NEW CRNTI:%d",ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
}
ret = rgSCHMeasGapANRepUeRecfg(cell, ue, ueRecfg);
if (ret != ROK)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Measurement Gap and"
+ DU_LOG("\nERROR --> SCH : Measurement Gap and"
"AckNack Rep Recfg failed for OLD CRNTI:%d NEW CRNTI:%d",
ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
if (RFAILED == rgSCHCfgRgrUeRecfgRntiChg (cell, ue, ueRecfg, errInfo))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"RNTI change "
+ DU_LOG("\nERROR --> SCH : RNTI change "
"failed for OLD CRNTI:%d NEW CRNTI:%d",
ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
if ( ret != ROK )
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"UE DRX reconfig failed"
+ DU_LOG("\nERROR --> SCH : UE DRX reconfig failed"
"failed for OLD CRNTI:%d NEW CRNTI:%d",
ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
ret = rgSCHUtlRgrLcRecfg(cell, ue, dlLc, lcRecfg, errInfo);
if (ret != ROK)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcRecfg->cellId,"Scheduler handling for LC Recfg"
+ DU_LOG("\nERROR --> SCH : Scheduler handling for LC Recfg"
" failed for CRNTI:%d LCID:%d",lcRecfg->crnti,lcRecfg->lcId);
return RFAILED;
}
ret = rgSCHUtlRgrLcgRecfg(cell, ue, lcgRecfg, errInfo);
if (ret != ROK)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcgRecfg->cellId,"Scheduler handling for LCG Recfg"
+ DU_LOG("\nERROR --> SCH : Scheduler handling for LCG Recfg"
" failed for CRNTI:%d LCGID:%d",lcgRecfg->crnti,lcgRecfg->ulRecfg.lcgId);
return RFAILED;
}
if (cell->cellId != cellDelInfo->u.cellDel.cellId)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellDelInfo->u.cellDel.cellId,
- "Cell does not exist");
+ DU_LOG("\nERROR --> SCH : Cell does not exist");
return RFAILED;
}
if (cell->cellId != ueDelInfo->u.ueDel.cellId)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueDelInfo->u.ueDel.cellId,
- "Cell does not exist CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : Cell does not exist CRNTI:%d",
ueDelInfo->u.ueDel.crnti);
return RFAILED;
}
{
if((raCb = rgSCHDbmGetRaCb(cell, ueDelInfo->u.ueDel.crnti)) == NULLP)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,ueDelInfo->u.ueDel.cellId,
- "RaCb does not exist for CRNTI:%d",ueDelInfo->u.ueDel.crnti);
+ DU_LOG("\nERROR --> SCH : RaCb does not exist for CRNTI:%d",ueDelInfo->u.ueDel.crnti);
return RFAILED;
}
else
/* Fetch the Active cell */
if (cell->cellId != lcDelInfo->u.lchDel.cellId)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId, "Cell does not exist %d",
+ DU_LOG("\nERROR --> SCH : Cell does not exist %d",
lcDelInfo->u.lchDel.cellId);
return RFAILED;
}
/* Fetch the Ue */
if ((ue = rgSCHDbmGetUeCb(cell, lcDelInfo->u.lchDel.crnti)) == NULLP)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcDelInfo->u.lchDel.cellId,
- "UE does not exist for CRNTI:%d LCID:%d",
+ DU_LOG("\nERROR --> SCH : UE does not exist for CRNTI:%d LCID:%d",
lcDelInfo->u.lchDel.crnti,lcDelInfo->u.lchDel.lcId);
return RFAILED;
}
if (lcDelInfo->u.lchDel.lcgId > 3)
{
- RLOG_ARG3(L_ERROR,DBG_CELLID,lcDelInfo->u.lchDel.cellId,
- "[%d]UEID:For LC %d, LCGid %d is invalid",
+ DU_LOG("\nERROR --> SCH : [%d]UEID:For LC %d, LCGid %d is invalid",
lcDelInfo->u.lchDel.crnti,lcDelInfo->u.lchDel.lcId,
lcDelInfo->u.lchDel.lcgId);
return RFAILED;
if ((dlLc = rgSCHDbmGetDlDedLcCb(ue, lcDelInfo->u.lchDel.lcId))
== NULLP)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcDelInfo->u.lchDel.cellId,
- "LC does not exist for CRNTI:%d LCID:%d",
+ DU_LOG("\nERROR --> SCH : LC does not exist for CRNTI:%d LCID:%d",
lcDelInfo->u.lchDel.crnti, lcDelInfo->u.lchDel.lcId);
return RFAILED;
}
/* Fetch the Active cell */
if (cell->cellId != lcDelInfo->u.lcgDel.cellId)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcDelInfo->u.lchDel.cellId,
- "CELL does not exist for CRNTI:%d LCGID:%d",
+ DU_LOG("\nERROR --> SCH : CELL does not exist for CRNTI:%d LCGID:%d",
lcDelInfo->u.lchDel.crnti,lcDelInfo->u.lchDel.lcId);
return RFAILED;
}
/* Fetch the Ue */
if ((ue = rgSCHDbmGetUeCb(cell, lcDelInfo->u.lcgDel.crnti)) == NULLP)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcDelInfo->u.lchDel.cellId,
- "UE does not exist for CRNTI:%d LCGID:%d",
+ DU_LOG("\nERROR --> SCH : UE does not exist for CRNTI:%d LCGID:%d",
lcDelInfo->u.lchDel.crnti,lcDelInfo->u.lchDel.lcId);
return RFAILED;
}
if (((*cell) == NULLP) ||
((*cell)->cellId != lcCfg->cellId))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcCfg->cellId,"Cell does not existi for "
+ DU_LOG("\nERROR --> SCH : Cell does not existi for "
"CRNTI:%d LCID:%d",lcCfg->crnti, lcCfg->lcId);
return RFAILED;
}
/* Fetch the Ue */
if ((*ue = rgSCHDbmGetUeCb(*cell, lcCfg->crnti)) == NULLP)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcCfg->cellId,"UE does not exist for dedicated"
+ DU_LOG("\nERROR --> SCH : UE does not exist for dedicated"
" logical channel CRNTI:%d LCID:%d", lcCfg->crnti, lcCfg->lcId);
return RFAILED;
}
if ((lcCfg->lcId < RGSCH_DEDLC_MIN_LCID)
||(lcCfg->lcId > RGSCH_DEDLC_MAX_LCID))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcCfg->cellId,"Invalid logical channel Id:%d"
+ DU_LOG("\nERROR --> SCH : Invalid logical channel Id:%d"
"for CRNTI:%d",lcCfg->lcId,lcCfg->crnti);
return RFAILED;
}
if (lcCfg->lcType != CM_LTE_LCH_DTCH && lcCfg->lcType != CM_LTE_LCH_DCCH)
{
- RLOG_ARG3(L_ERROR,DBG_CELLID,lcCfg->cellId,"Invalid logical channel Type %d"
+ DU_LOG("\nERROR --> SCH : Invalid logical channel Type %d"
"CRNTI:%d LCID:%d",lcCfg->lcType,lcCfg->crnti, lcCfg->lcId);
return RFAILED;
}
if (((*cell) == NULLP) ||
((*cell)->cellId != lcgCfg->cellId))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcgCfg->cellId,"Cell does not exist for"
+ DU_LOG("\nERROR --> SCH : Cell does not exist for"
"CRNTI:%d LCGID:%d",lcgCfg->crnti,lcgCfg->ulInfo.lcgId);
return RFAILED;
}
/* Fetch the Ue */
if ((*ue = rgSCHDbmGetUeCb(*cell, lcgCfg->crnti)) == NULLP)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcgCfg->cellId,"UE does not exist for "
+ DU_LOG("\nERROR --> SCH : UE does not exist for "
"dedicated logical channel CRNTI:%d LCGID:%d", lcgCfg->crnti, lcgCfg->ulInfo.lcgId);
return RFAILED;
}
}
else
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cellCfg->cellId,
- "Invalid si config for cell");
+ DU_LOG("\nERROR --> SCH : Invalid si config for cell");
return RFAILED;
}
}
}
else
{
- RLOG_ARG1(L_ERROR,DBG_CELLID, cellCfg->cellId,
- "Invalid transport channel %d for cell", lcCfg->dlTrchType);
+ DU_LOG("\nERROR --> SCH : Invalid transport channel %d for cell", lcCfg->dlTrchType);
return RFAILED;
}
}
/* Uplink CCCH */
if (lcCfg->lcType != CM_LTE_LCH_CCCH)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID, cellCfg->cellId,"Invalid UL common lcType %d "
- "for cell", lcCfg->lcType);
+ DU_LOG("\nERROR --> SCH : Invalid UL common lcType %d for cell", lcCfg->lcType);
return RFAILED;
}
else
/* Invalid direction */
if (!dirVld)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID, cellCfg->cellId,"Invalid Direction %d",
- lcCfg->dir);
+ DU_LOG("\nERROR --> SCH : Invalid Direction %d", lcCfg->dir);
return RFAILED;
}
}
if (bitMask != RGSCH_CELL_ACTIVE_CFG)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID, cellCfg->cellId,
- "Invalid Common channel config for cell");
+ DU_LOG("\nERROR --> SCH : Invalid Common channel config for cell");
return RFAILED;
}
if((ueDlCqiCfg->prdCqiCfg.cqiPmiCfgIdx < 1) ||
(ueDlCqiCfg->prdCqiCfg.cqiPmiCfgIdx > 1024))
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,
- "Invalid Periodic CQI Info");
+ DU_LOG("\nERROR --> SCH : Invalid Periodic CQI Info");
return RFAILED;
}
#endif
((ueDlCqiCfg->aprdCqiCfg.aprdModeEnum > RGR_APRD_CQI_MOD31) ||
(cell->bwCfg.dlTotalBw <= 7)))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,
- "Invalid Aperiodic mode config for DL CQI",
- ueDlCqiCfg->aprdCqiCfg.aprdModeEnum);
+ DU_LOG("\nERROR --> SCH : Invalid Aperiodic mode config for DL CQI");
return RFAILED;
}
#ifndef TFU_UPGRADE
/* Validate UE Periodic CQI mode */
if (ueDlCqiCfg->prdCqiCfg.prdModeEnum > RGR_PRD_CQI_MOD21)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,
- "Invalid periodic mode config for DL CQI",
- ueDlCqiCfg->prdCqiCfg.prdModeEnum);
+ DU_LOG("\nERROR --> SCH : Invalid periodic mode config for DL CQI");
return RFAILED;
}
/* Validate K value in periodic CQI Config */
((ueDlCqiCfg->prdCqiCfg.k < 1)||
(ueDlCqiCfg->prdCqiCfg.k > 4)))
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,
- "Invalid K for Subband CQI reporting");
+ DU_LOG("\nERROR --> SCH : Invalid K for Subband CQI reporting");
return RFAILED;
}
#else
if ((ueDlCqiCfg->prdCqiCfg.type == 1) &&
(ueDlCqiCfg->prdCqiCfg.cqiSetup.prdModeEnum > RGR_PRD_CQI_MOD21))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,
- "Invalid periodic mode config for DL CQI",
- ueDlCqiCfg->prdCqiCfg.cqiSetup.prdModeEnum);
+ DU_LOG("\nERROR --> SCH : Invalid periodic mode config for DL CQI");
return RFAILED;
}
if ((ueCfg->ackNackModeEnum == RGR_TDD_ACKNACK_MODE_MULT) &&
(ueCfg->ueAckNackCfg.isAckNackEnabled == TRUE))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueCfg->cellId,"TDD ACK NACK Multiplexing Mode"
+ DU_LOG("\nERROR --> SCH : TDD ACK NACK Multiplexing Mode"
"is not allowed when Ack/Nack is Enabled: %d CRNTI:%d",
ueCfg->ueAckNackCfg.ackNackRepFactor,ueCfg->crnti);
return RFAILED;
if ( (ueCfg->ueAckNackCfg.ackNackRepFactor < RGR_ACKNACK_REPFACT_N2)
|| (ueCfg->ueAckNackCfg.ackNackRepFactor > RGR_ACKNACK_REPFACT_N6))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueCfg->cellId, "Invalid ACK NACK REP Factor:%d CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : Invalid ACK NACK REP Factor:%d CRNTI:%d",
ueCfg->ueAckNackCfg.ackNackRepFactor,ueCfg->crnti);
return RFAILED;
}
case RG_MEAS_GAPPRD_40:
if(ueCfg->ueMesGapCfg.gapOffst >= RG_MEAS_GAPPRD_40)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueCfg->cellId,"Invalid GAP Offset:%d CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : Invalid GAP Offset:%d CRNTI:%d",
ueCfg->ueMesGapCfg.gapOffst,ueCfg->crnti);
return RFAILED;
}
case RG_MEAS_GAPPRD_80:
if(ueCfg->ueMesGapCfg.gapOffst >= RG_MEAS_GAPPRD_80)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueCfg->cellId,"Invalid GAP Offset:%d CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : Invalid GAP Offset:%d CRNTI:%d",
ueCfg->ueMesGapCfg.gapOffst,ueCfg->crnti);
return RFAILED;
}
break;
default:
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueCfg->cellId,"Invalid GAP Periodicity Settings:%d"
+ DU_LOG("\nERROR --> SCH : Invalid GAP Periodicity Settings:%d"
"CRNTI:%d", ueCfg->ueMesGapCfg.gapPrd,ueCfg->crnti);
return RFAILED;
}
if ( (ueRecfg->ueAckNackRecfg.ackNackRepFactor < RGR_ACKNACK_REPFACT_N2)
|| (ueRecfg->ueAckNackRecfg.ackNackRepFactor > RGR_ACKNACK_REPFACT_N6))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid ACK NACK REP Factor:%d"
+ DU_LOG("\nERROR --> SCH : Invalid ACK NACK REP Factor:%d"
"NEW CRNTI:%d",ueRecfg->ueAckNackRecfg.ackNackRepFactor,ueRecfg->newCrnti);
return RFAILED;
}
case RG_MEAS_GAPPRD_40:
if(ueRecfg->ueMeasGapRecfg.gapOffst >= RG_MEAS_GAPPRD_40)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid GAP Offset:%d"
+ DU_LOG("\nERROR --> SCH : Invalid GAP Offset:%d"
"NEW CRNTI:%d",ueRecfg->ueMeasGapRecfg.gapOffst,ueRecfg->newCrnti);
return RFAILED;
}
case RG_MEAS_GAPPRD_80:
if(ueRecfg->ueMeasGapRecfg.gapOffst >= RG_MEAS_GAPPRD_80)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid GAP Offset:%d"
+ DU_LOG("\nERROR --> SCH : Invalid GAP Offset:%d"
"NEW CRNTI:%d",ueRecfg->ueMeasGapRecfg.gapOffst,ueRecfg->newCrnti);
return RFAILED;
}
break;
default:
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid GAP Periodicity Settings:%d"
+ DU_LOG("\nERROR --> SCH : Invalid GAP Periodicity Settings:%d"
"NEW CRNTI:%d",ueRecfg->ueMeasGapRecfg.gapPrd,ueRecfg->newCrnti);
return RFAILED;
}
if ((dlSpsCfg->numPucchVal > RG_SCH_MAX_NUM_N1PUCCH_PER_UE) ||
(dlSpsCfg->numPucchVal == 0))
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Invalid number of n1Pucch values"
+ DU_LOG("\nERROR --> SCH : Invalid number of n1Pucch values"
" in DL SPS Config");
return RFAILED;
}
if (dlSpsCfg->n1PucchVal[idx] > RG_SCH_MAX_N1PUCCH_VAL)
{
#ifdef ALIGN_64BIT
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Invalid N1Pucch value"
+ DU_LOG("\nERROR --> SCH : Invalid N1Pucch value"
" in DL SPS Config %u", dlSpsCfg->n1PucchVal[idx]);
#else
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Invalid N1Pucch value"
+ DU_LOG("\nERROR --> SCH : Invalid N1Pucch value"
" in DL SPS Config %lu", dlSpsCfg->n1PucchVal[idx]);
#endif
return RFAILED;
if ((dlSpsCfg->numSpsHqProc == 0) ||
(dlSpsCfg->numSpsHqProc > RGSCH_MAX_DL_HQ_PROC))
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Invalid number of SPS HARQ procs"
+ DU_LOG("\nERROR --> SCH : Invalid number of SPS HARQ procs"
" in DL SPS Config");
return RFAILED;
}
/* Fix */
if (pwrCfg->uePuschPwr.pres)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Accumulation configutation"
+ DU_LOG("\nERROR --> SCH : Accumulation configutation"
" not in sync with group power configuration");
return RFAILED;
}
if (rgSCHCfgVldtUeGrpPwrCfg(cell, &pwrCfg->uePuschPwr) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Invalid PUSCH Group power"
+ DU_LOG("\nERROR --> SCH : Invalid PUSCH Group power"
" configuration");
return RFAILED;
}
if (rgSCHCfgVldtUeGrpPwrCfg(cell, &pwrCfg->uePucchPwr) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Invalid PUSCH Group power"
+ DU_LOG("\nERROR --> SCH : Invalid PUSCH Group power"
" configuration");
return RFAILED;
}
((grpPwrCfg->tpcRnti <
(cell->rntiDb.rntiStart + cell->rntiDb.maxRntis))))))
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Invalid Uplink Group power "
+ DU_LOG("\nERROR --> SCH : Invalid Uplink Group power "
"configuration");
return RFAILED;
}
(ueRecfg->ueSpsRecfg.spsRnti == RGSCH_SI_RNTI) ||
(ueRecfg->ueSpsRecfg.spsRnti == RGSCH_P_RNTI))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid SPS RNTI "
+ DU_LOG("\nERROR --> SCH : Invalid SPS RNTI "
" in DL SPS Recfg OLD CRNTI:%d NEW CCRNTI:%d",
ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
}
if (rgSCHCfgVldtUeDlSpsCfg(cell, &ueRecfg->ueSpsRecfg.dlSpsCfg) != ROK)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalid DL SPS configuration"
+ DU_LOG("\nERROR --> SCH : Invalid DL SPS configuration"
" for the OLD CRNTI:%d NEW CRNTI:%d",
ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
{
/* ccpu00117035 - MOD - changed instIdx to inst */
/* ccpu00117035 - MOD - changed ueID to oldCrnti*/
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,
- " DRX reconfig not supported DL SPS enabled for OLD CRNTI:%d NEW CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : DRX reconfig not supported DL SPS enabled for OLD CRNTI:%d NEW CRNTI:%d",
ueRecfg->oldCrnti,ueRecfg->newCrnti);
- return RFAILED;
+ return RFAILED;
}
}
#endif
{
if(ue->hdFddEnbld == TRUE)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,
- "DL SPS is not supported for HDFDD enabled for OLD CRNTI:%d NEW CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : DL SPS is not supported for HDFDD enabled for OLD CRNTI:%d NEW CRNTI:%d",
ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
}
{
if(ue->hdFddEnbld == TRUE)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,ueRecfg->cellId,
- "UL SPS is not supported for HDFDD enabled for OLD CRNTI:%d NEW CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : UL SPS is not supported for HDFDD enabled for OLD CRNTI:%d NEW CRNTI:%d",
ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
}
/* Validate DL Power Control Config parameters */
if (ueRecfg->ueCqiReptCfg.numColltdCqiRept > RGR_CQIRPTS_MAXN)
{
- RLOG_ARG3(L_ERROR,DBG_CELLID,ueRecfg->cellId,"Invalide numColltdCqiRept,"
+ DU_LOG("\nERROR --> SCH : Invalide numColltdCqiRept,"
"MAX supported %d for OLD CRNTI:%d NEW CRNTI:%d",RGR_CQIRPTS_MAXN,
ueRecfg->oldCrnti,ueRecfg->newCrnti);
return RFAILED;
if((ret = rgSCHUtlAllocSBuf(inst, (Data**)&dlLc,
sizeof(RgSchDlLcCb))) != ROK)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcCfg->cellId,"Memory allocation FAILED for "
+ DU_LOG("\nERROR --> SCH : Memory allocation FAILED for "
"Downlink LCId:%d CRNTI:%d", lcCfg->lcId,lcCfg->crnti);
return RFAILED;
}
if ((uint8_t *)dlLc == NULLP)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,lcCfg->cellId,"Memory allocation FAILED for "
+ DU_LOG("\nERROR --> SCH : Memory allocation FAILED for "
"Downlink LCID:%d CRNTI:%d", lcCfg->lcId,lcCfg->crnti);
return RFAILED;
}
rgSCHCfgFreeDlDedLcCb(cell, ue, dlLc);
}
- RLOG_ARG3(L_ERROR,DBG_CELLID,cell->cellId,"Dedicated logical channel "
+ DU_LOG("\nERROR --> SCH : Dedicated logical channel "
"configuration failed at SCH:UEID:%d LCID:%d CRNTI:%d",
ue->ueId, lcCfg->lcId,lcCfg->crnti);
return RFAILED;
rgSCHCfgFreeDlDedLcCb(cell, ue, dlLc);
}
- RLOG_ARG3(L_ERROR,DBG_CELLID,cell->cellId,"Dedicated logical channel "
+ DU_LOG("\nERROR --> SCH : Dedicated logical channel "
"configuration failed at SCH: UL LC CB already existing"
" UEID:%d LCID:%d CRNTI:%d",
ue->ueId, lcCfg->lcId,lcCfg->crnti);
ret = rgSCHUtlRgrLcgCfg(cell, ue, lcgCfg, errInfo);
if (ret != ROK)
{
- RLOG_ARG3(L_ERROR,DBG_CELLID,cell->cellId,"Dedicated logical channel "
+ DU_LOG("\nERROR --> SCH : Dedicated logical channel "
"configuration failed at SCH: UEID:%d LCGID:%d CRNTI:%d",
ue->ueId, lcgCfg->ulInfo.lcgId,lcgCfg->crnti);
/* Roll back lcgCfg */
if((ret = rgSCHUtlAllocSBuf(cell->instIdx, (Data**)&ulLc,
sizeof(RgSchUlLcCb))) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId, "Memory allocation FAILED for ");
+ DU_LOG("\nERROR --> SCH : Memory allocation FAILED ");
return RFAILED;
}
if ((uint8_t *)ulLc == NULLP)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId, "Memory allocation FAILED for ");
+ DU_LOG("\nERROR --> SCH : Memory allocation FAILED ");
return RFAILED;
}
/* Create UL LC context to maintain LCG to LC mapping and
This validation is only applicable for FDD mode. */
if(siCfg->retxCnt > siCfg->siWinSize)
{
- RLOG0(L_ERROR,"retxCnt is greater than siWinSize, validation failed");
+ DU_LOG("\nERROR --> SCH : retxCnt is greater than siWinSize, validation failed");
return RFAILED;
}
#endif
/* Validate that a valid value for numSi has been specified */
if(siCfg->numSi > RGR_MAX_NUM_SI)
{
- RLOG0(L_ERROR,"Validation for numSi in SI CFG failed");
+ DU_LOG("\nERROR --> SCH : Validation for numSi in SI CFG failed");
return RFAILED;
}
continue;
default:
- RLOG0(L_ERROR,"Validation for SI Periodicity in SI-CFG failed");
+ DU_LOG("\nERROR --> SCH : Validation for SI Periodicity in SI-CFG failed");
return RFAILED;
}
}
{
if(lteAdvCfg->sfrCfg.cellEdgeRbRange.startRb > lteAdvCfg->sfrCfg.cellEdgeRbRange.endRb)
{
- RLOG0(L_ERROR,"Invalid configuration of cell edge bandwidth for SFR feature");
+ DU_LOG("\nERROR --> SCH : Invalid configuration of cell edge bandwidth for SFR feature");
return RFAILED;
}
if(lteAdvCfg->sfrCfg.cellEdgeRbRange.endRb >= dlTotalBw)
{
- RLOG0(L_ERROR,"Invalid configuration of cell edge end RB for SFR feature");
+ DU_LOG("\nERROR --> SCH : Invalid configuration of cell edge end RB for SFR feature");
return RFAILED;
}
#ifdef TFU_UPGRADE
if(lteAdvCfg->sfrCfg.pwrThreshold.pLow >= lteAdvCfg->sfrCfg.pwrThreshold.pHigh)
{
- RLOG0(L_ERROR,"Invalid configuration of power threshold for SFR feature");
+ DU_LOG("\nERROR --> SCH : Invalid configuration of power threshold for SFR feature");
return RFAILED;
}
#endif
if((RGR_ABS_MUTE != lteAdvCfg->absCfg.absPatternType) &&
(RGR_ABS_TRANSMIT != lteAdvCfg->absCfg.absPatternType))
{
- RLOG0(L_ERROR,"Invalid configuration of ABS pattern type");
+ DU_LOG("\nERROR --> SCH : Invalid configuration of ABS pattern type");
return RFAILED;
}
{
if((temp[idx] != 1) && (temp[idx] != 0))
{
- RLOG0(L_ERROR,"Invalid configuration of ABS pattern type");
- return RFAILED;
+ DU_LOG("\nERROR --> SCH : Invalid configuration of ABS pattern type");
+ return RFAILED;
}
}
}
)
{
- RGSCHDBGPRM(inst, (rgSchPBuf(inst), "Validating CSG Parameters \n"));
+ DU_LOG("\nDEBUG --> SCH : Validating CSG Parameters \n");
if(csgParam->minDlResNonCsg > 100)
{
- RLOG0(L_ERROR,"Invalid Configuration of minimum DL resources "
+ DU_LOG("\nERROR --> SCH : Invalid Configuration of minimum DL resources "
"for NON-CSG");
return RFAILED;
}
if(csgParam->minUlResNonCsg > 100)
{
- RLOG0(L_ERROR,"Invalid Configuration of minimum UL resources "
+ DU_LOG("\nERROR --> SCH : Invalid Configuration of minimum UL resources "
"for NON-CSG");
return RFAILED;
}
if((siCfg->siId < RGSCH_SI_SIID_LOWER_LMT) ||
(siCfg->siId > numSi))
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId, "Invalid SI Id value"
+ DU_LOG("\nERROR --> SCH : Invalid SI Id value"
" specified");
return RFAILED;
}
if((siCfg->siId < RGSCH_SI_SIID_LOWER_LMT) ||
(siCfg->siId > numSi))
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId, "Invalid SI Id value"
+ DU_LOG("\nERROR --> SCH : Invalid SI Id value"
" specified");
return RFAILED;
}
if(siCfg->siId > ((cell->siCfg.minPeriodicity * 10)/cell->siCfg.siWinSize))
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId, "SiId can not be scheduled ");
+ DU_LOG("\nERROR --> SCH : SiId can not be scheduled ");
return RFAILED;
}
break;
break;
#endif
default:
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId, "Invalid cfgType "
+ DU_LOG("\nERROR --> SCH : Invalid cfgType "
"parameter value");
return RFAILED;
}
/*Validate the specified pdu */
if(NULLP == siCfg->pdu)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId, "Invalid NULLP pdu "
+ DU_LOG("\nERROR --> SCH : Invalid NULLP pdu "
"specified");
return RFAILED;
}
SFndLenMsg(siCfg->pdu, &msgLen);
if(0 == msgLen)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId, "Invalid pdu "
+ DU_LOG("\nERROR --> SCH : Invalid pdu "
"specified");
return RFAILED;
}
if((loadInfReq->rgrCcPHighStartRb >= cell->lteAdvCb.sfrCfg.cellEdgeRbRange.startRb) &&
(loadInfReq->rgrCcPHighStartRb <= cell->lteAdvCb.sfrCfg.cellEdgeRbRange.endRb))
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Invalid rgrCcPHighStartRb received specified");
+ DU_LOG("\nERROR --> SCH : Invalid rgrCcPHighStartRb received specified");
return RFAILED;
}
if((loadInfReq->rgrCcPHighEndRb >= cell->lteAdvCb.sfrCfg.cellEdgeRbRange.startRb) &&
(loadInfReq->rgrCcPHighEndRb <= cell->lteAdvCb.sfrCfg.cellEdgeRbRange.endRb))
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId, "Invalid rgrCcPHighEndRb received specified");
+ DU_LOG("\nERROR --> SCH : Invalid rgrCcPHighEndRb received specified");
return RFAILED;
}
if ( ROK != rgSCHCfgVldtRgrTxmodePuschMode(cellCb, txMde,
puschMode, errInfo))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid Aperiodic CQI configuration CRNTI:%d",crnti);
+ DU_LOG("\nERROR --> SCH : Invalid Aperiodic CQI configuration CRNTI:%d",crnti);
return RFAILED;
}
}
if ( ROK != rgSCHCfgVldtRgrTxmodePucchMode(cellCb, txMde,
pucchMode, errInfo))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid Tx Mode-PUCCH Mode combination CRNTI:%d",crnti);
+ DU_LOG("\nERROR --> SCH : Invalid Tx Mode-PUCCH Mode combination CRNTI:%d",crnti);
return RFAILED;
}
}
((pucchMode == RGR_PRD_CQI_MOD20) ||
(pucchMode == RGR_PRD_CQI_MOD21)))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid Reporting Type-PUCCH Mode combination CRNTI:%d",crnti);
+ DU_LOG("\nERROR --> SCH : Invalid Reporting Type-PUCCH Mode combination CRNTI:%d",crnti);
return RFAILED;
}
((pucchMode == RGR_PRD_CQI_MOD10) ||
(pucchMode == RGR_PRD_CQI_MOD11)))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid Reporting Type-PUCCH Mode combination CRNTI:%d",crnti);
+ DU_LOG("\nERROR --> SCH : Invalid Reporting Type-PUCCH Mode combination CRNTI:%d",crnti);
return RFAILED;
}
/*TODO- To be compared with configured n2Pucch Index*/
if (cqiCfg->cqiSetup.cqiPResIdx > RG_SCH_PUCCH_RES_MAX_SUPP )
{
- RLOG_ARG3(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Not Supported or Invalid CQI-PUCCH resourceIndex=%d Cfg Val=%d CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : Not Supported or Invalid CQI-PUCCH resourceIndex=%d Cfg Val=%d CRNTI:%d",
RG_SCH_PUCCH_RES_MAX_SUPP, cqiCfg->type,crnti);
return RFAILED;
}
(cqiCfg->cqiSetup.cqiPCfgIdx < 7) ||
(cqiCfg->cqiSetup.cqiPCfgIdx == 317))
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Not Supported or Invalid Cfg CQI Min Index Sup =%d"
+ DU_LOG("\nERROR --> SCH : Not Supported or Invalid Cfg CQI Min Index Sup =%d"
"Max Index Sup=%d Cfg Val=%d CRNTI:%d", RG_SCH_ICQI_MIN_SUPP,
RG_SCH_ICQI_MAX_SUPP, cqiCfg->type,crnti);
return RFAILED;
if((cqiCfg->cqiSetup.cqiPCfgIdx > RG_SCH_ICQI_MAX_SUPP)||
(cqiCfg->cqiSetup.cqiPCfgIdx == 317))
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Not Supported or Invalid Cfg CQI Min Index Sup =%d "
+ DU_LOG("\nERROR --> SCH : Not Supported or Invalid Cfg CQI Min Index Sup =%d "
"Max Index Sup=%d Cfg Val=%d CRNTI:%d", RG_SCH_ICQI_MIN_SUPP,
RG_SCH_ICQI_MAX_SUPP, cqiCfg->type,crnti);
return RFAILED;
if((cqiCfg->cqiSetup.cqiPCfgIdx > RG_SCH_ICQI_MAX_SUPP)||
(cqiCfg->cqiSetup.cqiPCfgIdx == 317))
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Not Supported or Invalid Cfg CQI Min Index Sup =%d"
+ DU_LOG("\nERROR --> SCH : Not Supported or Invalid Cfg CQI Min Index Sup =%d"
"Max Index Sup=%d Cfg Val=%d CRNTI;%d", RG_SCH_ICQI_MIN_SUPP,
RG_SCH_ICQI_MAX_SUPP, cqiCfg->type,crnti);
return RFAILED;
if((cqiCfg->cqiSetup.cqiRepType < RGR_UE_PCQI_WB_REP) ||
(cqiCfg->cqiSetup.cqiRepType > RGR_UE_PCQI_SB_REP))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid Cfg CQI Report"
+ DU_LOG("\nERROR --> SCH : Invalid Cfg CQI Report"
"ModeCfg Val=%d CRNTI:%d", cqiCfg->type,crnti);
return RFAILED;
}
((cqiCfg->cqiSetup.k < RG_SCH_CQI_K_MIN) ||
(cqiCfg->cqiSetup.k > RG_SCH_CQI_K_MAX)))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid CQI Cfg K Cfg Val=%d CRNTI:%d", cqiCfg->type,crnti);
+ DU_LOG("\nERROR --> SCH : Invalid CQI Cfg K Cfg Val=%d CRNTI:%d", cqiCfg->type,crnti);
return RFAILED;
}
if((cqiCfg->cqiSetup.cqiRepType == RGR_UE_PCQI_SB_REP) &&
(cellCb->bwCfg.dlTotalBw <= 7))
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid Periodic CQI mode Cfg for dlTotalBw (%d) for CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : Invalid Periodic CQI mode Cfg for dlTotalBw (%d) for CRNTI:%d",
cellCb->bwCfg.dlTotalBw, crnti);
return RFAILED;
}
#ifndef LTE_TDD
if (cqiCfg->cqiSetup.cqiPCfgIdx == RG_SCH_ICQI_RESV_FDD )
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Reserved value Cfg =%d CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : Reserved value Cfg =%d CRNTI:%d",
cqiCfg->cqiSetup.cqiPResIdx,crnti);
return RFAILED;
}
#endif
)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid Transmission Mode =%d CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : Invalid Transmission Mode =%d CRNTI:%d",
txMde,crnti);
return RFAILED;
}
if(cqiCfg->cqiSetup.riCfgIdx > RG_SCH_IRI_MAX_SUPP)
{
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid Index RI value Cfg =%d CRNTI:%d",
+ DU_LOG("\nERROR --> SCH : Invalid Index RI value Cfg =%d CRNTI:%d",
cqiCfg->cqiSetup.riCfgIdx,crnti);
- return RFAILED;
+ return RFAILED;
}
}
}
/*ccpu00130768 - ADD - if cell specific SRS is not configured*/
if(cellCb->srsCfg.isSrsCfgPres == FALSE)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Cell specific SRS is not configured CRNTI:%d",crnti);
+ DU_LOG("\nERROR --> SCH : Cell specific SRS is not configured CRNTI:%d",crnti);
return RFAILED;
}
if ( (srsCfg->srsSetup.srsCfgIdx < 7) ||
(srsCfg->srsSetup.srsCfgIdx > RG_SCH_ISRS_MAX_SUPP) )
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Not Supported or Invalid Cfg "
+ DU_LOG("\nERROR --> SCH : Not Supported or Invalid Cfg "
"SRS Min Index Sup =%d Max Index Sup=%d Cfg Val=%d CRNTI:%d",
RG_SCH_ISRS_MIN_SUPP, RG_SCH_ISRS_MAX_SUPP,
srsCfg->srsSetup.srsCfgIdx,crnti);
{
if ( srsCfg->srsSetup.srsCfgIdx > RG_SCH_ISRS_MAX_SUPP )
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Not Supported or Invalid Cfg"
+ DU_LOG("\nERROR --> SCH : Not Supported or Invalid Cfg"
"SRS Min Index Sup =%d Max Index Sup=%d Cfg Val=%d CRNTI:%d",
RG_SCH_ISRS_MIN_SUPP, RG_SCH_ISRS_MAX_SUPP,
srsCfg->srsSetup.srsCfgIdx,crnti);
#else
if ( srsCfg->srsSetup.srsCfgIdx > RG_SCH_ISRS_MAX_SUPP )
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Not Supported or Invalid Cfg"
+ DU_LOG("\nERROR --> SCH : Not Supported or Invalid Cfg"
"SRS Min Index Sup =%d Max Index Sup=%d Cfg Val=%d CRNTI:%d",
RG_SCH_ISRS_MIN_SUPP, RG_SCH_ISRS_MAX_SUPP,
srsCfg->srsSetup.srsCfgIdx,crnti);
#else
if(rgSchFddCellSpSrsSubfrmTbl[cellCb->srsCfg.srsSubFrameCfg][srsSubframe] == FALSE) {
#endif
- RLOG_ARG2(L_ERROR,DBG_CELLID,cellCb->cellId,
- "UE specific SRS is not occuring in Cell specific SRS subframe"
+ DU_LOG("\nERROR --> SCH : UE specific SRS is not occuring in Cell specific SRS subframe"
"srs Cfg Idx =%d CRNTI:%d",
srsCfg->srsSetup.srsCfgIdx,crnti);
return RFAILED;
if ( srsCfg->srsSetup.fDomPosi > RG_SCH_SRS_FREQDOM_POS_MAX )
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Not Supported or Invalid Cfg"
+ DU_LOG("\nERROR --> SCH : Not Supported or Invalid Cfg"
"SRS Min Freq Domain Position =%d"
"Max Freq Domain Position =%d Cfg Val=%d CRNTI:%d",
RG_SCH_SRS_FREQDOM_POS_MIN, RG_SCH_SRS_FREQDOM_POS_MAX,
if ( srsCfg->srsSetup.txComb > RG_SCH_SRS_TXCOMB_MAX )
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Not Supported or Invalid Cfg"
+ DU_LOG("\nERROR --> SCH : Not Supported or Invalid Cfg"
"SRS Min TX Comb =%d Max TX Comb =%d Cfg Val=%d CRNTI:%d",
RG_SCH_SRS_TXCOMB_MIN, RG_SCH_SRS_TXCOMB_MAX,
srsCfg->srsSetup.srsCfgIdx,crnti);
( srCfg->srSetup.srCfgIdx < 5 ) ||
( srCfg->srSetup.srCfgIdx > RG_SCH_ISR_MAX_SUPP ))
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid SR Index Cfg =%d"
+ DU_LOG("\nERROR --> SCH : Invalid SR Index Cfg =%d"
"Max Supp=%d,Min Supp=%d CRNTI:%d", srCfg->srSetup.srCfgIdx,
RG_SCH_ISR_MAX_SUPP, RG_SCH_ISR_MIN_SUPP,crnti);
if (( srCfg->srSetup.srResIdx > RG_SCH_SR_RES_IDX ) ||
( srCfg->srSetup.srCfgIdx > RG_SCH_ISR_MAX_SUPP ))
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid SR Index Cfg =%d"
+ DU_LOG("\nERROR --> SCH : Invalid SR Index Cfg =%d"
"Max Supp=%d,Min Supp=%d CRNTI:%d", srCfg->srSetup.srCfgIdx,
RG_SCH_ISR_MAX_SUPP, RG_SCH_ISR_MIN_SUPP,crnti);
if (( srCfg->srSetup.srResIdx > RG_SCH_SR_RES_IDX ) ||
( srCfg->srSetup.srCfgIdx > RG_SCH_ISR_MAX_SUPP ))
{
- RLOG_ARG4(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid SR Index Cfg =%d"
+ DU_LOG("\nERROR --> SCH : Invalid SR Index Cfg =%d"
"Max Supp=%d,Min Supp=%d CRNTI:%d", srCfg->srSetup.srCfgIdx,
RG_SCH_ISR_MAX_SUPP, RG_SCH_ISR_MIN_SUPP,crnti);
if ( ROK != rgSCHCfgVldtRgrUeACqiCfg (cellCb, ueCfg->crnti,
&ueCfg->ueDlCqiCfg.aprdCqiCfg, ueCfg->txMode, errInfo ))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid Aperiodic CQI configuration CRNTI:%d",ueCfg->crnti);
+ DU_LOG("\nERROR --> SCH : Invalid Aperiodic CQI configuration CRNTI:%d",ueCfg->crnti);
return RFAILED;
}
&ueCfg->ueDlCqiCfg.prdCqiCfg, ueCfg->txMode, errInfo ))
#endif
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid Periodic CQI configuration CRNTI:%d",ueCfg->crnti);
+ DU_LOG("\nERROR --> SCH : Invalid Periodic CQI configuration CRNTI:%d",ueCfg->crnti);
return RFAILED;
}
&ueCfg->srsCfg, errInfo ))
#endif
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid SRS configuration CRNTI:%d",ueCfg->crnti);
+ DU_LOG("\nERROR --> SCH : Invalid SRS configuration CRNTI:%d",ueCfg->crnti);
return RFAILED;
}
&ueCfg->srCfg, errInfo))
#endif
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid SR configuration CRNTI:%d",ueCfg->crnti);
+ DU_LOG("\nERROR --> SCH : Invalid SR configuration CRNTI:%d",ueCfg->crnti);
return RFAILED;
}
if ( ROK != rgSCHCfgVldtRgrUeACqiCfg (cellCb, ueReCfg->oldCrnti,
&ueReCfg->aprdDlCqiRecfg, txMode, errInfo ))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid Aperiodic CQI configuration OLD CRNTI:%d",ueReCfg->oldCrnti);
+ DU_LOG("\nERROR --> SCH : Invalid Aperiodic CQI configuration OLD CRNTI:%d",ueReCfg->oldCrnti);
return RFAILED;
}
}
#endif
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid Periodic CQI configuration OLD CRNTI:%d",ueReCfg->oldCrnti);
+ DU_LOG("\nERROR --> SCH : Invalid Periodic CQI configuration OLD CRNTI:%d",ueReCfg->oldCrnti);
return RFAILED;
}
}
&ueReCfg->srsCfg, errInfo ))
#endif
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid SRS configuration OLD CRNTI:%d",ueReCfg->oldCrnti);
+ DU_LOG("\nERROR --> SCH : Invalid SRS configuration OLD CRNTI:%d",ueReCfg->oldCrnti);
return RFAILED;
}
&ueReCfg->srCfg, errInfo))
#endif
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,
- "Invalid SR configuration OLD CRNTI:%d",ueReCfg->oldCrnti);
+ DU_LOG("\nERROR --> SCH : Invalid SR configuration OLD CRNTI:%d",ueReCfg->oldCrnti);
return RFAILED;
}
}
cqiCfg->cqiSetup.cqiPCfgIdx,
&cqiCb->cqiPeri, &cqiCb->cqiOffset);
#endif
- RLOG_ARG3(L_DEBUG,DBG_CELLID,cellCb->cellId,
- "rgSCHCfgPCqiUeCfg(): UEID:%d CQI Peri=%d, CQI Offset=%d",
+ DU_LOG("\nDEBUG --> SCH : rgSCHCfgPCqiUeCfg(): UEID:%d CQI Peri=%d, CQI Offset=%d",
ueCb->ueId,
cqiCb->cqiPeri,
cqiCb->cqiOffset);
cqiCfg->cqiSetup.riCfgIdx,
&cqiCb->riPeri, &cqiCb->riOffset);
- RLOG_ARG3(L_DEBUG,DBG_CELLID,cellCb->cellId,
- "rgSCHCfgRiUeCfg(): RI Peri=%d, RI Offset=%d UEID:%d",
+ DU_LOG("\nDEBUG --> SCH : rgSCHCfgRiUeCfg(): RI Peri=%d, RI Offset=%d UEID:%d",
cqiCb->riPeri, cqiCb->riOffset,ueCb->ueId);
cqiCb->perRiVal = 1;
periodicity = cqiCb->cqiOffset - cqiCb->riOffset +
RGSCH_MAX_SUBFRM_5G - (crntTime);
tempIdx = crntTime + periodicity;
- printf("CHECK_SID - periodicity %d tempIdx %d\n", periodicity, tempIdx);
+ DU_LOG("\nINFO --> SCH : CHECK_SID - periodicity %d tempIdx %d\n", periodicity, tempIdx);
}
else
{
&ueCb->srsCb.peri, &ueCb->srsCb.offset);
#endif
- RLOG_ARG3(L_DEBUG,DBG_CELLID,cellCb->cellId,
- "rgSCHCfgSrsUeCfg(): SRS Peri=%d, SRS Offset=%d UEID:%d",
+ DU_LOG("\nDEBUG --> SCH : rgSCHCfgSrsUeCfg(): SRS Peri=%d, SRS Offset=%d UEID:%d",
ueCb->srsCb.peri,ueCb->srsCb.offset,ueCb->ueId);
/* 3. Compute next Tranmission index for SRS */
srCfg->srSetup.srCfgIdx,
&ueCb->srCb.peri, &ueCb->srCb.offset);
- RLOG_ARG4(L_DEBUG,DBG_CELLID,cellCb->cellId ,
- "SR Config: idx(%u), period (%u) offset (%u) UEID:%d",
+ DU_LOG("\nDEBUG --> SCH : SR Config: idx(%u), period (%u) offset (%u) UEID:%d",
srCfg->srSetup.srCfgIdx,
ueCb->srCb.peri,
ueCb->srCb.offset,
if ( ueDrxCfg->cqiMask.val != RGR_DRX_SETUP )
{
#ifdef ALIGN_64BIT
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Invalid cqiMask configuration (%d)",
+ DU_LOG("\nERROR --> SCH : Invalid cqiMask configuration (%d)",
ueDrxCfg->cqiMask.val);
#else
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Invalid cqiMask configuration(%ld)",
+ DU_LOG("\nERROR --> SCH : Invalid cqiMask configuration(%ld)",
ueDrxCfg->cqiMask.val);
#endif
return RFAILED;
{
if ( rgSCHEmtcCfgVldtDrxOnDurCfg(ueDrxCfg->drxOnDurTmr) != ROK )
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Invalid onDurTimer configuration(%d)",
+ DU_LOG("\nERROR --> SCH : Invalid onDurTimer configuration(%d)",
ueDrxCfg->drxOnDurTmr);
return RFAILED;
}
{
if (rgSCHCfgVldtDrxOnDurCfg(ueDrxCfg->drxOnDurTmr) != ROK )
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Invalid onDurTimer configuration(%d) for EMTC",
+ DU_LOG("\nERROR --> SCH : Invalid onDurTimer configuration(%d) for EMTC",
ueDrxCfg->drxOnDurTmr);
return RFAILED;
}
{
if ( rgSCHCfgVldtDrxOnDurCfg(ueDrxCfg->drxOnDurTmr) != ROK )
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Invalid onDurTimer configuration(%d) for EMTC",
+ DU_LOG("\nERROR --> SCH : Invalid onDurTimer configuration(%d) for EMTC",
ueDrxCfg->drxOnDurTmr);
return RFAILED;
}
if ( rgSCHCfgVldtDrxInActvCfg(ueDrxCfg->drxInactvTmr) != ROK )
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Invalid Inactivity configuration(%d)",
+ DU_LOG("\nERROR --> SCH : Invalid Inactivity configuration(%d)",
ueDrxCfg->drxInactvTmr);
return RFAILED;
}
{
if ( rgSCHEmtcCfgVldtDrxReTxCfg(ueDrxCfg->drxRetxTmr) != ROK )
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Invalid DrxReTX configuration(%d) for EMTC",
+ DU_LOG("\nERROR --> SCH : Invalid DrxReTX configuration(%d) for EMTC",
ueDrxCfg->drxRetxTmr);
return RFAILED;
}
{
if (rgSCHCfgVldtDrxReTxCfg(ueDrxCfg->drxRetxTmr) != ROK )
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Invalid DrxReTX configuration(%d)",
+ DU_LOG("\nERROR --> SCH : Invalid DrxReTX configuration(%d)",
ueDrxCfg->drxRetxTmr);
return RFAILED;
}
{
if ( rgSCHCfgVldtDrxReTxCfg(ueDrxCfg->drxRetxTmr) != ROK )
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Invalid DrxReTX configuration(%d)",
+ DU_LOG("\nERROR --> SCH : Invalid DrxReTX configuration(%d)",
ueDrxCfg->drxRetxTmr);
return RFAILED;
}
{
if ( rgSCHEmtcCfgVldtDrxUlReTxCfg(ueDrxCfg->emtcDrxUlRetxTmr) != ROK )
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Invalid DrxReTX configuration(%d) for EMTC",
+ DU_LOG("\nERROR --> SCH : Invalid DrxReTX configuration(%d) for EMTC",
ueDrxCfg->drxRetxTmr);
return RFAILED;
}
if ( rgSCHCfgVldtDrxLngCycCfg(ueDrxCfg->drxLongCycleOffst) != ROK )
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Invalid LongCycle configuration");
+ DU_LOG("\nERROR --> SCH : Invalid LongCycle configuration");
return RFAILED;
}
if ( ueDrxCfg->drxLongCycleOffst.longDrxCycle < ueDrxCfg->drxOnDurTmr )
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Invalid combination of Long DRX Cycle "
+ DU_LOG("\nERROR --> SCH : Invalid combination of Long DRX Cycle "
" and onDuration timer values");
return RFAILED;
}
if( rgSCHCfgVldtTddDrxCycCfg(cell, ueDrxCfg->drxLongCycleOffst.longDrxCycle,
ueDrxCfg->drxOnDurTmr, ueDrxCfg->drxLongCycleOffst.drxStartOffst) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Invalid combination of Long DRX Cycle "
+ DU_LOG("\nERROR --> SCH : Invalid combination of Long DRX Cycle "
" and onDuration timer values");
return RFAILED;
}
{
if ( ueDrxCfg->drxShortDrx.shortDrxCycle < ueDrxCfg->drxOnDurTmr )
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Invalid combination of short DRX "
+ DU_LOG("\nERROR --> SCH : Invalid combination of short DRX "
"Cycle and onDuration timer values");
return RFAILED;
}
if ( (ueDrxCfg->drxLongCycleOffst.longDrxCycle %
ueDrxCfg->drxShortDrx.shortDrxCycle) != 0)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId," Long DRX cycle is not multiple of "
+ DU_LOG("\nERROR --> SCH : Long DRX cycle is not multiple of "
"short DRX cycle");
return RFAILED;
}
if ( rgSCHCfgVldtDrxShrtCycCfg(ueDrxCfg->drxShortDrx) != ROK )
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Invalid Short Cycle configuration");
+ DU_LOG("\nERROR --> SCH : Invalid Short Cycle configuration");
return RFAILED;
}
ueDrxCfg->drxLongCycleOffst.drxStartOffst %
ueDrxCfg->drxShortDrx.shortDrxCycle) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Invalid combination of Long DRX Cycle "
+ DU_LOG("\nERROR --> SCH : Invalid combination of Long DRX Cycle "
" and onDuration timer values");
return RFAILED;
}
sizeof(RgrStaIndInfo));
if(retVal != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,
- "Could not allocate memory for sending StaInd OLD CRNTI:%d",ueRecfg->oldCrnti);
+ DU_LOG("\nERROR --> SCH : Could not allocate memory for sending StaInd OLD CRNTI:%d",ueRecfg->oldCrnti);
return (retVal);
}
@brief This module does processing related to handling of lower interface APIs
invoked by PHY towards scheduler.
*/
-static const char* RLOG_MODULE_NAME="MAC";
-static int RLOG_FILE_ID=228;
-static int RLOG_MODULE_ID=4096;
/* header include files -- defines (.h) */
#include "common_def.h"
{
RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
- printf("rapId[%d] cellSch->rachCfg.dedPrmStart[%d] cellSch->rachCfg.numDedPrm[%d]\n",rapId,cellSch->rachCfg.dedPrmStart,cellSch->rachCfg.numDedPrm);
+ DU_LOG("\nINFO --> SCH : rapId[%d] cellSch->rachCfg.dedPrmStart[%d] cellSch->rachCfg.numDedPrm[%d]\n",\
+ rapId,cellSch->rachCfg.dedPrmStart,cellSch->rachCfg.numDedPrm);
/* Finding UE in handOver List */
if ((rapId < cellSch->rachCfg.dedPrmStart) ||
(rapId > cellSch->rachCfg.dedPrmStart +
{
/* This ded Preamble corresponds to handover */
*ue = rgSCHCmnGetHoUe(cell, rapId);
- printf(" his ded Preamble corresponds to hando\n");
+ DU_LOG("\nDEBUG --> SCH : ded Preamble corresponds to handover\n");
}
else/* Finding UE from PDCCH Order Mappings */
{
/* Get the UE which has transmitted this RaReq */
*ue = rgSCHCmnGetPoUe(cell, rapId, timingInfo);
- printf(" ==== inding UE from PDCCH Order Mapping\n");
+ DU_LOG("\nDEBUG --> SCH : UE from PDCCH Order Mapping\n");
}
return ROK;
}
{
err.errType = RGSCHERR_TOM_RAREQIND;
err.errCause = RGSCHERR_TOM_INV_CELL_ID;
- RLOG_ARG3(L_ERROR,DBG_CELLID,cell->cellId,
- "rgSCHTomRaReqInd(): No cell found with raReq cellId = (%d) errorType (%d)"
+ DU_LOG("\nERROR --> SCH : rgSCHTomRaReqInd(): No cell found with raReq cellId = (%d) errorType (%d)"
" errorCause(%d)",raReqInd->cellId, err.errType, err.errCause);
return RFAILED;
}
#if (ERRCLASS & ERRCLS_DEBUG)
if(raReqInd->rachInfoArr[raRntiCnt].raRnti > RGSCH_MAX_RA_RNTI)
{
- RGSCHLOGERROR(cell->instIdx, ERRCLS_INT_PAR, ERG013,
- (ErrVal)raReqInd->rachInfoArr[raRntiCnt].raRnti,
- ("rgSCHTomRaReqInd(): raRnti is out of range\n"));
+ DU_LOG("\nERROR --> SCH : rgSCHTomRaReqInd(): raRnti is out of range\n");
continue;
}
#endif
if(ret == RFAILED)
{
err.errType = RGSCHERR_TOM_RAREQIND;
- RLOG_ARG3(L_ERROR,DBG_CELLID,cell->cellId,
- "RARNTI:%d rgSCHTomRaReqInd(): RAM processing failed errType(%d) "
+ DU_LOG("\nERROR --> SCH : RARNTI:%d rgSCHTomRaReqInd(): RAM processing failed errType(%d) "
"errCause(%d)", raReqInd->rachInfoArr[raRntiCnt].raRnti,
err.errType, err.errCause);
continue;
node = ulCqiInd->ulCqiRpt.first;
if(cell->cellId != ulCqiInd->cellId)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,
- "rgSCHTomUlCqiInd() Unable to get the ulCqiInd cell with id(%d)",
+ DU_LOG("\nERROR --> SCH : rgSCHTomUlCqiInd() Unable to get the ulCqiInd cell with id(%d)",
ulCqiInd->cellId);
return RFAILED;
}
#if (ERRCLASS & ERRCLS_DEBUG)
if(ulCqiInfo->numSubband == 0)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Num Subband is"
+ DU_LOG("\nERROR --> SCH : Num Subband is"
"out of range RNTI:%d",ulCqiInfo->rnti);
continue;
}
if((ue = rgSCHDbmGetSpsUeCb(cell, ulCqiInfo->rnti)) == NULLP)
#endif
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to get "
- "the ue for RNTI:%d", ulCqiInfo->rnti);
+ DU_LOG("\nERROR --> SCH : Unable to get the ue for RNTI:%d", ulCqiInfo->rnti);
continue;
}
}
if(cell->cellId != pucchDeltaPwr->cellId)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,
- "rgSCHTomPucchDeltaPwrInd() Unable to get the pucchDeltaPwr cell with id(%d)",
+ DU_LOG("\nERROR --> SCH : rgSCHTomPucchDeltaPwrInd() Unable to get the pucchDeltaPwr cell with id(%d)",
pucchDeltaPwr->cellId);
return RFAILED;
}
if((ue = rgSCHDbmGetSpsUeCb(cell, ueElem->rnti)) == NULLP)
#endif
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d "
+ DU_LOG("\nERROR --> SCH : RNTI:%d "
"rgSCHTomPucchDeltaPwrInd() Unable to get the ue ",
ueElem->rnti);
continue;
if(cell->cellId != harqAckInd->cellId)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomHarqAckInd() Unable to get"
+ DU_LOG("\nERROR --> SCH : rgSCHTomHarqAckInd() Unable to get"
" the cell for cellId (%d)", harqAckInd->cellId);
err.errType = RGSCHERR_TOM_HARQACKIND;
err.errCause = RGSCHERR_TOM_INV_CELL_ID;
if ((rgSCHDhm5gtfHqFdbkInd (ue, cell, harqAckInd->timingInfo, fdbk, &err)) != ROK)
{
err.errType = RGSCHERR_TOM_HARQACKIND;
- RLOG_ARG2(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomHarqAckInd() "
+ DU_LOG("\nERROR --> SCH : rgSCHTomHarqAckInd() "
"HARQ feedback processing failed errType(%d)errCause(%d)n",
err.errType, err.errCause);
continue;
if ((rgSCHDhmRlsDlsfHqProc (cell, harqAckInd->timingInfo)) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Release Downlink "
+ DU_LOG("\nERROR --> SCH : Unable to Release Downlink "
"subframe for cellId (%d) ", cell->cellId);
err.errType = RGSCHERR_TOM_HARQACKIND;
}
cell, harqAckInd->timingInfo, hqInfo, rlsHqBufs, &err)) != ROK)
{
err.errType = RGSCHERR_TOM_HARQACKIND;
- RLOG_ARG2(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomHarqAckInd() HARQ"
+ DU_LOG("\nERROR --> SCH : rgSCHTomHarqAckInd() HARQ"
" feedback processing failed errType(%d) errCause(%d)",
err.errType, err.errCause);
continue;
cell, harqAckInd->timingInfo, hqInfo, rlsHqBufs, &err)) != ROK)
{
err.errType = RGSCHERR_TOM_HARQACKIND;
- RLOG_ARG2(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomHarqAckInd() "
+ DU_LOG("\nERROR --> SCH : rgSCHTomHarqAckInd() "
"HARQ feedback processing failed errType(%d)errCause(%d)n",
err.errType, err.errCause);
continue;
cell, harqAckInd->timingInfo, hqInfo, rlsHqBufs, &err)) != ROK)
{
err.errType = RGSCHERR_TOM_HARQACKIND;
- RLOG_ARG2(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomHarqAckInd() HARQ"
+ DU_LOG("\nERROR --> SCH : rgSCHTomHarqAckInd() HARQ"
" feedback processing failed errType(%d) errCause(%d).",
err.errType, err.errCause);
continue;
}
else
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d Unable to get the "
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to get the "
"UE CB or RA CB ", hqInfo->rnti);
err.errType = RGSCHERR_TOM_HARQACKIND;
continue;
/* Check with TDD call DHM*/
if ((rgSCHDhmRlsDlsfHqProc (cell, harqAckInd->timingInfo)) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Release Downlink "
+ DU_LOG("\nERROR --> SCH : Unable to Release Downlink "
"subframe for cellId (%d) ", harqAckInd->cellId);
err.errType = RGSCHERR_TOM_HARQACKIND;
}
if(cell->cellId != srInd->cellId)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to get the cell for srcInd cellId"
+ DU_LOG("\nERROR --> SCH : Unable to get the cell for srcInd cellId"
":%d ", srInd->cellId);
err.errType = RGSCHERR_TOM_SRIND;
err.errCause = RGSCHERR_TOM_INV_CELL_ID;
ue = rgSCHDbmGetUeCb (cell, srInfo->rnti);
if (ue == NULLP)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d Unable to get the UE CB",
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to get the UE CB",
srInfo->rnti);
continue;
}
if (ret != ROK)
{
err.errType = RGSCHERR_TOM_SRIND;
- RLOG_ARG3(L_ERROR,DBG_CELLID,cell->cellId,"Scheduler processing failed "
+ DU_LOG("\nERROR --> SCH : Scheduler processing failed "
"errType(%d) errCause(%d) RNTI:%d", err.errType, err.errCause,srInfo->rnti);
continue;
}
if(cell->cellId != doaInd->cellId)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to get the cell for doaInd cellId"
+ DU_LOG("\nERROR --> SCH : Unable to get the cell for doaInd cellId"
":%d", doaInd->cellId);
return RFAILED;
}
ue = rgSCHDbmGetUeCb (cell, doaInfo->rnti);
if (ue == NULLP)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d Unable to get the UE CB",
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to get the UE CB",
doaInfo->rnti);
continue;
}
if(cell->cellId != dlCqiInd->cellId)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to get the cell for cellId"
+ DU_LOG("\nERROR --> SCH : Unable to get the cell for cellId"
":%d", dlCqiInd->cellId);
return RFAILED;
}
ue = rgSCHDbmGetUeCb (cell, dlCqiInfo->rnti);
if (ue == NULLP)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%dUnable to get the UE CB",
+ DU_LOG("\nERROR --> SCH : RNTI:%dUnable to get the UE CB",
dlCqiInfo->rnti);
continue;
}
if (NULLP == cmLListDelFrm(&cell->pCqiSrsSrLst[cqiCb->nCqiTrIdx].cqiLst,
&cqiCb->cqiLstEnt))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d Unable to remove node",
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to remove node",
ue->ueId);
}
cqiCb->nCqiTrIdx = cqiIdx;
if (NULLP == cmLListDelFrm(&cell->pCqiSrsSrLst[riCb->nRiTrIdx].riLst,
&riCb->riLstEnt))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"[%d]UEID:Unable to remove node",
+ DU_LOG("\nERROR --> SCH : [%d]UEID:Unable to remove node",
ue->ueId);
}
RG_SCH_RECORD(&riCb->histElem,RGSCH_ACTION_DEL, &cell->pCqiSrsSrLst[riCb->nRiTrIdx].riLst);
if (NULLP == cmLListDelFrm(&cell->pCqiSrsSrLst[ue->srCb.nSrTrIdx].srLst,
&ue->srCb.srLstEnt))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d Unable to remove node",
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to remove node",
ue->ueId);
}
ue->srCb.nSrTrIdx = srIdx;
if (NULLP == cmLListDelFrm(&cell->pCqiSrsSrLst[ue->srsCb.nSrsTrIdx].srsLst,
&ue->srsCb.srsLstEnt))
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d Unable to remove node",
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to remove node",
ue->ueId);
}
cmLListAdd2Tail(&cell->pCqiSrsSrLst[srsIdx].srsLst,
if(cell->cellId != rawCqiInd->cellId)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to get the cell for cellId"
+ DU_LOG("\nERROR --> SCH : Unable to get the cell for cellId"
":%d", rawCqiInd->cellId);
return RFAILED;
}
/*
if (ue == NULLP)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"CRNTI:%d Unable to get the UECB",
+ DU_LOG("\nERROR --> SCH : CRNTI:%d Unable to get the UECB",
rawCqiInfo->crnti);
continue;
}
#ifdef RG_5GTF
/*
if (rawCqiInfo->numBits >= 5)
- printf("cellId [%d] crnti [%d] numBits [%d] uciPayload [0x%08x] sfn/sf [%d:%d]\n",
+ DU_LOG("\nINFO --> SCH : cellId [%d] crnti [%d] numBits [%d] uciPayload [0x%08x] sfn/sf [%d:%d]\n",
cell->cellId, rawCqiInfo->crnti, rawCqiInfo->numBits, rawCqiInfo->uciPayload,
rawCqiInd->timingInfo.sfn, rawCqiInd->timingInfo.slot);
*/
if ((rgSCHDhm5gtfHqFdbkInd (ue, cell, rawCqiInd->timingInfo, fdbk, &err)) != ROK)
{
err.errType = RGSCHERR_TOM_HARQACKIND;
- RLOG_ARG2(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomHarqAckInd() "
+ DU_LOG("\nERROR --> SCH : rgSCHTomHarqAckInd() "
"HARQ feedback processing failed errType(%d)errCause(%d)n",
err.errType, err.errCause);
continue;
cell, rawCqiInd->timingInfo, &hqInfo, rlsHqBufs, &err)) != ROK)
{
err.errType = RGSCHERR_TOM_HARQACKIND;
- RLOG_ARG2(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomHarqAckInd() HARQ"
+ DU_LOG("\nERROR --> SCH : rgSCHTomHarqAckInd() HARQ"
" feedback processing failed errType(%d) errCause(%d)",
err.errType, err.errCause);
continue;
cell, rawCqiInd->timingInfo, &hqInfo, rlsHqBufs, &err)) != ROK)
{
err.errType = RGSCHERR_TOM_HARQACKIND;
- RLOG_ARG2(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomHarqAckInd() HARQ"
+ DU_LOG("\nERROR --> SCH : rgSCHTomHarqAckInd() HARQ"
" feedback processing failed errType(%d) errCause(%d).",
err.errType, err.errCause);
continue;
}
else
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d Unable to get the "
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to get the "
"UE CB or RA CB ", rawCqiInfo->crnti);
err.errType = RGSCHERR_TOM_HARQACKIND;
continue;
}
/*
- printf("rawCqiInfo->numBits [%d] uciPayload [0x%08x] sfn/sf [%d:%d]\n", rawCqiInfo->numBits,
+ DU_LOG("rawCqiInfo->numBits [%d] uciPayload [0x%08x] sfn/sf [%d:%d]\n", rawCqiInfo->numBits,
rawCqiInfo->uciPayload, rawCqiInd->timingInfo.sfn, rawCqiInd->timingInfo.slot);
*/
}
if(ue) {
if (cqi == 0)
{
- printf("\n UE[%d] CQI[%d] Invalid\n", ue->ueId, cqi);
+ DU_LOG("\nERROR --> SCH : UE[%d] CQI[%d] Invalid\n", ue->ueId, cqi);
cqi = 15;
}
ue->ue5gtfCb.mcs = rgSch5gtfCqi2Mcs[cqi - 1];
#endif
}
/*
- printf("UE[%d] CQI[%d] MCS[%d] RI[%d]\n", ue->ueId, cqi, ue->ue5gtfCb.mcs, ri);
+ DU_LOG("\nERROR --> SCH : UE[%d] CQI[%d] MCS[%d] RI[%d]\n", ue->ueId, cqi, ue->ue5gtfCb.mcs, ri);
*/
}
else if (rawCqiInfo->numBits == 6)
hqAck = (rawCqiInfo->uciPayload >> 31) & 0x1;
if (cqi == 0)
{
- printf("UE[%d] CQI[%d] Invalid\n", ue->ueId, cqi);
+ DU_LOG("\nERROR --> SCH : UE[%d] CQI[%d] Invalid\n", ue->ueId, cqi);
cqi = 13;
}
ue->ue5gtfCb.mcs = rgSch5gtfCqi2Mcs[cqi - 1];
if ((rgSCHDhm5gtfHqFdbkInd (ue, cell, rawCqiInd->timingInfo, fdbk, &err)) != ROK)
{
err.errType = RGSCHERR_TOM_HARQACKIND;
- RLOG_ARG2(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomHarqAckInd() "
+ DU_LOG("\nERROR --> SCH : rgSCHTomHarqAckInd() "
"HARQ feedback processing failed errType(%d)errCause(%d)n",
err.errType, err.errCause);
continue;
cell, rawCqiInd->timingInfo, &hqInfo, rlsHqBufs, &err)) != ROK)
{
err.errType = RGSCHERR_TOM_HARQACKIND;
- RLOG_ARG2(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomHarqAckInd() HARQ"
+ DU_LOG("\nERROR --> SCH : rgSCHTomHarqAckInd() HARQ"
" feedback processing failed errType(%d) errCause(%d)",
err.errType, err.errCause);
continue;
cell, rawCqiInd->timingInfo, &hqInfo, rlsHqBufs, &err)) != ROK)
{
err.errType = RGSCHERR_TOM_HARQACKIND;
- RLOG_ARG2(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomHarqAckInd() HARQ"
+ DU_LOG("\nERROR --> SCH : rgSCHTomHarqAckInd() HARQ"
" feedback processing failed errType(%d) errCause(%d).",
err.errType, err.errCause);
continue;
}
else
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d Unable to get the "
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to get the "
"UE CB or RA CB ", rawCqiInfo->crnti);
err.errType = RGSCHERR_TOM_HARQACKIND;
continue;
}
/*
- printf("\nUE[%u] CQI[%u] MCS[%u] RI[%u] HQ[%u]\n", ue->ueId, cqi, ue->ue5gtfCb.mcs, ri, hqAck);
+ DU_LOG("\nERROR --> SCH : UE[%u] CQI[%u] MCS[%u] RI[%u] HQ[%u]\n", ue->ueId, cqi, ue->ue5gtfCb.mcs, ri, hqAck);
*/
}
}
if ((rgSCHDhmRlsDlsfHqProc (cell, rawCqiInd->timingInfo)) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Release Downlink "
+ DU_LOG("\nERROR --> SCH : Unable to Release Downlink "
"subframe for cellId (%d) ", cell->cellId);
err.errType = RGSCHERR_TOM_HARQACKIND;
}
if(cell->cellId != srsInd->cellId)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to get the cell for cellId"
+ DU_LOG("\nERROR --> SCH : Unable to get the cell for cellId"
":%d", srsInd->cellId);
return RFAILED;
}
ue = rgSCHDbmGetUeCb (cell, srsInfo->ueId);
if (ue == NULLP)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d Unable to get the "
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to get the "
"UE CB", srsInfo->ueId);
continue;
}
if(cell->cellId != crcInd->cellId)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to get the cell for cellId"
+ DU_LOG("\nERROR --> SCH : Unable to get the cell for cellId"
":%d", crcInd->cellId);
return RFAILED;
}
if (RGSCH_TIMEINFO_SAME(lastCrc, crntCrc))
{
/*Removed the WA to drop 2nd CRC*/
- RLOG_ARG2(L_ERROR,DBG_CELLID,cell->cellId,"Recieved CRC "
+ DU_LOG("\nINFO --> SCH : Recieved CRC "
"twice per TTI @(%u,%u)", cell->crntTime.sfn,
cell->crntTime.slot);
}
if ((ret = rgSCHUtlAllocEventMem(inst, (Ptr *)&cntrlInfo,
sizeof(TfuCntrlReqInfo))) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Allocate TfuCntrlReqInfo "
+ DU_LOG("\nERROR --> SCH : Unable to Allocate TfuCntrlReqInfo "
"for cell");
return ret;
}
if ((rgSCHTomUtlProcDlSfAtCrc (ulSf, crntHiDci0Frm, cell, cntrlInfo, &err)) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomCrcInd() Unable to process"
+ DU_LOG("\nERROR --> SCH : rgSCHTomCrcInd() Unable to process"
" downlink subframe for cellId %d", crcInd->cellId);
err.errType = RGSCHERR_TOM_TTIIND;
return RFAILED;
if(cell->cellId != timingAdvInd->cellId)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to get the cell for cellId"
+ DU_LOG("\nERROR --> SCH : Unable to get the cell for cellId"
"=(%d)", timingAdvInd->cellId);
return RFAILED;
}
ue = rgSCHDbmGetUeCb (cell, timingAdvInfo->rnti);
if (ue == NULLP)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d Unable to get the UE CB",
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to get the UE CB",
timingAdvInfo->rnti);
continue;
}
if ((ret = rgSCHUtlAllocEventMem((cell[i]->instIdx), (Ptr *)&cntrlInfo,
sizeof(RgTfuCntrlReqInfo))) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell[i]->cellId,"Unable to Allocate TfuCntrlReqInfo"
+ DU_LOG("\nERROR --> SCH : Unable to Allocate TfuCntrlReqInfo"
" for cell");
return;
}
if(gTtiCount == 3000)
{
#ifdef XEON_SPECIFIC_CHANGES
- printf("SChed:: (P/S)::(%u/%u) \n",
+ DU_LOG("\nINFO --> SCH : SChed:: (P/S)::(%u/%u) \n",
gPrimarySchedCount,gSCellSchedCount);
- printf("\n HQFDBK :: %u\n",gHqFdbkCount);
+ DU_LOG("\nINFO --> SCH : HQFDBK :: %u\n",gHqFdbkCount);
long int total;
long int total2 ;
total = gPCellTb1AckCount + gPCellTb1NackCount + gPCellTb1DtxCount;
total2 = gPCellTb2AckCount + gPCellTb2NackCount + gPCellTb2DtxCount;
- printf("\n PCell:: TB1:: (A/N/D)::(%u/%u/%u) TB2:: (A/N/D)::(%u/%u/%u)\n",
+ DU_LOG("\nINFO --> SCH : PCell:: TB1:: (A/N/D)::(%u/%u/%u) TB2:: (A/N/D)::(%u/%u/%u)\n",
gPCellTb1AckCount,gPCellTb1NackCount,gPCellTb1DtxCount,
gPCellTb2AckCount,gPCellTb2NackCount,gPCellTb2DtxCount);
if ((total != 0 ) && total2 != 0)
{
- printf("\n PCell:: TB1:: (AP/NP/DP)::(%.2f/%.2f/%.2f) TB2:: (AP/NP/DP)::(%.2f/%.2f/%.2f)\n",
+ DU_LOG("\nINFO --> SCH : PCell:: TB1:: (AP/NP/DP)::(%.2f/%.2f/%.2f) TB2:: (AP/NP/DP)::(%.2f/%.2f/%.2f)\n",
(float)gPCellTb1AckCount/total * 100,(float)gPCellTb1NackCount/total * 100,(float)gPCellTb1DtxCount/total * 100,
(float)gPCellTb2AckCount/total2 *100 ,(float)gPCellTb2NackCount/total2 *100 ,(float)gPCellTb2DtxCount/total2 *2);
}
total2 = gSCellTb2AckCount + gSCellTb2NackCount + gSCellTb2DtxCount;
- printf("\n SCell:: TB1:: (A/N/D)::(%u/%u/%u) TB2:: (A/N/D)::(%u/%u/%u)\n",
+ DU_LOG("\nINFO --> SCH : SCell:: TB1:: (A/N/D)::(%u/%u/%u) TB2:: (A/N/D)::(%u/%u/%u)\n",
gSCellTb1AckCount,gSCellTb1NackCount,gSCellTb1DtxCount,
gSCellTb2AckCount,gSCellTb2NackCount,gSCellTb2DtxCount);
if ((total != 0 ) && total2 != 0)
{
- printf("\n SCell:: TB1:: (AP/NP/DP)::(%.2f/%.2f/%.2f) TB2:: (AP/NP/DP)::(%.2f/%.2f/%.2f)\n",
+ DU_LOG("\nINFO --> SCH : SCell:: TB1:: (AP/NP/DP)::(%.2f/%.2f/%.2f) TB2:: (AP/NP/DP)::(%.2f/%.2f/%.2f)\n",
(float)gSCellTb1AckCount/total * 100,(float)gSCellTb1NackCount/total * 100,(float)gSCellTb1DtxCount/total * 100,
(float)gSCellTb2AckCount/total2 *100 ,(float)gSCellTb2NackCount/total2 *100 ,(float)gSCellTb2DtxCount/total2 *2);
}
- printf("\n CQI:: Recp(Pucch/Pusch):Rcvd(pcqi/rawacqireport/apcqi/AppReprt)::(%u/%u):(%u/%u/%u/%u)\n",
+ DU_LOG("\nINFO --> SCH : CQI:: Recp(Pucch/Pusch):Rcvd(pcqi/rawacqireport/apcqi/AppReprt)::(%u/%u):(%u/%u/%u/%u)\n",
gCqiRecpCount,gCqiRecpPuschCount,gCqiRcvdCount,gRawACqiCount,
gACqiRcvdCount,gCqiReptToAppCount);
- printf("\n (F1BCS Count/Cqi/Ri/CqiDrop/PucchDrop/PuschCqiDrop)::(%u/%u/%u/%u/%u/%u)\n",
+ DU_LOG("\nINFO --> SCH : (F1BCS Count/Cqi/Ri/CqiDrop/PucchDrop/PuschCqiDrop)::(%u/%u/%u/%u/%u/%u)\n",
gF1bCsCount,gCqiReqCount,gRiReqCount,gCqiDropCount,gPucchDropCount,gPuschCqiDropCount);
- printf("UL::(DCI0/CrcPass/CrcFail)::(%u/%u/%u)\n"
+ DU_LOG("\nINFO --> SCH : UL::(DCI0/CrcPass/CrcFail)::(%u/%u/%u)\n"
"gPcellZeroBoOcc:%u\t gScellZeroBoOcc:%u dbgUeIdChngAndDatReqInClCnt: %u\n"
"DelayedDatReqInMac: %u DelayedDatReqInCl : %u gIccPktRcvrMemDropCnt :%u\n",
gDci0Count,
dbgDelayedDatReqInMac,
gDropDatReqCnt, gIccPktRcvrMemDropCnt);
#else
- printf("SChed:: (P/S)::(%ld/%ld) \n",
+ DU_LOG("\nINFO --> SCH : SChed:: (P/S)::(%ld/%ld) \n",
gPrimarySchedCount,gSCellSchedCount);
- printf("\n HQFDBK :: %ld\n",gHqFdbkCount);
+ DU_LOG("\nINFO --> SCH : HQFDBK :: %ld\n",gHqFdbkCount);
+
- printf("\n PCell:: TB1:: (A/N/D)::(%ld/%ld/%ld) TB2:: (A/N/D)::(%ld/%ld/%ld)\n",
+ DU_LOG("\nINFO --> SCH : PCell:: TB1:: (A/N/D)::(%ld/%ld/%ld) TB2:: (A/N/D)::(%ld/%ld/%ld)\n",
gPCellTb1AckCount,gPCellTb1NackCount,gPCellTb1DtxCount,
gPCellTb2AckCount,gPCellTb2NackCount,gPCellTb2DtxCount);
- printf("\n SCell:: TB1:: (A/N/D)::(%ld/%ld/%ld) TB2:: (A/N/D)::(%ld/%ld/%ld)\n",
+ DU_LOG("\nINFO --> SCH : SCell:: TB1:: (A/N/D)::(%ld/%ld/%ld) TB2:: (A/N/D)::(%ld/%ld/%ld)\n",
gSCellTb1AckCount,gSCellTb1NackCount,gSCellTb1DtxCount,
gSCellTb2AckCount,gSCellTb2NackCount,gSCellTb2DtxCount);
- printf("\n CQI:: Recp(Pucch/Pusch):Rcvd(pcqi/rawacqireport/apcqi/AppReprt)::(%ld/%ld):(%ld/%ld/%ld/%ld)\n",
+ DU_LOG("\nINFO --> SCH : CQI:: Recp(Pucch/Pusch):Rcvd(pcqi/rawacqireport/apcqi/AppReprt)::\
+ (%ld/%ld):(%ld/%ld/%ld/%ld)\n",
gCqiRecpCount,gCqiRecpPuschCount,gCqiRcvdCount,gRawACqiCount,
gACqiRcvdCount,gCqiReptToAppCount);
- printf("\n CQI:: PucchCqiSnrDropCnt/PucchCqiConfBitMaskDropCnt/PuschCqiConfMaskDropCount :: (%ld/%ld/%ld) \n",gCqiPucchLowSnrDropCount,gCqiPucchConfMaskDropCount,gCqiPuschConfMaskDropCount);
+ DU_LOG("\nINFO --> SCH : CQI:: PucchCqiSnrDropCnt/PucchCqiConfBitMaskDropCnt/PuschCqiConfMaskDropCount\
+ :: (%ld/%ld/%ld) \n",gCqiPucchLowSnrDropCount,gCqiPucchConfMaskDropCount,gCqiPuschConfMaskDropCount);
- printf("\n (F1BCS Count/Cqi/Ri/CqiDrop/PucchDrop/PuschCqiDrop)::(%ld/%ld/%ld/%ld/%ld/%ld)\n",
+ DU_LOG("\nINFO --> SCH : (F1BCS Count/Cqi/Ri/CqiDrop/PucchDrop/PuschCqiDrop)::(%ld/%ld/%ld/%ld/%ld/%ld)\n",
gF1bCsCount,gCqiReqCount,gRiReqCount,gCqiDropCount,gPucchDropCount,gPuschCqiDropCount);
- printf("UL::(DCI0/CrcPass/CrcFail)::(%ld/%ld/%ld)\n"
+ DU_LOG("\nINFO --> SCH : UL::(DCI0/CrcPass/CrcFail)::(%ld/%ld/%ld)\n"
"gPcellZeroBoOcc:%ld\t gScellZeroBoOcc:%ld dbgUeIdChngAndDatReqInClCnt: %ld\n"
"DelayedDatReqInMac: %ld DelayedDatReqInCl : %ld gIccPktRcvrMemDropCnt :%ld\n",
gDci0Count,
dbgUeIdChngAndDatReqInClCnt,
dbgDelayedDatReqInMac,
gDropDatReqCnt, gIccPktRcvrMemDropCnt);
- //printf ("\n delayedApiCnt:%ld",delayedApiCnt);
+ //DU_LOG("\nINFO --> SCH : delayedApiCnt:%ld",delayedApiCnt);
#endif
/*LAA STATS*/
if ((ret = rgSCHUtlAllocEventMem(inst, (Ptr *)&recpReqInfo,
sizeof(TfuRecpReqInfo))) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Allocate TfuRecpReqInfo "
+ DU_LOG("\nERROR --> SCH : Unable to Allocate TfuRecpReqInfo "
"for cell");
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
err);
if (ret != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Unable to fill Data recption "
+ DU_LOG("\nERROR --> SCH : Unable to fill Data recption "
"requests for cell");
RGSCH_FREE_MEM(recpReqInfo);
return ret;
ret = rgSCHTomUtlFillHqFdbkRecpReq (recpReqInfo, cell, validIdx,err);
if (ret != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Unable to fill Harq Feedback "
+ DU_LOG("\nERROR --> SCH : Unable to fill Harq Feedback "
"reception requests for cell");
RGSCH_FREE_MEM(recpReqInfo);
return ret;
/* sending the RecpReq to Phy */
//if (rgSCHUtlTfuRecpReq(inst, cell->tfuSap->sapCfg.suId, recpReqInfo) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Unable to send Cntrl info for cell");
+ DU_LOG("\nERROR --> SCH : Unable to send Cntrl info for cell");
}
return ROK;
} /* end of rgSCHTomUtlProcUlSf */
if ((ret = rgSCHUtlAllocEventMem(inst, (Ptr *)&recpReqInfo,
sizeof(TfuRecpReqInfo))) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomUtlPrcUlTddSpclSf() Unable to "
+ DU_LOG("\nERROR --> SCH : rgSCHTomUtlPrcUlTddSpclSf() Unable to "
"Allocate TfuRecpReqInfo for cell");
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
ret = rgSCHTomUtlFillSrsRecpReq (recpReqInfo, cell, validIdx, err);
if (ret != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomUtlPrcUlTddSpclSf() Unable to fill"
+ DU_LOG("\nERROR --> SCH : rgSCHTomUtlPrcUlTddSpclSf() Unable to fill"
" SRS recption requests for cell");
RGSCH_FREE_MEM(recpReqInfo);
return ret;
/* sending the RecpReq to Phy */
//if (rgSCHUtlTfuRecpReq(inst, cell->tfuSap->sapCfg.suId, recpReqInfo) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"rgSCHTomUtlPrcUlTddSpclSf() Unable to send "
+ DU_LOG("\nERROR --> SCH : rgSCHTomUtlPrcUlTddSpclSf() Unable to send "
"Cntrl info for cell");
}
return ROK;
RgSchErrInfo *err
)
{
- Inst inst = cell->instIdx;
S16 ret;
uint8_t sfTyp = 1; /* Dl Subframe */
cntrlInfo->ulTiming = cell->hiDci0Time;
if((0 == (cntrlInfo->dlTiming.sfn % 30)) && (0 == cntrlInfo->dlTiming.slot))
{
- //printf("5GTF_CHECK rgSCHTomUtlProcDlSf Cntrl dl (%d : %d) ul (%d : %d)\n", cntrlInfo->dlTiming.sfn, cntrlInfo->dlTiming.subframe, cntrlInfo->ulTiming.sfn, cntrlInfo->ulTiming.subframe);
+ //DU_LOG("\nERROR --> SCH : 5GTF_CHECK rgSCHTomUtlProcDlSf Cntrl dl (%d : %d) ul (%d : %d)\n", \
+ cntrlInfo->dlTiming.sfn, cntrlInfo->dlTiming.subframe, cntrlInfo->ulTiming.sfn, cntrlInfo->ulTiming.subframe);
}
/* Fill PCFICH info */
/* Fix for DCFI FLE issue: when DL delta is 1 and UL delta is 0 and CFI
/* Fill PHICH info */
if ((ret = rgSCHTomUtlFillPhich (cell, cntrlInfo, ulSf, err)) != ROK)
{
- RGSCHDBGERRNEW(inst,(rgSchPBuf(inst),"Unable to send PHICH info "
- "for cellId (%d)\n", cell->cellId));
+ DU_LOG("\nERROR --> SCH : Unable to send PHICH info "
+ "for cellId (%d)\n", cell->cellId);
RGSCH_FREE_MEM(cntrlInfo);
return ret;
}
if ((ret = rgSCHTomUtlFillUlPdcch (cell, cntrlInfo, ulSf, err)) !=
ROK)
{
- RGSCHDBGERRNEW(inst,(rgSchPBuf(inst),"Unable to send PDCCH info "
- "for cellId (%d)\n", cell->cellId));
+ DU_LOG("\nERROR --> SCH : Unable to send PDCCH info "
+ "for cellId (%d)\n", cell->cellId);
RGSCH_FREE_MEM(cntrlInfo);
return ret;
}
/* Fill PDCCH info */
if ((ret = rgSCHTomUtlFillDlPdcch(cell,cntrlInfo, dlSf, err)) != ROK)
{
- RGSCHDBGERRNEW(inst,(rgSchPBuf(inst),"Unable to send PDCCH info "
- "for cellId (%d)\n", cell->cellId));
+ DU_LOG("\nERROR --> SCH : Unable to send PDCCH info "
+ "for cellId (%d)\n", cell->cellId);
RGSCH_FREE_MEM(cntrlInfo);
return ret;
}
//if (rgSCHUtlTfuCntrlReq(inst, cell->tfuSap->sapCfg.suId, cntrlInfo)
//!= ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Unable to send Cntrl info "
- "for cell");
+ DU_LOG("\nERROR --> SCH : Unable to send Cntrl info for cell");
}
return ROK;
sizeof(TfuUeRecpReqInfo), &(recpReqInfo->memCp));
if (ret != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Allocate "
- "TfuUeRecpReqInfo for cell");
+ DU_LOG("\nERROR --> SCH : Unable to Allocate TfuUeRecpReqInfo for cell");
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
}
RgSchErrInfo *err
)
{
-#ifdef DEBUGP
- Inst inst = cell->instIdx;
-#endif
S16 ret;
RgSchUeCb *ue;
TfuUePucchRecpReq *pucchReqInfo = NULLP;
sizeof(TfuUeRecpReqInfo), &(recpReqInfo->memCp));
if (ret != ROK)
{
- RGSCHDBGERRNEW(inst,(rgSchPBuf(inst),"Unable to Allocate "
- "TfuUeRecpReqInfo for cellId=%d \n", cell->cellId));
+ DU_LOG("\nERROR --> SCH : Unable to Allocate "
+ "TfuUeRecpReqInfo for cellId=%d \n", cell->cellId);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
}
sizeof(TfuUeRecpReqInfo), &(recpReqInfo->memCp));
if (ret != ROK)
{
- RGSCHDBGERRNEW(inst,(rgSchPBuf(inst),"Unable to Allocate "
- "TfuUeRecpReqInfo for cellId=%d \n", cell->cellId));
+ DU_LOG("\nERROR --> SCH : Unable to Allocate TfuUeRecpReqInfo for cellId=%d \n", cell->cellId);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
}
sizeof(TfuUeRecpReqInfo), &(recpReqInfo->memCp));
if (ret != ROK)
{
- RGSCHDBGERRNEW(inst,(rgSchPBuf(inst),"Unable to Allocate "
- "TfuUeRecpReqInfo for cellId=%d \n", cell->cellId));
+ DU_LOG("\nERROR --> SCH : Unable to Allocate "
+ "TfuUeRecpReqInfo for cellId=%d \n", cell->cellId);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
}
if ((ret = rgSCHUtlGetEventMem((Ptr *)&pucchRecpInfo,
sizeof(TfuUeRecpReqInfo),&(recpReqInfo->memCp))) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Allocate "
- "TfuUeRecpReqInfo for cell RNTI:%d",ue->ueId);
+ DU_LOG("\nERROR --> SCH : Unable to Allocate TfuUeRecpReqInfo for cell RNTI:%d",ue->ueId);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
}
if ((ret = rgSCHUtlGetEventMem((Ptr *)&pucchRecpInfo,
sizeof(TfuUeRecpReqInfo),&(recpReqInfo->memCp))) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Allocate "
+ DU_LOG("\nERROR --> SCH : Unable to Allocate "
"TfuUeRecpReqInfo for cell RNTI:%d",ue->ueId);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
if ((ret = rgSCHUtlGetEventMem((Ptr *)&pucchRecpInfo,
sizeof(TfuUeRecpReqInfo),&(recpReqInfo->memCp))) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Allocate "
- "TfuUeRecpReqInfo for cell RNTI:%d ", ue->ueId);
+ DU_LOG("\nERROR --> SCH : Unable to Allocate TfuUeRecpReqInfo for cell RNTI:%d ", ue->ueId);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
}
cqiPmiSz = rgSCHTomUtlFetchPcqiBitSz(ue, cell->numTxAntPorts, &ri);
if(!cqiPmiSz)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d Unable to Fill CqiPmi "
- "size", ue->ueId);
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to Fill CqiPmi size", ue->ueId);
continue;
}
if ((ret = rgSCHUtlGetEventMem((Ptr *)&pucchRecpInfo,
sizeof(TfuUeRecpReqInfo),&(recpReqInfo->memCp))) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Allocate "
- "TfuUeRecpReqInfo for cell RNTI:%d ", ue->ueId);
+ DU_LOG("\nERROR --> SCH : Unable to Allocate TfuUeRecpReqInfo for cell RNTI:%d ", ue->ueId);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
}
if ((ret = rgSCHUtlGetEventMem((Ptr *)&pucchRecpInfo,
sizeof(TfuUeRecpReqInfo),&(recpReqInfo->memCp))) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Allocate "
- "TfuUeRecpReqInfo for RNTI:%d ",ue->ueId);
+ DU_LOG("\nERROR --> SCH : Unable to Allocate TfuUeRecpReqInfo for RNTI:%d ",ue->ueId);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
}
sizeof(TfuUeRecpReqInfo),
&(recpReqInfo->memCp))) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Allocate "
- "TfuUeRecpReqInfo for RNTI:%d ", alloc->ue->ueId);
+ DU_LOG("\nERROR --> SCH : Unable to Allocate TfuUeRecpReqInfo for RNTI:%d ", alloc->ue->ueId);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
}
if((0 == (recpReqInfo->timingInfo.sfn % 30)) && (0 == recpReqInfo->timingInfo.slot))
{
- //printf("5GTF_CHECK rgSCHTomUtlFillDatRecpReq (%d : %d)\n", recpReqInfo->timingInfo.sfn, recpReqInfo->timingInfo.slot);
+ //DU_LOG("\nERROR --> SCH : 5GTF_CHECK rgSCHTomUtlFillDatRecpReq (%d : %d)\n",\
+ recpReqInfo->timingInfo.sfn, recpReqInfo->timingInfo.slot);
}
/* processing steps are
* - Run through the UL allocations going out in this subframe.
sizeof(TfuUeRecpReqInfo), &(recpReqInfo->memCp));
if(ret != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Allocate "
+ DU_LOG("\nERROR --> SCH : Unable to Allocate "
"TfuUeRecpReqInfo for RNTI:%d ", alloc->rnti);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
cqiPmiSz = rgSCHTomUtlFetchPcqiBitSz(alloc->ue, cell->numTxAntPorts, &ri);
if(0 == cqiPmiSz)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"Unable to Fill "
+ DU_LOG("\nERROR --> SCH : Unable to Fill "
"CqiPmi size RNTI:%d",alloc->rnti);
return RFAILED;
}
rgSCHTomUtlFetchPcqiBitSz(ue, cell->numTxAntPorts, &ri);
if(0 == pucchRecpInfo->t.pucchRecpReq.cqiInfo.cqiPmiSz)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d "
- "Unable to Fill CqiPmi size", ue->ueId);
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to Fill CqiPmi size", ue->ueId);
return RFAILED;
}
if(pucchRecpInfo->t.pucchRecpReq.uciInfo == TFU_PUCCH_HARQ_SR)
rgSCHTomUtlFetchPcqiBitSz(ue, cell->numTxAntPorts, &ri);
if(0 == pucchRecpInfo->t.pucchRecpReq.cqiInfo.cqiPmiSz)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"RNTI:%d"
- " Unable to Fill CqiPmi size", ue->ueId);
+ DU_LOG("\nERROR --> SCH : RNTI:%d Unable to Fill CqiPmi size", ue->ueId);
return RFAILED;
- }
+ }
pucchRecpInfo->t.pucchRecpReq.uciInfo = TFU_PUCCH_SR_CQI;
}
sizeof(TfuUeRecpReqInfo), &(recpReqInfo->memCp));
if (ret != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,"Unable to"
+ DU_LOG("\nERROR --> SCH : Unable to"
"Allocate TfuUeRecpReqInfo for RNTI:%d ", ueCb->ueId);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
if ((ret = rgSCHUtlGetEventMem((Ptr *)&pucchInfo,
sizeof(RgSchUePucchRecpInfo), memCp)) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,"Unable to "
+ DU_LOG("\nERROR --> SCH : Unable to "
"Allocate TfuUeRecpReqInfo for cell RNTI:%d",rnti);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
if ((ret = rgSCHUtlGetEventMem((Ptr *)&(pucchInfo->pucchRecpInfo),
sizeof(TfuUeRecpReqInfo), &(recpReqInfo->memCp))) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,"Unable to "
+ DU_LOG("\nERROR --> SCH : Unable to "
"Allocate TfuUeRecpReqInfo for cell RNTI:%d",rnti);
err->errCause = RGSCHERR_TOM_MEM_EXHAUST;
return ret;
if(anInfo == NULL)
{/* ANInfo must be there. adding block
because of kworks*/
- RGSCHDBGERRNEW(cellCb->instIdx,(rgSchPBuf(cellCb->instIdx),
- "ANInfo should not be NULL for cellId=%d \n", cellCb->cellId));
+ DU_LOG("\nERROR --> SCH : ANInfo should not be NULL for cellId=%d \n", cellCb->cellId);
return RFAILED;
}
#endif
}else
{/* This needs to be revisited while
adding support for PUCCH format 3 */
- RGSCHDBGERRNEW(cellCb->instIdx,(rgSchPBuf(cellCb->instIdx),"Invalid Pucch format configured.."));
+ DU_LOG("\nERROR --> SCH : Invalid Pucch format configured..");
return RFAILED;
}
}
/* Fill PHICH info */
if ((ret = rgSCHTomUtlFillPhich (cell, cntrlInfo, ulSf, err)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Unable to send PHICH info for "
- "cell");
+ DU_LOG("\nERROR --> SCH : Unable to send PHICH info for cell");
RGSCH_FREE_MEM(cntrlInfo);
return ret;
}
/* Fill UL Pdcch */
if ((ret = rgSCHTomUtlFillUlPdcch (cell, cntrlInfo, ulSf, err)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Unable to send PDCCH info for "
- "cell");
+ DU_LOG("\nERROR --> SCH : Unable to send PDCCH info for cell");
RGSCH_FREE_MEM(cntrlInfo);
return ret;
}
if (cntrlInfo->ulPdcchLst.count || cntrlInfo->phichLst.count)
#endif
{
- //if (rgSCHUtlTfuCntrlReq(inst, cell->tfuSap->sapCfg.suId, cntrlInfo)
- != ROK)
+ //if (rgSCHUtlTfuCntrlReq(inst, cell->tfuSap->sapCfg.suId, cntrlInfo) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,cell->cellId,"Unable to send Cntrl info for"
- " cell");
+ DU_LOG("\nERROR --> SCH : Unable to send Cntrl info for cell");
}
}
else
if (rgSCHUtlAllocSBuf (cell->instIdx,
(Data**)&rgrTtiInd, sizeof(RgrTtiIndInfo)) != ROK)
{
- RGSCHDBGERRNEW(cell->instIdx,(rgSchPBuf(cell->instIdx),
- "Mem alloc failed for RGR TTI ind, cellId (%d))\n",
- cell->cellId));
+ DU_LOG("\nERROR --> SCH : Mem alloc failed for RGR TTI ind, cellId (%d))\n",
+ cell->cellId);
return;
}
rgrTtiInd->cellId = cell->cellId;
if (rgSCHUtlRgrTtiInd (cell, rgrTtiInd) != ROK)
{
- RGSCHDBGERRNEW(cell->instIdx,(rgSchPBuf(cell->instIdx),
- "Failed to send RGR TTI ind, cellId (%d))\n",
- cell->cellId));
+ DU_LOG("\nERROR --> SCH : Failed to send RGR TTI ind, cellId (%d))\n",
+ cell->cellId);
rgSCHUtlFreeSBuf(cell->instIdx, (Data**)&rgrTtiInd,
sizeof(RgrTtiIndInfo));
return;
rgSchDynTddInfo->crntDTddSfIdx = (rgSchDynTddInfo->crntDTddSfIdx + 1) %
RG_SCH_DYNTDD_MAX_SFINFO;
- //printf("Initializing Index %d \n", rgSchDynTddInfo->crntDTddSfIdx);
+ //DU_LOG("\nERROR --> SCH : Initializing Index %d \n", rgSchDynTddInfo->crntDTddSfIdx);
return;
}
if (cell == NULLP)
{
/* Use SCH inst 0 print buff */
- RGSCHDBGERRNEW(schInst,(rgSchPBuf(schInst),
- "RgLiTfuTtiInd()No cell exists for cellId %d\n",
+ DU_LOG("\nERROR --> SCH : RgLiTfuTtiInd()No cell exists for cellId %d\n",
cellInfo->cellId));
continue;
}
/* 4UE_TTI_DELTA */
if(cell->schTickDelta != cellInfo->schTickDelta)
{
- printf("\nMukesh: Delta changed for cellId=%d: curr delta=%d new delta=%d\n"
+ DU_LOG("\nERROR --> SCH : Delta changed for cellId=%d: curr delta=%d new delta=%d\n"
"dlblankSf=%d ulblankSf=%d dummyTti=%d \n",
cell->cellId, cell->schTickDelta, cellInfo->schTickDelta, cellInfo->dlBlankSf,cellInfo->ulBlankSf,
cellInfo->isDummyTti);
}
if((0 == (cellInfo->timingInfo.sfn % 30)) && (0 == cellInfo->timingInfo.slot))
{
- //printf("5GTF_CHECK rgSCHTOMTtiInd (%d : %d)\n", cellInfo->timingInfo.sfn, cellInfo->timingInfo.slot);
+ //DU_LOG("5GTF_CHECK rgSCHTOMTtiInd (%d : %d)\n", cellInfo->timingInfo.sfn, cellInfo->timingInfo.slot);
}
#ifndef EMTC_ENABLE
RGSCHCPYTIMEINFO(cellInfo->timingInfo, cell->crntTime);
if(rgSCHUtlAllocSBuf (cell->instIdx,(Data**)&rgrLoadInf,
sizeof(RgrLoadInfIndInfo)) != ROK)
{
- RGSCHDBGERRNEW(cell->instIdx,(rgSchPBuf(cell->instIdx),"Could not "
- "allocate memory for sending LoadInfo\n"));
+ DU_LOG("\nERROR --> SCH : Could not "\
+ "allocate memory for sending LoadInfo\n");
return;
}
cell->lteAdvCb.absLoadTtiCnt = 0;
if (rgSCHTomUtlProcUlSf (cell, &err) != ROK)
{
/* fill in err type and call sta ind */
- RGSCHDBGERRNEW(cell->instIdx, (rgSchPBuf(cell->instIdx),
- "Unable to process Uplink subframe for cellId (%d))\n",
- cell->cellId));
+ DU_LOG("\nERROR --> SCH : Unable to process Uplink subframe for cellId (%d))\n", cell->cellId);
}
}
/* TDD Fix , to allow Special SF SRS CFg */
if (rgSCHTomUtlPrcUlTddSpclSf(cell, &err) != ROK)
{
/* fill in err type and call sta ind */
- RGSCHDBGERRNEW(cell->instIdx, (rgSchPBuf(cell->instIdx),
- "Unable to process Sipceial subframe for cellId (%d))\n",
- cell->cellId));
+ DU_LOG("\nERROR --> SCH : Unable to process Sipceial subframe for cellId (%d))\n", cell->cellId);
}
}