Bool hdFddEnbl;
#endif /* ANSI */
{
- U8 sfi;
- TRC3(rgSCHHdFddUeCfg)
+ uint8_t sfi;
RLOG_ARG2(L_DEBUG,DBG_CELLID,cellCb->cellId,
"rgSCHHdFddUeCfg(): UeId =%d hdFddEnbl=%d",
RgSchUeCb *ueCb;
#endif /* ANSI */
{
- TRC3(rgSCHHdFddUeDel)
RLOG_ARG2(L_DEBUG,DBG_CELLID,cellCb->cellId,
" rgSCHHdFddUeDel(): UeId =%d hdFdd=%x",
RgSchCellCb *cellCb;
#endif /* ANSI */
{
- U16 sfn; /* System Frame Number */
- U32 pti; /* Index into Periodic table */
- U16 sfi; /* Index into HDFDD state table */
+ uint16_t sfn; /* System Frame Number */
+ uint32_t pti; /* Index into Periodic table */
+ uint16_t sfi; /* Index into HDFDD state table */
CmLListCp *cqiLst;
CmLListCp *srsLst;
CmLListCp *srLst;
RgSchUePCqiCb *cqiCb = NULLP;
RgSchUePCqiCb *riCb = NULLP;
- TRC3(rgSCHCmnHdFddPtUlMrk)
timeInfo = cellCb->crntTime;
CM_LLIST_NEXT_NODE(riLst, riNode);
}
- RETVOID;
+ return;
} /* rgSCHCmnHdFddPtUlMrk */
#endif /* ifdef TFU_UPGRADE */
(
RgSchCellCb *cellCb,
RgSchUeCb *ueCb,
- U8 *allow
+ uint8_t *allow
)
#else /* ANSI */
Void rgSCHCmnHdFddChkUlAllow ( cellCb, ueCb, allow)
RgSchCellCb *cellCb;
RgSchUeCb *ueCb;
-U8 *allow;
+uint8_t *allow;
#endif /* ANSI */
{
- U16 sfn;
- U16 sfi;
+ uint16_t sfn;
+ uint16_t sfi;
CmLteTimingInfo timeInfo;
RgSchDlSf *sf = NULLP; /* Dl subframe info */
- U8 ulOffset
+ uint8_t ulOffset
- TRC3(rgSCHCmnHdFddChkUlAllow)
-
RLOG_ARG1(L_DEBUG,DBG_CELLID,cellCb->cellId,
" rgSCHCmnHdFddChkUlAllow: ueId=%d ", ueCb->ueId);
RLOG_ARG1(L_DEBUG,DBG_CELLID,cellCb->cellId,
"rgSCHCmnHdFddChkUlAllow: Already marked for DL, ueId = %d ",
ueCb->ueId);
- RETVOID;
+ return;
}
/* Validate condition 3 */
RLOG_ARG1(L_DEBUG,DBG_CELLID,cellCb->cellId,
"rgSCHCmnHdFddChkUlAllow: No Place for HARQ, ueId = %d ",
ueCb->ueId);
- RETVOID;
+ return;
}
/* Validate condition 4 */
RLOG_ARG1(L_DEBUG,DBG_CELLID,cellCb->cellId,
" rgSCHCmnHdFddChkUlAllow: No Place for UL grant, ueId = %d ",
ueCb->ueId);
- RETVOID;
+ return;
}
/* Validate condition 5 */
RLOG_ARG1(L_DEBUG,DBG_CELLID,cellCb->cellId,
" rgSCHCmnHdFddChkUlAllow: No Place for Guard time, ueId = %d ",
ueCb->ueId);
- RETVOID;
+ return;
}
/* Adition guard time rule check: Above check is only for PDSCH, lets check
RLOG_ARG1(L_DEBUG,DBG_CELLID,cellCb->cellId,
"rgSCHCmnHdFddChkUlAllow: Already marked for Cmn DL, ueId = %d ",
ueCb->ueId);
- RETVOID;
+ return;
}
/* All validation done. Safe to for UL */
*allow = TRUE;
- RETVOID;
+ return;
} /* rgSCHCmnHdFddChkUlAllow */
* @param[in] RgSchCellCb *cellCb
* @param[in] RgSchUeCb *ueCb
* @param[in] CmLteTimingInfo *timeInfo
- * @param[out] U8 *allow -- TRUE is allowed or FALSE if no allowedi.
+ * @param[out] uint8_t *allow -- TRUE is allowed or FALSE if no allowedi.
* Valdity of this pointer is not done in this function
*
*/
Bool *allow; /* Valdity of this pointer is not done in this function */
#endif /* ANSI */
{
- U16 sfn;
- U16 sfi;
+ uint16_t sfn;
+ uint16_t sfi;
RgSchDlSf *sf = NULLP; /* Dl subframe info */
CmLteTimingInfo timeInfo;
CmLteTimingInfo tempTimeInfo;
- TRC3(rgSCHCmnHdFddChkDlAllow)
-
*allow = FALSE;
timeInfo = cellCb->crntTime;
RLOG_ARG1(L_DEBUG,DBG_CELLID,cellCb->cellId,
"rgSCHCmnHdFddChkDlAllow: sf is UL, ueId=%d ", ueCb->ueId);
*allow = FALSE;
- RETVOID;
+ return;
}
/* It is not validation, but BCCH/PCCH marking is done here */
" rgSCHCmnHdFddChkDlAllow: Guard time rule not met, ueId=%d ",
ueCb->ueId);
*allow = FALSE;
- RETVOID;
+ return;
}
/* Validate condition 3 */
/* Mark this sf as DLCNTRL */
ueCb->hdFddCb->subfrm[sfi].subFrmDir =RG_SCH_HDFDD_DLCNTRL;
- RETVOID;
+ return;
}
"ueId=%d ",ueCb->ueId);
*allow = FALSE;
- RETVOID;
+ return;
}
/* First check for any Common channel info is scheduled */
*allow = TRUE;
/* All validation done. Safe to for DL */
- RETVOID;
+ return;
} /* rgSCHCmnHdFddChkDlAllow */
RgSchDlSf *sf;
CmLteTimingInfo tempTimeInfo;
- TRC3(rgSCHCmnHdFddChkNackAllow)
-
/* Information in timeInfo contains (n+DL_DELTA) th subframe info*/
*sndNACK = FALSE;
*sndNACK = TRUE;
}
- RETVOID;
+ return;
} /* rgSCHCmnHdFddChkNackAllow */
* @param[in] RgSchCellCb *cellCb
* @param[in] RgSchUeCb *ueCb
* @param[in] CmLteTimingInfo *timeInfo
- * @param[out] U8 *allow -- TRUE is allowed or FALSE if no allowedi.
+ * @param[out] uint8_t *allow -- TRUE is allowed or FALSE if no allowedi.
* Valdity of this pointer is not done in this function.
*
* @return None
#endif /* ANSI */
{
- U16 sfn;
- U16 sfi;
+ uint16_t sfn;
+ uint16_t sfi;
CmLteTimingInfo timeInfo;
- U8 ulOffset;
-
- TRC3(rgSCHCmnHdFddUpdULMark)
-
+ uint8_t ulOffset;
ulOffset = RGSCH_PDCCH_PUSCH_DELTA -
TFU_CRCIND_ULDELTA + RGSCH_PDCCH_PUSCH_DELTA;
RG_SCH_HDFDD_GETSFI(sfi, timeInfo, (ulOffset * -1));
RG_SCH_HDFDD_MARKSTATE(ueCb, RG_SCH_HDFDD_NOSCHD, RG_SCH_HDFDD_INVSFN, sfi);
- RETVOID;
+ return;
} /* rgSCHCmnHdFddUpdULMark */
* @param[in] RgSchCellCb *cellCb
* @param[in] RgSchUeCb *ueCb
* @param[in] CmLteTimingInfo *timeInfo
- * @param[out] U8 *allow -- TRUE is allowed or FALSE if no allowed.
+ * @param[out] uint8_t *allow -- TRUE is allowed or FALSE if no allowed.
* Valdity of this pointer is not done in this function
*
* @return None
#endif /* ANSI */
{
- U16 sfn;
- U16 sfi;
+ uint16_t sfn;
+ uint16_t sfi;
CmLteTimingInfo timeInfo;
- TRC3(rgSCHCmnHdFddUpdDLMark)
-
timeInfo = cellCb->crntTime;
RGSCH_INCR_SUB_FRAME(timeInfo, RG_SCH_CMN_DL_DELTA);
RG_SCH_HDFDD_MARKSTATE(ueCb, RG_SCH_HDFDD_DLCNTRL, sfn, sfi);
}
- RETVOID;
+ return;
} /* rgSCHCmnHdFddUpdDLMark */
*
* Processing Steps:
*
- * @param[out] *sfn U32
+ * @param[out] *sfn uint32_t
* @param[in] timeInfo timing information subframe of interest
* @param[in] offsest Offest with w.r.t which SFN has to be determined
*
#ifdef ANSI
Void rgSCHHdFddGetSfn
(
- U16 *sfn,
+ uint16_t *sfn,
CmLteTimingInfo timeInfo,
S16 offset
)
#else /* ANSI */
Void rgSCHHdFddGetSfn (sfn, timeInfo, offset)
- U16 *sfn;
+ uint16_t *sfn;
CmLteTimingInfo timeInfo;
S16 offset;
#endif /* ANSI */
{
- U16 tempSfn;
+ uint16_t tempSfn;
S16 tempSfCount;
- TRC3(rgSCHHdFddGetSfn)
if(((S16)(timeInfo.subframe) + offset) >= RGSCH_NUM_SUB_FRAMES)
{
/* Increament to number of times of SFNs that can be possible
}
*sfn = tempSfn;
- RETVOID;
+ return;
} /* End of rgSCHHdFddGetSfn */