RgMngmt cfm;
Inst inst = (pst->dstInst - SCH_INST_START); /* Scheduler instance Id */
- TRC3(RgMiLrgSchCntrlReq)
-
/* Fill the post structure for sending the confirmation */
SchFillCfmPst(pst, &cfmPst, cntrl);
SPutSBuf(pst->region, pst->pool, (Data *)cntrl, sizeof(RgMngmt));
return ROK;
} */
- cmMemset((U8 *)&cfm, 0, sizeof(RgMngmt));
+ memset(&cfm, 0, sizeof(RgMngmt));
#ifdef LMINT3
cfm.hdr.transId =
#if (ERRCLASS & ERRCLS_ADD_RES)
CmLList *lnk;
#endif
- U32 idx;
+ uint32_t idx;
RgSchL2MeasCb *measCb = NULLP;
#ifdef DEBUGP
Inst inst = (pst->dstInst - SCH_INST_START); /* Scheduler instance Id */
err.errType = 0;
err.errCause = 0;
- TRC3(RgMiLrgSchL2MeasReq)
-
/* Find the cellCb using cellId in measInfo. Iterate through all cells
* in rgrsapCb in RgschCb */
CmLList *node = NULLP;
RgSchL2MeasCb *measCb = NULLP;
LrgSchMeasCfmInfo measCfm;
- U8 idx;
-
-
- TRC3(RgMiLrgSchL2MeasStopReq)
-
+ uint8_t idx;
for (idx = 0; idx < instCb->numSaps; idx++)
{
"Stop req Failed.Invalid Cell Id ");
return RFAILED;
}
- cmMemset((U8 *)&measCfm, 0, sizeof(LrgSchMeasCfmInfo));
+ memset(&measCfm, 0, sizeof(LrgSchMeasCfmInfo));
node = cell->l2mList.first;
while(node != NULLP)
{
{
RgInfL2MeasStopReq measStopReq;
Pst pstMac;
- cmMemset((U8 *)&measStopReq, 0, sizeof(RgInfL2MeasStopReq));
+ memset(&measStopReq, 0, sizeof(RgInfL2MeasStopReq));
measStopReq.transId = measInfo->hdr.transId;
measStopReq.measType = measInfo->measType;
/* measReq.timePrd = measInfo->timePrd; */
S16 ret = ROK;
RgSchCellCb *cell;
RgSchCb *instCb = &rgSchCb[(pst->dstInst - SCH_INST_START)];
- U8 idx;
-
- TRC3(RgMiLrgSchL2MeasSendReq)
-
-
+ uint8_t idx;
cell = NULLP;
for (idx = 0; idx < instCb->numSaps; idx++)
{
RgInfL2MeasSndReq measSndReq;
Pst pstMac;
- cmMemset((U8 *)&measSndReq, 0, sizeof(RgInfL2MeasSndReq));
+ memset(&measSndReq, 0, sizeof(RgInfL2MeasSndReq));
measSndReq.transId = measInfo->hdr.transId;
measSndReq.measType = measInfo->measType;
measSndReq.timePrd = measInfo->timePrd;
Inst instId = pst->dstInst-SCH_INST_START;
RgUstaDgn dgn; /* Alarm diagnostics structure */
- TRC3(RgUiRgrBndReq)
-
-
tmpPst.prior = pst->prior;
tmpPst.route = pst->route;
tmpPst.selector = pst->selector;
#endif
{
Inst instId = pst->dstInst-SCH_INST_START;
- TRC3(RgUiRgrUbndReq)
-
/* SAP Id validation */
if (spId < rgSchCb[instId].numSaps)
#endif
{
S16 ret = ROK;
- U8 cfmStatus = RGR_CFG_CFM_NOK;
- U8 prntTrans[RGR_CFG_TRANSID_SIZE+1];
+ uint8_t cfmStatus = RGR_CFG_CFM_NOK;
+ uint8_t prntTrans[RGR_CFG_TRANSID_SIZE+1];
Inst instId = pst->dstInst-SCH_INST_START;
- TRC2(RgUiRgrSiCfgReq);
-
- cmMemcpy((U8 *)prntTrans, (U8 *)transId.trans, RGR_CFG_TRANSID_SIZE);
+ memcpy(prntTrans, transId.trans, RGR_CFG_TRANSID_SIZE);
prntTrans[RGR_CFG_TRANSID_SIZE] = '\0';
{
Inst instId = pst->dstInst-SCH_INST_START;
S16 ret = ROK;
- U8 cfmStatus = RGR_CFG_CFM_NOK;
- U8 prntTrans[RGR_CFG_TRANSID_SIZE+1];
-
- TRC2(RgUiRgrWarningSiCfgReq);
+ uint8_t cfmStatus = RGR_CFG_CFM_NOK;
+ uint8_t prntTrans[RGR_CFG_TRANSID_SIZE+1];
- cmMemcpy((U8 *)prntTrans, (U8 *)transId.trans, RGR_CFG_TRANSID_SIZE);
+ memcpy(prntTrans, transId.trans, RGR_CFG_TRANSID_SIZE);
prntTrans[RGR_CFG_TRANSID_SIZE] = '\0';
Pst *pst,
SpId spId,
RgrCfgTransId transId,
-U8 siId
+uint8_t siId
)
#else
S16 RgUiRgrWarningSiStopReq(pst,spId, transId, siId)
Pst *pst;
SpId spId;
RgrCfgTransId transId;
-U8 siId;
+uint8_t siId;
#endif
{
Inst instId = pst->dstInst-SCH_INST_START;
- TRC3(RgUiRgrWarningSiStopReq)
-
-
-
if (spId < rgSchCb[instId].numSaps)
{
if(LRG_BND != rgSchCb[instId].rgrSap[spId].sapSta.sapState)
#endif
{
S16 ret = ROK;
- U8 prntTrans[RGR_CFG_TRANSID_SIZE+1];
+ uint8_t prntTrans[RGR_CFG_TRANSID_SIZE+1];
Inst instId = pst->dstInst-SCH_INST_START;
- TRC2(RgUiRgrLoadInfReq);
-
- cmMemcpy((U8 *)prntTrans, (U8 *)transId.trans, RGR_CFG_TRANSID_SIZE);
+ memcpy(prntTrans, transId.trans, RGR_CFG_TRANSID_SIZE);
prntTrans[RGR_CFG_TRANSID_SIZE] = '\0';
Inst inst = (pst->dstInst - SCH_INST_START);
S16 cellSapId = boRpt->cellSapId;
- TRC3(RgMacSchDedBoUpdtReq)
/*
RLOG_ARG2(L_DEBUG,DBG_CELLID,boRpt->cellId,"rgMacSchDedBoUpdtReq():"
" boRpt->rnti = %u boRpt->lcId = %u",boRpt->rnti, boRpt->lcId);
Inst inst = (pst->dstInst - SCH_INST_START);
S16 cellSapId = boRpt->cellSapId;
- TRC3(RgMacSchCmnBoUpdtReq)
/* No need to chk for cell being NULL as MAC would not have found instance if
* it doesnt exist */
CmLList *tmp;
RgSchRntiLnk *rntiLnk=NULL;
- TRC3(RgMacSchUeDelInd)
-
if (rgSchCb[inst].rgrSap == NULLP || rgSchCb[inst].rgrSap[cellSapId].cell == NULLP)
{
RLOG_ARG0(L_ERROR,DBG_CELLID,ueDelInd->cellId,"rgrSap or cell is not configured");
RgSchCmnUlUeSpsInfo *ulSpsUe ;
#endif
/* RRM_RBC_X */
- U32 idx;
+ uint32_t idx;
/* RRM_RBC_Y */
#ifdef LTE_L2_MEAS
- U8 qci;
- U16 datIndActQci = 0;
- U16 combDatIndActQci = 0; /* Prev and Latest Dat Ind combined */
- U16 tempUeActQci = 0; /* UE specific Active QCIs */
- U16 diffBits = 0;
- U8 lcCount;
+ uint8_t qci;
+ uint16_t datIndActQci = 0;
+ uint16_t combDatIndActQci = 0; /* Prev and Latest Dat Ind combined */
+ uint16_t tempUeActQci = 0; /* UE specific Active QCIs */
+ uint16_t diffBits = 0;
+ uint8_t lcCount;
#endif
- TRC3(RgMacSchSfRecpInd)
/* No need to chk for cell being NULL as MAC wouldn't have found instance if
* it doesnt exist */
RgSchCellCb *cell;
Inst inst = (pst->dstInst - SCH_INST_START);
- TRC2(RgMacSchSpsRelInd);
/* No need to chk for cell being NULL as MAC wouldn't have found instance if
* it doesnt exist */
CmLList *lnk;
RgSchL2MeasCb *measCb = NULLP;
RgSchCb *instCb = &rgSchCb[inst];
- U32 idx;
+ uint32_t idx;
LrgSchMeasCfmInfo schMeasCfm;
- U8 qciVal;
- U8 idx1; /*LTE_L2_MEAS_PHASE2*/
- U8 qciVal1;
- TRC2(RgMacSchL2MeasCfm);
+ uint8_t qciVal;
+ uint8_t idx1; /*LTE_L2_MEAS_PHASE2*/
+ uint8_t qciVal1;
/* Find the cellCb using cellId in measInfo. Iterate through all cells
* in rgrsapCb in RgschCb */
/* ccpu00117052 - MOD - Passing double pointer
for proper NULLP assignment*/
rgSCHUtlFreeSBuf(cell->instIdx, (Data **)&measCb, sizeof(RgSchL2MeasCb));
- cmMemset((U8 *)&schMeasCfm, 0, sizeof(LrgSchMeasCfmInfo));
+ memset(&schMeasCfm, 0, sizeof(LrgSchMeasCfmInfo));
schMeasCfm.measType = measCfm->measType;
schMeasCfm.cfm = measCfm->cfm;
schMeasCfm.hdr.transId = measCfm->transId;
Inst inst = (pst->dstInst - SCH_INST_START);
RgSchCb *instCb = &rgSchCb[inst];
- TRC2(RgMacSchL2MeasStopCfm);
-
- cmMemset((U8 *)&schMeasCfm, 0, sizeof(LrgSchMeasCfmInfo));
+ memset(&schMeasCfm, 0, sizeof(LrgSchMeasCfmInfo));
schMeasCfm.measType = measCfm->measType;
schMeasCfm.cfm = measCfm->cfm;
schMeasCfm.hdr.transId = measCfm->transId;
*
* @param[in] Pst *pst
* @param[in] SuId suId
- * @param[in] U8 status
+ * @param[in] uint8_t status
* @return S16
* -# ROK
* -# RFAILED
(
Pst *pst,
SuId suId,
-U8 status
+uint8_t status
)
#else
S16 RgLiTfuSchBndCfm(pst, suId, status)
Pst *pst;
SuId suId;
-U8 status;
+uint8_t status;
#endif
{
S16 ret;
RgSchLowSapCb *tfuSap;
Inst instId = pst->dstInst - SCH_INST_START;
- TRC3(RgLiTfuSchBndCfm);
-
-
if(suId >= rgSchCb[instId].numSaps)
{
RLOG_ARG0(L_ERROR,DBG_INSTID,instId, "Incorrect SuId");
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
- TRC3(RgLiTfuRaReqInd);
-
if ((ret = rgSCHUtlValidateTfuSap (inst, suId)) != ROK)
{
RLOG_ARG1(L_ERROR,DBG_INSTID,inst,"SAP Validation failed SuId(%d)", suId);
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
- TRC3(RgLiTfuUlCqiInd);
-
if ((ret = rgSCHUtlValidateTfuSap (inst, suId)) != ROK)
{
RLOG_ARG0(L_ERROR,DBG_INSTID,inst,"SAP Validation failed");
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
- TRC3(RgLiTfuPucchDeltaPwrInd);
-
if ((ret = rgSCHUtlValidateTfuSap (inst, suId)) != ROK)
{
RLOG_ARG0(L_ERROR,DBG_INSTID,inst,"SAP Validation failed");
S16 ret;
Inst inst = (pst->dstInst - SCH_INST_START);
- TRC3(RgLiTfuHqInd);
#ifndef NO_ERRCLS
if ((ret = rgSCHUtlValidateTfuSap (inst, suId)) != ROK)
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
- TRC3(RgLiTfuSrInd);
-
#ifndef NO_ERRCLS
if ((ret = rgSCHUtlValidateTfuSap (inst, suId)) != ROK)
{
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
- TRC3(RgLiTfuDlCqiInd);
-
if ((ret = rgSCHUtlValidateTfuSap (inst, suId)) != ROK)
{
RLOG_ARG0(L_ERROR,DBG_INSTID,inst," SAP Validation failed");
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
- TRC3(RgLiTfuRawCqiInd);
-
#ifdef NO_ERRCLS
if ((ret = rgSCHUtlValidateTfuSap (inst, suId)) != ROK)
{
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
- TRC3(RgLiTfuSrsInd);
-
if ((ret = rgSCHUtlValidateTfuSap (inst, suId)) != ROK)
{
RLOG_ARG0(L_ERROR,DBG_INSTID,inst," SAP Validation failed");
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
- TRC2(RgLiTfuDoaInd);
-
if ((ret = rgSCHUtlValidateTfuSap (inst, suId)) != ROK)
{
RLOG_ARG0(L_ERROR,DBG_INSTID,inst,"SAP Validation failed");
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
- TRC3(RgLiTfuCrcInd);
#ifdef XEON_SPECIFIC_CHANGES
struct timeval start6, end6;
gettimeofday(&start6, NULL);
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
- TRC3(RgLiTfuTimingAdvInd);
-
if ((ret = rgSCHUtlValidateTfuSap (inst, suId)) != ROK)
{
RLOG_ARG0(L_ERROR,DBG_INSTID,inst,"SAP Validation failed");
Pst tmpPst; /* Temporary Post Structure */
Inst instId = pst->dstInst-SCH_INST_START;
- TRC3(RgUiRgmBndReq)
-
-
tmpPst.prior = pst->prior;
tmpPst.route = pst->route;
tmpPst.selector = pst->selector;
#endif
{
Inst instId = pst->dstInst-SCH_INST_START;
- TRC3(RgUiRgmUbndReq)
-
/* SAP Id validation */
if (spId < rgSchCb[instId].numSaps)
RgSchPrbUsage *prbUsage;
Inst inst = (pst->dstInst - SCH_INST_START);
- TRC2(RgUiRgmCfgPrbRprt);
cell = rgSchCb[inst].rgmSap[spId].cell;
prbUsage = &cell->prbUsage;
prbUsage->prbRprtEnabld = prbRprtCfg->bConfigType;
RG_SCH_ADD_TO_CRNT_TIME(cell->crntTime, prbUsage->startTime, 1);
/* clear the qciPrbRpts for all GBR QCIs */
- cmMemset((U8*)&prbUsage->qciPrbRpts[0], 0,
+ memset(&prbUsage->qciPrbRpts[0], 0,
(RGM_MAX_QCI_REPORTS * sizeof(RgSchQciPrbUsage)));
RLOG_ARG2(L_DEBUG,DBG_CELLID,cell->cellId,
(
Pst *pst,
SuId suId,
-TfuErrIndInfo *errInd
+TfuErrIndInfo *errInd
)
#else
S16 RgLiTfuErrInd(pst, suId, errInd)
Pst *pst;
SuId suId;
-TfuErrIndInfo *errInd;
+TfuErrIndInfo *errInd;
#endif
{
S16 ret = ROK;
Inst inst = (pst->dstInst - SCH_INST_START);
#endif
- TRC3(RgLiTfuErrInd);
-
#ifndef NO_ERRCLS
if ((ret = rgSCHUtlValidateTfuSap (inst, suId)) != ROK)
{