/* forward references */
#ifdef EMTC_ENABLE
- U32 gUlRetxPassCntr = 0;
- /*EXTERN U32 gUlRetxFailCntr;
- EXTERN U32 gUlCrcPassCounter;
- EXTERN U32 gUlCrcFailCounter;*/
+ uint32_t gUlRetxPassCntr = 0;
+ /*uint32_t gUlRetxFailCntr;
+ uint32_t gUlCrcPassCounter;
+ uint32_t gUlCrcFailCounter;*/
#endif
-U8 rgRvIdxTable[] = {0, 3, 1, 2}; /* This gives rvIdx for a given rv */
-U8 rgRvTable[] = {0, 2, 3 ,1}; /* This gives rv for a given rvIdx */
+uint8_t rgRvIdxTable[] = {0, 3, 1, 2}; /* This gives rvIdx for a given rv */
+uint8_t rgRvTable[] = {0, 2, 3 ,1}; /* This gives rv for a given rvIdx */
#ifdef EMTC_ENABLE
Void rgSCHCmnEmtcHdlHarqProcFail
RgSchCellCb *cell,
RgSchUeCb *ue,
CmLteTimingInfo frm,
-U8 cqi
+uint8_t cqi
)
#else
Void rgSCHUhmProcDatInd(cell, ue, frm, cqi)
RgSchCellCb *cell;
RgSchUeCb *ue;
CmLteTimingInfo frm;
-U8 cqi;
+uint8_t cqi;
#endif
#endif /* MAC_SCH_STATS */
{
#ifdef UL_LA
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
S32 iTbs;
- U8 maxiTbs = rgSchCmnUlCqiToTbsTbl[cell->isCpUlExtend]
+ uint8_t maxiTbs = rgSchCmnUlCqiToTbsTbl[cell->isCpUlExtend]
[ueUl->maxUlCqi];
#endif
{
printf("UE[%d] failed to find UL HqProc for [%d:%d]\n",
ue->ueId, frm.sfn, frm.slot);
- RETVOID;
+ return;
}
hqProc->rcvdCrcInd = TRUE;
}
#endif
- RETVOID;
+ return;
} /* rgSCHUhmProcDatInd */
/**
hqProc->rcvdCrcInd = TRUE;
hqProc->remTx = 0; /*Reseting the value of rem Tx*/
printf("\nrgSCHUhmProcMsg3DatInd,id:%u\n",hqProc->procId);
- RETVOID;
+ return;
} /* rgSCHUhmProcMsg3DatInd */
/**
hqProc->rcvdCrcInd = FALSE;
}
- RETVOID;
+ return;
} /* rgSCHUhmProcMsg3Failure */
/**
RgSchCellCb *cell,
RgSchUeCb *ue,
CmLteTimingInfo frm,
-TknU8 rv
+TknUInt8 rv
)
#else
Void rgSCHUhmProcHqFailure(cell, ue, frm, rv)
RgSchCellCb *cell;
RgSchUeCb *ue;
CmLteTimingInfo frm;
-TknU8 rv;
+TknUInt8 rv;
#endif
#else /* MAC_SCH_STATS */
#ifdef ANSI
RgSchCellCb *cell,
RgSchUeCb *ue,
CmLteTimingInfo frm,
-TknU8 rv,
-U8 cqi
+TknUInt8 rv,
+uint8_t cqi
)
#else
Void rgSCHUhmProcHqFailure(cell, ue, frm, rv, cqi)
RgSchCellCb *cell;
RgSchUeCb *ue;
CmLteTimingInfo frm;
-TknU8 rv;
-U8 cqi;
+TknUInt8 rv;
+uint8_t cqi;
#endif
#endif /* MAC_SCH_STATS */
{
{
printf("UE[%d] failed to find UL HqProc for [%d:%d]\n",
ue->ueId, frm.sfn, frm.slot);
- RETVOID;
+ return;
}
#ifdef UL_LA
{
#ifdef MAC_SCH_STATS
/** Stats update over here */
{
- static U32 retxCnt = 0;
+ static uint32_t retxCnt = 0;
++retxCnt;
hqFailStats.ulCqiStat[cqi - 1].numOfNacks++;
}
{
hqProc->rvIdxPhy.val = rgRvIdxTable[rv.val];
}
- RETVOID;
+ return;
} /* rgSCHUhmProcHqFailure */
/**
(
RgSchCellCb *cell,
RgSchUeCb *ue,
-U8 idx
+uint8_t idx
)
#else
RgSchUlHqProcCb* rgSCHUhmGetUlHqProc(cell, ue, idx)
RgSchCellCb *cell;
RgSchUeCb *ue;
-U8 idx;
+uint8_t idx;
#endif
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
Void rgSCHUhmNewTx
(
RgSchUlHqProcCb *hqProc,
-U8 maxHqRetx,
+uint8_t maxHqRetx,
RgSchUlAlloc *alloc
)
#else
Void rgSCHUhmNewTx(hqProc, maxHqRetx, alloc)
RgSchUlHqProcCb *hqProc;
-U8 maxHqRetx;
+uint8_t maxHqRetx;
RgSchUlAlloc *alloc;
#endif
{
((RgUeUlHqCb*)hqProc->hqEnt)->numBusyHqProcs++;
}
#endif
- RETVOID;
+ return;
} /* rgSCHUhmNewTx */
/**
{
#ifdef LTE_L2_MEAS
RgSchUeCb *ueCb;
- U8 qci = 1;
+ uint8_t qci = 1;
#endif
#ifdef LTE_L2_MEAS
ueCb = hqProc->alloc->ue;
if (ueCb && cell)
{
- U32 nonLcg0ReportedBs = ((RgSchCmnLcg *)(ueCb->ul.lcgArr[1].sch))->reportedBs + \
+ uint32_t nonLcg0ReportedBs = ((RgSchCmnLcg *)(ueCb->ul.lcgArr[1].sch))->reportedBs + \
((RgSchCmnLcg *)(ueCb->ul.lcgArr[2].sch))->reportedBs + \
((RgSchCmnLcg *)(ueCb->ul.lcgArr[3].sch))->reportedBs;
((RgUeUlHqCb*)hqProc->hqEnt)->numBusyHqProcs--;
{
printf("\nhqEnt is NULL\n");
}
- RETVOID;
+ return;
} /* rgSCHUhmFreeProc */
/**
--hqProc->remTx;
hqProc->rvIdx = (hqProc->rvIdx + 1) % 4;
hqProc->rvIdxPhy.pres = FALSE;
- RETVOID;
+ return;
} /* rgSCHUhmRetx */
RgrUeCfg *ueCfg;
#endif
{
- U8 i;
+ uint8_t i;
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ueCb, cellCb);
ueUl->hqEnt.maxHqRetx = ((ueCfg->ueUlHqCfg.maxUlHqTx) - 1);
#ifdef EMTC_ENABLE
rgSCHEmtcInitUlUeHqEnt(cellCb, ueCfg, ueCb);
#endif
- RETVOID;
+ return;
} /* rgSCHUhmRgrUeCfg */
/**
ueUl->hqEnt.maxHqRetx = (ueRecfg->ueUlHqRecfg.maxUlHqTx - 1);
}
- RETVOID;
+ return;
} /* rgSCHUhmRgrUeRecfg */
/**
hqEnt->numHqPrcs * sizeof(RgSchUlHqProcCb));
#endif
- RETVOID;
+ return;
} /* rgSCHUhmFreeUe */
(
RgSchCellCb *cellCb,
CmLteTimingInfo frm,
-U8 idx
+uint8_t idx
)
#else
S16 rgSCHUhmAppendPhich (cellCb, frm, idx)
RgSchCellCb *cellCb;
CmLteTimingInfo frm;
-U8 idx;
+uint8_t idx;
#endif
{
- U8 nDmrs;
- U8 rbStart;
+ uint8_t nDmrs;
+ uint8_t rbStart;
#ifdef LTE_TDD
- U8 iPhich;
+ uint8_t iPhich;
#endif
RgSchUlAlloc *ulAlloc;
#ifdef LTEMAC_HDFDD