* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGVldtCrgCellCfg
(
Inst inst,
CrgCellCfg *cellCfg,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGVldtCrgCellCfg(inst,cellCfg, errInfo)
-Inst inst;
-CrgCellCfg *cellCfg;
-RgErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGERR_CFG_INVALID_CRG_CELL_CFG;
if ((rgCb[inst].cell != NULLP)
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGVldtCrgUeCfg
(
Inst inst,
RgCellCb **cell,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGVldtCrgUeCfg(inst,ueCfg, cell, errInfo)
-Inst inst;
-CrgUeCfg *ueCfg;
-RgCellCb **cell;
-RgErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGERR_CFG_INVALID_CRG_UE_CFG;
if ((ueCfg->txMode.pres == PRSNT_NODEF) &&
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGVldtCrgLcCfg
(
Inst inst,
RgUeCb **ue,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGVldtCrgLcCfg(inst,lcCfg, cell, ue, errInfo)
-Inst inst;
-CrgLchCfg *lcCfg;
-RgCellCb **cell;
-RgUeCb **ue;
-RgErrInfo *errInfo;
-#endif
{
if (lcCfg->lcType == CM_LTE_LCH_DTCH || lcCfg->lcType == CM_LTE_LCH_DCCH)
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGVldtCrgCellRecfg
(
Inst inst,
RgCellCb **cell,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGVldtCrgCellRecfg(inst,cellRecfg, cell, errInfo)
-Inst inst;
-CrgCellRecfg *cellRecfg;
-RgCellCb **cell;
-RgErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGERR_CFG_INVALID_CRG_CELL_RECFG;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGVldtCrgUeRecfg
(
Inst inst,
RgUeCb **ue,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGVldtCrgUeRecfg(inst,ueRecfg, cell, ue, errInfo)
-Inst inst;
-CrgUeRecfg *ueRecfg;
-RgCellCb **cell;
-RgUeCb **ue;
-RgErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGERR_CFG_INVALID_CRG_UE_RECFG;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGVldtCrgLcRecfg
(
Inst inst,
RgUlLcCb **ulLc,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGVldtCrgLcRecfg(inst,lcRecfg, cell, ue, ulLc, errInfo)
-Inst inst;
-CrgLchRecfg *lcRecfg;
-RgCellCb **cell;
-RgUeCb **ue;
-RgUlLcCb **ulLc;
-RgErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGERR_CFG_INVALID_CRG_LC_RECFG;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGVldtCrgUeReset
(
Inst inst,
RgUeCb **ue,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGVldtCrgUeReset(inst,reset, cell, ue, errInfo)
-Inst inst;
-CrgRst *reset;
-RgCellCb **cell;
-RgUeCb **ue;
-RgErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGERR_CFG_INVALID_CRG_UE_RESET;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGCrgCellCfg
(
Inst inst,
CrgCellCfg *cellCfg,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGCrgCellCfg(inst,cellCfg, errInfo)
-Inst inst;
-CrgCellCfg *cellCfg;
-RgErrInfo *errInfo;
-#endif
{
S16 ret;
RgCellCb *cell = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCfgAddUeSCellCfg
(
Inst dstMacInst,
RgPrgUeSCellCfgInfo *ueSCellCb,
RgCellCb *cell
)
-#else
-S16 rgCfgAddUeSCellCfg(dstMacInst, ueSCellCb, cell)
-Inst dstMacInst;
-RgPrgUeSCellCfgInfo *ueSCellCb;
-RgCellCb *cell;
-#endif
{
RgUeCb *ueCb = NULLP;
SuId rguUlSapId = 0;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgFillAndAddSCellCfg
(
Inst inst,
CrgCfgTransId transId,
Bool *isCfmRqrd
)
-#else
-S16 rgFillAndAddSCellCfg(inst, cell, ueRecfg, transId, isCfmRqrd)
-Inst inst;
-RgCellCb *cell;
-CrgUeRecfg *ueRecfg;
-CrgCfgTransId transId;
-Bool *isCfmRqrd;
-#endif
{
RgUeCb *ue = NULLP;
uint8_t idx = 0;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGCrgUeCfg
(
Inst inst,
CrgUeCfg *ueCfg,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGCrgUeCfg(inst,cell, ueCfg, errInfo)
-Inst inst;
-RgCellCb *cell;
-CrgUeCfg *ueCfg;
-RgErrInfo *errInfo;
-#endif
{
RgUeCb *ue = NULLP;
Bool handover = FALSE;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGCrgLcCfg
(
Inst inst,
Bool *isCfmRqrd,
CrgCfgTransId transId
)
-#else
-S16 rgCFGCrgLcCfg(inst,cell, ue, lcCfg, errInfo, isCfmRqrd,transId)
-Inst inst;
-RgCellCb *cell;
-RgUeCb *ue;
-CrgLchCfg *lcCfg;
-RgErrInfo *errInfo;
-Bool *isCfmRqrd;
-CrgCfgTransId transId;
-#endif
{
/* Handle Config for dedicated/common logical channels */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGCrgCellRecfg
(
Inst inst,
CrgCellRecfg *cellRecfg,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGCrgCellRecfg(inst,cell, cellRecfg, errInfo)
-Inst inst;
-RgCellCb *cell;
-CrgCellRecfg *cellRecfg;
-RgErrInfo *errInfo;
-#endif
{
/* Store the given rachCfg */
cell->rachCfg = cellRecfg->rachRecfg;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGCrgUeRecfg
(
Inst inst,
CrgUeRecfg *ueRecfg,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGCrgUeRecfg(inst,cell, ue, ueRecfg, errInfo)
-Inst inst;
-RgCellCb *cell;
-RgUeCb *ue;
-CrgUeRecfg *ueRecfg;
-RgErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGERR_CFG_CRG_UE_RECFG;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGCrgLcRecfg
(
Inst inst,
RgErrInfo *errInfo,
Bool *isCfmRqrd
)
-#else
-S16 rgCFGCrgLcRecfg(inst,cell, ue, ulLc, lcRecfg, errInfo, isCfmRqrd)
-Inst inst;
-RgCellCb *cell;
-RgUeCb *ue;
-RgUlLcCb *ulLc;
-CrgLchRecfg *lcRecfg;
-RgErrInfo *errInfo;
-Bool *isCfmRqrd;
-#endif
{
if (ulLc->lcgId != lcRecfg->ulRecfg.lcgId)
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGCrgUeReset
(
RgCellCb *cell,
CrgRst *reset,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGCrgUeReset(cell, ue, reset, errInfo)
-RgCellCb *cell;
-RgUeCb *ue;
-CrgRst *reset;
-RgErrInfo *errInfo;
-#endif
{
RLOG_ARG1(L_DEBUG, DBG_CRNTI, ue->ueId, "UE: of cell %d Reset\n", cell->cellId);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGCrgCellDel
(
Inst inst,
CrgDel *cellDelInfo,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGCrgCellDel(inst,cellDelInfo, errInfo)
-Inst inst,
-CrgDel *cellDelInfo;
-RgErrInfo *errInfo;
-#endif
{
RgCellCb *cell;
uint8_t idx;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGCrgUeDel
(
Inst inst,
CrgDel *ueDelInfo,
RgErrInfo *errInfo
)
-#else
-S16 rgCFGCrgUeDel(inst,ueDelInfo, errInfo)
-Inst inst;
-CrgDel *ueDelInfo;
-RgErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGERR_CFG_CRG_UE_DEL;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCFGCrgLcDel
(
Inst inst,
Bool *isCfmRqrd,
CrgCfgTransId transId
)
-#else
-S16 rgCFGCrgLcDel(inst,lcDelInfo, errInfo,isCfmRqrd,transId)
-Inst inst;
-CrgDel *lcDelInfo;
-RgErrInfo *errInfo;
-CrgCfgTransId transId;
-#endif
{
Bool dirVld = FALSE;
RgCellCb *cell;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgCFGVldtCrgDedLcCfg
(
Inst inst,
RgUeCb **ue,
RgErrInfo *errInfo
)
-#else
-static S16 rgCFGVldtCrgDedLcCfg(inst,lcCfg, cell, ue, errInfo)
-Inst inst;
-CrgLchCfg *lcCfg;
-RgCellCb **cell;
-RgUeCb **ue;
-RgErrInfo *errInfo;
-#endif
{
uint8_t dirVld = FALSE;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgCFGVldtCrgCmnLcCfg
(
Inst inst,
RgCellCb **cell,
RgErrInfo *errInfo
)
-#else
-static S16 rgCFGVldtCrgCmnLcCfg(inst,lcCfg, cell, errInfo)
-Inst inst;
-CrgLchCfg *lcCfg;
-RgCellCb **cell;
-RgErrInfo *errInfo;
-#endif
{
uint8_t dirVld = FALSE;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgCFGCrgDedLcCfg
(
RgCellCb *cell,
CrgLchCfg *lcCfg,
RgErrInfo *errInfo
)
-#else
-static S16 rgCFGCrgDedLcCfg(cell, ue, lcCfg, errInfo)
-RgCellCb *cell;
-RgUeCb *ue;
-CrgLchCfg *lcCfg;
-RgErrInfo *errInfo;
-#endif
{
//Inst inst = cell->macInst - RG_INST_START;
errInfo->errCause = RGERR_CFG_CRG_DED_LC_CFG;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgCFGCrgCmnLcCfg
(
Inst inst,
CrgLchCfg *lcCfg,
RgErrInfo *errInfo
)
-#else
-static S16 rgCFGCrgCmnLcCfg(inst,cell, lcCfg, errInfo)
-Inst inst;
-RgCellCb *cell;
-CrgLchCfg *lcCfg;
-RgErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGERR_CFG_CRG_CMN_LC_CFG;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgCFGFreeUeUlAlloc
-(
-RgCellCb *cell
-)
-#else
-static Void rgCFGFreeUeUlAlloc(cell)
-RgCellCb *cell;
-#endif
+static Void rgCFGFreeUeUlAlloc(RgCellCb *cell)
{
uint8_t sfIdx;
Inst inst = cell->macInst - RG_INST_START;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgCFGFreeCellCb
-(
-RgCellCb *cell
-)
-#else
-Void rgCFGFreeCellCb(cell)
-RgCellCb *cell;
-#endif
+Void rgCFGFreeCellCb(RgCellCb *cell)
{
Inst inst = cell->macInst - RG_INST_START;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgCFGFreeInactvCellCb
-(
-RgCellCb *cell
-)
-#else
-Void rgCFGFreeInactvCellCb(cell)
-RgCellCb *cell;
-#endif
+Void rgCFGFreeInactvCellCb(RgCellCb *cell)
{
Inst inst = cell->macInst - RG_INST_START;
/* De-initialize the Ue list */
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgCFGFreeUeCb
-(
-RgCellCb *cell,
-RgUeCb *ue
-)
-#else
-Void rgCFGFreeUeCb(cell, ue)
-RgCellCb *cell;
-RgUeCb *ue;
-#endif
+Void rgCFGFreeUeCb(RgCellCb *cell,RgUeCb *ue)
{
Inst inst = cell->macInst - RG_INST_START;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgCFGFreeCmnLcLst
-(
-RgCellCb *cell
-)
-#else
-static Void rgCFGFreeCmnLcLst(cell)
-RgCellCb *cell;
-#endif
+static Void rgCFGFreeCmnLcLst(RgCellCb *cell)
{
rgDBMFreeCmnLcLst(cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgCFGFreeUeLst
-(
-RgCellCb *cell
-)
-#else
-static Void rgCFGFreeUeLst(cell)
-RgCellCb *cell;
-#endif
+static Void rgCFGFreeUeLst(RgCellCb *cell)
{
RgUeCb *ue;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgCFGFreeSpsUeLst
-(
-RgCellCb *cell
-)
-#else
-static Void rgCFGFreeSpsUeLst(cell)
-RgCellCb *cell;
-#endif
+static Void rgCFGFreeSpsUeLst(RgCellCb *cell)
{
RgUeCb *ue;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacCellRegReq
-(
-Pst* pst,
-RgInfCellReg* regReq
-)
-#else
-S16 RgSchMacCellRegReq(pst, regReq)
-Pst* pst;
-RgInfCellReg* regReq;
-#endif
+S16 RgSchMacCellRegReq(Pst* pst,RgInfCellReg* regReq)
{
Inst inst;
RgCellCb *cell = NULLP;
/*LTE_L2_MEAS_PHASE2*/
S16 rgAddToL2MeasPerQci(RgCellCb *cell,uint8_t qci)
{
- S16 ret = ROK;
- CmLList *lnk;
- RgL2MeasCb *measCb;
- uint16_t idx;
-
- lnk = cell->l2mList.first;
- while(lnk != NULLP )
+ S16 ret = ROK;
+ CmLList *lnk;
+ RgL2MeasCb *measCb;
+ uint16_t idx;
+
+ lnk = cell->l2mList.first;
+ while(lnk != NULLP )
{
measCb = (RgL2MeasCb *)lnk->node;
if(measCb->measReq.measType & LRG_L2MEAS_AVG_PRB_PER_QCI_UL)
{
- for(idx = 0;idx< measCb->measReq.t.prbReq.numQci;idx++)
- {
- if(measCb->measReq.t.prbReq.qci[idx] == qci)
- {
- break; /*exit from for loop*/
- }
- }
- if(idx == measCb->measReq.t.prbReq.numQci)
- {
- cell->qciArray[qci].mask = TRUE;
- measCb->measReq.t.prbReq.qci[measCb->measReq.t.prbReq.numQci++] = qci;
- }
+ for(idx = 0;idx< measCb->measReq.t.prbReq.numQci;idx++)
+ {
+ if(measCb->measReq.t.prbReq.qci[idx] == qci)
+ {
+ break; /*exit from for loop*/
+ }
+ }
+ if(idx == measCb->measReq.t.prbReq.numQci)
+ {
+ cell->qciArray[qci].mask = TRUE;
+ measCb->measReq.t.prbReq.qci[measCb->measReq.t.prbReq.numQci++] = qci;
+ }
}
lnk = lnk->next;
} /* End of While*/
-
-
-
- return (ret);
+
+
+
+ return (ret);
}
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgCOMCfgReq
(
Inst inst,
CrgCfgTransId transId,
CrgCfgReqInfo *crgCfgReq
)
-#else
-S16 rgCOMCfgReq(inst,transId, crgCfgReq)
-Inst inst;
-CrgCfgTransId transId;
-CrgCfgReqInfo *crgCfgReq;
-#endif
{
S16 ret;
uint8_t cfmStatus = CRG_CFG_CFM_OK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgCOMHndlCfgReq
(
Inst inst,
Bool *isCfmRqrd,
CrgCfgTransId transId
)
-#else
-static S16 rgCOMHndlCfgReq(inst,cfg, errInfo,isCfmRqrd,transId)
-Inst inst;
-CrgCfg *cfg;
-RgErrInfo *errInfo;
-Bool *isCfmRqrd;
-CrgCfgTransId transId;
-#endif
{
S16 ret;
RgCellCb *cell = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgCOMHndlRecfgReq
(
Inst inst,
CrgCfgTransId transId,
Bool *isCfmRqrd
)
-#else
-static S16 rgCOMHndlRecfgReq(inst,recfg, errInfo, transId, isCfmRqrd)
-Inst inst;
-CrgRecfg *recfg;
-RgErrInfo *errInfo;
-CrgCfgTransId transId;
-Bool *isCfmRqrd;
-#endif
{
S16 ret;
RgCellCb *cell = rgCb[inst].cell;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgCOMHndlResetReq
(
Inst inst,
CrgRst *reset,
RgErrInfo *errInfo
)
-#else
-static S16 rgCOMHndlResetReq(inst,reset, errInfo)
-Inst inst;
-CrgRst *reset;
-RgErrInfo *errInfo;
-#endif
{
/* Fix : ccpu00126865: ignore CRG reset. Let SCH trigger it. */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgCOMHndlDelReq
(
Inst inst,
Bool *isCfmRqrd,
CrgCfgTransId transId
)
-#else
-static S16 rgCOMHndlDelReq(inst,del, errInfo,isCfmRqrd,transId)
-Inst inst;
-CrgDel *del;
-RgErrInfo *errInfo;
-Bool *isCfmRqrd;
-CrgCfgTransId transId;
-#endif
{
S16 ret;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgPrgPMacSMacUeSCellCfgReq
(
Pst *pst,
RgPrgUeSCellCfgInfo *ueSCellCb
)
-#else
-S16 RgPrgPMacSMacUeSCellCfgReq(pst, ueSCellCb)
-Pst *pst;
-RgPrgUeSCellCfgInfo *ueSCellCb;
-#endif
{
RgPrgCfgCfmInfo cfgCfm;
Inst inst = pst->dstInst;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgPrgSMacPMacCfgCfm
(
Pst *pst,
RgPrgCfgCfmInfo *cfgCfm
)
-#else
-S16 RgPrgSMacPMacCfgCfm(pst, cfgCfm)
-Pst *pst;
-RgPrgCfgCfmInfo *cfgCfm;
-#endif
{
Inst inst = pst->dstInst;
RgCellCb *cell;
* @param[in] RgPrgUeSCellDelInfo *ueSCellDelInfo
* @return ROK is SUCCESS
**/
-#ifdef ANSI
S16 RgPrgPMacSMacUeSCellDelReq
(
Pst *pst,
RgPrgUeSCellDelInfo *ueSCellDelInfo
)
-#else
-S16 RgPrgPMacSMacUeSCellDelReq(pst, ueSCellDelInfo)
-Pst *pst;
-RgPrgUeSCellDelInfo *ueSCellDelInfo;
-#endif
{
Inst inst = pst->dstInst - RG_INST_START;
RgCellCb *sCell = rgCb[inst].cell;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgDBMInitCell
(
RgCellCb *cellCb
)
-#else
-S16 rgDBMInitCell(cellCb)
-RgCellCb *cellCb;
-#endif
{
S16 ret;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgDBMInitUeCbLst
(
RgCellCb *cellCb,
uint16_t numBins
)
-#else
-static S16 rgDBMInitUeCbLst(cellCb, numBins)
-RgCellCb *cellCb;
-uint16_t numBins;
-#endif
{
Inst inst = cellCb->macInst - RG_INST_START;
RgUeCb ue;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgDBMDeInitUeCbLst
-(
-RgCellCb *cellCb
-)
-#else
-S16 rgDBMDeInitUeCbLst(cellCb)
-RgCellCb *cellCb;
-#endif
+S16 rgDBMDeInitUeCbLst(RgCellCb *cellCb)
{
return (cmHashListDeinit(&cellCb->ueLst));
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgDBMInitSpsUeCbLst
-(
-RgCellCb *cellCb,
-uint16_t numBins
-)
-#else
-static S16 rgDBMInitSpsUeCbLst(cellCb, numBins)
-RgCellCb *cellCb;
-uint16_t numBins;
-#endif
+static S16 rgDBMInitSpsUeCbLst(RgCellCb *cellCb,uint16_t numBins)
{
Inst inst = cellCb->macInst - RG_INST_START;
RgUeCb ue;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgDBMDeInitSpsUeCbLst
-(
-RgCellCb *cellCb
-)
-#else
-S16 rgDBMDeInitSpsUeCbLst(cellCb)
-RgCellCb *cellCb;
-#endif
+S16 rgDBMDeInitSpsUeCbLst(RgCellCb *cellCb)
{
return (cmHashListDeinit(&cellCb->spsUeLst));
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgDBMInsUeCb
-(
-RgCellCb *cellCb,
-RgUeCb *ueCb
-)
-#else
-S16 rgDBMInsUeCb(cellCb, ueCb)
-RgCellCb *cellCb;
-RgUeCb *ueCb;
-#endif
+S16 rgDBMInsUeCb(RgCellCb *cellCb,RgUeCb *ueCb)
{
return (cmHashListInsert(&cellCb->ueLst, (PTR)ueCb,
(uint8_t *)&ueCb->ueId, (uint16_t)sizeof(ueCb->ueId)));
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgDBMInsSpsUeCb
-(
-RgCellCb *cellCb,
-RgUeCb *ueCb
-)
-#else
-S16 rgDBMInsSpsUeCb(cellCb, ueCb)
-RgCellCb *cellCb;
-RgUeCb *ueCb;
-#endif
+S16 rgDBMInsSpsUeCb(RgCellCb *cellCb,RgUeCb *ueCb)
{
return (cmHashListInsert(&cellCb->spsUeLst, (PTR)ueCb,
* @param[in] ueId
* @return RgUeCb*
**/
-#ifdef ANSI
-RgUeCb* rgDBMGetUeCb
-(
-RgCellCb *cellCb,
-CmLteRnti ueId
-)
-#else
-RgUeCb* rgDBMGetUeCb(cellCb, ueId)
-RgCellCb *cellCb;
-CmLteRnti ueId;
-#endif
+RgUeCb* rgDBMGetUeCb(RgCellCb *cellCb, CmLteRnti ueId)
{
RgUeCb *ueCb = NULLP;
* @param[in] ueId
* @return RgUeCb*
**/
-#ifdef ANSI
-RgUeCb* rgDBMGetSpsUeCb
-(
-RgCellCb *cellCb,
-CmLteRnti spsRnti
-)
-#else
-RgUeCb* rgDBMGetSpsUeCb(cellCb, spsRnti)
-RgCellCb *cellCb;
-CmLteRnti spsRnti;
-#endif
+RgUeCb* rgDBMGetSpsUeCb(RgCellCb *cellCb, CmLteRnti spsRnti)
{
RgUeCb *ueCb = NULLP;
* @param[in] *ueCb
* @return RgUeCb*
**/
-#ifdef ANSI
-RgUeCb* rgDBMGetNextUeCb
-(
-RgCellCb *cellCb,
-RgUeCb *ueCb
-)
-#else
-RgUeCb* rgDBMGetNextUeCb(cellCb, ueCb)
-RgCellCb *cellCb;
-RgUeCb *ueCb;
-#endif
+RgUeCb* rgDBMGetNextUeCb(RgCellCb *cellCb, RgUeCb *ueCb)
{
RgUeCb *nextUeCb = NULLP;
* @param[in] *ueCb
* @return RgUeCb*
**/
-#ifdef ANSI
-RgUeCb* rgDBMGetNextSpsUeCb
-(
-RgCellCb *cellCb,
-RgUeCb *ueCb
-)
-#else
-RgUeCb* rgDBMGetNextSpsUeCb(cellCb, ueCb)
-RgCellCb *cellCb;
-RgUeCb *ueCb;
-#endif
+RgUeCb* rgDBMGetNextSpsUeCb(RgCellCb *cellCb, RgUeCb *ueCb)
{
RgUeCb *nextUeCb = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgDBMDelUeCb
-(
-RgCellCb *cellCb,
-RgUeCb *ueCb
-)
-#else
-S16 rgDBMDelUeCb(cellCb, ueCb)
-RgCellCb *cellCb;
-RgUeCb *ueCb;
-#endif
+S16 rgDBMDelUeCb(RgCellCb *cellCb, RgUeCb *ueCb)
{
return (cmHashListDelete(&cellCb->ueLst, (PTR)ueCb));
} /* rgDBMDelUeCb */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgDBMDelSpsUeCb
-(
-RgCellCb *cellCb,
-RgUeCb *ueCb
-)
-#else
-S16 rgDBMDelSpsUeCb(cellCb, ueCb)
-RgCellCb *cellCb;
-RgUeCb *ueCb;
-#endif
+S16 rgDBMDelSpsUeCb(RgCellCb *cellCb, RgUeCb *ueCb)
{
return (cmHashListDelete(&cellCb->spsUeLst, (PTR)ueCb));
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-Void rgDBMInitUe
-(
-RgUeCb *ueCb
-)
-#else
-Void rgDBMInitUe(ueCb)
-RgUeCb *ueCb;
-#endif
+Void rgDBMInitUe(RgUeCb *ueCb)
{
#ifdef LTEMAC_SPS
uint8_t idx;
* @param[in] RgUeCb *ueCb
* @return Void
**/
-#ifdef ANSI
-static Void rgDBMInitDedLcLst
-(
-RgUeCb *ueCb
-)
-#else
-static Void rgDBMInitDedLcLst(ueCb)
-RgUeCb *ueCb;
-#endif
+static Void rgDBMInitDedLcLst(RgUeCb *ueCb)
{
uint8_t idx;
* @param[in] RgCellCb *cellCb
* @return Void
**/
-#ifdef ANSI
-static Void rgDBMInitCmnLcLst
-(
-RgCellCb *cellCb
-)
-#else
-static Void rgDBMInitCmnLcLst(cellCb)
-RgCellCb *cellCb;
-#endif
+static Void rgDBMInitCmnLcLst(RgCellCb *cellCb)
{
uint8_t idx;
* @param[in] RgCellCb *cellCb
* @return Void
**/
-#ifdef ANSI
-Void rgDBMFreeCmnLcLst
-(
-RgCellCb *cellCb
-)
-#else
-Void rgDBMFreeCmnLcLst(cellCb)
-RgCellCb *cellCb;
-#endif
+Void rgDBMFreeCmnLcLst(RgCellCb *cellCb)
{
uint8_t idx;
* @param[in] RgDlLcCb* dlLcCb
* @return Void
**/
-#ifdef ANSI
-Void rgDBMInsDlDedLcCb
-(
-RgUeCb *ueCb,
-CmLteLcId idx
-)
-#else
-Void rgDBMInsDlDedLcCb(ueCb, idx)
-RgUeCb *ueCb;
-CmLteLcId idx;
-#endif
+Void rgDBMInsDlDedLcCb(RgUeCb *ueCb, CmLteLcId idx)
{
if( idx >= RG_DEDLC_MIN_LCID )
{
* @param[in] RgDlLcCb* dlLcCb
* @return Void
**/
-#ifdef ANSI
-Void rgDBMDelDlDedLcCb
-(
-RgUeCb *ueCb,
-RgDlLcCb *dlLcCb
-)
-#else
-Void rgDBMDelDlDedLcCb(ueCb, dlLcCb)
-RgUeCb *ueCb;
-RgDlLcCb *dlLcCb;
-#endif
+Void rgDBMDelDlDedLcCb(RgUeCb *ueCb, RgDlLcCb *dlLcCb)
{
ueCb->dl.lcCb[dlLcCb->lcId - 1].lcId = RG_INVALID_LC_ID;
* @param[in] idx
* @return RgDlLcCb*
**/
-#ifdef ANSI
-RgDlLcCb* rgDBMGetDlDedLcCb
-(
-RgUeCb *ueCb,
-CmLteLcId idx
-)
-#else
-RgDlLcCb* rgDBMGetDlDedLcCb(ueCb, idx)
-RgUeCb *ueCb;
-CmLteLcId idx;
-#endif
+RgDlLcCb* rgDBMGetDlDedLcCb(RgUeCb *ueCb, CmLteLcId idx)
{
if (idx > RG_DEDLC_MAX_LCID || idx <= 0)
{
* @return Void
**/
#ifdef LTE_L2_MEAS
-#ifdef ANSI
Void rgDBMInsUlDedLcCb
(
RgUeCb *ueCb,
CmLteLcId idx,
LteLcgId gId,
-uint8_t qci
+uint8_t qci
)
#else
-Void rgDBMInsUlDedLcCb(ueCb, idx, gId, qci)
-RgUeCb *ueCb;
-CmLteLcId idx;
-LteLcgId gId;
-uint8_t qci;
-#endif
-#else
-#ifdef ANSI
Void rgDBMInsUlDedLcCb
(
RgUeCb *ueCb,
CmLteLcId idx,
LteLcgId gId
)
-#else
-Void rgDBMInsUlDedLcCb(ueCb, idx, gId)
-RgUeCb *ueCb;
-CmLteLcId idx;
-LteLcgId gId;
-#endif
#endif
{
if ( idx >= RG_DEDLC_MIN_LCID)
* @param[in] LteLcgId gId
* @return Void
**/
-#ifdef ANSI
Void rgDBMUpdUlDedLcCb
(
RgUeCb *ueCb,
RgUlLcCb *ulLcCb,
LteLcgId gId
)
-#else
-Void rgDBMUpdUlDedLcCb(ueCb, ulLcCb, gId)
-RgUeCb *ueCb;
-RgUlLcCb *ulLcCb;
-LteLcgId gId;
-#endif
{
ueCb->ul.lcgArr[ulLcCb->lcgId].lcCount =
ueCb->ul.lcgArr[ulLcCb->lcgId].lcCount - 1;
* @param[in] RgUlLcCb* ulLcCb
* @return Void
**/
-#ifdef ANSI
-Void rgDBMDelUlDedLcCb
-(
-RgUeCb *ueCb,
-RgUlLcCb *ulLcCb
-)
-#else
-Void rgDBMDelUlDedLcCb(ueCb, ulLcCb)
-RgUeCb *ueCb;
-RgUlLcCb *ulLcCb;
-#endif
+Void rgDBMDelUlDedLcCb(RgUeCb *ueCb, RgUlLcCb *ulLcCb)
{
ueCb->ul.lcgArr[ulLcCb->lcgId].lcCount =
* @param[in] idx
* @return RgUlLcCb*
**/
-#ifdef ANSI
-RgUlLcCb* rgDBMGetUlDedLcCb
-(
-RgUeCb *ueCb,
-CmLteLcId idx
-)
-#else
-RgUlLcCb* rgDBMGetUlDedLcCb(ueCb, idx)
-RgUeCb *ueCb;
-CmLteLcId idx;
-#endif
+RgUlLcCb* rgDBMGetUlDedLcCb(RgUeCb *ueCb, CmLteLcId idx)
{
if (idx > RG_DEDLC_MAX_LCID || idx < RG_DEDLC_MIN_LCID)
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgDBMChkCmnLcCb
-(
-RgCellCb *cellCb,
-CmLteLcId lcId
-)
-#else
-S16 rgDBMChkCmnLcCb(cellCb, lcId)
-RgCellCb *cellCb;
-CmLteLcId lcId;
-#endif
+S16 rgDBMChkCmnLcCb(RgCellCb *cellCb, CmLteLcId lcId)
{
uint8_t idx;
* @param[in] *cellCb
* @return RgBcchBchLcCb*
**/
-#ifdef ANSI
-RgBcchBchLcCb* rgDBMGetBcchOnBch
-(
-RgCellCb *cellCb
-)
-#else
-RgBcchBchLcCb* rgDBMGetBcchOnBch(cellCb)
-RgCellCb *cellCb;
-#endif
+RgBcchBchLcCb* rgDBMGetBcchOnBch(RgCellCb *cellCb)
{
if(cellCb->bcchBchInfo.lcId != RG_INVALID_LC_ID)
* @param[in] lcId
* @return RgBcchDlschLcCb*
**/
-#ifdef ANSI
-RgBcchDlschLcCb* rgDBMGetBcchOnDlsch
-(
-RgCellCb *cellCb,
-CmLteLcId lcId
-)
-#else
-RgBcchDlschLcCb* rgDBMGetBcchOnDlsch(cellCb,lcId)
-RgCellCb *cellCb;
-CmLteLcId lcId;
-#endif
+RgBcchDlschLcCb* rgDBMGetBcchOnDlsch(RgCellCb *cellCb,CmLteLcId lcId)
{
uint8_t idx;
* @param[in] *cellCb
* @return RgPcchLcCb*
**/
-#ifdef ANSI
-RgPcchLcCb* rgDBMGetPcch
-(
-RgCellCb *cellCb
-)
-#else
-RgPcchLcCb* rgDBMGetPcch(cellCb)
-RgCellCb *cellCb;
-#endif
+RgPcchLcCb* rgDBMGetPcch(RgCellCb *cellCb)
{
if(cellCb->pcchInfo.lcId != RG_INVALID_LC_ID)
* @param[in] *cellCb
* @return Void
**/
-#ifdef ANSI
-Void rgDBMInsBcchOnBch
-(
-RgCellCb *cellCb,
-CmLteLcId idx
-)
-#else
-Void rgDBMInsBcchOnBch(cellCb, idx)
-RgCellCb *cellCb;
-CmLteLcId idx;
-#endif
+Void rgDBMInsBcchOnBch(RgCellCb *cellCb, CmLteLcId idx)
{
cellCb->bcchBchInfo.lcId = idx;
* @param[in] *cellCb
* @return Void
**/
-#ifdef ANSI
-Void rgDBMInsBcchOnDlsch
-(
-RgCellCb *cellCb,
-CmLteLcId idx
-)
-#else
-Void rgDBMInsBcchOnDlsch(cellCb, idx)
-RgCellCb *cellCb;
-CmLteLcId idx;
-#endif
+Void rgDBMInsBcchOnDlsch(RgCellCb *cellCb, CmLteLcId idx)
{
cellCb->bcchDlschInfo[cellCb->numBcchDlschInfo].lcId = idx;
* @param[in] *cellCb
* @return Void
**/
-#ifdef ANSI
-Void rgDBMInsPcch
-(
-RgCellCb *cellCb,
-CmLteLcId idx
-)
-#else
-Void rgDBMInsPcch(cellCb, idx)
-RgCellCb *cellCb;
-CmLteLcId idx;
-#endif
+Void rgDBMInsPcch(RgCellCb *cellCb, CmLteLcId idx)
{
cellCb->pcchInfo.lcId = idx;
* @param[in] *cellCb
* @return Void
**/
-#ifdef ANSI
-static Void rgDBMInitRachLst
-(
-RgCellCb *cellCb
-)
-#else
-static Void rgDBMInitRachLst(cellCb)
-RgCellCb *cellCb;
-#endif
+static Void rgDBMInitRachLst(RgCellCb *cellCb)
{
cmLListInit(&cellCb->raInfo.ueRachLst);
* @param[in] *ueCb
* @return Void
**/
-#ifdef ANSI
-Void rgDBMInsUeCbInRachLst
-(
-RgCellCb *cellCb,
-RgUeCb *ueCb
-)
-#else
-Void rgDBMInsUeCbInRachLst(cellCb, ueCb)
-RgCellCb *cellCb;
-RgUeCb *ueCb;
-#endif
+Void rgDBMInsUeCbInRachLst(RgCellCb *cellCb, RgUeCb *ueCb)
{
cmLListAdd2Tail(&cellCb->raInfo.ueRachLst,&ueCb->rachLstEnt);
* @param[in] key
* @return RgUeCb*
**/
-#ifdef ANSI
-RgUeCb* rgDBMGetUeCbFromRachLst
-(
-RgCellCb *cellCb,
-CmLteRnti key
-)
-#else
-RgUeCb* rgDBMGetUeCbFromRachLst(cellCb, key)
-RgCellCb *cellCb;
-CmLteRnti key;
-#endif
+RgUeCb* rgDBMGetUeCbFromRachLst(RgCellCb *cellCb, CmLteRnti key)
{
CmLList *tmpNode;
* @param[in] *ueCb
* @return RgUeCb*
**/
-#ifdef ANSI
-RgUeCb* rgDBMGetNextUeCbFromRachLst
-(
-RgCellCb *cellCb,
-RgUeCb *ueCb
-)
-#else
-RgUeCb* rgDBMGetNextUeCbFromRachLst(cellCb, ueCb)
-RgCellCb *cellCb;
-RgUeCb *ueCb;
-#endif
+RgUeCb* rgDBMGetNextUeCbFromRachLst(RgCellCb *cellCb,RgUeCb *ueCb)
{
if(!ueCb)
* @param[in] key
* @return RgUeCb*
**/
-#ifdef ANSI
-Void rgDBMDelUeCbFromRachLst
-(
-RgCellCb *cellCb,
-RgUeCb *ueCb
-)
-#else
-Void rgDBMDelUeCbFromRachLst(cellCb, ueCb)
-RgCellCb *cellCb;
-RgUeCb *ueCb;
-#endif
+Void rgDBMDelUeCbFromRachLst(RgCellCb *cellCb, RgUeCb *ueCb)
{
cmLListDelFrm(&cellCb->raInfo.ueRachLst, &ueCb->rachLstEnt);
#ifdef L2_OPTMZ
S16 rgDHMFreeHqProcTB
(
-RgDlHqProcCb *hqP,
-uint8_t tbIndex
+RgDlHqProcCb *hqP,
+uint8_t tbIndex
);
#endif
* -# RFAILED
*
**/
-#ifdef ANSI
-S16 rgDHMHqEntInit
-(
-Inst inst,
-RgDlHqEnt *hqE,
-uint8_t maxHqProcs
-)
-#else
-S16 rgDHMHqEntInit(inst,hqE, maxHqProcs)
-Inst inst,
-RgDlHqEnt *hqE;
-uint8_t maxHqProcs;
-#endif
+S16 rgDHMHqEntInit(Inst inst, RgDlHqEnt *hqE, uint8_t maxHqProcs)
{
uint8_t idx1,idx2;
#ifdef L2_OPTMZ
* @return Void
*
**/
-#ifdef ANSI
-Void rgDHMUeReset
-(
-RgCellCb *cell,
-RgDlHqEnt *hqE
-)
-#else
-Void rgDHMUeReset(cell, hqE)
-RgCellCb *cell;
-RgDlHqEnt *hqE;
-#endif
+Void rgDHMUeReset(RgCellCb *cell, RgDlHqEnt *hqE)
{
uint8_t i = 0;
* @return Void
*
**/
-#ifdef ANSI
-Void rgDHMHdlBufFree
-(
-Inst inst,
-Buffer **mBuf
-)
-#else
Void rgDHMHdlBufFree(Inst inst, Buffer **mBuf)
-Inst inst;
-#endif
{
RgCb *rgCbP = &rgCb[inst];
* @return Void
*
**/
-#ifdef ANSI
-Void rgDHMFreeTbBufs
-(
-Inst inst
-)
-#else
-Void rgDHMFreeTbBufs(inst)
-Inst inst;
-#endif
+Void rgDHMFreeTbBufs(Inst inst)
{
RgCb *rgCbP = &rgCb[inst];
uint8_t start = rgCbP->bufCnt;
return;
} /* rgDHMFreeTbBufs */
-#ifdef ANSI
-Void rgDHMFreeAllTbBufs
-(
-Inst inst
-)
-#else
-Void rgDHMFreeAllTbBufs(inst)
-Inst inst;
-#endif
+Void rgDHMFreeAllTbBufs(Inst inst)
{
RgCb *rgCbP = &rgCb[inst];
uint8_t start = rgCbP->bufCnt;
* @return Void
*
**/
-#ifdef ANSI
-S16 rgDHMRlsHqProcTB
-(
-RgCellCb *cell,
-RgDlHqProcCb *hqP,
-uint8_t tbIndex
-)
-#else
-S16 rgDHMRlsHqProcTB(cell, hqP, tbIndex)
-RgCellCb *cell;
-RgDlHqProcCb *hqP;
-uint8_t tbIndex;
-#endif
+S16 rgDHMRlsHqProcTB(RgCellCb *cell, RgDlHqProcCb *hqP, uint8_t tbIndex)
{
uint8_t idx;
#ifdef L2_OPTMZ
* -# RFAILED otherwise
*
**/
-#ifdef ANSI
-S16 rgDHMGetHqProcFrmId
-(
-RgUeCb *ue,
-uint8_t idx,
-RgDlHqProcCb **hqP
-)
-#else
-S16 rgDHMGetHqProcFrmId(ue, idx, hqP)
-RgUeCb *ue;
-uint8_t idx;
-RgDlHqProcCb **hqP;
-#endif
+S16 rgDHMGetHqProcFrmId(RgUeCb *ue, uint8_t idx, RgDlHqProcCb **hqP)
{
/* Pick the proc based on the index provided */
*hqP = (ue->dl.hqEnt.procs[idx]);
* -#ROK
* -#RFAILED
**/
-#ifdef ANSI
S16 rgDHMSndDatReq
(
RgCellCb *cellCb,
RgDlHqProcCb *hqP,
RgErrInfo *err
)
-#else
-S16 rgDHMSndDatReq(cellCb, dlSf, datInfo, hqP, err)
-RgCellCb *cellCb;
-RgDlSf *dlSf;
-RgTfuDatReqInfo *datInfo;
-RgDlHqProcCb *hqP;
-RgErrInfo *err;
-#endif
{
uint8_t i;
Inst inst = cellCb->macInst - RG_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgDHMHndlDedDatReq
(
Inst inst,
RgDlSf *dlSf,
RgErrInfo *err
)
-#else
-S16 rgDHMHndlDedDatReq(inst,hqProc, datReq, dlSf, err)
-Inst inst;
-RgDlHqProcCb *hqProc;
-RgRguDDatReqPerUe *datReq;
-RgDlSf *dlSf;
-RgErrInfo *err;
-#endif
{
// uint32_t len;
uint8_t i;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgDHMHndlCmnDatReq
(
Inst inst,
RgRguCmnDatReq *datReq,
RgErrInfo *err
)
-#else
-S16 rgDHMHndlCmnDatReq(inst,hqProc, datReq, err)
-Inst inst;
-RgDlHqProcCb *hqProc;
-RgRguCmnDatReq *datReq;
-RgErrInfo *err;
-#endif
{
RgUstaDgn dgn;
RgBldPduInfo bldPdu;
* -# RFAILED
**/
RgUeCb *gUe =NULLP;
-#ifdef ANSI
S16 rgDHMSndConsolidatedStaInd
(
RgCellCb *cell,
CmLteTimingInfo timingInfo,
RgErrInfo *err
)
-#else
-S16 rgDHMSndConsolidatedStaInd(cell, ueInfo, timingInfo, err)
-RgCellCb *cell;
-RgInfUeInfo *ueInfo;
-CmLteTimingInfo timingInfo;
-RgErrInfo *err;
-#endif
{
SuId rguDlSpId;/*need to use spID instead of suID*/
uint8_t idx;
* None
**/
//uint8_t crashFlag = 0;
-#ifdef ANSI
static Void rgDHMBldTfuDatReq
(
RgCellCb *cellCb,
RgDlHqProcCb *hqP,
RgTfuDatReqPduInfo *datReq
)
-#else
-static Void rgDHMBldTfuDatReq(cellCb, dlSf, hqP, datReq)
-RgCellCb *cellCb;
-RgDlSf *dlSf;
-RgDlHqProcCb *hqP;
-RgTfuDatReqPduInfo *datReq;
-#endif
{
#ifndef L2_OPTMZ
* @return Void
*
**/
-#ifdef ANSI
-S16 rgDHMFreeHqProcTB
-(
-RgDlHqProcCb *hqP,
-uint8_t tbIndex
-)
-#else
-S16 rgDHMFreeHqProcTB(hqP, tbIndex)
-RgDlHqProcCb *hqP;
-uint8_t tbIndex;
-#endif
+S16 rgDHMFreeHqProcTB(RgDlHqProcCb *hqP, uint8_t tbIndex)
{
RgTfuDatReqTbInfo *tb; /* TB to be sent to CL/PHY*/
uint8_t idx;
* @return None.
*
**/
-#ifdef ANSI
-Void rgDHMFreeUe
-(
-Inst inst,
-RgDlHqEnt *hqE
-)
-#else
-Void rgDHMFreeUe(inst,hqE)
-Inst inst;
-RgDlHqEnt *hqE;
-#endif
+Void rgDHMFreeUe(Inst inst, RgDlHqEnt *hqE)
{
uint8_t i;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacRstHqEntReq
-(
-Pst* pst,
-RgInfResetHqEnt* hqEntInfo
-)
-#else
-S16 RgSchMacRstHqEntReq(pst, hqEntInfo)
-Pst* pst;
-RgInfResetHqEnt* hqEntInfo;
-#endif
+S16 RgSchMacRstHqEntReq(Pst* pst, RgInfResetHqEnt* hqEntInfo)
{
Inst inst;
RgCellCb *cell;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacRlsHqReq
-(
-Pst *pst,
-RgInfRlsHqInfo *rlshqUeInfo
-)
-#else
-S16 RgSchMacRlsHqReq(pst, rlshqUeInfo)
-Pst *pst;
-RgInfRlsHqInfo *rlshqUeInfo;
-#endif
+S16 RgSchMacRlsHqReq(Pst *pst, RgInfRlsHqInfo *rlshqUeInfo)
{
Inst inst;
RgCellCb *cell = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgDUXInsSdu
-(
-Inst inst,
-RgMacPdu *pdu,
-RgMacSdu **sdu,
-uint8_t lcId,
-uint16_t sduLen,
-RgErrInfo *err
-)
-#else
-static S16 rgDUXInsSdu(inst,pdu, sdu, lcId, sduLen, err)
-Inst inst;
-RgMacPdu *pdu;
-RgMacSdu **sdu,
-uint8_t lcId;
-uint16_t sduLen;
-RgErrInfo *err;
-#endif
+static S16 rgDUXInsSdu(Inst inst, RgMacPdu *pdu, RgMacSdu **sdu, uint8_t lcId, uint16_t sduLen, RgErrInfo *err)
{
S16 ret;
RgMacSdu *sduAloc = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgDUXExtSubHdr
-(
-Inst inst,
-RgMacPdu *pdu,
-Buffer *mBuf,
-uint8_t *lcId,
-uint16_t *len,
-RgErrInfo *err
-)
-#else
-static S16 rgDUXExtSubHdr(inst,pdu, mBuf, lcId,
-len, err)
-Inst inst;
-RgMacPdu *pdu;
-Buffer *mBuf;
-uint8_t *lcId;
-uint16_t *len;
-RgErrInfo *err;
-#endif
+static S16 rgDUXExtSubHdr(Inst inst, RgMacPdu *pdu, Buffer *mBuf, uint8_t *lcId, uint16_t *len, RgErrInfo *err)
{
uint8_t byte;
uint8_t fmt=0;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgDUXExtCe
-(
-Inst inst,
-RgMacPdu *pdu,
-RgInfCeInfo *ceInfo,
-Buffer *mBuf,
-uint8_t lcId,
-uint16_t subPduLen,
-RgErrInfo *err
-)
-#else
-static S16 rgDUXExtCe(inst,pdu, ceInfo, mBuf,lcId,subPduLen, err)
-Inst inst;
-RgMacPdu *pdu;
-RgInfCeInfo *ceInfo;
-Buffer *mBuf;
-uint8_t lcId;
-uint16_t subPduLen;
-RgErrInfo *err;
-#endif
+static S16 rgDUXExtCe(Inst inst, RgMacPdu *pdu, RgInfCeInfo *ceInfo, Buffer *mBuf, uint8_t lcId, uint16_t subPduLen,\
+RgErrInfo *err)
{
S16 ret;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgDUXExtSdu
-(
-Inst inst,
-RgMacPdu *pdu,
-RgInfCeInfo *ceInfo,
-Buffer **mBuf,
-uint8_t lcId,
-uint16_t subPduLen,
-RgErrInfo *err
-)
-#else
-static S16 rgDUXExtSdu(inst,pdu, ceInfo,mBuf,lcId,subPduLen,err)
-Inst inst;
-RgMacPdu *pdu;
-RgInfCeInfo *ceInfo;
-Buffer **mBuf;
-uint8_t lcId;
-uint16_t subPduLen;
-RgErrInfo *err;
-#endif
+static S16 rgDUXExtSdu(Inst inst, RgMacPdu *pdu, RgInfCeInfo *ceInfo, Buffer **mBuf, uint8_t lcId, uint16_t subPduLen,\
+RgErrInfo *err)
{
S16 ret;
Buffer *tmpBuf1;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgDUXDemuxData
-(
-Inst inst,
-RgMacPdu *pdu,
-RgInfCeInfo *ceInfo,
-Buffer **mBuf,
-RgErrInfo *err
-)
-#else
-S16 rgDUXDemuxData(inst,pdu, ceInfo, mBuf, err)
-Inst inst;
-RgMacPdu *pdu;
-RgInfCeInfo *ceInfo;
-Buffer **mBuf;
-RgErrInfo *err;
-#endif
+S16 rgDUXDemuxData(Inst inst, RgMacPdu *pdu, RgInfCeInfo *ceInfo, Buffer **mBuf, RgErrInfo *err)
{
uint8_t lcId;
uint16_t subPduLen;
* @param[in] Reason reason.
* @return void
**/
-#ifdef ANSI
static inline void rgHdlSMEvents
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-static inline void rgHdlSMEvents(pst, mBuf)
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
switch(pst->event)
{
* @param[in] Reason reason.
* @return void
**/
-#ifdef ANSI
static inline void rgHdlNHEvents
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-static inline void rgHdlNHEvents(pst, mBuf)
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
switch(pst->event)
{
* @param[in] Reason reason.
* @return void
**/
-#ifdef ANSI
static inline void rgHdlKWEvents
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-static inline void rgHdlKWEvents(pst, mBuf)
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
switch(pst->event)
{
* @param[in] Reason reason.
* @return void
**/
-#ifdef ANSI
static inline void rgHdlTFEvents
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-static inline void rgHdlTFEvents(pst, mBuf)
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
switch(pst->event)
{
* @param[in] Reason reason.
* @return void
**/
-#ifdef ANSI
static inline void rgHdlRGEvents
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-static inline void rgHdlRGEvents(pst, mBuf)
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
switch(pst->event)
{
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgActvTsk
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 rgActvTsk(pst, mBuf)
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
switch(pst->srcEnt)
{
*
*/
-#ifdef ANSI
Void rgGetSId
(
SystemId *s /* system id */
)
-#else
-Void rgGetSId(s)
-SystemId *s; /* system id */
-#endif
{
s->mVer = sId.mVer;
s->mRev = sId.mRev;
* -# RFAILED
*
*/
-#ifdef ANSI
S16 rgL2mCreateMeasCb
(
RgCellCb *cell,
uint8_t measType,
RgErrInfo *err
)
-#else
-S16 rgL2mCreateMeasCb(cell, measInfo, measType, err)
-RgCellCb *cell;
-RgInfL2MeasReq *measInfo;
-uint8_t measType;
-RgErrInfo *err;
-#endif
{
// Inst inst = cell->macInst - RG_INST_START;
uint32_t idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgL2mMeasReq
(
RgCellCb *cell,
RgInfL2MeasReq *measInfo,
RgErrInfo *err
)
-#else
-S16 rgL2mMeasReq(cell, measInfo, err)
-RgCellCb *cell;
-RgInfL2MeasReq *measInfo;
-RgErrInfo *err;
-#endif
{
S16 ret=RFAILED;
* @param [in] RgCellCb *cell
* @param [in] RgInfL2MeasCfm *measCfm
*/
-#ifdef ANSI
-static Void rgSndL2MeasCfm
-(
-RgCellCb *cell,
-RgInfL2MeasCfm *measCfm
-)
-#else
-static Void rgSndL2MeasCfm (cell, measCfm)
-RgCellCb *cell;
-RgInfL2MeasCfm *measCfm;
-#endif
+static Void rgSndL2MeasCfm(RgCellCb *cell, RgInfL2MeasCfm *measCfm)
{
Pst pst;
Inst macInst = cell->macInst - RG_INST_START;
* @param [in] RgCellCb *cell
* @param [in] RgInfL2MeasCfm *measCfm
*/
-#ifdef ANSI
-static Void rgSndL2MeasStopCfm
-(
-RgCellCb *cell,
-RgInfL2MeasCfm *measCfm
-)
-#else
-static Void rgSndL2MeasStopCfm (cell, measCfm)
-RgCellCb *cell;
-RgInfL2MeasCfm *measCfm;
-#endif
+static Void rgSndL2MeasStopCfm(RgCellCb *cell,RgInfL2MeasCfm *measCfm)
{
Pst pst;
Inst macInst = cell->macInst - RG_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgSchMacL2MeasReq
(
Pst *pst, /* post structure */
RgInfL2MeasReq *measInfo /* Meas Req Info */
)
-#else
-S16 RgSchMacL2MeasReq(pst, measInfo)
-Pst *pst; /* post structure */
-RgInfL2MeasReq *measInfo; /* Meas Req Info */
-#endif
{
Inst inst;
RgCellCb *cellCb = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgSchMacL2MeasStopReq
(
Pst *pst, /* post structure */
RgInfL2MeasStopReq *measInfo /* Meas Req Info */
)
-#else
-S16 RgSchMacL2MeasStopReq(pst, measInfo)
-Pst *pst; /* post structure */
-RgInfL2MeasStopReq *measInfo; /* Meas Req Info */
-#endif
{
S16 ret = ROK;
CmLList *node = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgSchMacL2MeasSendReq
(
Pst *pst, /* post structure */
RgInfL2MeasSndReq *measInfo /* Meas Req Info */
)
-#else
-S16 RgSchMacL2MeasSendReq(pst, measInfo)
-Pst *pst; /* post structure */
-RgInfL2MeasSndReq *measInfo; /* Meas Req Info */
-#endif
{
Inst inst;
RgCellCb *cellCb = NULLP;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgL2mInsertMeasCb
(
RgCellCb *cell,
RgL2MeasCb *measCb,
RgInfL2MeasReq *measInfo
)
-#else
-static S16 rgL2mInsertMeasCb(cell, measCb, measInfo)
-RgCellCb *cell;
-RgL2MeasCb *measCb;
-RgInfL2MeasReq *measInfo;
-#endif
{
CmLList *lnk, *node;
RgL2MeasCb *oldMeasCb;
* @param [out] RgErrInfo *err
* @return RgSchL2MeasCb *
*/
-#ifdef ANSI
static RgL2MeasCb * rgL2mAllocMeasCb
(
RgCellCb *cell,
RgInfL2MeasReq *measInfo,
RgErrInfo *err
)
-#else
-static RgL2MeasCb * rgL2mAllocMeasCb(cell, measInfo, err)
-RgCellCb *cell;
-RgInfL2MeasReq *measInfo;
-RgErrInfo *err;
-#endif
{
RgL2MeasCb *measCb = NULLP;
Inst inst = cell->macInst - RG_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgL2Meas
-(
-RgCellCb *cell
-)
-#else
-S16 rgL2Meas(cell)
-RgCellCb *cell;
-#endif
+S16 rgL2Meas(RgCellCb *cell)
{
CmLList *node = NULLP;
RgL2MeasCb *measCb = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgLiTfuBndCfm
(
Pst *pst,
SuId suId,
uint8_t status
)
-#else
-S16 RgLiTfuBndCfm(pst, suId, status)
-Pst *pst;
-SuId suId;
-uint8_t status;
-#endif
{
Inst inst;
S16 ret;
* -# RFAILED
*/
#ifdef UNUSED_FUNC
-#ifdef ANSI
-static S16 rgLIMValidateSap
-(
- Inst inst,
- SuId suId
-)
-#else
-static S16 rgLIMValidateSap(inst,suId)
- Inst inst;
- SuId suId;
-#endif
+static S16 rgLIMValidateSap(Inst inst,SuId suId)
{
RgLowSapCb *tfuSap;
* @param [in] Bool *error
* @return
*/
-#ifdef ANSI
-static Void rgLIMUtlFreeDatIndEvnt
-(
- TfuDatIndInfo *datInd,
- Bool error
- )
-#else
-static Void rgLIMUtlFreeDatIndEvnt(datInd, error)
- TfuDatIndInfo *datInd;
- Bool error;
-#endif
+static Void rgLIMUtlFreeDatIndEvnt(TfuDatIndInfo *datInd,Bool error)
{
TfuDatInfo *datInfo;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgLiTfuDatInd
(
Pst *pst,
SuId suId,
TfuDatIndInfo *datInd
)
-#else
-S16 RgLiTfuDatInd(pst, suId, datInd)
-Pst *pst;
-SuId suId;
-TfuDatIndInfo *datInd;
-#endif
{
Inst inst;
S16 ret;
* @param [in] Bool *error
* @return
*/
-#ifdef ANSI
-static Void rgLIMUtlFreeDatReqEvnt
-(
- TfuDatReqInfo *datReq,
- Bool error
- )
-#else
-static Void rgLIMUtlFreeDatReqEvnt(datReq, error)
- TfuDatReqInfo *datReq;
- Bool error;
-#endif
+static Void rgLIMUtlFreeDatReqEvnt(TfuDatReqInfo *datReq,Bool error)
{
TfuDatReqPduInfo *datInfo;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgLIMTfuDelDatReq
-(
-Inst inst,
-TfuDelDatReqInfo *delDatReq
-)
-#else
-S16 rgLIMTfuDatReq(inst,delDatReq)
-Inst inst;
-TfuDelDatReqInfo *delDatReq;
-#endif
+S16 rgLIMTfuDelDatReq(Inst inst,TfuDelDatReqInfo *delDatReq)
{
S16 ret;
RgLowSapCb *tfuSap;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuNonRtInd
-(
-Pst *pst,
-SuId suId
-)
-#else
-S16 RgLiTfuNonRtInd(pst, suId)
-Pst *pst;
-SuId suId;
-#endif
+S16 RgLiTfuNonRtInd(Pst *pst,SuId suId)
{
#ifdef NO_ERRCLS
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgActvInit
(
Ent entity, /* entity */
Region region, /* region */
Reason reason /* reason */
)
-#else
-S16 rgActvInit(entity, inst, region, reason)
-Ent entity; /* entity */
-Inst inst; /* instance */
-Region region; /* region */
-Reason reason; /* reason */
-#endif
{
Inst macInst ;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgCfgReq
(
Pst *pst, /* post structure */
RgMngmt *cfg /* config structure */
)
-#else
-S16 RgMiLrgCfgReq(pst, cfg)
-Pst *pst; /* post structure */
-RgMngmt *cfg; /* config structure */
-#endif
{
uint16_t ret = LCM_PRIM_OK;
uint16_t reason = LCM_REASON_NOT_APPL;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgStsReq
(
Pst *pst, /* post structure */
RgMngmt *sts /* statistics structure */
)
-#else
-S16 RgMiLrgStsReq(pst, sts)
-Pst *pst; /* post structure */
-RgMngmt *sts; /* statistics structure */
-#endif
{
Pst cfmPst;
RgMngmt cfm;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgStaReq
(
Pst *pst, /* post structure */
RgMngmt *sta /* status structure */
)
-#else
-S16 RgMiLrgStaReq(pst, sta)
-Pst *pst; /* post structure */
-RgMngmt *sta; /* status structure */
-#endif
{
Pst cfmPst;
RgMngmt cfm;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgCntrlReq
(
Pst *pst, /* post structure */
RgMngmt *cntrl /* control structure */
)
-#else
-S16 RgMiLrgCntrlReq(pst, cntrl)
-Pst *pst; /* post structure */
-RgMngmt *cntrl; /* control structure */
-#endif
{
S16 ret = ROK; /* return value */
Pst cfmPst;
* -# LCM_REASON_INVALID_SAP
* -# LCM_REASON_NOT_APPL
**/
-#ifdef ANSI
static uint16_t rgLMMSapCfg
(
Inst inst,
RgCfg *cfg, /* Configuaration information */
Elmnt sapType /* Sap Type */
)
-#else
-static uint16_t rgLMMSapCfg(inst,cfg,sapType)
-Inst inst;
-RgCfg *cfg; /* Configuaration information */
-Elmnt sapType; /* Sap Type */
-#endif
{
uint16_t ret = LCM_REASON_NOT_APPL;
RgLowSapCfgInfo *lowSapCfg = NULLP;
* -# LCM_REASON_INVALID_MSGTYPE
* -# LCM_REASON_MEM_NOAVAIL
**/
-#ifdef ANSI
static uint16_t rgLMMGenCfg
(
Inst inst,
RgCfg *cfg /* Configuaration information */
)
-#else
-static uint16_t rgLMMGenCfg(inst,cfg)
-Inst inst;
-RgCfg *cfg; /* Configuaration information */
-#endif
{
uint16_t ret = LCM_REASON_NOT_APPL;
* File : rg_lmm.c
*
**********************************************************/
-#ifdef ANSI
-static Void rgLMMShutdown
-(
-Inst inst
-)
-#else
-static Void rgLMMShutdown(inst)
-Inst inst;
-#endif
+static Void rgLMMShutdown(Inst inst)
{
RgCellCb *cell = rgCb[inst].cell;
uint8_t idx;
* File : rg_lmm.c
*
**********************************************************/
-#ifdef ANSI
static Void rgLMMGenCntrl
(
RgMngmt *cntrl,
RgMngmt *cfm,
Pst *cfmPst
)
-#else
-static Void rgLMMGenCntrl(cntrl, cfm, cfmPst)
-RgMngmt *cntrl;
-RgMngmt *cfm;
-Pst *cfmPst;
-#endif
{
Inst inst = (cfmPst->srcInst - RG_INST_START);
* File : rg_lmm.c
*
**********************************************************/
-#ifdef ANSI
static Void rgLMMSapCntrl
(
RgMngmt *cntrl,
RgMngmt *cfm,
Pst *cfmPst
)
-#else
-static Void rgLMMSapCntrl(cntrl, cfm, cfmPst)
-RgMngmt *cntrl;
-RgMngmt *cfm;
-Pst *cfmPst;
-#endif
{
Inst inst = cfmPst->srcInst - RG_INST_START;
* File : rg_lmm.c
*
**********************************************************/
-#ifdef ANSI
static Void rgLMMFillCfmPst
(
Pst *reqPst,
Pst *cfmPst,
RgMngmt *cfm
)
-#else
-static Void rgLMMFillCfmPst(reqPst, cfmPst, cfm)
-Pst *reqPst;
-Pst *cfmPst;
-RgMngmt *cfm;
-#endif
{
Inst inst;
inst = (reqPst->dstInst - RG_INST_START);
* @return S16
* -# ROK
**/
-#ifdef ANSI
- S16 rgLMMStartTmr
+S16 rgLMMStartTmr
(
- Inst inst,
- S16 tmrEvnt, /* Timer Event */
- uint32_t tmrVal, /* Wait Time */
- PTR cb /* Entry for which Timer Expired */
- )
-#else
-S16 rgLMMStartTmr(tmrEvnt, tmrVal, cb)
- Inst inst;
- S16 tmrEvnt; /* Timer Event */
- uint32_t tmrVal; /* Wait Time */
- PTR cb; /* Entry for which Timer Expired */
-#endif
+Inst inst,
+S16 tmrEvnt, /* Timer Event */
+uint32_t tmrVal, /* Wait Time */
+PTR cb /* Entry for which Timer Expired */
+)
{
CmTmrArg arg;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgLMMStopTmr
(
Inst inst, /* Scheduler instance */
S16 tmrEvnt, /* Timer Event */
PTR cb /* Entry for which Timer Expired */
)
-#else
-S16 rgLMMStopTmr(inst,tmrEvnt, cb)
-Inst inst; /* Scheduler instance */
-S16 tmrEvnt; /* Timer Event */
-PTR cb; /* Entry for which Timer Expired */
-#endif
{
CmTmrArg arg;
uint8_t i;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgLMMTmrExpiry
(
PTR cb, /* Pointer to timer control block */
S16 tmrEvnt /* Timer Event */
)
-#else
-S16 rgLMMTmrExpiry(cb,tmrEvnt)
-PTR cb; /* Pointer to timer control block */
-S16 tmrEvnt; /* Timer Event */
-#endif
{
S16 ret = ROK;
RgLowSapCb *tfuSap = (RgLowSapCb *)cb;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgLMMStaInd
(
Inst inst,
uint16_t cause,
RgUstaDgn *dgn
)
-#else
-S16 rgLMMStaInd(inst,category, event, cause, dgn)
-Inst inst;
-uint16_t category;
-uint16_t event;
-uint16_t cause;
-RgUstaDgn *dgn;
-#endif
{
RgMngmt usta;
-
-
if(rgCb[inst].rgInit.usta == FALSE)
{
return ROK;
* @param[in] uint8_t event, the trace event.
* @return Void
**/
-#ifdef ANSI
Void rgLMMTrcInd
(
Inst inst,
Buffer *srcMbuf, /* Message Buffer */
uint8_t event /* event */
)
-#else
-Void rgLMMTrcInd(inst,srcMbuf,event)
-Inst inst;
-Buffer *srcMbuf; /* Message Buffer */
-uint8_t event; /* event */
-#endif
{
Buffer *dstMbuf = NULLP;
MsgLen bufLen = 0;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgLMMBndCfm
(
Pst *pst, /* Post Structure */
SuId suId, /* Service user ID */
uint8_t status /* Status */
)
-#else
-S16 rgLMMBndCfm(pst,suId,status)
-Pst *pst; /* Post Structure */
-SuId suId; /* Service user ID */
-uint8_t status; /* Status */
-#endif
{
Inst inst = pst->dstInst - RG_INST_START;
S16 ret = ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgActvTmr
-(
-Ent ent,
-Inst inst
-)
-#else
-S16 rgActvTmr(ent, inst)
-Ent ent;
-Inst inst;
-#endif
+S16 rgActvTmr(Ent ent,Inst inst)
{
Inst macInst = (inst - RG_INST_START);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgMUXAddCes
(
Inst inst,
Buffer *ceBuf,
RgErrInfo *err
)
-#else
-static S16 rgMUXAddCes(inst,pdu, ceShdrBuf, ceBuf, err)
-Inst inst;
-RgBldPduInfo *pdu;
-Buffer *ceBuf;
-RgErrInfo *err;
-#endif
{
S16 ret;
RgMUXSubHdr subHdr;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgMUXInsSdu
(
Inst inst,
Buffer *sduBuf,
RgErrInfo *err
)
-#else
-static S16 rgMUXInsSdu(inst,schdTbSz, lcId, sdu, sduBuf, err)
-Inst inst;
-MsgLen *schdTbSz;
-uint8_t lcId;
-Buffer *sdu;
-Buffer *sduBuf;
-RgErrInfo *err;
-#endif
{
S16 ret;
MsgLen msgLen = 0;
#ifdef L2_OPTMZ
uint32_t padSize = 0;
#endif
-#ifdef ANSI
S16 rgMUXAddPadd
(
Inst inst,
Bool isRar,
RgErrInfo *err
)
-#else
-S16 rgMUXAddPadd(inst,schdTbSz, sduBuf, isRar, err)
-Inst inst;
-MsgLen *schdTbSz;
-Buffer *sduBuf;
-Bool isRar;
-RgErrInfo *err;
-#endif
{
S16 ret = ROK;
Buffer *padBuf = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgMUXAddSdus
(
Inst inst,
Buffer *sduBuf,
RgErrInfo *err
)
-#else
-static S16 rgMUXAddSdus(inst,pdu, sduBuf, err)
-Inst inst;
-RgBldPduInfo *pdu;
-Buffer *sduBuf;
-RgErrInfo *err;
-#endif
{
RgRguDDatReqPerUe *dDatReq;
RgRguCmnDatReq *cDatReq;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgMUXBldPdu
(
Inst inst,
Buffer **txPdu,
RgErrInfo *err
)
-#else
-S16 rgMUXBldPdu(inst, pdu, txPdu, err)
-Inst inst;
-RgBldPduInfo *pdu;
-Buffer **txPdu;
-RgErrInfo *err;
-#endif
{
Buffer *mBuf = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgMUXAddSdus
(
Inst inst,
RgTfuDatReqTbInfo *tb,
RgErrInfo *err
)
-#else
-static S16 rgMUXAddSdus(pdu, sHdrBuf, tb, err)
-Inst inst;
-RgBldPduInfo *pdu;
-Buffer *sHdrBuf;
-RgTfuDatReqTbInfo *tb;
-RgErrInfo *err;
-#endif
{
RgRguDDatReqPerUe *dDatReq;
RgRguCmnDatReq *cDatReq;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgMUXBldPdu
(
Inst inst,
RgTfuDatReqTbInfo *tb,
RgErrInfo *err
)
-#else
-S16 rgMUXBldPdu(inst, pdu, tb, err)
-Inst inst;
-RgBldPduInfo *pdu;
-RgTfuDatReqTbInfo *tb;
-RgErrInfo *err;
-#endif
{
Buffer *mBuf1; /* MAC hearder */
Buffer *mBuf2; /* MAC CEs */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgMUXBldRarPdu
(
RgCellCb *cell,
Buffer **txPdu,
RgErrInfo *err
)
-#else
-S16 rgMUXBldRarPdu(cell, alloc, txPdu, err)
-RgCellCb *cell;
-RgInfRaRntiInfo *alloc;
-Buffer **txPdu;
-RgErrInfo *err;
-#endif
{
Buffer *datBuf = NULLP;
S16 ret;
* File : rg_mux.c
*
**********************************************************/
-#ifdef ANSI
static Void rgMUXGet20bitRarGrnt
(
uint8_t ulBw,
RgInfRarUlGrnt *msg3Grnt,
uint8_t *grnt
)
-#else
-static Void rgMUXGet20bitRarGrnt(ulBw, msg3Grnt, grnt)
-uint8_t ulBw;
-RgInfRarUlGrnt *msg3Grnt;
-uint8_t *grnt;
-#endif
{
uint16_t riv = rgMUXCalcRiv(ulBw, msg3Grnt->rbStart, msg3Grnt->numRb);
* File : rg_mux.c
*
**********************************************************/
-#ifdef ANSI
uint16_t rgMUXCalcRiv
(
uint8_t bw,
uint8_t rbStart,
uint8_t numRb
)
-#else
-uint16_t rgMUXCalcRiv(bw, rbStart, numRb)
-uint8_t bw;
-uint8_t rbStart;
-uint8_t numRb;
-#endif
{
uint8_t numRbMinus1 = numRb - 1;
uint16_t riv;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgPrgPMacSMacUeSCellLchModReq
(
Pst *pst,
RgPrgUeSCellLchModInfo *lchCfgCb
)
-#else
-S16 RgPrgPMacSMacUeSCellLchModReq(pst, lchCfgCb)
-Pst *pst;
-RgPrgUeSCellLchModInfo *lchCfgCb;
-#endif
{
RgPrgCfgCfmInfo cfgCfm;
Inst inst = pst->dstInst;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgPomSndUeSCellLchDelToSmac
(
Inst inst,
CrgDel *lcDel,
Bool *isCfmRqrd
)
-#else
-S16 rgPomSndUeSCellLchDelToSmac(inst,lcDel,isCfmRqrd)
-Inst inst;
-CrgDel *lcDel;
-Bool *isCfmRqrd;
-#endif
{
uint8_t idx = 0;
Inst dstMacInst;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgPomSndUeSCellLchModToSmac
(
Inst inst,
CrgLchRecfg *lchRecfg,
Bool *isCfmRqrd
)
-#else
-S16 rgPomSndUeSCellLchModToSmac(inst, cell, ue, lchRecfg, isCfmRqrd)
-Inst inst;
-RgCellCb *cell;
-RgUeCb *ue;
-CrgLchRecfg *lchRecfg;
-Bool *isCfmRqrd;
-#endif
{
uint8_t idx = 0;
Inst dstMacInst;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgPomSndUeSCellLchAddToSmac
(
Inst inst,
CrgLchCfg *lchCfg,
Bool *isCfmRqrd
)
-#else
-S16 rgPomSndUeSCellLchAddToSmac(inst, cell, ue, lchCfg, isCfmRqrd)
-Inst inst;
-RgCellCb *cell;
-RgUeCb *ue;
-CrgLchCfg *lchCfg;
-Bool *isCfmRqrd;
-#endif
{
uint8_t idx = 0;
Inst dstMacInst;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgPrgPMacSMacUeSCellLchDelReq
(
Pst *pst,
RgPrgUeSCellLchDelInfo *delLcCb
)
-#else
-S16 RgPrgPMacSMacUeSCellLchDelReq(pst, delLcCb)
-Pst *pst;
-RgPrgUeSCellLchDelInfo *delLcCb;
-#endif
{
RgPrgCfgCfmInfo cfgCfm;
Inst inst = pst->dstInst;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgPrgPMacSMacUeSCellLchAddReq
(
Pst *pst,
RgPrgUeSCellLchAddInfo *lchCfgCb
)
-#else
-S16 RgPrgPMacSMacUeSCellLchAddReq(pst, lchCfgCb)
-Pst *pst;
-RgPrgUeSCellLchAddInfo *lchCfgCb;
-#endif
{
RgPrgCfgCfmInfo cfgCfm;
Inst inst = pst->dstInst;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgPomVldtAddLch
(
Inst inst,
RgCellCb **cell,
RgUeCb **ue
)
-#else
-S16 rgPomVldtAddLch(inst,lcCfg, cell, ue)
-Inst inst;
-RgPrgUeSCellLchAddInfo *lcCfg;
-RgCellCb **cell;
-RgUeCb **ue;
-#endif
{
RGDBGPRM(inst,(rgPBuf(inst), "VALIDATE SMAC LC CONFIG: cellId %d ueId %d lcId %d\
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgPomUeSCellLcAdd
(
Inst inst,
RgUeCb *ue,
RgPrgUeSCellLchAddInfo *lcCfg
)
-#else
-S16 rgPomUeSCellLcAdd(inst,cell, ue, lcCfg)
-Inst inst;
-RgCellCb *cell;
-RgUeCb *ue;
-RgPrgUeSCellLchAddInfo *lcCfg;
-#endif
{
RGDBGPRM(inst,(rgPBuf(inst), "APPLYING CRG LC CONFIG: cellId %d ueId %d\
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgPomVldtSCellDedLchCfg
(
Inst inst,
RgCellCb **cell,
RgUeCb **ue
)
-#else
-static S16 rgPomVldtSCellDedLchCfg(inst,lcCfg, cell, ue)
-Inst inst;
-RgPrgUeSCellLchAddInfo *lcCfg;
-RgCellCb **cell;
-RgUeCb **ue;
-#endif
{
RGDBGPRM(inst,(rgPBuf(inst), "VALIDATING CRG DEDICATED LC CONFIG \n"));
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgPomUeSCellDedLcCfg
(
RgCellCb *cell,
RgUeCb *ue,
RgPrgUeSCellLchAddInfo *lcCfg
)
-#else
-static S16 rgPomUeSCellDedLcCfg(cell, ue, lcCfg)
-RgCellCb *cell;
-RgUeCb *ue;
-RgPrgUeSCellLchAddInfo *lcCfg;
-#endif
{
//Inst inst = cell->macInst - RG_INST_START;
//RGDBGPRM(inst,(rgPBuf(inst), "APPLYING DEDICATED LC CONFIG\n"));
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgPomVltdModLch
(
- Inst inst,
- RgPrgUeSCellLchModInfo *lchCfgCb,
- RgCellCb **cell,
- RgUeCb **ue,
- RgUlLcCb **ulLc
+Inst inst,
+RgPrgUeSCellLchModInfo *lchCfgCb,
+RgCellCb **cell,
+RgUeCb **ue,
+RgUlLcCb **ulLc
)
-#else
-S16 rgPomVltdModLch(inst, lchCfgCb, cell, ue, ulLc)
- Inst inst;
- RgPrgUeSCellLchModInfo *lchCfgCb;
- RgCellCb **cell;
- RgUeCb **ue;
- RgUlLcCb **ulLc;
-#endif
{
RGDBGPRM(inst,(rgPBuf(inst), "VALIDATE SMAC LC RECONFIG: cellId %d ueId %d \
lcId %d cell %p ue %p ulLc %p\n",lchCfgCb->cellId,
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgPomUeSCellLcMod
(
Inst inst,
RgUlLcCb *ulLc,
RgPrgUeSCellLchModInfo *lchCfgCb
)
-#else
-S16 rgPomUeSCellLcMod(inst,cell, ue, ulLc, lchCfgCb)
-Inst inst;
-RgUeCb *ue;
-RgUlLcCb *ulLc;
-RgPrgUeSCellLchModInfo *lchCfgCb;
-#endif
{
RGDBGPRM(inst,(rgPBuf(inst), "APPLYING SMAC LC RECONFIG: cellId %d ueId %d\
lcId %d \n",
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgPomVltdDelLch
(
- Inst inst,
- RgPrgUeSCellLchDelInfo *delLcCb,
- RgCellCb **cell,
- RgUeCb **ue,
- RgUlLcCb **ulLc,
- RgDlLcCb **dlLc
+Inst inst,
+RgPrgUeSCellLchDelInfo *delLcCb,
+RgCellCb **cell,
+RgUeCb **ue,
+RgUlLcCb **ulLc,
+RgDlLcCb **dlLc
)
-#else
-S16 rgPomVltdDelLch(inst, delLcCb, cell, ue, ulLc, dlLc)
- Inst inst;
- RgPrgUeSCellLchDelInfo *delLcCb;
- RgCellCb **cell;
- RgUeCb **ue;
- RgUlLcCb **ulLc;
- RgDlLcCb **dlLc;
-#endif
{
RGDBGPRM(inst,(rgPBuf(inst), "VALIDATE SMAC LC RECONFIG: cellId %d ueId %d \
lcId %d cell %p ue %p ulLc %p\n",delLcCb->cellId,
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgPomUeSCellLcDel
(
Inst inst,
RgUlLcCb *ulLc,
RgDlLcCb *dlLc
)
-#else
-S16 rgPomUeSCellLcDel(inst,delLcCb,ue,ulLc,dlLc)
-Inst inst;
-RgPrgUeSCellLchDelInfo *delLcCb;
-RgUeCb *ue;
-RgUlLcCb *ulLc;
-RgDlLcCb *dlLc;
-#endif
{
RGDBGPRM(inst,(rgPBuf(inst), "APPLYING CRG LC DELETE: cellId %d ueId %d\
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkPrgPMacSMacUeSCellCfgReq
-(
-Pst *pst,
-RgPrgUeSCellCfgInfo *ueSCellCfgInfo
-)
-#else
-S16 cmPkPrgPMacSMacUeSCellCfgReq(pst, ueSCellCfgInfo)
-Pst *pst;
-RgPrgUeSCellCfgInfo *ueSCellCfgInfo;
-#endif
+S16 cmPkPrgPMacSMacUeSCellCfgReq(Pst *pst,RgPrgUeSCellCfgInfo *ueSCellCfgInfo)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkPrgPMacSMacUeSCellCfgReq
-(
-RgPrgUeSCellCfgReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkPrgPMacSMacUeSCellCfgReq(func, pst, mBuf)
-RgPrgUeSCellCfgReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkPrgPMacSMacUeSCellCfgReq(RgPrgUeSCellCfgReq func,Pst *pst,Buffer *mBuf)
{
RgPrgUeSCellCfgInfo ueSCellCfgInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkPrgSMacPMacCfgCfm
-(
-Pst *pst,
-RgPrgCfgCfmInfo *cfgCfm
-)
-#else
-S16 cmPkPrgSMacPMacCfgCfm(pst, cfgCfm)
-Pst *pst;
-RgPrgCfgCfmInfo *cfgCfm;
-#endif
+S16 cmPkPrgSMacPMacCfgCfm(Pst *pst,RgPrgCfgCfmInfo *cfgCfm)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkPrgSMacPMacCfgCfm
(
RgSMacPMacCfgCfm func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkPrgSMacPMacCfgCfm(func, pst, mBuf)
-RgSMacPMacCfgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgPrgCfgCfmInfo cfgCfm;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkPrgPMacSMacUeSCellDelReq
-(
-Pst *pst,
-RgPrgUeSCellDelInfo *ueSCellDelInfo
-)
-#else
-S16 cmPkPrgPMacSMacUeSCellDelReq(pst, ueSCellDelInfo)
-Pst *pst;
-RgPrgUeSCellDelInfo *ueSCellDelInfo;
-#endif
+S16 cmPkPrgPMacSMacUeSCellDelReq(Pst *pst,RgPrgUeSCellDelInfo *ueSCellDelInfo)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkPrgPMacSMacUeSCellDelReq
(
RgUeSCellDelReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkPrgPMacSMacUeSCellDelReq(func, pst, mBuf)
-RgUeSCellDelReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgPrgUeSCellDelInfo ueSCellDelInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkPrgPMacSMacUeSCellLchAddReq
-(
-Pst *pst,
-RgPrgUeSCellLchAddInfo *lchCfgInfo,
-)
-#else
-S16 cmPkPrgPMacSMacUeSCellLchAddReq(pst, lchCfgInfo)
-Pst *pst;
-RgPrgUeSCellLchAddInfo *lchCfgInfo;
-#endif
+S16 cmPkPrgPMacSMacUeSCellLchAddReq(Pst *pst,RgPrgUeSCellLchAddInfo *lchCfgInfo)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkPrgPMacSMacUeSCellLchAddReq
(
RgPrgUeSCellLchAddInfo func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkPrgPMacSMacUeSCellLchAddReq(func, pst, mBuf)
-RgPrgUeSCellLchAddInfo func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgPrgLchRecfgInfo lchCfgInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkPrgPMacSMacUeSCellLchDelReq
-(
-Pst *pst,
-RgPrgUeSCellLchDelInfo *delLcCb
-)
-#else
-S16 cmPkPrgPMacSMacUeSCellLchDelReq(pst, delLcCb)
-Pst *pst;
-RgPrgUeSCellLchDelInfo *delLcCb;
-#endif
+S16 cmPkPrgPMacSMacUeSCellLchDelReq(Pst *pst,RgPrgUeSCellLchDelInfo *delLcCb)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkPrgPMacSMacUeSCellLchModReq
-(
-Pst *pst,
-RgPrgUeSCellLchModInfo *lchCfgInfo
-)
-#else
-S16 cmPkPrgPMacSMacUeSCellLchModReq(pst, lchCfgInfo)
-Pst *pst;
-RgPrgUeSCellLchModInfo *lchCfgInfo;
-#endif
+S16 cmPkPrgPMacSMacUeSCellLchModReq(Pst *pst,RgPrgUeSCellLchModInfo *lchCfgInfo)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkPrgPMacSMacUeSCellLchModReq
(
RgPrgUeScellModLchReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkPrgPMacSMacAddLchCfgReq(func, pst, mBuf)
-RgPrgUeScellModLchReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgPrgUeSCellLchModInfo lchCfgInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 cmUnpkPrgPMacSMacUeSCellLchDelReq
(
RgPrgUeScellDelLchReq func,
Pst *pst,
Buffer *mBuf
)
-#else
-S16 cmUnpkPrgPMacSMacUeSCellLchDelReq(func, pst, mBuf)
-RgPrgUeScellDelLchReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
{
RgPrgUeSCellLchDelInfo lchCfgInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgPrgPMacSMacUeSCellCfg
-(
- Pst *pst,
- RgPrgUeSCellCfgInfo *ueSCellCfgInfo
-)
-#else
-S16 RgPrgPMacSMacUeSCellCfg(pst, ueSCellCfgInfo)
- Pst *pst;
- RgPrgUeSCellCfgInfo *ueSCellCfgInfo;
-#endif
+S16 RgPrgPMacSMacUeSCellCfg(Pst *pst, RgPrgUeSCellCfgInfo *ueSCellCfgInfo)
{
return ((*RgPrgPMacSMacUeSCellCfgReqMt[0])(pst, ueSCellCfgInfo));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgPrgSMacPMacCfg
-(
- Pst *pst,
- RgPrgCfgCfmInfo *cfgCfm
-)
-#else
-S16 RgPrgSMacPMacCfg(pst, cfgCfm)
- Pst *pst;
- RgPrgCfgCfmInfo *cfgCfm;
-#endif
+S16 RgPrgSMacPMacCfg(Pst *pst,RgPrgCfgCfmInfo *cfgCfm)
{
return ((*RgPrgSMacPMacCfgCfmMt[0])(pst, cfgCfm));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgPrgPMacSMacUeSCellDel
-(
- Pst *pst,
- RgPrgUeSCellDelInfo *ueSCellDelInfo
-)
-#else
-S16 RgPrgPMacSMacUeSCellDel(pst, ueSCellDelInfo)
- Pst *pst;
- RgPrgUeSCellDelInfo *ueSCellDelInfo;
-#endif
+S16 RgPrgPMacSMacUeSCellDel(Pst *pst,RgPrgUeSCellDelInfo *ueSCellDelInfo)
{
return ((*RgPrgPMacSMacUeSCellDelReqMt[0])(pst, ueSCellDelInfo));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgPrgPMacSMacUeScellLchMod
-(
- Pst *pst,
- RgPrgUeSCellLchModInfo *lchCfgInfo
-)
-#else
-S16 RgPrgPMacSMacUeScellLchMod(pst, lchCfgInfo)
- Pst *pst;
- RgPrgUeSCellLchModInfo *lchCfgInfo;
-#endif
+S16 RgPrgPMacSMacUeScellLchMod(Pst *pst,RgPrgUeSCellLchModInfo *lchCfgInfo)
{
return ((*RgPrgPMacSMacUeScellModLchReqMt[0])(pst, lchCfgInfo));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgPrgPMacSMacUeScellLchDel
-(
- Pst *pst,
- RgPrgUeSCellLchDelInfo *delLcCb
-)
-#else
-S16 RgPrgPMacSMacUeScellLchDel(pst, delLcCb)
- Pst *pst;
- RgPrgUeSCellLchDelInfo *delLcCb;
-#endif
+S16 RgPrgPMacSMacUeScellLchDel(Pst *pst,RgPrgUeSCellLchDelInfo *delLcCb)
{
return ((*RgPrgPMacSMacUeScellDelLchReqMt[0])(pst, delLcCb));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgPrgPMacSMacUeScellLchAdd
-(
- Pst *pst,
- RgPrgUeSCellLchAddInfo *lchCfgInfo
-)
-#else
-S16 RgPrgPMacSMacUeScellLchAdd(pst, lchCfgInfo)
- Pst *pst;
- RgPrgUeSCellLchAddInfo *lchCfgInfo;
-#endif
+S16 RgPrgPMacSMacUeScellLchAdd(Pst *pst,RgPrgUeSCellLchAddInfo *lchCfgInfo)
{
return ((*RgPrgPMacSMacUeScellAddLchReqMt[0])(pst, lchCfgInfo));
* File :
*
**********************************************************/
-#ifdef ANSI
S16 RgLiTfuDelDatReq
(
Pst * pst,
SpId spId,
TfuDelDatReqInfo * delDatReq
)
-#else
-S16 RgLiTfuDelDatReq(pst, spId, delDatReq)
-Pst * pst;
-SpId spId;
-TfuDelDatReqInfo * delDatReq;
-#endif
{
return ((*RgLiTfuDelDatReqMt[pst->selector])(pst, spId, delDatReq));
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuBndReq
(
Pst * pst,
SuId suId,
SpId spId
)
-#else
-S16 PtLiTfuBndReq(pst, suId, spId)
-Pst * pst;
-SuId suId;
-SpId spId;
-#endif
{
-
UNUSED(pst);
UNUSED(suId);
UNUSED(spId);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuSchBndReq
(
Pst * pst,
SuId suId,
SpId spId
)
-#else
-S16 PtLiTfuSchBndReq(pst, suId, spId)
-Pst * pst;
-SuId suId;
-SpId spId;
-#endif
{
UNUSED(pst);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuUbndReq
(
Pst * pst,
SpId spId,
Reason reason
)
-#else
-S16 PtLiTfuUbndReq(pst, spId, reason)
-Pst * pst;
-SpId spId;
-Reason reason;
-#endif
{
UNUSED(pst);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuSchUbndReq
(
Pst * pst,
SpId spId,
Reason reason
)
-#else
-S16 PtLiTfuSchUbndReq(pst, spId, reason)
-Pst * pst;
-SpId spId;
-Reason reason;
-#endif
{
UNUSED(pst);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuRecpReq
(
Pst * pst,
SpId spId,
TfuRecpReqInfo * recpReq
)
-#else
-S16 PtLiTfuRecpReq(pst, spId, recpReq)
-Pst * pst;
-SpId spId;
-TfuRecpReqInfo * recpReq;
-#endif
{
UNUSED(pst);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuCntrlReq
(
Pst * pst,
SpId spId,
TfuCntrlReqInfo * cntrlReq
)
-#else
-S16 PtLiTfuCntrlReq(pst, spId, cntrlReq)
-Pst * pst;
-SpId spId;
-TfuCntrlReqInfo * cntrlReq;
-#endif
{
UNUSED(pst);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuDatReq
(
Pst * pst,
SpId spId,
TfuDatReqInfo * datReq
)
-#else
-S16 PtLiTfuDatReq(pst, spId, datReq)
-Pst * pst;
-SpId spId;
-TfuDatReqInfo * datReq;
-#endif
{
UNUSED(pst);
* File :
*
**********************************************************/
-#ifdef ANSI
S16 PtLiTfuDelDatReq
(
Pst * pst,
SpId spId,
TfuDelDatReqInfo * delDatReq
)
-#else
-S16 PtLiTfuDelDatReq(pst, spId, delDatReq)
-Pst * pst;
-SpId spId;
-TfuDelDatReqInfo * DelDatReq;
-#endif
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgCfgCfm
(
Pst *pst, /* post structure */
RgMngmt *cfm /* config confirm structure */
)
-#else
-S16 RgMiLrgCfgCfm(pst, cfm)
-Pst *pst; /* post structure */
-RgMngmt *cfm; /* config confirm structure */
-#endif
{
(*RgMiLrgCfgCfmMt[pst->selector])(pst, cfm);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgSchCfgCfm
(
Pst *pst, /* post structure */
RgMngmt *cfm /* config confirm structure */
)
-#else
-S16 RgMiLrgSchCfgCfm(pst, cfm)
-Pst *pst; /* post structure */
-RgMngmt *cfm; /* config confirm structure */
-#endif
{
(*RgMiLrgSchCfgCfmMt[pst->selector])(pst, cfm);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgStsCfm
(
Pst *pst, /* post structure */
RgMngmt *cfm /* statistics confirm structure */
)
-#else
-S16 RgMiLrgStsCfm(pst, cfm)
-Pst *pst; /* post structure */
-RgMngmt *cfm; /* statistics confirm structure */
-#endif
{
(*RgMiLrgStsCfmMt[pst->selector])(pst, cfm);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgStaCfm
(
Pst *pst, /* post structure */
RgMngmt *cfm /* status confirm structure */
)
-#else
-S16 RgMiLrgStaCfm(pst, cfm)
-Pst *pst; /* post structure */
-RgMngmt *cfm; /* status confirm structure */
-#endif
{
(*RgMiLrgStaCfmMt[pst->selector])(pst,cfm);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgCntrlCfm
(
Pst *pst, /* post structure */
RgMngmt *cfm /* control confirm structure */
)
-#else
-S16 RgMiLrgCntrlCfm(pst, cfm)
-Pst *pst; /* post structure */
-RgMngmt *cfm; /* control confirm structure */
-#endif
{
(*RgMiLrgCntrlCfmMt[pst->selector])(pst,cfm);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgSchCntrlCfm
(
Pst *pst, /* post structure */
RgMngmt *cfm /* control confirm structure */
)
-#else
-S16 RgMiLrgSchCntrlCfm(pst, cfm)
-Pst *pst; /* post structure */
-RgMngmt *cfm; /* control confirm structure */
-#endif
{
(*RgMiLrgSchCntrlCfmMt[pst->selector])(pst,cfm);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgStaInd
(
Pst *pst, /* post structure */
RgMngmt *usta /* status indication structure */
)
-#else
-S16 RgMiLrgStaInd(pst, usta)
-Pst *pst; /* post structure */
-RgMngmt *usta; /* status indication structure */
-#endif
{
(*RgMiLrgStaIndMt[pst->selector])(pst,usta);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgSchStaInd
(
Pst *pst, /* post structure */
RgMngmt *usta /* status indication structure */
)
-#else
-S16 RgMiLrgSchStaInd(pst, usta)
-Pst *pst; /* post structure */
-RgMngmt *usta; /* status indication structure */
-#endif
{
(*RgMiLrgSchStaIndMt[pst->selector])(pst,usta);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgTrcInd
(
Pst *pst, /* post structure */
RgMngmt *trc, /* Trace event */
Buffer *mBuf /* Trace message */
)
-#else
-S16 RgMiLrgTrcInd(pst, trc, mBuf)
-Pst *pst; /* post structure */
-RgMngmt *trc; /* Trace event */
-Buffer *mBuf; /* Trace message */
-#endif
{
(*RgMiLrgTrcIndMt[pst->selector])(pst,trc,mBuf);
#ifdef LTE_L2_MEAS
/* TODO: Function header */
-#ifdef ANSI
S16 RgMiLrgSchL2MeasCfm
(
Pst *pst, /* post structure */
LrgSchMeasCfmInfo *cfm /* Meas Cfm Info */
)
-#else
-S16 RgMiLrgSchL2MeasCfm(pst, cfm)
-Pst *pst; /* post structure */
-LrgSchMeasCfmInfo *cfm; /* Meas Cfm Info */
-#endif
{
(*RgMiLrgSchL2mMeasCfmMt[pst->selector])(pst,cfm);
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgSchL2MeasStopCfm
(
Pst *pst, /* post structure */
LrgSchMeasCfmInfo *cfm /* Meas Cfm Info */
)
-#else
-S16 RgMiLrgSchL2MeasStopCfm(pst, cfm)
-Pst *pst; /* post structure */
-LrgSchMeasCfmInfo *cfm; /* Meas Cfm Info */
-#endif
{
(*RgMiLrgSchL2mMeasStopCfmMt[pst->selector])(pst,cfm);
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 PtMiLrgCfgCfm
(
Pst *pst, /* post structure */
RgMngmt *cfm /* Config Confirm */
)
-#else
-S16 PtMiLrgCfgCfm (pst, cfm)
-Pst *pst; /* post structure */
-RgMngmt *cfm; /* Config Confirm */
-#endif
{
return ROK;
}/* end of PtMiLrgCfgCfm */
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 PtMiLrgSchCfgCfm
(
Pst *pst, /* post structure */
RgMngmt *cfm /* Config Confirm */
)
-#else
-S16 PtMiLrgSchCfgCfm (pst, cfm)
-Pst *pst; /* post structure */
-RgMngmt *cfm; /* Config Confirm */
-#endif
{
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 PtMiLrgStsCfm
(
Pst *pst, /* post structure */
RgMngmt *cfm /* Statistics Confirm */
)
-#else
-S16 PtMiLrgStsCfm (pst, cfm)
-Pst *pst; /* post structure */
-RgMngmt *cfm; /* Statistics Confirm */
-#endif
{
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 PtMiLrgStaCfm
(
Pst *pst, /* post structure */
RgMngmt *cfm /* Status Confirm */
)
-#else
-S16 PtMiLrgStaCfm (pst, cfm)
-Pst *pst; /* post structure */
-RgMngmt *cfm; /* Status Confirm */
-#endif
{
return ROK;
}/* end of PtMiLrgStaCfm */
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 PtMiLrgStaInd
(
Pst *pst, /* post structure */
RgMngmt *usta /* Status Indication */
)
-#else
-S16 PtMiLrgStaInd (pst, usta)
-Pst *pst; /* post structure */
-RgMngmt *usta; /* Status indication */
-#endif
{
return ROK;
}/* end of PtMiLrgStaInd */
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 PtMiLrgSchStaInd
(
Pst *pst, /* post structure */
RgMngmt *usta /* Status Indication */
)
-#else
-S16 PtMiLrgSchStaInd (pst, usta)
-Pst *pst; /* post structure */
-RgMngmt *usta; /* Status indication */
-#endif
{
return ROK;
}/* end of PtMiLrgSchStaInd */
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 PtMiLrgCntrlCfm
(
Pst *pst, /* post structure */
RgMngmt *cfm /* Control Confirm */
)
-#else
-S16 PtMiLrgCntrlCfm (pst, cfm)
-Pst *pst; /* post structure */
-RgMngmt *cfm; /* Control Confirm */
-#endif
{
return ROK;
}/* end of PtMiLrgCntrlCfm */
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 PtMiLrgSchCntrlCfm
(
Pst *pst, /* post structure */
RgMngmt *cfm /* Control Confirm */
)
-#else
-S16 PtMiLrgSchCntrlCfm (pst, cfm)
-Pst *pst; /* post structure */
-RgMngmt *cfm; /* Control Confirm */
-#endif
{
return ROK;
}/* end of PtMiLrgSchCntrlCfm */
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 PtMiLrgTrcInd
(
Pst *pst, /* post structure */
RgMngmt *trc, /* Trace Event */
Buffer *mBuf /* Trace message */
)
-#else
-S16 PtMiLrgTrcInd (pst, trc,mBuf)
-Pst *pst; /* post structure */
-RgMngmt *trc; /* Trace Event */
-Buffer *mBuf; /* Trace message */
-#endif
{
return ROK;
}/* end of PtMiLrgTrcInd */
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 PtMiLrgSchL2MeasCfm
(
Pst *pst, /* post structure */
LrgSchMeasCfmInfo *cfm /* Measurement Confirm */
)
-#else
-S16 PtMiLrgSchL2MeasCfm(pst, cfm)
-Pst *pst; /* post structure */
-LrgSchMeasCfmInfo *cfm; /* Measurement Confirm */
-#endif
{
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 PtMiLrgSchL2MeasStopCfm
(
Pst *pst, /* post structure */
LrgSchMeasCfmInfo *cfm /* Measurement Confirm */
)
-#else
-S16 PtMiLrgSchL2MeasStopCfm(pst, cfm)
-Pst *pst; /* post structure */
-LrgSchMeasCfmInfo *cfm; /* Measurement Confirm */
-#endif
{
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRgrBndCfm
-(
-Pst* pst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 RgUiRgrBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
+S16 RgUiRgrBndCfm(Pst* pst,SuId suId,uint8_t status)
{
return ((*RgUiRgrBndCfmMt[pst->selector])(pst, suId, status));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRgmBndCfm
-(
-Pst* pst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 RgUiRgmBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
+S16 RgUiRgmBndCfm(Pst* pst,SuId suId,uint8_t status)
{
return ((*RgUiRgmBndCfmMt[pst->selector])(pst, suId, status));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRgrTtiInd
-(
-Pst* pst,
-SuId suId,
-RgrTtiIndInfo *ttiInd
-)
-#else
-S16 RgUiRgrTtiInd(pst, suId, ttiInd)
-Pst* pst;
-SuId suId;
-RgrTtiIndInfo *ttiInd;
-#endif
+S16 RgUiRgrTtiInd(Pst* pst,SuId suId,RgrTtiIndInfo *ttiInd)
{
return ((*RgUiRgrTtiIndMt[pst->selector])(pst, suId, ttiInd));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRgrCfgCfm
-(
-Pst* pst,
-RgrCfgTransId transId,
-uint8_t status
-)
-#else
-S16 RgUiRgrCfgCfm(pst, transId, status)
-Pst* pst;
-RgrCfgTransId transId;
-uint8_t status;
-#endif
+S16 RgUiRgrCfgCfm(Pst* pst,RgrCfgTransId transId,uint8_t status)
{
return ((*RgUiRgrCfgCfmMt[pst->selector])(pst, transId, status));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiCrgBndCfm
-(
-Pst* pst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 RgUiCrgBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
+S16 RgUiCrgBndCfm(Pst* pst,SuId suId,uint8_t status)
{
return ((*RgUiCrgBndCfmMt[pst->selector])(pst, suId, status));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiCrgCfgCfm
-(
-Pst* pst,
-SuId suId,
-CrgCfgTransId transId,
-uint8_t status
-)
-#else
-S16 RgUiCrgCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-CrgCfgTransId transId;
-uint8_t status;
-#endif
+S16 RgUiCrgCfgCfm(Pst* pst,SuId suId,CrgCfgTransId transId,uint8_t status)
{
return ((*RgUiCrgCfgCfmMt[pst->selector])(pst, suId, transId, status));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRguBndCfm
-(
-Pst* pst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 RgUiRguBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
+S16 RgUiRguBndCfm(Pst* pst,SuId suId,uint8_t status)
{
return ((*RgUiRguBndCfmMt[pst->selector])(pst, suId, status));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRguCDatInd
-(
-Pst* pst,
-SuId suId,
-RguCDatIndInfo * datInd
-)
-#else
-S16 RgUiRguCDatInd(pst, suId, datInd)
-Pst* pst;
-SuId suId;
-RguCDatIndInfo * datInd;
-#endif
+S16 RgUiRguCDatInd(Pst* pst,SuId suId,RguCDatIndInfo *datInd)
{
macCDatIndSnt++;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRguDDatInd
-(
-Pst* pst,
-SuId suId,
-RguDDatIndInfo * datInd
-)
-#else
-S16 RgUiRguDDatInd(pst, suId, datInd)
-Pst* pst;
-SuId suId;
-RguDDatIndInfo * datInd;
-#endif
+S16 RgUiRguDDatInd(Pst* pst,SuId suId,RguDDatIndInfo *datInd)
{
macDDatIndSnt++;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRguCStaInd
-(
-Pst* pst,
-SuId suId,
-RguCStaIndInfo * staInd
-)
-#else
-S16 RgUiRguCStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RguCStaIndInfo * staInd;
-#endif
+S16 RgUiRguCStaInd(Pst* pst,SuId suId,RguCStaIndInfo *staInd)
{
return ((*RgUiRguCStaIndMt[pst->selector])(pst, suId, staInd));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRguDStaInd
-(
-Pst* pst,
-SuId suId,
-RguDStaIndInfo * staInd
-)
-#else
-S16 RgUiRguDStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RguDStaIndInfo * staInd;
-#endif
+S16 RgUiRguDStaInd(Pst* pst,SuId suId,RguDStaIndInfo *staInd)
{
return ((*RgUiRguDStaIndMt[pst->selector])(pst, suId, staInd));
}
#ifdef LTE_L2_MEAS
/* TODO: Function header */
-#ifdef ANSI
-S16 RgUiRguHqStaInd
-(
-Pst* pst,
-SuId suId,
-RguHarqStatusInd *harqStatusInd
-)
-#else
-S16 RgUiRguHqStaInd(pst, suId, harqStatusInd)
-Pst* pst;
-SuId suId;
-RguHarqStatusInd *harqStatusInd;
-#endif
+S16 RgUiRguHqStaInd(Pst* pst,SuId suId,RguHarqStatusInd *harqStatusInd)
{
#if defined(SPLIT_RLC_DL_TASK) && defined(MAC_RLC_HARQ_STA_RBUF)
} /* RgUiRguHqStaInd */
#endif /* LTE_L2_MEAS */
-#ifdef ANSI
-S16 RgUiRguFlowCntrlInd
-(
-Pst* pst,
-SuId suId,
-RguFlowCntrlInd *flowCntrlInd
-)
-#else
-S16 RgUiRguFlowCntrlInd(pst, suId, harqStatusInd)
-Pst* pst;
-SuId suId;
-RguFlowCntrlInd *flowCntrlInd;
-#endif
+S16 RgUiRguFlowCntrlInd(Pst* pst,SuId suId,RguFlowCntrlInd *flowCntrlInd)
{
return ((*RgUiRguFlowCntrlIndMt[pst->selector])(pst, suId, flowCntrlInd));
}
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRgrSiCfgCfm
-(
-Pst* pst,
-SuId suId,
-RgrCfgTransId transId,
-uint8_t status
-)
-#else
-S16 RgUiRgrSiCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-RgrCfgTransId transId;
-uint8_t status;
-#endif
+S16 RgUiRgrSiCfgCfm(Pst* pst,SuId suId,RgrCfgTransId transId,uint8_t status)
{
return ((*RgUiRgrSiCfgCfmMt[pst->selector])(pst, suId, transId, status));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRgrWarningSiCfgCfm
-(
-Pst* pst,
-SuId suId,
-RgrCfgTransId transId,
-uint8_t siId,
-uint8_t status
-)
-#else
-S16 RgUiRgrWarningSiCfgCfm(pst, suId, transId, siId,status)
-Pst* pst;
-SuId suId;
-RgrCfgTransId transId;
-uint8_t siId;
-uint8_t status;
-#endif
+S16 RgUiRgrWarningSiCfgCfm(Pst* pst,SuId suId,RgrCfgTransId transId,uint8_t siId,uint8_t status)
{
return ((*RgUiRgrWarningSiCfgCfmMt[pst->selector])
(pst, suId, transId, siId, status));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRgrStaInd
-(
-Pst* pst,
-SuId suId,
-RgrStaIndInfo *staInd
-)
-#else
-S16 RgUiRgrStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RgrStaIndInfo *staInd;
-#endif
+S16 RgUiRgrStaInd(Pst* pst,SuId suId,RgrStaIndInfo *staInd)
{
return ((*RgUiRgrStaIndMt[pst->selector])(pst, suId, staInd));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRgrLoadInfInd
-(
- Pst* pst,
- SuId suId,
- RgrLoadInfIndInfo *loadInfInd
- )
-#else
-S16 RgUiRgrLoadInfInd(pst, suId, loadInfInd)
- Pst* pst;
- SuId suId;
- RgrLoadInfIndInfo *loadInfInd;
-#endif
+S16 RgUiRgrLoadInfInd( Pst* pst, SuId suId,RgrLoadInfIndInfo *loadInfInd )
{
return ((*RgUiRgrLoadInfIndMt[pst->selector])(pst, suId, loadInfInd));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRgrUeStaInd
-(
-Pst *pst,
-SuId suId,
-RgrUeStaIndInfo *ueStaInd
-)
-#else
-S16 RgUiRgrUeStaInd(pst, suId, ueStaInd)
-Pst *pst;
-SuId suId;
-RgrUeStaIndInfo *ueStaInd;
-#endif
+S16 RgUiRgrUeStaInd(Pst *pst,SuId suId,RgrUeStaIndInfo *ueStaInd)
{
return ((*RgUiRgrUeStaIndMt[pst->selector])(pst, suId, ueStaInd));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiCrgBndCfm
-(
-Pst* pst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 PtUiCrgBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
+S16 PtUiCrgBndCfm(Pst* pst,SuId suId,uint8_t status)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiCrgCfgCfm
-(
-Pst* pst,
-SuId suId,
-CrgCfgTransId transId,
-uint8_t status
-)
-#else
-S16 PtUiCrgCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-CrgCfgTransId transId;
-uint8_t status;
-#endif
+S16 PtUiCrgCfgCfm(Pst* pst,SuId suId,CrgCfgTransId transId,uint8_t status)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRguBndCfm
-(
-Pst* pst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 PtUiRguBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
+S16 PtUiRguBndCfm(Pst* pst,SuId suId,uint8_t status)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRguCDatInd
-(
-Pst* pst,
-SuId suId,
-RguCDatIndInfo * datInd
-)
-#else
-S16 PtUiRguCDatInd(pst, suId, datInd)
-Pst* pst;
-SuId suId;
-RguCDatIndInfo * datInd;
-#endif
+S16 PtUiRguCDatInd(Pst* pst,SuId suId,RguCDatIndInfo *datInd)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRguDDatInd
-(
-Pst* pst,
-SuId suId,
-RguDDatIndInfo * datInd
-)
-#else
-S16 PtUiRguDDatInd(pst, suId, datInd)
-Pst* pst;
-SuId suId;
-RguDDatIndInfo * datInd;
-#endif
+S16 PtUiRguDDatInd(Pst* pst,SuId suId,RguDDatIndInfo *datInd)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRguCStaInd
-(
-Pst* pst,
-SuId suId,
-RguCStaIndInfo * staInd
-)
-#else
-S16 PtUiRguCStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RguCStaIndInfo * staInd;
-#endif
+S16 PtUiRguCStaInd(Pst* pst,SuId suId,RguCStaIndInfo *staInd)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRguDStaInd
-(
-Pst* pst,
-SuId suId,
-RguDStaIndInfo * staInd
-)
-#else
-S16 PtUiRguDStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RguDStaIndInfo * staInd;
-#endif
+S16 PtUiRguDStaInd(Pst* pst,SuId suId,RguDStaIndInfo *staInd)
{
UNUSED(pst);
}
#ifdef LTE_L2_MEAS
/* TODO: Function Header */
-#ifdef ANSI
-S16 PtUiRguHqStaInd
-(
-Pst* pst,
-SuId suId,
-RguHarqStatusInd *harqStatusInd
-)
-#else
-S16 PtUiRguHqStaInd(pst, suId, harqStatusInd)
-Pst* pst;
-SuId suId;
-RguHarqStatusInd *harqStatusInd;
-#endif
+S16 PtUiRguHqStaInd(Pst* pst,SuId suId,RguHarqStatusInd *harqStatusInd)
{
UNUSED(pst);
}
#endif /* LTE_L2_MEAS */
-#ifdef ANSI
-S16 PtUiRguFlowCntrlInd
-(
-Pst* pst,
-SuId suId,
-RguFlowCntrlInd *flowCntrlInd
-)
-#else
-S16 PtUiRguFlowCntrlInd(pst, suId, flowCntrlInd)
-Pst* pst;
-SuId suId;
-RguHarqStatusInd *flowCntrlInd;
-#endif
+S16 PtUiRguFlowCntrlInd(Pst* pst,SuId suId,RguFlowCntrlInd *flowCntrlInd)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRgrBndCfm
-(
-Pst* pst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 PtUiRgrBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
+S16 PtUiRgrBndCfm(Pst* pst,SuId suId,uint8_t status)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRgrTtiInd
-(
-Pst* pst,
-SuId suId,
-RgrTtiIndInfo *ttiInd
-)
-#else
-S16 PtUiRgrTtiInd(pst, suId, ttiInd)
-Pst* pst;
-SuId suId;
-RgrTtiIndInfo *ttiInd;
-#endif
+S16 PtUiRgrTtiInd(Pst* pst,SuId suId,RgrTtiIndInfo *ttiInd)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRgrCfgCfm
-(
-Pst* pst,
-SuId suId,
-RgrCfgTransId transId,
-uint8_t status
-)
-#else
-S16 PtUiRgrCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-RgrCfgTransId transId;
-uint8_t status;
-#endif
+S16 PtUiRgrCfgCfm(Pst* pst,SuId suId,RgrCfgTransId transId,uint8_t status)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRgrSiCfgCfm
-(
-Pst* pst,
-SuId suId,
-RgrCfgTransId transId,
-uint8_t status
-)
-#else
-S16 PtUiRgrSiCfgCfm(pst, suId, transId, status)
-Pst* pst;
-SuId suId;
-RgrCfgTransId transId;
-uint8_t status;
-#endif
+S16 PtUiRgrSiCfgCfm(Pst* pst,SuId suId,RgrCfgTransId transId,uint8_t status)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRgrWarningSiCfgCfm
-(
-Pst* pst,
-SuId suId,
-RgrCfgTransId transId,
-uint8_t siId,
-uint8_t status
-)
-#else
-S16 PtUiRgrWarningSiCfgCfm(pst, suId, transId, siId, status)
-Pst* pst;
-SuId suId;
-RgrCfgTransId transId;
-uint8_t siId;
-uint8_t status;
-#endif
+S16 PtUiRgrWarningSiCfgCfm(Pst* pst,SuId suId,RgrCfgTransId transId,uint8_t siId,uint8_t status)
{
UNUSED(pst);
UNUSED(suId);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRgrStaInd
-(
-Pst* pst,
-SuId suId,
-RgrStaIndInfo *staInd
-)
-#else
-S16 PtUiRgrStaInd(pst, suId, staInd)
-Pst* pst;
-SuId suId;
-RgrStaIndInfo *staInd;
-#endif
+S16 PtUiRgrStaInd(Pst* pst,SuId suId,RgrStaIndInfo *staInd)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRgrLoadInfInd
-(
- Pst* pst,
- SuId suId,
- RgrLoadInfIndInfo *loadInfInd
- )
-#else
-S16 PtUiRgrLoadInfInd(pst, suId, loadInfInd)
- Pst* pst;
- SuId suId;
- RgrLoadInfIndInfo *loadInfInd;
-#endif
+S16 PtUiRgrLoadInfInd( Pst* pst, SuId suId, RgrLoadInfIndInfo *loadInfInd )
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRgrUeStaInd
-(
-Pst* pst,
-SuId suId,
-RgrUeStaIndInfo *ueStaInd
-)
-#else
-S16 PtUiRgrUeStaInd(pst, suId, ueStaInd)
-Pst* pst;
-SuId suId;
-RgrUeStaIndInfo *ueStaInd;
-#endif
+S16 PtUiRgrUeStaInd(Pst* pst,SuId suId,RgrUeStaIndInfo *ueStaInd)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRgmBndCfm
-(
-Pst* pst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 PtUiRgmBndCfm(pst, suId, status)
-Pst* pst;
-SuId suId;
-uint8_t status;
-#endif
+S16 PtUiRgmBndCfm(Pst* pst,SuId suId,uint8_t status)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRgmPrbRprtInd
-(
-Pst* pst,
-SuId suId,
-RgmPrbRprtInd *prbRprtInd
-)
-#else
-S16 PtUiRgmPrbRprtInd(pst, suId, prbRprtInd)
-Pst* pst;
-SuId suId;
-RgmPrbRprtInd *prbRprtInd;
-#endif
+S16 PtUiRgmPrbRprtInd(Pst* pst,SuId suId,RgmPrbRprtInd *prbRprtInd)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 PtUiRgmTransModeInd
-(
-Pst* pst,
-SuId suId,
-RgmTransModeInd *transModeInd
-)
-#else
-S16 PtUiRgmTransModeInd(pst, suId, transModeInd)
-Pst* pst;
-SuId suId;
-RgmTransModeInd *transModeInd;
-#endif
+S16 PtUiRgmTransModeInd(Pst* pst,SuId suId,RgmTransModeInd *transModeInd)
{
UNUSED(pst);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRgmSendPrbRprtInd
-(
-Pst* pst,
-SuId suId,
-RgmPrbRprtInd *prbRprtInd
-)
-#else
-S16 RgUiRgmSendPrbRprtInd(pst, suId, prbRprtInd)
-Pst* pst;
-SuId suId;
-RgmPrbRprtInd *prbRprtInd;
-#endif
-
+S16 RgUiRgmSendPrbRprtInd(Pst* pst,SuId suId,RgmPrbRprtInd *prbRprtInd)
{
return ((*RgUiRgmSendPrbRprtIndMt[pst->selector])(pst, suId, prbRprtInd));
}
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgUiRgmChangeTransModeInd
-(
-Pst* pst,
-SuId suId,
-RgmTransModeInd *transModeInd
-)
-#else
-S16 RgUiRgmChangeTransModeInd(pst, suId, transModeInd)
-Pst* pst;
-SuId suId;
-RgmTransModeInd *transModeInd;
-#endif
-
+S16 RgUiRgmChangeTransModeInd(Pst* pst,SuId suId,RgmTransModeInd *transModeInd)
{
return ((*RgUiRgmChangeTransModeIndMt[pst->selector])(pst, suId, transModeInd));
}
}
#endif
#ifdef RLC_MAC_DAT_REQ_RBUF
-#ifdef ANSI
S16 rgDlDatReqBatchProc
(
Void
)
-#else
-S16 rgDlDatReqBatchProc()
-Void;
-#endif
{
/* Read from Ring Buffer and process PDCP packets */
#endif
#ifdef RLC_MAC_STA_RSP_RBUF
-#ifdef ANSI
-S16 rgDlStaRspBatchProc
-(
-Void
-)
-#else
-S16 rgDlStaRspBatchProc()
-Void;
-#endif
+S16 rgDlStaRspBatchProc(Void)
{
/* Read from Ring Buffer and process PDCP packets */
#endif
#ifdef LTE_L2_MEAS
#ifdef MAC_RLC_HARQ_STA_RBUF
-#ifdef ANSI
-S16 RgUiRguHqStaIndRbuf
-(
-Pst* pst,
-SuId suId,
-RguHarqStatusInd *harqStatusInd
-)
-#else
-S16 RgUiRguHqStaIndRbuf(pst, suId, harqStatusInd)
-Pst* pst;
-SuId suId;
-RguHarqStatusInd *harqStatusInd;
-#endif
+S16 RgUiRguHqStaIndRbuf (Pst* pst,SuId suId,RguHarqStatusInd *harqStatusInd)
{
S16 ret = ROK;
Void *elem = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgRAMFreeUeCb
-(
-Inst inst,
-RgUeCb *ue
-)
-#else
-Void rgRAMFreeUeCb(inst,ue)
-Inst inst;
-RgUeCb *ue;
-#endif
+Void rgRAMFreeUeCb(Inst inst,RgUeCb *ue)
{
rgDHMFreeUe(inst,&ue->dl.hqEnt);
* @param[out] RgErrInfo *err
* @return RgUeCb*
**/
-#ifdef ANSI
-RgUeCb* rgRAMCreateUeCb
-(
-RgCellCb *cell,
-CmLteRnti tmpCrnti,
-Bool insert,
-RgErrInfo *err
-)
-#else
-RgUeCb* rgRAMCreateUeCb(cell, tmpCrnti, insert, err)
-RgCellCb *cell;
-CmLteRnti tmpCrnti;
-Bool insert;
-RgErrInfo *err;
-#endif
+RgUeCb* rgRAMCreateUeCb(RgCellCb *cell,CmLteRnti tmpCrnti,Bool insert,RgErrInfo *err)
{
Inst inst = cell->macInst - RG_INST_START;
RgUeCb *ueCb = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgRAMFreeCell
-(
-RgCellCb *cell
-)
-#else
-S16 rgRAMFreeCell(cell)
-RgCellCb *cell;
-#endif
+S16 rgRAMFreeCell(RgCellCb *cell)
{
Inst inst = cell->macInst - RG_INST_START;
RgUeCb *ueCb;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgHndlRaResp
-(
-RgCellCb *cell,
-CmLteTimingInfo timingInfo,
-RgInfRarInfo *rarInfo,
-RgErrInfo *err
-)
-#else
-S16 rgHndlRaResp(cell, timingInfo, rarInfo, err)
-RgCellCb *cell;
-CmLteTimingInfo timingInfo;
-RgInfRarInfo *rarInfo;
-RgErrInfo *err;
-#endif
+S16 rgHndlRaResp(RgCellCb *cell,CmLteTimingInfo timingInfo,RgInfRarInfo *rarInfo,RgErrInfo *err)
{
uint8_t idx1,idx2;
Buffer *rarPdu;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgROMDedDatReq
-(
-Inst inst,
-RgRguDedDatReq *datReq
-)
-#else
-S16 rgROMDedDatReq(inst,datReq)
-Inst inst;
-RgRguDedDatReq *datReq;
-#endif
+S16 rgROMDedDatReq(Inst inst,RgRguDedDatReq *datReq)
{
#if 0
RgCellCb *cell;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgROMCmnDatReq
-(
-Inst inst,
-RgRguCmnDatReq *datReq
-)
-#else
-S16 rgROMCmnDatReq(inst,datReq)
-Inst inst;
-RgRguCmnDatReq *datReq;
-#endif
+S16 rgROMCmnDatReq(Inst inst, RgRguCmnDatReq *datReq)
{
RgCellCb *cell;
RgErrInfo err;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgROMHndlCcchDatReq
-(
-RgCellCb *cell,
-RgRguCmnDatReq *datReq,
-RgErrInfo *err
-)
-#else
-static S16 rgROMHndlCcchDatReq(cell, datReq, err)
-RgCellCb *cell;
-RgRguCmnDatReq *datReq;
-RgErrInfo *err;
-#endif
+static S16 rgROMHndlCcchDatReq(RgCellCb *cell, RgRguCmnDatReq *datReq, RgErrInfo *err)
{
Inst inst = cell->macInst - RG_INST_START;
RgUeCb *ue;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgROMHndlBcchPcchDatReq
-(
-RgCellCb *cell,
-RgRguCmnDatReq *datReq,
-RgErrInfo *err
-)
-#else
-static S16 rgROMHndlBcchPcchDatReq(cell, datReq, err)
-RgCellCb *cell;
-RgRguCmnDatReq *datReq;
-RgErrInfo *err;
-#endif
+static S16 rgROMHndlBcchPcchDatReq(RgCellCb *cell, RgRguCmnDatReq *datReq, RgErrInfo *err)
{
Inst inst = cell->macInst - RG_INST_START;
RgPcchLcCb *pcch;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgROMDedStaRsp
-(
-Inst inst,
-RgRguDedStaRsp *staRsp
-)
-#else
-S16 rgROMDedStaRsp(inst,staRsp)
-Inst inst;
-RgRguDedStaRsp *staRsp;
-#endif
+S16 rgROMDedStaRsp(Inst inst, RgRguDedStaRsp *staRsp)
{
RgCellCb *cell;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgROMCmnStaRsp
-(
-Inst inst,
-RgRguCmnStaRsp *staRsp
-)
-#else
-S16 rgROMCmnStaRsp(inst,staRsp)
-Inst inst;
-RgRguCmnStaRsp *staRsp;
-#endif
+S16 rgROMCmnStaRsp(Inst inst, RgRguCmnStaRsp *staRsp)
{
RgCellCb *cell;
RgErrInfo err;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgROML2MUlThrpMeasReq
-(
-Inst inst,
-RgRguL2MUlThrpMeasReq *measReq
-)
-#else
-S16 rgROML2MUlThrpMeasReq(inst,measReq)
-Inst inst;
-RgRguL2MUlThrpMeasReq *measReq;
-#endif
+S16 rgROML2MUlThrpMeasReq(Inst inst, RgRguL2MUlThrpMeasReq *measReq)
{
RgCellCb *cell;
RgUeCb *ue;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgROMHndlCcchStaRsp
-(
-RgCellCb *cell,
-RgRguCmnStaRsp *staRsp,
-RgErrInfo *err
-)
-#else
-static S16 rgROMHndlCcchStaRsp(cell, staRsp, err)
-RgCellCb *cell;
-RgRguCmnStaRsp *staRsp;
-RgErrInfo *err;
-#endif
+static S16 rgROMHndlCcchStaRsp(RgCellCb *cell,RgRguCmnStaRsp *staRsp, RgErrInfo *err)
{
Pst schPst;
Inst macInst = cell->macInst - RG_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgROMHndlBcchPcchStaRsp
-(
-RgCellCb *cell,
-RgRguCmnStaRsp *staRsp,
-RgErrInfo *err
-)
-#else
-static S16 rgROMHndlBcchPcchStaRsp(cell, staRsp, err)
-RgCellCb *cell;
-RgRguCmnStaRsp *staRsp;
-RgErrInfo *err;
-#endif
+static S16 rgROMHndlBcchPcchStaRsp(RgCellCb *cell,RgRguCmnStaRsp *staRsp,RgErrInfo *err)
{
Pst schPst;
//RgInfCmnBoRpt boRpt;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgROMUpdDlSfRemDataCnt
-(
-RgCellCb *cellCb,
-RgDlSf *dlSf
-)
-#else
-static S16 rgROMUpdDlSfRemDataCnt(cellCb, dlSf)
-RgCellCb *cellCb;
-RgDlSf *dlSf;
-#endif
+static S16 rgROMUpdDlSfRemDataCnt(RgCellCb *cellCb, RgDlSf *dlSf)
{
RgErrInfo err;
//Inst inst = cellCb->macInst - RG_INST_START;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-static S16 rgTOMUtlFillDatReqPdus
-(
- TfuDatReqInfo *datInfo,
- RgDlSf *dlSf,
- RgCellCb *cellCb,
- RgErrInfo *err
- )
-#else
-static S16 rgTOMUtlFillDatReqPdus(datInfo, dlSf, cellCb, err)
- TfuDatReqInfo *datInfo;
- RgDlSf *dlSf;
- RgCellCb *cellCb;
- RgErrInfo *err;
-#endif
+static S16 rgTOMUtlFillDatReqPdus (TfuDatReqInfo *datInfo,RgDlSf *dlSf,RgCellCb *cellCb, RgErrInfo *err)
{
S16 ret;
TfuDatReqPduInfo *datReq=NULLP;
*/
/* ADD Changes for Downlink UE Timing Optimization */
#ifndef LTEMAC_DLUE_TMGOPTMZ
-#ifdef ANSI
-static S16 rgTOMUtlProcDlSf
-(
- RgDlSf *dlSf,
- RgCellCb *cellCb,
- RgErrInfo *err
- )
+static S16 rgTOMUtlProcDlSf(RgDlSf *dlSf,RgCellCb *cellCb,RgErrInfo *err)
#else
-static S16 rgTOMUtlProcDlSf (dlSf, cellCb, err)
- RgDlSf *dlSf;
- RgCellCb *cellCb;
- RgErrInfo *err;
-#endif
-#else
-#ifdef ANSI
-S16 rgTOMUtlProcDlSf
-(
- RgDlSf *dlSf,
- RgCellCb *cellCb,
- RgErrInfo *err
- )
-#else
-S16 rgTOMUtlProcDlSf (dlSf, cellCb, err)
- RgDlSf *dlSf;
- RgCellCb *cellCb;
- RgErrInfo *err;
-#endif
+S16 rgTOMUtlProcDlSf(RgDlSf *dlSf,RgCellCb *cellCb,RgErrInfo *err)
#endif
{
S16 ret;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-static S16 rgTOMUtlAllocPduEvnt
-(
-Inst inst,
- RgMacPdu **pdu
- )
-#else
-static S16 rgTOMUtlAllocPduEvnt (inst,pdu)
-Inst inst;
-RgMacPdu **pdu;
-#endif
+static S16 rgTOMUtlAllocPduEvnt (Inst inst,RgMacPdu **pdu)
{
Mem evntMem;
* @param [in] Bool *error
* @return
*/
-#ifdef ANSI
-static Void rgTOMUtlFreePduEvnt
-(
- RgMacPdu *pdu,
- Bool error
- )
-#else
-static Void rgTOMUtlFreePduEvnt (pdu, error)
- RgMacPdu *pdu;
- Bool error;
-#endif
+static Void rgTOMUtlFreePduEvnt( RgMacPdu *pdu,Bool error)
{
RgMacSdu *sdu;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-static S16 rgTOMInfAllocPduEvnt
-(
-Inst inst,
-RgInfSfDatInd **sfInfo
- )
-#else
-static S16 rgTOMInfAllocPduEvnt (inst,sfInfo)
-Inst inst;
-RgInfSfDatInd **sfInfo;
-#endif
+static S16 rgTOMInfAllocPduEvnt (Inst inst,RgInfSfDatInd **sfInfo)
{
Mem evntMem;
* @param [in] Bool *error
* @return
*/
-#ifdef ANSI
-static Void rgTOMInfFreePduEvnt
-(
-RgInfSfDatInd *sfInfo
- )
-#else
-static Void rgTOMInfFreePduEvnt (sfInfo)
-RgInfSfDatInd *sfInfo;
-#endif
+static Void rgTOMInfFreePduEvnt(RgInfSfDatInd *sfInfo)
{
RG_FREE_MEM(sfInfo);
* @param [out] RgRguDedDatInd *dDatInd
* @return
*/
-#ifdef ANSI
-static S16 rgTomUtlPrepareL2MUlThrpInfo
-(
- RgCellCb *cellCb,
- RgUeCb *ueCb,
- RgRguDedDatInd *dDatInd
- )
-#else
-static S16 rgTomUtlPrepareL2MUlThrpInfo(cellCb,ueCb,dDatInd)
- RgCellCb *cellCb;
- RgUeCb *ueCb;
- RgRguDedDatInd *dDatInd;
-#endif
+static S16 rgTomUtlPrepareL2MUlThrpInfo(RgCellCb *cellCb,RgUeCb *ueCb,RgRguDedDatInd *dDatInd)
{
uint8_t lcId;
uint8_t lcgId;
RgUeCb *glblueCb5;
#ifdef LTEMAC_SPS
-#ifdef ANSI
static S16 rgTOMUtlProcMsg
(
- RgCellCb *cellCb,
- RgUeCb *ueCb,
- RgMacPdu *pdu,
- Bool isSpsRnti,
- Bool *spsToBeActvtd,
- uint16_t *sduSize,
- uint16_t slot,
- uint32_t *lcgBytes
- )
-#else
-static S16 rgTOMUtlProcMsg(cellCb, ueCb, pdu, isSpsRnti,spsToBeActvtd,sduSize, slot, lcgBytes)
- RgCellCb *cellCb;
- RgUeCb *ueCb;
- RgMacPdu *pdu;
- Bool isSpsRnti;
- Bool *spsToBeActvtd;
- uint16_t *sduSize;
- uint16_t slot;
- uint32_t *lcgBytes;
-#endif
+RgCellCb *cellCb,
+RgUeCb *ueCb,
+RgMacPdu *pdu,
+Bool isSpsRnti,
+Bool *spsToBeActvtd,
+uint16_t *sduSize,
+uint16_t slot,
+uint32_t *lcgBytes
+)
#else /* LTEMAC_SPS */
-#ifdef ANSI
static S16 rgTOMUtlProcMsg
(
- RgCellCb *cellCb,
- RgUeCb *ueCb,
- RgMacPdu *pdu,
- uint16_t slot,
- uint32_t *lcgBytes
- )
-#else
-static S16 rgTOMUtlProcMsg(cellCb, ueCb, pdu, slot, lcgBytes)
- RgCellCb *cellCb;
- RgUeCb *ueCb;
- RgMacPdu *pdu;
- uint16_t slot;
- uint32_t *lcgByes;
-#endif
+RgCellCb *cellCb,
+RgUeCb *ueCb,
+RgMacPdu *pdu,
+uint16_t slot,
+uint32_t *lcgBytes
+)
#endif
{
Inst inst = cellCb->macInst - RG_INST_START;
* @return
*/
#ifdef LTEMAC_SPS
-#ifdef ANSI
static S16 rgTOMUtlInsSchInfo
(
RgMacPdu *pdu,
uint32_t *lcgBytes
)
#else
-static S16 rgTOMUtlInsSchInfo (pdu, sfInfo, ceInfo, rnti,spsToBeActvtd,sduSize, lcgBytes)
-RgMacPdu *pdu;
-RgInfSfDatInd *sfInfo;
-RgInfCeInfo *ceInfo;
-CmLteRnti rnti;
-Bool spsToBeActvtd;
-uint16_t sduSize;
-uint32_t *lcgBytes;
-#endif
-
-#else
-#ifdef ANSI
static S16 rgTOMUtlInsSchInfo
(
RgMacPdu *pdu,
CmLteRnti rnti,
uint32_t *lcgBytes
)
-#else
-static S16 rgTOMUtlInsSchInfo (pdu, sfInfo, ceInfo, rnti, lcgBytes)
-RgMacPdu *pdu;
-RgInfSfDatInd *sfInfo;
-RgInfCeInfo *ceInfo;
-CmLteRnti rnti;
-uint32_t *lcgBytes;
-#endif
#endif
{
S16 ret;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgTOMDatInd
-(
-Inst inst,
- TfuDatIndInfo *datInd
- )
-#else
-S16 rgTOMDatInd(inst,datInd)
-Inst inst;
- TfuDatIndInfo *datInd;
-#endif
+S16 rgTOMDatInd(Inst inst, TfuDatIndInfo *datInd)
{
S16 ret = ROK;
RgErrInfo err;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgHndlCmnChnl
(
RgCellCb *cell,
RgInfCmnLcInfo *cmnLcInfo,
RgErrInfo *err
)
-#else
-static S16 rgHndlCmnChnl(cell, timingInfo, cmnLcInfo, err)
-RgCellCb *cell;
-CmLteTimingInfo timingInfo;
-RgInfCmnLcInfo *cmnLcInfo;
-RgErrInfo *err;
-#endif
{
#if (ERRCLASS & ERRCLS_DEBUG)
RgPcchLcCb *pcch;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgHndlSchdUe
(
RgCellCb *cell,
RgInfUeInfo *ueInfo,
RgErrInfo *err
)
-#else
-static S16 rgHndlSchdUe(cell, timingInfo, ueInfo, err) /* laa_ut_fix */
-RgCellCb *cell;
-CmLteTimingInfo timingInfo;
-RgInfUeInfo *ueInfo;
-RgErrInfo *err;
-#endif
{
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgHndlUlUeInfo
(
RgCellCb *cell,
CmLteTimingInfo timingInfo,
RgInfUlUeInfo *ueInfo
)
-#else
-static S16 rgHndlUlUeInfo(cell, timingInfo, ueInfo)
-RgCellCb *cell;
-CmLteTimingInfo timingInfo;
-RgInfUlUeInfo *ueInfo;
-#endif
{
Inst inst = cell->macInst - RG_INST_START;
uint8_t idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-Void rgTOMRlsSf
-(
-Inst inst,
-RgDlSf *dlSf
-)
-#else
-Void rgTOMRlsSf(dlSf)
-Inst inst;
-RgDlSf *dlSf;
-#endif
+Void rgTOMRlsSf(Inst inst,RgDlSf *dlSf)
{
uint8_t idx;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgHndlFlowCntrl
-(
-RgCellCb *cell,
-RgInfSfAlloc *sfInfo
-)
-#else
-S16 rgHndlFlowCntrl(cell, sfInfo)
-RgCellCb *cell;
-RgInfSfAlloc *sfInfo;
-#endif
+S16 rgHndlFlowCntrl(RgCellCb *cell,RgInfSfAlloc *sfInfo)
{
RguFlowCntrlInd *flowCntrlInd;
Pst *pst;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacSfAllocReq
-(
-Pst *pst,
-RgInfSfAlloc *sfInfo
-)
-#else
-S16 RgSchMacSfAllocReq(pst, sfInfo)
-Pst *pst;
-RgInfSfAlloc *sfInfo;
-#endif
+S16 RgSchMacSfAllocReq(Pst *pst,RgInfSfAlloc *sfInfo)
{
RgCellCb *cell;
RgDlSf *dlSf;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgTOMProcCrntiCEInDatInd
(
RgMacPdu *pdu,
RgInfCeInfo *ceInfo,
uint16_t slot
)
-#else
-static S16 rgTOMProcCrntiCEInDatInd( pdu, prevUeCb, cellCb, datInfo, ceInfo, slot)
-RgMacPdu *pdu;
-RgUeCb *prevUeCb;
-RgCellCb *cellCb;
-TfuDatInfo *datInfo;
-RgInfCeInfo *ceInfo;
-uint16_t slot;
-#endif
{
RgUeCb *ueCb = NULLP;
Inst inst = cellCb->macInst - RG_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgTOMProcCCCHSduInDatInd
(
RgMacPdu *pdu,
RgInfCeInfo *ceInfo,
uint16_t slot
)
-#else
-static S16 rgTOMProcCCCHSduInDatInd( pdu, prevUeCb, cellCb, datInfo, ceInfo, slot)
-RgMacPdu *pdu;
-RgUeCb *prevUeCb;
-RgCellCb *cellCb;
-TfuDatInfo *datInfo;
-RgInfCeInfo *ceInfo;
-uint16_t slot;
-#endif
{
RgUeCb *ueCb = NULLP;
Inst inst = cellCb->macInst - RG_INST_START;
* @return S16
*/
-#ifdef ANSI
-static S16 rgTOMUtlL2MStoreBufSz
-(
- RgUeCb *ueCb,
- RgInfCeInfo *ceInfo
- )
-#else
-static S16 rgTOMUtlL2MStoreBufSz (ueCb, ceInfo)
- RgUeCb *ueCb;
- RgInfCeInfo *ceInfo;
-#endif
+static S16 rgTOMUtlL2MStoreBufSz( RgUeCb *ueCb, RgInfCeInfo *ceInfo )
{
uint8_t lcgId;
uint8_t bsr;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-static Void rgTOML2MCompileActiveLCs
-(
- RgCellCb *cellCb,
- RgUeCb *ueCb,
- RgMacPdu *pdu,
- RgInfCeInfo *ceInfo
- )
-#else
-static Void rgTOML2MCompileActiveLCs(cellCb, ueCb, pdu, ceInfo)
- RgCellCb *cellCb;
- RgUeCb *ueCb;
- RgMacPdu *pdu;
- RgInfCeInfo *ceInfo;
-#endif
+static Void rgTOML2MCompileActiveLCs(RgCellCb *cellCb,RgUeCb *ueCb,RgMacPdu *pdu,RgInfCeInfo *ceInfo)
{
CmLList *node;
RgMacSdu *sdu;
* @param[out] *err
* @return Void
**/
-#ifdef ANSI
Void rgUHMCrgUeCfg
(
RgCellCb *cellCb,
RgUeCb *ueCb,
CrgUeCfg *ueCfg
)
-#else
-Void rgUHMCrgUeCfg(cellCb, ueCb, ueCfg)
-RgCellCb *cellCb;
-RgUeCb *ueCb;
-CrgUeCfg *ueCfg;
-#endif
{
ueCb->ul.hqEnt.maxHqRetx = (ueCfg->ueUlHqCfg.maxUlHqTx - 1);
return;
* @param[out] *err
* @return Void
**/
-#ifdef ANSI
Void rgUHMCrgUeRecfg
(
RgCellCb *cellCb,
RgUeCb *ueCb,
CrgUeRecfg *ueRecfg
)
-#else
-Void rgUHMCrgUeRecfg(cellCb, ueCb, ueRecfg)
-RgCellCb *cellCb;
-RgUeCb *ueCb;
-CrgUeRecfg *ueRecfg;
-#endif
{
ueCb->ul.hqEnt.maxHqRetx = (ueRecfg->ueUlHqRecfg.maxUlHqTx - 1);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgUiRguBndReq
(
Pst *pst,
SuId suId,
SpId spId
)
-#else
-S16 RgUiRguBndReq(pst, suId, spId)
-Pst *pst;
-SuId suId;
-SpId spId;
-#endif
{
Inst inst;
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgUiRguUbndReq
(
Pst *pst,
SpId spId,
Reason reason
)
-#else
-S16 RgUiRguUbndReq(pst, spId, reason)
-Pst *pst;
-SpId spId;
-Reason reason;
-#endif
{
Inst inst;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgUIMRguBndCfm
-(
-Inst inst,
-SpId spId,
-uint8_t status
-)
-#else
-S16 rgUIMRguBndCfm(inst,spId, status)
-Inst inst;
-SpId spId;
-uint8_t status;
-#endif
+S16 rgUIMRguBndCfm(Inst inst,SpId spId,uint8_t status)
{
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgUiRguDDatReq
-(
-Pst *pst,
-SpId spId,
-RguDDatReqInfo *datReq
-)
-#else
-S16 RgUiRguDDatReq(pst, spId, datReq)
-Pst *pst;
-SpId spId;
-RguDDatReqInfo *datReq;
-#endif
+S16 RgUiRguDDatReq(Pst *pst,SpId spId,RguDDatReqInfo *datReq)
{
S16 ret = ROK;
Inst inst;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgUiRguCDatReq
(
Pst *pst,
SpId spId,
RguCDatReqInfo *datReq
)
-#else
-S16 RgUiRguCDatReq(pst, spId, datReq)
-Pst *pst;
-SpId spId;
-RguCDatReqInfo *datReq;
-#endif
{
Inst inst;
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgUiRguDStaRsp
(
Pst *pst,
SpId spId,
RguDStaRspInfo *staRsp
)
-#else
-S16 RgUiRguDStaRsp(pst, spId, staRsp)
-Pst *pst;
-SpId spId;
-RguDStaRspInfo *staRsp;
-#endif
{
Inst inst;
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgUiRguCStaRsp
(
Pst *pst,
SpId spId,
RguCStaRspInfo *staRsp
)
-#else
-S16 RgUiRguCStaRsp(pst, spId, staRsp)
-Pst *pst;
-SpId spId;
-RguCStaRspInfo *staRsp;
-#endif
{
Inst inst;
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgUiRguL2MUlThrpMeasReq
(
Pst *pst,
SpId spId,
RguL2MUlThrpMeasReqInfo *measReq
)
-#else
-S16 RgUiRguL2MUlThrpMeasReq(pst, spId, measReq)
-Pst *pst;
-SpId spId;
-RguL2MUlThrpMeasReqInfo *measReq;
-#endif
{
Inst inst;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgUIMSndDedStaInd
(
Inst inst,
RgUpSapCb *rguSap,
RgRguDedStaInd *staInd
)
-#else
-S16 rgUIMSndDedStaInd(inst,rguSap,staInd)
-Inst inst;
-RgUpSapCb *rguSap;
-RgRguDedStaInd *staInd;
-#endif
{
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgUIMSndCmnStaInd
(
Inst inst,
RgUpSapCb *rguDlSap,
RgRguCmnStaInd *staInd
)
-#else
-S16 rgUIMSndCmnStaInd(inst,rguDlSap,staInd)
-Inst inst,
-RgUpSapCb *rguDlSap,
-RgRguCmnStaInd *staInd;
-#endif
{
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgUIMSndDedDatInd
(
Inst inst,
RgUpSapCb *rguUlSap,
RgRguDedDatInd *datInd
)
-#else
-S16 rgUIMSndDedDatInd(datInd)
-Inst inst;
-RgUpSapCb *rguUlSap;
-RgRguDedDatInd *datInd;
-#endif
{
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgUIMSndCmnDatInd
-(
-Inst inst,
-RgUpSapCb *rguUlSap,
-RgRguCmnDatInd *datInd
-)
-#else
-S16 rgUIMSndCmnDatInd(datInd)
-Inst inst;
-RgUpSapCb *rguUlSap;
-RgRguCmnDatInd *datInd;
-#endif
+S16 rgUIMSndCmnDatInd(Inst inst,RgUpSapCb *rguUlSap,RgRguCmnDatInd *datInd)
{
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgUiCrgBndReq
-(
-Pst *pst,
-SuId suId,
-SpId spId
-)
-#else
-S16 RgUiCrgBndReq(pst, suId, spId)
-Pst *pst;
-SuId suId;
-SpId spId;
-#endif
+S16 RgUiCrgBndReq(Pst *pst, SuId suId,SpId spId)
{
S16 ret = ROK;
Pst tmpPst; /* Temporary Post Structure */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgUiCrgUbndReq
-(
-Pst *pst,
-SpId spId,
-Reason reason
-)
-#else
-S16 RgUiCrgUbndReq(pst, spId, reason)
-Pst *pst;
-SpId spId;
-Reason reason;
-#endif
+S16 RgUiCrgUbndReq(Pst *pst,SpId spId,Reason reason)
{
Inst inst;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgUIMCrgBndCfm
-(
-Inst inst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 rgUIMCrgBndCfm(inst,suId, status)
-Inst inst;
-SuId suId;
-uint8_t status;
-#endif
+S16 rgUIMCrgBndCfm(Inst inst,SuId suId,uint8_t status)
{
if(RgUiCrgBndCfm(&(rgCb[inst].crgSap.sapCfg.sapPst), rgCb[inst].crgSap.sapCfg.suId, status) != ROK)
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 RgUiCrgCfgReq
(
Pst *pst,
CrgCfgTransId transId,
CrgCfgReqInfo *cfgReqInfo
)
-#else
-S16 RgUiCrgCfgReq(pst, spId, transId, cfgReqInfo)
-Pst *pst;
-SpId spId;
-CrgCfgTransId transId;
-CrgCfgReqInfo *cfgReqInfo;
-#endif
{
Inst inst;
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgUIMCrgCfgCfm
(
Inst inst,
CrgCfgTransId transId,
uint8_t status
)
-#else
-S16 rgUIMCrgCfgCfm(inst,transId, status)
-Inst inst;
-CrgCfgTransId transId;
-uint8_t status;
-#endif
{
S16 ret = ROK;
uint8_t prntTrans[CRG_CFG_TRANSID_SIZE+1];
} /* rgUIMCrgCfgCfm */
#if defined(SPLIT_RLC_DL_TASK) && defined(RLC_MAC_STA_RSP_RBUF)
-#ifdef ANSI
-S16 rgBatchProc
-(
-Void
-)
-#else
-S16 rgBatchProc()
-Void;
-#endif
+S16 rgBatchProc(Void)
{
/* Read from Ring Buffer and process RLC BO Update */
Pst pst = {0};
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
S16 rgAllocShrablSBuf
(
Inst inst,
Data **pData, /* Pointer of the data to be returned */
Size size /* size */
)
-#else
-S16 rgAllocShrablSBuf(inst,pData, size)
-Inst inst;
-Data **pData; /* Pointer of the data to be returned */
-Size size; /* size */
-#endif
{
RgUstaDgn dgn; /* Alarm diagnostics structure */
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
S16 rgAllocSBuf
(
Inst inst,
Data **pData, /* Pointer of the data to be returned */
Size size /* size */
)
-#else
-S16 rgAllocSBuf(inst,pData, size)
-Inst inst;
-Data **pData; /* Pointer of the data to be returned */
-Size size; /* size */
-#endif
{
RgUstaDgn dgn; /* Alarm diagnostics structure */
*
* File: rg_utl.c
*/
-#ifdef ANSI
Void rgFreeSharableSBuf
(
Inst inst,
Data **data, /* address of pointer to data */
Size size /* size */
)
-#else
-Void rgFreeSharableSBuf(inst,data, size)
-Inst inst;
-Data **data; /* address of pointer to data */
-Size size; /* size */
-#endif
{
S16 ret;
*
* File: rg_utl.c
*/
-#ifdef ANSI
Void rgFreeSBuf
(
Inst inst,
Data **data, /* address of pointer to data */
Size size /* size */
)
-#else
-Void rgFreeSBuf(inst,data, size)
-Inst inst;
-Data **data; /* address of pointer to data */
-Size size; /* size */
-#endif
{
S16 ret;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
S16 rgGetMsg
(
Inst inst,
Buffer **mBuf /* Message Buffer pointer be returned */
)
-#else
-S16 rgGetMsg(inst,mBuf)
-Inst inst;
-Buffer **mBuf; /* Message Buffer pointer be returned */
-#endif
{
S16 ret;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
Void rgFillDgnParams
(
Inst inst,
RgUstaDgn *dgn,
-uint8_t dgnType
+uint8_t dgnType
)
-#else
-Void rgFillDgnParams(inst,dgn, dgnType)
-Inst inst;
-RgUstaDgn *dgn;
-uint8_t dgnType;
-#endif
{
switch(dgnType)
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
Void rgUpdtRguDedSts
(
Inst inst,
uint8_t stsType, /* Statistics type to update */
RgRguDedDatReq *datReq /* DatReq pointer */
)
-#else
-Void rgUpdtRguDedSts(inst,rguDlSap,stsType, datReq)
-Inst inst;
-RgUpSapCb *rguDlSap;
-uint8_t stsType; /* Statistics type to update */
-RgRguDedDatReq *datReq; /* DatReq pointer */
-#endif
{
uint8_t idx1,idx2;
uint32_t idx;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
Void rgUpdtRguCmnSts
(
Inst inst,
RgUpSapCb *rguDlSap,
uint8_t stsType /* Statistics type to update */
)
-#else
-Void rgUpdtRguCmnSts(inst,rguDlSap,stsType)
-Inst inst;
-RgUpSapCb *rguDlSap;
-uint8_t stsType; /* Statistics type to update */
-#endif
{
switch(stsType)
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-Void rgUpdtCellCnt
-(
-Inst inst,
-uint8_t updtType
-)
-#else
-Void rgUpdtCellCnt(inst,updtType)
-Inst inst;
-uint8_t updtType;
-#endif
+Void rgUpdtCellCnt(Inst inst,uint8_t updtType)
{
switch (updtType)
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-Void rgUpdtUeCnt
-(
-Inst inst,
-uint8_t updtType
-)
-#else
-Void rgUpdtUeCnt (inst,updtType)
-Inst inst;
-uint8_t updtType;
-#endif
+Void rgUpdtUeCnt(Inst inst,uint8_t updtType)
{
switch (updtType)
{
* File: rg_utl.c
*
*/
-#ifdef ANSI
S16 rgAllocEventMem
(
Inst inst,
Ptr *memPtr,
Size memSize
)
-#else
-S16 rgAllocEventMem(inst,memPtr, memSize)
-Inst inst;
-Ptr *memPtr;
-Size memSize;
-#endif
{
Mem sMem;
volatile uint32_t startTime=0;
* File: rg_utl.c
*
*/
-#ifdef ANSI
S16 rgGetEventMem
(
Inst inst,
Size len,
Ptr memCp
)
-#else
-S16 rgGetEventMem(inst,ptr, len, memCp)
-Inst inst;
-Ptr *ptr;
-Size len;
-Ptr memCp;
-#endif
{
S16 ret;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
Void rgGetPstToInst
(
Pst *pst,
Inst srcInst,
Inst dstInst
)
-#else
-Void rgGetPstToInst (pst, srcInst, dstInst)
-Pst *pst;
-Inst srcInst;
-Inst dstInst;
-#endif
{
pst->srcEnt = rgCb[srcInst].rgInit.ent;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-S16 RgSchMacLcgRegReq
-(
-Pst *pst,
-RgInfLcgRegReq *lcgRegReq
-)
-#else
-S16 RgSchMacLcgRegReq (pst, lcgRegReq)
-Pst *pst;
-RgInfLcgRegReq *lcgRegReq;
-#endif
+S16 RgSchMacLcgRegReq(Pst *pst,RgInfLcgRegReq *lcgRegReq)
{
Inst inst;
RgCellCb *cell = NULLP;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-S16 RgSchMacUlSpsResetReq
-(
-Pst *pst,
-RgInfUlSpsReset *ulSpsResetInfo
-)
-#else
-S16 RgSchMacUlSpsResetReq (pst, lcInfo)
-Pst *pst;
-RgInfUlSpsReset *ulSpsResetInfo;
-#endif
+S16 RgSchMacUlSpsResetReq(Pst *pst,RgInfUlSpsReset *ulSpsResetInfo)
{
Inst inst;
RgCellCb *cell = NULLP;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-S16 RgSchMacSpsLcRegReq
-(
-Pst *pst,
-RgInfSpsLcInfo *lcInfo
-)
-#else
-S16 RgSchMacSpsLcRegReq (pst, lcInfo)
-Pst *pst;
-RgInfSpsLcInfo *lcInfo;
-#endif
+S16 RgSchMacSpsLcRegReq(Pst *pst,RgInfSpsLcInfo *lcInfo)
{
Inst inst;
RgCellCb *cell= NULLP;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-S16 RgSchMacSpsLcDeregReq
-(
-Pst *pst,
-CmLteCellId cellId,
-CmLteRnti crnti
-)
-#else
-S16 RgSchMacSpsLcDeregReq (pst, cellId, crnti)
-Pst *pst;
-CmLteCellId cellId;
-CmLteRnti crnti;
-#endif
+S16 RgSchMacSpsLcDeregReq(Pst *pst,CmLteCellId cellId,CmLteRnti crnti)
{
Inst inst;
RgCellCb *cell = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgUtlHndlCrntiChng
(
Inst inst,
CmLteRnti rnti,
CmLteRnti newRnti
)
-#else
-static S16 rgUtlHndlCrntiChng(inst,cell, rnti, newRnti)
-Inst inst;
-RgCellCb *cell;
-CmLteRnti rnti;
-CmLteRnti newRnti;
-#endif
{
RgUeCb *ue = NULLP;
RgUeCb *newUe = NULLP;
* @param[in] RgUeCb *ue
* @return ROK is SUCCESS
**/
-#ifdef ANSI
-S16 rgDelUeFrmAllSCell
-(
-RgCellCb *cell,
-RgUeCb *ue
-)
-#else
-S16 rgDelUeFrmAllSCell(cell, ue)
-RgCellCb *cell;
-RgUeCb *ue;
-#endif
+S16 rgDelUeFrmAllSCell(RgCellCb *cell,RgUeCb *ue)
{
Inst inst = cell->macInst - RG_INST_START;
uint8_t idx = 0;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgUtlVltdAddSCellCfg
-(
- RgPrgUeSCellCfgInfo *ueSCellCb,
- RgCellCb *cell,
- Inst inst
-)
-#else
-S16 rgUtlVltdAddSCellCfg(ueSCellCb, cell, inst)
- RgPrgUeSCellCfgInfo *ueSCellCb;
- RgCellCb *cell;
- Inst inst;
-#endif
+S16 rgUtlVltdAddSCellCfg(RgPrgUeSCellCfgInfo *ueSCellCb,RgCellCb *cell,Inst inst)
{
S16 ret = ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
static S16 rgUtlSndCrntiChngReq2AllSMacs
(
RgCellCb *cell,
CmLteRnti rnti,
CmLteRnti newRnti
)
-#else
-static S16 rgUtlSndCrntiChngReq2AllSMacs(cell, rnti, newRnti)
-RgCellCb *cell;
-CmLteRnti rnti;
-CmLteRnti newRnti;
-#endif
{
Inst inst = cell->macInst - RG_INST_START;
Inst sCellInstIdx;
* @param[in] CmLteRnti rnti
* @return Void
**/
-#ifdef ANSI
-static Void rgUtlHndlCrntiRls
-(
-RgCellCb *cell,
-RgInfRlsRnti *rlsRnti
-)
-#else
-static Void rgUtlHndlCrntiRls(cell, rlsRnti)
-RgCellCb *cell;
-CmLteRnti *rlsRnti;
-#endif
+static Void rgUtlHndlCrntiRls(RgCellCb *cell,RgInfRlsRnti *rlsRnti)
{
Inst inst = cell->macInst - RG_INST_START;
RgUeCb *ue = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacRlsRntiReq
-(
-Pst *pst,
-RgInfRlsRnti *rlsRnti
-)
-#else
-S16 RgSchMacRlsRntiReq(pst, rlsRnti)
-Pst *pst;
-RgInfRlsRnti *rlsRnti;
-#endif
+S16 RgSchMacRlsRntiReq(Pst *pst,RgInfRlsRnti *rlsRnti)
{
// Pst schPst;
// RgInfUeDelInd ueDelInd;
} /* end of RgSchMacRlsRntiReq */
#ifdef L2_OPTMZ
-#ifdef ANSI
-Bool RgUtlIsTbMuxed
-(
- TfuDatReqTbInfo *tb
-)
-#else
-Bool RgUtlIsTbMuxed()
- TfuDatReqTbInfo *tb
-#endif
+Bool RgUtlIsTbMuxed(TfuDatReqTbInfo *tb)
{
MsgLen len = 0;
SFndLenMsg(tb->macHdr, &len);
*
* @return Void
*/
-#ifdef ANSI
-static Void rlcAmmDlCheckAndStopPollTmr
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb,
-RlcSn mAckSn
-)
-#else
-static Void rlcAmmDlCheckAndStopPollTmr(gCb, rbCb, mAckSn)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcSn mAckSn;
-#endif
+static Void rlcAmmDlCheckAndStopPollTmr(RlcCb *gCb,RlcDlRbCb *rbCb,RlcSn mAckSn)
{
RlcSn mPollSn;
*
* @return Void
*/
-#ifdef ANSI
-static Void rlcAmmDlSetTxNextAck
-(
-RlcAmDl *amDl,
-RlcSn sn
-)
-#else
-static Void rlcAmmDlSetTxNextAck(amDl, sn)
-RlcAmDl *amDl;
-RlcSn sn
-#endif
+static Void rlcAmmDlSetTxNextAck(RlcAmDl *amDl,RlcSn sn)
{
amDl->txNextAck = sn;
*
* @return Void
*/
-#ifdef ANSI
static Void rlcAmmDlProcessSuccessfulReTx
(
RlcCb *gCb,
RlcDlRbCb *rbCb,
RlcRetx *retx,
-KwuDatCfmInfo **datCfm
+KwuDatCfmInfo **datCfm
)
-#else
-static Void rlcAmmDlProcessSuccessfulReTx(gCb, rbCb, retx, datCfm)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcRetx *retx;
-KwuDatCfmInfo **datCfm;
-#endif
{
rlcAmmDlCheckIsSDUDelivered(gCb, rbCb, &(retx->sduMap), datCfm);
*
*/
-#ifdef ANSI
static Void rlcAmmDlMoveSduByteSegFrmTxtoRetxBuffer
(
RlcCb *gCb,
RlcRetx **retx,
RlcDlPduInfo *pduInfo
)
-#else
-static Void rlcAmmDlMoveSduByteSegFrmTxtoRetxBuffer(gCb, amDl, retx, pduInfo)
-RlcCb *gCb;
-RlcAmDl *amDl;
-RlcRetx **retx;
-RlcDlPduInfo *pduInfo;
-#endif
{
RLC_ALLOC_WC(gCb,*retx, sizeof(RlcRetx));
*
*/
-#ifdef ANSI
static Void rlcAmmDlHndlStatus4SduByteSegInTxBuf
(
RlcCb *gCb,
RlcRetx **retx,
KwuDatCfmInfo ** datCfm
)
-#else
-static Void rlcAmmDlHndlStatus4SduByteSegInTxBuf(gCb, rbCb, nackSnInfo, retx, datCfm)
-(
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcNackInfo *nackSnInfo;
-RlcRetx **retx;
-KwuDatCfmInfo **datCfm;
-)
-#endif
{
RlcTx *txBuf=NULLP;
CmLList *lnk;
* @return Void
*
*/
-#ifdef ANSI
static Void rlcAmmDlUpdateTxAndReTxBufForNackSn
(
- RlcCb *gCb,
- RlcDlRbCb *rbCb,
- RlcNackInfo *nackSnInfo,
- CmLList **retxNode,
- KwuDatCfmInfo **datCfm
- )
-#else
-static Void rlcAmmDlUpdateTxAndReTxBufForNackSn(gCb, rbCb, nackSnInfo, retxNode, datCfm)
-(
- RlcCb *gCb;
- RlcDlRbCb *rbCb;
- RlcNackInfo *nackSnInfo;
- CmLList **retxNode;
- KwuDatCfmInfo **datCfm;
- )
-#endif
+RlcCb *gCb,
+RlcDlRbCb *rbCb,
+RlcNackInfo *nackSnInfo,
+CmLList **retxNode,
+KwuDatCfmInfo **datCfm
+)
{
RlcTx *txBuf;
RlcRetx *retx;
* @return Void
*
*/
-#ifdef ANSI
static Void RlcDlAmmGetNackSnInfoFrmNackRangeIdx
(
RlcAmDl *amDl,
RlcNackInfo *nackSnInfo,
uint8_t idx
)
-#else
-static Void RlcDlAmmGetNackSnInfoFrmNackRangeIdx(amDl, nackInfo, retxNode, nackSnInfo, idx)
-(
-RlcAmDl *amDl;
-RlcNackInfo *nackInfo;
-CmLList *retxNode;
-RlcNackInfo *nackSnInfo;
-uint8_t idx;
-)
-#endif
{
RlcTx *txBuf;
RlcRetx *retx;
*
* @return Void
*/
-#ifdef ANSI
-Void rlcAmmDlHndlStatusPdu
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb,
-RlcUdxStaPdu *pStaPdu
-)
-#else
-Void rlcAmmDlHndlStatusPdu(gCb, rbCb, pStaPdu)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcUdxStaPdu *pStaPdu;
-#endif
+Void rlcAmmDlHndlStatusPdu(RlcCb *gCb,RlcDlRbCb *rbCb,RlcUdxStaPdu *pStaPdu)
{
RlcSn mAckSn;
S32 oldRetxBo;
* @return S16
* Calculated bo
*/
-#ifdef ANSI
-S32 rlcAmmCalculateBo
-(
-RlcAmDl *amDl
-)
-#else
-S32 rlcAmmCalculateBo(amDl)
-RlcAmDl *amDl;
-#endif
+S32 rlcAmmCalculateBo(RlcAmDl *amDl)
{
S32 bo;
* @return Void
*
*/
-#ifdef ANSI
-static Void rlcRemRetxPdu
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb,
-RlcRetx *retx
-)
-#else
-static Void rlcRemRetxPdu(gCb, rbCb, retx)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcRetx *retx;
-#endif
+static Void rlcRemRetxPdu(RlcCb *gCb,RlcDlRbCb *rbCb,RlcRetx *retx)
{
cmLListDelFrm(&AMDL.retxLst, &retx->lstEnt);
* @return Void
*
*/
-#ifdef ANSI
-static Void rlcAmmDlMarkPduForReTx
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb,
-RlcRetx *retx
-)
-#else
-static Void rlcAmmDlMarkPduForReTx(*gCb, rbCb, retx)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcRetx *retx;
-#endif
+static Void rlcAmmDlMarkPduForReTx(RlcCb *gCb,RlcDlRbCb *rbCb,RlcRetx *retx)
{
if (AMDL.maxReTxReached == TRUE)
{
* @return Void
*
*/
-#ifdef ANSI
static Void rlcAmmDlCheckIsSDUDelivered
(
RlcCb *gCb,
RlcDlRbCb *rbCb,
RlcSduMap *sduMap,
-KwuDatCfmInfo **datCfm
+KwuDatCfmInfo **datCfm
)
-#else
-static Void rlcAmmDlCheckIsSDUDelivered(gCb, rbCb, sduMap, datCfm)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcSduMap *sduMap;
-KwuDatCfmInfo **datCfm;
-#endif
{
RlcSdu *sdu;
* @return Void
*
*/
-#ifdef ANSI
static Void rlcAmmDlProcessSuccessfulTxPdu
(
RlcCb *gCb,
RlcDlRbCb *rbCb,
RlcSn sn,
-KwuDatCfmInfo **datCfm
+KwuDatCfmInfo **datCfm
)
-#else
-static Void rlcAmmDlProcessSuccessfulTxPdu(gCb, rbCb, sn, datCfm)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcSn sn;
-KwuDatCfmInfo **datCfm;
-#endif
{
CmLList *pduNode;
* @return Void
*
*/
-#ifdef ANSI
static Void rlcAmmSndStaInd
(
RlcCb *gCb,
RlcDlRbCb *rbCb,
RlcRetx *retx
)
-#else
-static Void rlcAmmSndStaInd(gCb, rbCb, retx)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcRetx *retx;
-#endif
{
KwuStaIndInfo *staInd;
RlcKwuSapCb *rlckwuSap;
* @return Void
*
*/
-#ifdef ANSI
Void rlcAmmDlReEstablish
(
RlcCb *gCb,
CmLteRlcId rlcId,
RlcDlRbCb *rbCb
)
-#else
-Void rlcAmmDlReEstablish(gCb, rlcId, rbCb)
-RlcCb *gCb;
-CmLteRlcId rlcId;
-RlcDlRbCb *rbCb;
-#endif
{
/* create a new AM DL RB, reset it and replace in the UeCb*/
RlcDlUeCb *ueCb;
* -# ROK In case of successful discard
* -# RFAILED In case the SDU is not found or already mapped
*/
-#ifdef ANSI
-S16 rlcAmmDiscSdu
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb,
-uint32_t sduId
-)
-#else
-S16 rlcAmmDiscSdu(gCb, rbCb, sduId)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-uint32_t sduId;
-#endif
+S16 rlcAmmDiscSdu(RlcCb *gCb,RlcDlRbCb *rbCb,uint32_t sduId )
{
return (RFAILED);
}
*
* @return Void
*/
-#ifdef ANSI
-Void rlcAmmPollRetxTmrExp
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb
-)
-#else
-Void rlcAmmPollRetxTmrExp(gCb, rbCb)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-#endif
+Void rlcAmmPollRetxTmrExp(RlcCb *gCb,RlcDlRbCb *rbCb)
{
RlcRetx *retx;
RlcAmDl *amDl = &(rbCb->m.amDl);
*
*/
-#ifdef ANSI
static Void rlcAmmDlUpdateTxAndReTxBufForAckSn
(
RlcCb *gCb,
CmLList *retxNode,
KwuDatCfmInfo **datCfm
)
-#else
-static Void rlcAmmDlUpdateTxAndReTxBufForAckSn(gCb, rbCb, mAckSn, retxNode, datCfm)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcSn mAckSn;
-CmLList *retxNode;
-KwuDatCfmInfo **datCfm;
-#endif
{
RlcSn mSn;
RlcSn sn;
* @return Void
*
*/
-#ifdef ANSI
static Void rlcAmmDlUpdTxAndReTxBufForLessThanNackSn
(
RlcCb *gCb,
CmLList **retxNode,
KwuDatCfmInfo **datCfm
)
-#else
-static Void rlcAmmDlUpdTxAndReTxBufForLessThanNackSn(gCb, rbCb, sn, mNackSn, retxNode, datCfm)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcSn sn;
-RlcSn mNackSn;
-CmLList **retxNode;
-KwuDatCfmInfo **datCfm;
-#endif
{
RlcSn mSn;
RlcRetx *retx;
* @return Void
*
*/
-#ifdef ANSI
-static Void rlcAmmAddPduToRetxLst
-(
-RlcAmDl *amDl,
-RlcRetx *retx
-)
-#else
-static Void rlcAmmAddPduToRetxLst(amDl, retx)
-RlcAmDl *amDl;
-RlcRetx *retx;
-#endif
+static Void rlcAmmAddPduToRetxLst(RlcAmDl *amDl,RlcRetx *retx)
{
CmLList *node;
RlcRetx *tRetx;
*
*/
-#ifdef ANSI
static Void rlcAmmDlMoveFrmTxtoRetxBuffer
(
RlcCb *gCb,
RlcRetx **retx,
RlcSn sn
)
-#else
-static Void rlcAmmDlMoveFrmTxtoRetxBuffer(gCb, amDl, retx, sn)
-RlcCb *gCb;
-RlcAmDl *amDl;
-RlcRetx **retx;
-RlcSn sn;
-#endif
{
RlcTx* txBuf = rlcUtlGetTxBuf(amDl->txBufLst, sn);
*
* @return Void
*/
-#ifdef ANSI
-Void rlcAmmFreeDlRbCb
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb
-)
-#else
-Void rlcAmmFreeDlRbCb(gCb,rbCb)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-#endif
+Void rlcAmmFreeDlRbCb(RlcCb *gCb,RlcDlRbCb *rbCb)
{
/* stop the re-transmission timer */
if(TRUE == rlcChkTmr(gCb,(PTR)rbCb,RLC_EVT_AMDL_POLL_RETX_TMR))
S16 rlcProcDlStatusPdu(Pst *udxPst,SuId suId,
CmLteCellId cellId,CmLteRnti rnti,CmLteLcId lcId,Buffer *rlcSdu);
-#ifdef ANSI
-static Void rgAmmExtractElmnt
-(
-RlcCb *gCb,
-Buffer *pdu,
-RlcExtHdr *hdrInfo
-)
-#else
-static Void rgAmmExtractElmnt(gCb, pdu, hdrInfo)
-RlcCb *gCb;
-Buffer *pdu;
-RlcExtHdr *hdrInfo;
-#endif
+static Void rgAmmExtractElmnt(RlcCb *gCb,Buffer *pdu,RlcExtHdr *hdrInfo)
{
uint8_t hdr;
uint8_t pLen = hdrInfo->pLen;
-#ifdef ANSI
static Void rgAmmUlHndlStatusPdu
(
Pst *udxPst,
SuId suId,
-RlcCb *gCb,
-RlcDlRbCb *rbCb,
+RlcCb *gCb,
+RlcDlRbCb *rbCb,
Buffer *cntrlPdu,
-uint8_t *fByte
+uint8_t *fByte
)
-#else
-static Void rgAmmUlHndlStatusPdu(udxPst,suId,gCb, rbCb, cntrlPdu, fByte)
-Pst *udxPst;
-SuId suId;
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-Buffer *cntrlPdu;
-uint8_t *fByte;
-#endif
{
uint8_t e1;
RlcExtHdr hdrInfo;
* -# RFAILED
*
*/
-#ifdef ANSI
-static S16 rlcAmmExtractHdrOld
-(
-RlcCb *gCb,
-Buffer *pdu,
-RlcAmHdr *amHdr,
-uint8_t *fByte
-)
-#else
-static S16 rlcAmmExtractHdrOld(gCb, pdu, amHdr, fByte)
-RlcCb *gCb;
-Buffer *pdu;
-RlcAmHdr *amHdr;
-uint8_t *fByte;
-#endif
+static S16 rlcAmmExtractHdrOld(RlcCb *gCb,Buffer *pdu,RlcAmHdr *amHdr,uint8_t *fByte)
{
uint8_t e;
uint8_t snByte;
* @return Void
*
*/
-#ifdef ANSI
-Void rlcAmmUlReEstablish
-(
-RlcCb *gCb,
-CmLteRlcId rlcId,
-Bool sendReEst,
-RlcUlRbCb *rbCb
-)
-#else
-Void rlcAmmUlReEstablish(gCb, rlcId, sendReEst, rbCb)
-RlcCb *gCb;
-CmLteRlcId rlcId;
-Bool sendReEst;
-RlcUlRbCb *rbCb;
-#endif
+Void rlcAmmUlReEstablish(RlcCb *gCb,CmLteRlcId rlcId,Bool sendReEst,RlcUlRbCb *rbCb)
{
RlcSn sn;
RlcSn mSn;
*
*/
-#ifdef ANSI
-Void rlcAmmReOrdTmrExp
-(
-RlcCb *gCb,
-RlcUlRbCb *rbCb
-)
-#else
-Void rlcAmmReOrdTmrExp(rbCb)
-RlcCb *gCb;
-RlcUlRbCb *rbCb;
-#endif
+Void rlcAmmReOrdTmrExp(RlcCb *gCb,RlcUlRbCb *rbCb)
{
RlcAmUl *amUl = &(rbCb->m.amUl);
RlcSn sn;
*
*/
-#ifdef ANSI
-Void rlcAmmStaProTmrExp
-(
-RlcCb *gCb,
-RlcUlRbCb *rbCb
-)
-#else
-Void rlcAmmStaProTmrExp(gCb, rbCb)
-RlcCb *gCb;
-RlcUlRbCb *rbCb;
-#endif
+Void rlcAmmStaProTmrExp(RlcCb *gCb,RlcUlRbCb *rbCb)
{
RlcAmUl *amUl = &(rbCb->m.amUl);
*
* @return void
*/
-#ifdef ANSI
-Void rlcAmmFreeUlRbCb
-(
-RlcCb *gCb,
-RlcUlRbCb *rbCb
-)
-#else
-Void rlcAmmFreeUlRbCb(gCb,rbCb)
-RlcCb *gCb;
-RlcUlRbCb *rbCb;
-#endif
+Void rlcAmmFreeUlRbCb(RlcCb *gCb,RlcUlRbCb *rbCb)
{
RlcSn curSn = 0; /* Sequence number of PDU */
RlcSn windSz; /* PDU window size */
* -#ROK
* -#RFAILED
*/
-#ifdef ANSI
-static S16 rlcCfgFillDlRbCb
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb,
-RlcDlUeCb *ueCb,
-RlcEntCfgInfo *entCfg
-)
-#else
-static S16 rlcCfgFillDlRbCb(gCb,rbCb,entCfg)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcDlUeCb *ueCb;
-RlcEntCfgInfo *entCfg;
-#endif
+static S16 rlcCfgFillDlRbCb(RlcCb *gCb,RlcDlRbCb *rbCb,RlcDlUeCb *ueCb,RlcEntCfgInfo *entCfg)
{
RLOG_ARG3(L_DEBUG,DBG_RBID,entCfg->rbId,
* -#ROK
* -#RFAILED
*/
-#ifdef ANSI
static S16 rlcCfgUpdateDlRb
(
-RlcCb *gCb,
-RlcDlRbCb *rbCb,
+RlcCb *gCb,
+RlcDlRbCb *rbCb,
void *ptr,
RlcEntCfgInfo *entCfg
)
-#else
-static S16 rlcCfgUpdateDlRb(gCb,rbCb, ptr, entCfg)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-void *ptr;
-RlcEntCfgInfo *entCfg;
-#endif
{
if (rbCb->mode != entCfg->entMode)
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcCfgAddDlRb
(
RlcCb *gCb,
RlcEntCfgInfo *entCfg,
RlcEntCfgCfmInfo *entCfm
)
-#else
-S16 rlcCfgAddDlRb(gCb,ueId, cellId, entCfg, entCfm)
-RlcCb *gCb;
-CmLteRnti ueId;
-CmLteCellId cellId;
-RlcEntCfgInfo *entCfg;
-RlcEntCfgCfmInfo *entCfm;
-#endif
{
RlcDlUeCb *ueCb = NULLP; /* UE Control Block */
RlcDlCellCb *cellCb; /* Cell Control Block */
* -#ROK
* -#RFAILED
*/
-#ifdef ANSI
S16 rlcCfgReCfgDlRb
(
RlcCb *gCb,
RlcEntCfgInfo *entCfg,
RlcEntCfgCfmInfo *entCfm
)
-#else
-S16 rlcCfgReCfgDlRb(gCb,ueId, cellId, entCfg, entCfm)
-RlcCb *gCb;
-CmLteRnti ueId;
-CmLteCellId cellId;
-RlcEntCfgInfo *entCfg;
-RlcEntCfgCfmInfo *entCfm;
-#endif
{
RlcDlRbCb *rbCb; /* RB Control Block */
RlcDlRbCb tRbCb; /* KW RB Control Block */
* -#ROK
* -#RFAILED
*/
-#ifdef ANSI
S16 rlcCfgDelDlRb
(
RlcCb *gCb,
RlcEntCfgInfo *entCfg,
RlcEntCfgCfmInfo *entCfm
)
-#else
-S16 rlcCfgDelRb(gCb,ueId, cellId, entCfg, entCfm)
-RlcCb *gCb;
-CmLteRnti ueId;
-CmLteCellId cellId;
-RlcEntCfgInfo *entCfg;
-RlcEntCfgCfmInfo *entCfm;
-#endif
{
S16 ret; /* Return Value */
RlcDlUeCb *ueCb; /* UE Control Block */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcCfgReEstDlRb
(
-RlcCb *gCb,
+RlcCb *gCb,
CmLteRnti ueId,
CmLteCellId cellId,
Bool sndReEstInd,
RlcEntCfgInfo *entCfg,
RlcEntCfgCfmInfo *entCfm
)
-#else
-S16 rlcCfgReEstDlRb(gCb,ueId, cellId,sndReEstInd,entCfg, entCfm)
-RlcCb *gCb;
-CmLteRnti ueId;
-CmLteCellId cellId;
-Bool sndReEstInd;
-RlcEntCfgInfo *entCfg;
-RlcEntCfgCfmInfo *entCfm;
-#endif
{
RlcDlRbCb *rbCb; /* RB Control Block */
CmLteRlcId rlcId; /* RLC Identifier */
* -#ROK
* -#RFAILED
*/
-#ifdef ANSI
S16 rlcCfgDelDlUe
(
-RlcCb *gCb,
+RlcCb *gCb,
CmLteRnti ueId,
CmLteCellId cellId,
RlcEntCfgInfo *entCfg,
RlcEntCfgCfmInfo *entCfm
)
-#else
-S16 rlcCfgDelDlUe(ueId, cellId, entCfg, entCfm)
-RlcCb *gCb;
-CmLteRnti ueId;
-CmLteCellId cellId;
-RlcEntCfgInfo *entCfg;
-RlcEntCfgCfmInfo *entCfm;
-#endif
{
S16 ret; /* Return Value */
RlcDlUeCb *ueCb; /* UE Control Block */
* -#ROK
* -#RFAILED
*/
-#ifdef ANSI
S16 rlcCfgDelDlCell
(
RlcCb *gCb,
RlcEntCfgInfo *entCfg,
RlcEntCfgCfmInfo *entCfm
)
-#else
-S16 rlcCfgDelCell(gCb,cellId, entCfg, entCfm)
-RlcCb *gCb;
-CmLteCellId cellId;
-RlcEntCfgInfo *entCfg;
-RlcEntCfgCfmInfo *entCfm;
-#endif
{
RlcDlCellCb *cellCb; /* UE Control Block */
uint8_t rbId; /* RB Identifier */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcCfgDlUeIdChng
(
RlcCb *gCb,
CkwUeInfo *newUeInfo,
CmStatus *status
)
-#else
-S16 rlcCfgDlUeIdChng(gCb,ueInfo,newUeInfo,status)
-RlcCb *gCb;
-CkwUeInfo *ueInfo;
-CkwUeInfo *newUeInfo;
-CmStatus *status;
-#endif
{
RlcDlUeCb *ueCb;
/*kw004.201 Adding of Missing Trace in LTE RLC PDCP*/
* -#ROK
* -#RFAILED
*/
-#ifdef ANSI
-static S16 rlcCfgFillUlRbCb
-(
-RlcCb *gCb,
-RlcUlRbCb *rbCb,
-RlcUlUeCb *ueCb,
-RlcEntCfgInfo *entCfg
-)
-#else
-static S16 rlcCfgFillUlRbCb(gCb,rbCb, ueCb, entCfg)
-RlcCb *gCb;
-RlcUlRbCb *rbCb;
-RlcUlUeCb *ueCb;
-RlcEntCfgInfo *entCfg;
-#endif
+static S16 rlcCfgFillUlRbCb(RlcCb *gCb,RlcUlRbCb *rbCb,RlcUlUeCb *ueCb,RlcEntCfgInfo *entCfg)
{
RLOG_ARG3(L_DEBUG,DBG_UEID,rbCb->rlcId.ueId,
* -#ROK
* -#RFAILED
*/
-#ifdef ANSI
-static S16 rlcCfgUpdateUlRb
-(
-RlcCb *gCb,
-RlcUlRbCb *rbCb,
-void *ptr,
-RlcEntCfgInfo *entCfg
-)
-#else
-static S16 rlcCfgUpdateUlRb(gCb,rbCb, ptr, entCfg)
-RlcCb *gCb;
-RlcUlRbCb *rbCb;
-void *ptr;
-RlcEntCfgInfo *entCfg;
-#endif
+static S16 rlcCfgUpdateUlRb(RlcCb *gCb,RlcUlRbCb *rbCb,void *ptr,RlcEntCfgInfo *entCfg)
{
switch (rbCb->mode)
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rlcValidateRbCfgParams
-(
-RlcCb *gCb,
-CmLteRnti ueId,
-CmLteCellId cellId,
-RlcEntCfgInfo *cfgToValidate,
-CmStatus *status
-)
-#else
-S16 rlcValidateRbCfgParams(gCb,ueId, cellId, cfgToValidate, status)
-RlcCb *gCb;
-CmLteRnti ueId;
-CmLteCellId cellId;
-RlcEntCfgInfo *cfgToValidate;
-CmStatus *status;
-#endif
+S16 rlcValidateRbCfgParams(RlcCb *gCb,CmLteRnti ueId,CmLteCellId cellId,RlcEntCfgInfo *cfgToValidate,CmStatus *status)
{
if (cellId == 0)
{
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcCfgValidateUlRb
(
RlcCb *gCb,
RlcUlEntTmpData *cfgEntData,
RlcUlCfgTmpData *cfgTmpData
)
-#else
-S16 rlcCfgValidateUlRb(gCb,cfgToValidate, cfgEntData, cfgTmpData)
-RlcCb *gCb;
-RlcEntCfgInfo *cfgToValidate;
-RlcUlEntTmpData *cfgEntData;
-RlcUlCfgTmpData *cfgTmpData;
-#endif
{
RLOG_ARG2(L_DEBUG,DBG_UEID,cfgTmpData->ueId,
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcCfgRollBackUlRb
(
RlcCb *gCb,
RlcEntCfgInfo *cfg,
RlcUlEntTmpData *cfgEntData
)
-#else
-S16 rlcCfgRollBackUlRb(gCb, cfg, cfgEntData)
-(
-RlcCb *gCb;
-CmLteRnti ueId;
-RlcEntCfgInfo *cfg;
-RlcUlEntTmpData *cfgEntData;
-)
-#endif
{
if(CKW_CFG_ADD == cfg->cfgType)
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
Void rlcCfgApplyUlRb
(
RlcCb *gCb,
RlcUlEntTmpData *cfgEntData,
RlcUlCfgTmpData *cfgTmpData
)
-#else
-Void rlcCfgApplyUlRb(gCb, cfgToApply, cfgEntData, cfgTmpData)
-(
-RlcCb *gCb;
-RlcEntCfgInfo *cfgToAply;
-RlcUlEntTmpData *cfgEntData;
-RlcUlCfgTmpData *cfgTmpData;
-)
-#endif
{
switch(cfgToAply->cfgType)
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcCfgValidateDelUlUe
(
RlcCb *gCb,
RlcUlEntTmpData *cfgEntData,
RlcUlCfgTmpData *cfgTmpData
)
-#else
-S16 rlcCfgValidateDelUlUe(gCb,cfgToValidate, cfgEntData,cfgTmpData)
-RlcCb *gCb;
-RlcEntCfgInfo *cfgToValidate;
-RlcUlEntTmpData *cfgEntData;
-RlcUlCfgTmpData *cfgTmpData;
-#endif
{
RLOG_ARG2(L_DEBUG,DBG_UEID,cfgTmpData->ueId,
* @return S16
* -# ROK
*/
-#ifdef ANSI
Void rlcCfgApplyDelUlUe
(
RlcCb *gCb,
RlcUlCfgTmpData *cfgTmpData
)
-#else
-Void rlcCfgApplyDelUlUe(gCb, cfgTmpData)
-(
-RlcCb *gCb;
-RlcUlCfgTmpData *cfgTmpData;
-)
-#endif
{
#ifdef LTE_L2_MEAS
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcCfgValidateDelUlCell
(
RlcCb *gCb,
RlcUlEntTmpData *cfgEntData,
RlcUlCfgTmpData *cfgTmpData
)
-#else
-S16 rlcCfgValidateDelUlCell(gCb, cellId, cfgToValidate, cfgTmpData)
-RlcCb *gCb;
-CmLteCellId cellId;
-RlcEntCfgInfo *cfgToValidate;
-RlcUlEntTmpData *cfgEntData;
-RlcUlCfgTmpData *cfgTmpData;
-#endif
{
RLOG_ARG1(L_DEBUG,DBG_CELLID,cellId ,"cfgType(%d)",
* @return S16
* -# ROK
*/
-#ifdef ANSI
-Void rlcCfgApplyDelUlCell
-(
-RlcCb *gCb,
-RlcUlCfgTmpData *cfgInfo
-)
-#else
-Void rlcCfgApplyDelUlCell(gCb, cfgEntData)
-(
-RlcCb *gCb;
-RlcUlCfgTmpData *cfgInfo;
-)
-#endif
+Void rlcCfgApplyDelUlCell(RlcCb *gCb,RlcUlCfgTmpData *cfgInfo)
{
rlcDbmDelUlCellCb(gCb,cfgInfo->cellCb);
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcCfgValidateReEstRb
(
RlcCb *gCb,
RlcEntCfgInfo *cfgToValidate,
RlcUlEntTmpData *cfgEntData
)
-#else
-S16 rlcCfgValidateReEstRb(gCb,ueId, cellId, cfgToValidate, cfgEntData)
-RlcCb *gCb;
-CmLteRnti ueId;
-CmLteCellId cellId;
-RlcEntCfgInfo *cfgToValidate;
-RlcUlEntTmpData *cfgEntData;
-#endif
{
CmLteRlcId rlcId; /* RLC Identifier */
* @return S16
* -# ROK
*/
-#ifdef ANSI
Void rlcCfgApplyReEstUlRb
(
-RlcCb *gCb,
-CmLteRnti ueId,
-CmLteCellId cellId,
-Bool sndReEstInd,
-RlcUlEntTmpData *cfgEntData
-)
-#else
-Void rlcCfgApplyReEstUlRb(gCb, ueId, cellId, sndReEstInd, cfgEntData)
-(
-RlcCb *gCb;
-CmLteRnti ueId;
-CmLteCellId cellId;
-Bool sndReEstInd;
-RlcUlEntTmpData *cfgEntData;
+RlcCb *gCb,
+CmLteRnti ueId,
+CmLteCellId cellId,
+Bool sndReEstInd,
+RlcUlEntTmpData *cfgEntData
)
-#endif
{
CmLteRlcId rlcId; /* RLC Identifier */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcCfgValidateUeIdChng
(
-RlcCb *gCb,
+RlcCb *gCb,
CkwUeInfo *ueInfo,
CkwUeInfo *newUeInfo,
-RlcUlCfgTmpData *cfgTmpData
+RlcUlCfgTmpData *cfgTmpData
)
-#else
-S16 rlcCfgValidateUeIdChng(gCb,ueInfo,newUeInfo,cfgTmpData)
-RlcCb *gCb;
-CkwUeInfo *ueInfo;
-CkwUeInfo *newUeInfo;
-RlcUlCfgTmpData *cfgTmpData;
-#endif
{
RlcUlUeCb *ueCb;
* @return S16
* -# ROK
*/
-#ifdef ANSI
Void rlcCfgApplyUlUeIdChng
(
-RlcCb *gCb,
-CkwUeInfo *ueInfo,
-CkwUeInfo *newUeInfo,
-RlcUlCfgTmpData *cfgTmpData
-)
-#else
-Void rlcCfgApplyUlUeIdChng(gCb, ueId, cellId, cfgTmpData)
-(
-RlcCb *gCb;
+RlcCb *gCb,
CkwUeInfo *ueInfo,
CkwUeInfo *newUeInfo,
-RlcUlCfgTmpData *cfgTmpData;
+RlcUlCfgTmpData *cfgTmpData
)
-#endif
{
#ifdef LTE_L2_MEAS
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rlcDbmDlInit
-(
-RlcCb *gCb
-)
-#else
-S16 rlcDbmDlInit(gCb)
-RlcCb *gCb;
-#endif
+S16 rlcDbmDlInit(RlcCb *gCb)
{
/* Initialize ueCb Hash List */
*
* @return Void
*/
-#ifdef ANSI
-Void rlcDbmDlDeInit
-(
-RlcCb *gCb
-)
-#else
-Void rlcDbmDlDeInit(gCb)
-RlcCb *gCb;
-#endif
+Void rlcDbmDlDeInit(RlcCb *gCb)
{
* @return Void
*
*/
-#ifdef ANSI
-Void rlcDbmDelAllDlRb
-(
-RlcCb *gCb,
-RlcDlRbCb **rbCbLst,
-uint8_t numRbCb
-)
-#else
-Void rlcDbmDelAllDlRb(gCb, rbCbLst, numRbCb)
-RlcCb *gCb;
-RlcDlRbCb **rbCbLst;
-uint8_t numRbCb;
-#endif
+Void rlcDbmDelAllDlRb(RlcCb *gCb,RlcDlRbCb **rbCbLst,uint8_t numRbCb)
{
uint32_t idx;
* -# RFAILED
*
*/
-#ifdef ANSI
-S16 rlcDbmCreateDlUeCb
-(
-RlcCb *gCb,
-CmLteRnti ueId,
-CmLteCellId cellId,
-RlcDlUeCb **ueCb
-)
-#else
-S16 rlcDbmCreateDlUeCb(gCb,ueId, cellId, ueCb)
-RlcCb *gCb;
-CmLteRnti ueId;
-CmLteCellId cellId;
-RlcDlUeCb **ueCb;
-#endif
+S16 rlcDbmCreateDlUeCb(RlcCb *gCb,CmLteRnti ueId,CmLteCellId cellId,RlcDlUeCb **ueCb)
{
RlcDlUeCb *tUeCb;
* @return Void
*
*/
-#ifdef ANSI
-Void rlcDbmDelDlUeCb
-(
-RlcCb *gCb,
-RlcDlUeCb *ueCb,
-Bool abortFlag
-)
-#else
-Void rlcDbmDelDlUeCb(gCb,eCb, abortFlag)
-RlcCb *gCb;
-RlcDlUeCb *ueCb;
-Bool abortFlag;
-#endif
+Void rlcDbmDelDlUeCb(RlcCb *gCb,RlcDlUeCb *ueCb,Bool abortFlag)
{
#if (!defined(KW_PDCP) || !(defined(PJ_SEC_ASYNC) || defined(PJ_CMP_ASYNC)))
*
* @return Void
*/
-#ifdef ANSI
-Void rlcDbmDelAllDlUe
-(
-RlcCb *gCb
-)
-#else
-Void rlcDbmDelAllDlUe(gCb)
-RlcCb *gCb;
-#endif
+Void rlcDbmDelAllDlUe(RlcCb *gCb)
{
RlcDlUeCb *ueCb = NULLP;
/* kw005.201 added support for L2 Measurement */
#ifdef LTE_L2_MEAS
-#ifdef ANSI
-Void rlcDbmDelAllDlL2MeasTbFrmUe
-(
-RlcCb *gCb,
-RlcDlUeCb *ueCb
-)
-#else
-Void rlcDbmDelAllDlL2MeasTbFrmUe(gCb,ueCb)
-RlcCb *gCb;
-RlcDlUeCb *ueCb;
-#endif
+Void rlcDbmDelAllDlL2MeasTbFrmUe(RlcCb *gCb,RlcDlUeCb *ueCb)
{
uint8_t tbIdx;
RlcL2MeasTb *l2MeasTb = NULLP;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rlcDbmCreateDlCellCb
-(
-RlcCb *gCb,
-CmLteCellId cellId,
-RlcDlCellCb **cellCb
-)
-#else
-S16 rlcDbmCreateDlCellCb(gCb,cellId, cellCb)
-RlcCb *gCb;
-CmLteCellId cellId;
-RlcDlCellCb **cellCb;
-#endif
+S16 rlcDbmCreateDlCellCb(RlcCb *gCb,CmLteCellId cellId,RlcDlCellCb **cellCb)
{
RlcDlCellCb *tCellCb;
*
* @return Void
*/
-#ifdef ANSI
-Void rlcDbmDelDlCellCb
-(
-RlcCb *gCb,
-RlcDlCellCb *cellCb
-)
-#else
-Void rlcDbmDelDlCellCb(gCb,cellCb)
-RlcCb *gCb;
-RlcDlCellCb *cellCb;
-#endif
+Void rlcDbmDelDlCellCb(RlcCb *gCb,RlcDlCellCb *cellCb)
{
/* Delete all rbCbs in cellCb */
*
* @return Void
*/
-#ifdef ANSI
-Void rlcDbmDelAllDlCell
-(
-RlcCb *gCb
-)
-#else
-Void rlcDbmDelAllDlCell(gCb)
-RlcCb *gCb;
-#endif
+Void rlcDbmDelAllDlCell(RlcCb *gCb)
{
RlcDlCellCb *cellCb = NULLP;
*
* @return Void
*/
-#ifdef ANSI
-S16 rlcDbmDlShutdown
-(
-RlcCb *gCb
-)
-#else
-S16 rlcDbmDlShutdown(gCb)
-RlcCb *gCb;
-#endif
+S16 rlcDbmDlShutdown(RlcCb *gCb)
{
rlcDbmDelAllDlCell(gCb);
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rlcDbmUlInit
-(
-RlcCb *gCb
-)
-#else
-S16 rlcDbmUlInit(gCb)
-RlcCb *gCb;
-#endif
+S16 rlcDbmUlInit(RlcCb *gCb)
{
/* Initialize ueCb Hash List */
if(ROK != cmHashListInit(&(gCb->u.ulCb->ueLstCp),
*
* @return Void
*/
-#ifdef ANSI
-Void rlcDbmUlDeInit
-(
-RlcCb *gCb
-)
-#else
-Void rlcDbmUlDeInit(gCb)
-RlcCb *gCb;
-#endif
+Void rlcDbmUlDeInit(RlcCb *gCb)
{
/* De Initialize ueCb Hash List */
*
* @return Void
*/
-#ifdef ANSI
Void rlcDbmFetchUlRbCbByRbId
(
RlcCb *gCb,
CmLteRlcId *rlcId,
RlcUlRbCb **rbCb
)
-#else
-Void rlcDbmFetchUlRbCbByRbId(gCb, rlcId, rbCb)
-RlcCb *gCb;
-CmLteRlcId *rlcId;
-RlcUlRbCb **rbCb;
-#endif
{
*rbCb= NULLP;
* @return Void
*
*/
-#ifdef ANSI
Void rlcDbmDelAllUlRb
(
RlcCb *gCb,
RlcUlRbCb **rbCbLst,
-uint8_t numRbCb
+uint8_t numRbCb
)
-#else
-Void rlcDbmDelAllUlRb(gCb, rbCbLst, numRbCb)
-RlcCb *gCb;
-RlcUlRbCb **rbCbLst;
-uint8_t numRbCb;
-#endif
{
uint32_t idx; /* Index */
* -# RFAILED
*
*/
-#ifdef ANSI
S16 rlcDbmAddUlUeCb
(
RlcCb *gCb,
CmLteCellId cellId,
RlcUlUeCb *ueCb
)
-#else
-S16 rlcDbmAddUlUeCb(gCb, ueId, cellId, ueCb)
-RlcCb *gCb;
-CmLteRnti ueId;
-CmLteCellId cellId;
-RlcUlUeCb *ueCb;
-#endif
{
ueCb->ueId = ueId;
* -# RFAILED
*
*/
-#ifdef ANSI
S16 rlcDbmAddUlTransaction
(
RlcCb *gCb,
RlcUlCfgTmpData *cfg
)
-#else
-S16 rlcDbmAddUlTransaction(gCb, cfg)
-RlcCb *gCb;
-RlcUlCfgTmpData *cfg;
-#endif
{
#ifndef ALIGN_64BIT
RLOG1(L_DEBUG, "(transId(%ld)", cfg->transId);
* -# RFAILED
*
*/
-#ifdef ANSI
S16 rlcDbmFindUlTransaction
(
RlcCb *gCb,
-uint32_t transId,
+uint32_t transId,
RlcUlCfgTmpData **cfg
)
-#else
-S16 rlcDbmFindUlTransaction(gCb, cfg)
-RlcCb *gCb;
-uint32_t transId;
-RlcUlCfgTmpData **cfg;
-#endif
{
if(ROK != cmHashListFind(&(gCb->u.ulCb->transIdLstCp),
* -# RFAILED
*
*/
-#ifdef ANSI
S16 rlcDbmDelUlTransaction
(
RlcCb *gCb,
RlcUlCfgTmpData *cfg
)
-#else
-S16 rlcDbmDelUlTransaction(gCb, cfg)
-RlcCb *gCb;
-RlcUlCfgTmpData *cfg;
-#endif
{
if(cmHashListDelete(&(gCb->u.ulCb->transIdLstCp),(PTR) (cfg)) != ROK)
* -# RFAILED
*
*/
-#ifdef ANSI
-S16 rlcDbmDelAllUlTransactions
-(
-RlcCb *gCb
-)
-#else
-S16 rlcDbmDelAllUlTransactions(gCb)
-RlcCb *gCb;
-#endif
+S16 rlcDbmDelAllUlTransactions(RlcCb *gCb)
{
RlcUlCfgTmpData *cfg = NULL;
* @return Void
*
*/
-#ifdef ANSI
Void rlcDbmDelUlUeCb
(
RlcCb *gCb,
RlcUlUeCb *ueCb,
Bool abortFlag
)
-#else
-Void rlcDbmDelUlUeCb(gCb,eCb, abortFlag)
-RlcCb *gCb;
-RlcUlUeCb *ueCb;
-Bool abortFlag;
-#endif
{
#if (!defined(KW_PDCP) || !(defined(PJ_SEC_ASYNC) || defined(PJ_CMP_ASYNC)))
*
* @return Void
*/
-#ifdef ANSI
-Void rlcDbmDelAllUlUe
-(
-RlcCb *gCb
-)
-#else
-Void rlcDbmDelAllUlUe(gCb)
-RlcCb *gCb;
-#endif
+Void rlcDbmDelAllUlUe(RlcCb *gCb)
{
RlcUlUeCb *ueCb = NULLP; /* UE Control Block */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcDbmAddUlCellCb
(
RlcCb *gCb,
CmLteCellId cellId,
RlcUlCellCb *cellCb
)
-#else
-S16 rlcDbmAddUlCellCb(gCb, cellId, cellCb)
-RlcCb *gCb;
-CmLteCellId cellId;
-RlcUlCellCb *cellCb;
-#endif
{
RlcUlCellCb *tCellCb;
*
* @return Void
*/
-#ifdef ANSI
-Void rlcDbmDelUlCellCb
-(
-RlcCb *gCb,
-RlcUlCellCb *cellCb
-)
-#else
-Void rlcDbmDelUlCellCb(gCb, cellCb)
-RlcCb *gCb;
-RlcUlCellCb *cellCb;
-#endif
+Void rlcDbmDelUlCellCb(RlcCb *gCb,RlcUlCellCb *cellCb)
{
/* Delete all rbCbs in cellCb */
*
* @return Void
*/
-#ifdef ANSI
-Void rlcDbmDelAllUlCell
-(
-RlcCb *gCb
-)
-#else
-Void rlcDbmDelAllUlCell(gCb)
-RlcCb *gCb;
-#endif
+Void rlcDbmDelAllUlCell(RlcCb *gCb)
{
RlcUlCellCb *cellCb = NULLP; /* Cell Control Block */
* @param[in] gCb RLC Instance Control Block
*
*/
-#ifdef ANSI
-Void rlcDbmUlShutdown
-(
-RlcCb *gCb
-)
-#else
-Void rlcDbmUlShutdown(gCb)
-RlcCb *gCb;
-#endif
+Void rlcDbmUlShutdown(RlcCb *gCb)
{
rlcDbmDelAllUlCell(gCb);
*
*/
-#ifdef ANSI
-S16 rlcDlInitExt
-(
-)
-#else
S16 rlcDlInitExt()
-#endif
{
return ROK;
} /* kwInitExt */
* -# ROK
*
*/
-#ifdef ANSI
S16 rlcDlActvInit
(
Ent ent, /* entity */
Region region, /* region */
Reason reason /* reason */
)
-#else
-S16 rlcDlActvInit(ent, inst, region, reason)
-Ent ent; /* entity */
-Inst inst; /* instance */
-Region region; /* region */
-Reason reason; /* reason */
-#endif
{
RlcCb *tRlcCb;
#if (defined (MAC_FREE_RING_BUF) || defined (RLC_FREE_RING_BUF))
pthread_t gRlcTId = 0;
#endif
-#ifdef ANSI
S16 rlcDlActvTsk
(
Pst *pst, /* pst structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 rlcDlActvTsk(pst, mBuf)
-Pst *pst; /* pst structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 ret = ROK;
*
*/
-#ifdef ANSI
S16 rlcGetSId
(
SystemId *s /* system id */
)
-#else
-S16 rlcGetSId(s)
-SystemId *s; /* system id */
-#endif
{
s->mVer = sId.mVer;
* -# RFAILED
*
*/
-#ifdef ANSI
-S16 RlcLiRguBndCfm
-(
-Pst *pst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 RlcLiRguBndCfm (pst, suId, status)
-Pst *pst;
-SuId suId;
-uint8_t status;
-#endif
+S16 RlcLiRguBndCfm(Pst *pst,SuId suId,uint8_t status)
{
uint16_t event; /* Event */
uint16_t cause; /* Cause */
* -# RFAILED
*
*/
-#ifdef ANSI
-S16 RlcLiRguFlowCntrlInd
-(
-Pst *pst,
-SuId suId,
-RguFlowCntrlInd *flowCntrlInd
-)
-#else
-S16 RlcLiRguFlowCntrlInd(pst, suId, flowCntrlInd)
-Pst *pst;
-SuId suId;
-RguFlowCntrlInd *flowCntrlInd;
-#endif
+S16 RlcLiRguFlowCntrlInd(Pst *pst,SuId suId,RguFlowCntrlInd *flowCntrlInd)
{
RlcCb *tRlcCb;
RlcDlRbCb *rbCb = NULLP;
* -# RFAILED
*
*/
-#ifdef ANSI
-S16 RlcLiRguHqStaInd
-(
-Pst *pst,
-SuId suId,
-RguHarqStatusInd *staInd
-)
-#else
-S16 RlcLiRguHqStaInd(pst,suId,staInd)
-Pst *pst;
-SuId suId;
-RguHarqStatusInd *staInd;
-#endif
+S16 RlcLiRguHqStaInd(Pst *pst, SuId suId,RguHarqStatusInd *staInd)
{
RlcUeKey ueKey;
* LCM_REASON_INVALID_PAR_VAL
* LCM_REASON_HASHING_FAILED
*/
-#ifdef ANSI
-static S16 rlcLmmGenCfg
-(
-RlcCb *gCb,
-RlcGenCfg *cfg
-)
-#else
-static S16 rlcLmmGenCfg(gCB,cfg)
-RlcCb *gCb;
-RlcGenCfg *cfg;
-#endif
+static S16 rlcLmmGenCfg(RlcCb *gCb,RlcGenCfg *cfg)
{
Size rlcSapSize;
Size rlcUdxSapSize;
* @return S16
* -# ROK
*/
-#ifdef ANSI
static Void rlcLmmSendCfm
(
RlcCb *gCb,
uint8_t type,
Header *hdr
)
-#else
-static Void rlcLmmSendCfm(gCb,pst, cfm, type, hdr)
-RlcCb gCb;
-Pst *pst;
-RlcMngmt *cfm;
-uint8_t type;
-Header *hdr;
-#endif
{
Pst rPst; /* Reply post structure */
* -# Failure : RFAILED
*/
-#ifdef ANSI
-uint8_t RlcMiRlcConfigReq
-(
-Pst *pst,
-RlcMngmt *cfg
-)
-#else
-uint8_t RlcMiRlcConfigReq (pst, cfg)
-Pst *pst;
-RlcMngmt *cfg;
-#endif
+uint8_t RlcMiRlcConfigReq (Pst *pst,RlcMngmt *cfg)
{
Reason reason; /* failure reason */
RlcCb *tRlcCb=NULLP;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-uint8_t RlcMiLkwCntrlReq
-(
-Pst *pst,
-RlcMngmt *cntrl
-)
-#else
-uint8_t RlcMiLkwCntrlReq(pst, cntrl)
-Pst *pst;
-RlcMngmt *cntrl;
-#endif
+uint8_t RlcMiLkwCntrlReq(Pst *pst, RlcMngmt *cntrl)
{
Reason reason; /* failure reason */
RlcCb *tRlcCb=NULLP;
* -# ROK (SUCCESS)
* -# RFAILED
*/
-#ifdef ANSI
-S16 RlcMiLkwStaReq
-(
-Pst *pst,
-RlcMngmt *sta
-)
-#else
-S16 RlcMiLkwStaReq(pst, sta)
-Pst *pst;
-RlcMngmt *sta;
-#endif
+S16 RlcMiLkwStaReq(Pst *pst,RlcMngmt *sta)
{
RlcMngmt rSta; /* Status */
Reason reason; /* Failure reason */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 RlcMiLkwStsReq
-(
-Pst *pst,
-Action action,
-RlcMngmt *sts
-)
-#else
-S16 RlcMiLkwStsReq (pst, action, sts)
-Pst *pst;
-Action action;
-RlcMngmt *sts;
-#endif
+S16 RlcMiLkwStsReq (Pst *pst, Action action,RlcMngmt *sts)
{
RlcMngmt rSts; /* Statistics */
Reason reason; /* Reason for failure */
* -# Success : ROK
* -# Failure : RFAILED
*/
-#ifdef ANSI
-S16 RlcMiLkwL2MeasReq
-(
-Pst *pst,
-RlcL2MeasReqEvt *measReqEvt
-)
-#else
-S16 RlcMiLkwL2MeasReq (pst, measReqEvt)
-Pst *pst;
-RlcL2MeasReqEvt *measReqEvt;
-#endif
+S16 RlcMiLkwL2MeasReq(Pst *pst, RlcL2MeasReqEvt *measReqEvt)
{
S16 ret = ROK;
uint16_t cntr;
* -# Failure : RFAILED
*/
-#ifdef ANSI
-S16 RlcMiLkwL2MeasStopReq
-(
-Pst *pst,
-uint8_t measType
-)
-#else
-S16 RlcMiLkwL2MeasStopReq (pst, measType)
-Pst *pst;
-uint8_t measType;
-#endif
+S16 RlcMiLkwL2MeasStopReq(Pst *pst,uint8_t measType)
{
S16 ret = ROK;
RlcL2MeasEvtCb *measEvtCb = NULLP;
* -# Failure : RFAILED
*/
-#ifdef ANSI
-S16 RlcMiLkwL2MeasSendReq
-(
-Pst *pst,
-uint8_t measType
-)
-#else
-S16 RlcMiLkwL2MeasSendReq (pst, measType)
-Pst *pst;
-uint8_t measType;
-#endif
+S16 RlcMiLkwL2MeasSendReq(Pst *pst,uint8_t measType)
{
/*S16 ret = ROK;*/
RlcL2MeasEvtCb *measEvtCb = NULLP;
* -# LCM_REASON_MEM_NOAVAIL
* -# LCM_REASON_RECONFIG_FAIL
*/
-#ifdef ANSI
-static S16 rlcLmmCfgKwuSap
-(
-RlcCb *gCb,
-RlcSapCfg *cfg
-)
-#else
-static S16 rlcLmmCfgKwuSap(gCb,cfg)
-RlcCb *gCb;
-RlcSapCfg *cfg;
-#endif
+static S16 rlcLmmCfgKwuSap(RlcCb *gCb,RlcSapCfg *cfg)
{
RlcKwuSapCb *rlcKwuSapCb;
* -# LCM_REASON_INVALID_SAP
* -# LCM_REASON_RECONFIG_FAIL
*/
-#ifdef ANSI
-static S16 rlcLmmCfgCkwSap
-(
-RlcCb *gCb,
-RlcSapCfg *cfg
-)
-#else
-static S16 rlcLmmCfgCkwSap(gCb,cfg)
-RlcCb *gCb;
-RlcSapCfg *cfg;
-#endif
+static S16 rlcLmmCfgCkwSap(RlcCb *gCb,RlcSapCfg *cfg)
{
RlcCkwSapCb *ckwSap;
* -# LCM_REASON_INVALID_SAP
* -# LCM_REASON_RECONFIG_FAIL
*/
-#ifdef ANSI
-static S16 rlcLmmCfgUdxSap
-(
-RlcCb *gCb,
-RlcSapCfg *cfg
-)
-#else
-static S16 rlcLmmCfgUdxSap(gCb,cfg)
-RlcCb *gCb;
-RlcSapCfg *cfg;
-#endif
+static S16 rlcLmmCfgUdxSap(RlcCb *gCb,RlcSapCfg *cfg)
{
RlcUdxDlSapCb *udxDlSap;
RlcUdxUlSapCb *udxUlSap;
* -# LCM_REASON_INVALID_SAP
* -# LCM_REASON_RECONFIG_FAIL
*/
-#ifdef ANSI
-static S16 rlcLmmCfgRguSap
-(
-RlcCb *gCb,
-RlcSapCfg *cfg
-)
-#else
-static S16 rlcLmmCfgRguSap(gCb,cfg)
-RlcCb *gCb;
-RlcSapCfg *cfg;
-#endif
+static S16 rlcLmmCfgRguSap(RlcCb *gCb,RlcSapCfg *cfg)
{
RlcRguSapCb *rguSap;
* -# LCM_REASON_INVALID_SUBACTION
* -# LCM_REASON_INVALID_ACTION
*/
-#ifdef ANSI
-static S16 rlcLmmValidateGenCntrl
-(
-RlcMngmt *cntrl
-)
-#else
-static S16 rlcLmmValidateGenCntrl(cntrl)
-RlcMngmt *cntrl;
-#endif
+static S16 rlcLmmValidateGenCntrl(RlcMngmt *cntrl)
{
S16 reason; /* reason for failure */
uint8_t sAction; /* subaction field */
*
* @return Void
*/
-#ifdef ANSI
-static Void rlcLmmCleanGblRsrcs
-(
-RlcCb *gCb
-)
-#else
-static Void rlcLmmCleanGblRsrcs(gCb)
-RlcCb *gCb;
-#endif
+static Void rlcLmmCleanGblRsrcs(RlcCb *gCb)
{
Size rlcSapSize;
Size rlcUdxSapSize;
* -# LCM_REASON_NOT_APPL (SUCCESS)
* -# LCM_REASON_HASHING_FAILED
*/
-#ifdef ANSI
-static S16 rlcLmmShutdown
-(
-RlcCb *gCb
-)
-#else
-static S16 rlcLmmShutdown(gCb)
-RlcCb *gCb;
-#endif
+static S16 rlcLmmShutdown(RlcCb *gCb)
{
RlcRguSapCb *rguSap;
uint32_t idx;
* -# LCM_REASON_INVALID_SUBACTION
* -# LCM_REASON_INVALID_ACTION
*/
-#ifdef ANSI
-static S16 rlcLmmGenCntrl
-(
-RlcCb *gCb,
-RlcMngmt *cntrl
-)
-#else
-static S16 rlcLmmGenCntrl(gCb,cntrl)
-RlcCb *gCb;
-RlcMngmt *cntrl;
-#endif
+static S16 rlcLmmGenCntrl(RlcCb *gCb,RlcMngmt *cntrl)
{
RlcTrcCntrl *trcCntrl; /* trace */
#ifdef DEBUGP
* -# LCM_REASON_INVALID_STATE
* -# LCM_REASON_INVALID_ACTION
*/
-#ifdef ANSI
-static S16 rlcLmmUdxSapCntrl
-(
-RlcCb *gCb,
-RlcMngmt *cntrl
-)
-#else
-static S16 rlcLmmUdxSapCntrl(gCb,cntrl)
-RlcCb *gCb;
-RlcMngmt *cntrl;
-#endif
+static S16 rlcLmmUdxSapCntrl(RlcCb *gCb,RlcMngmt *cntrl)
{
#if (ERRCLASS & ERRCLS_INT_PAR)
* -# LCM_REASON_INVALID_STATE
* -# LCM_REASON_INVALID_ACTION
*/
-#ifdef ANSI
-static S16 rlcLmmLSapCntrl
-(
-RlcCb *gCb,
-RlcMngmt *cntrl
-)
-#else
-static S16 rlcLmmLSapCntrl(gCb,cntrl)
-RlcCb *gCb;
-RlcMngmt *cntrl;
-#endif
+static S16 rlcLmmLSapCntrl(RlcCb *gCb,RlcMngmt *cntrl)
{
RlcRguSapCb *rguSap; /* rgu sap pointer */
* -# LCM_REASON_NOT_APPL (SUCCESS)
* -# LCM_REASON_INVALID_PAR_VAL(FAILURE)
*/
-#ifdef ANSI
-static S16 rlcLmmGetKwuSapSta
-(
-RlcCb *gCb,
-RlcKwuSapSta *sta
-)
-#else
-static S16 rlcLmmGetKwuSapSta(gCb,sta)
-RlcCb *gCb;
-RlcKwuSapSta *sta;
-#endif
+static S16 rlcLmmGetKwuSapSta (RlcCb *gCb,RlcKwuSapSta *sta)
{
RlcKwuSapCb *rlcKwSapCb;
* -# LCM_REASON_NOT_APPL (SUCCESS)
* -# LCM_REASON_INVALID_PAR_VAL(FAILURE)
*/
-#ifdef ANSI
-static S16 rlcLmmGetRguSapSta
-(
-RlcCb *gCb,
-RlcRguSapSta *sta
-)
-#else
-static S16 rlcLmmGetRguSapSta(gCb,sta)
-RlcCb *gCb;
-RlcRguSapSta *sta;
-#endif
+static S16 rlcLmmGetRguSapSta(RlcCb *gCb,RlcRguSapSta *sta)
{
#if (ERRCLASS & ERRCLS_INT_PAR)
* -# LCM_REASON_NOT_APPL (SUCCESS)
* -# LCM_REASON_INVALID_PAR_VAL(FAILURE)
*/
-#ifdef ANSI
-static S16 rlcLmmGetCkwCntSapSta
-(
-RlcCb *gCb,
-RlcCkwCntSapSta *sta
-)
-#else
-static S16 rlcLmmGetCkwCntSapSta(gCb,sta)
-rlcCb *gCb,
-RlcCkwCntSapSta *sta;
-#endif
+static S16 rlcLmmGetCkwCntSapSta(RlcCb *gCb,RlcCkwCntSapSta *sta)
{
#if (ERRCLASS & ERRCLS_INT_PAR)
* -# LCM_REASON_NOT_APPL (SUCCESS)
* -# LCM_REASON_INVALID_PAR_VAL(FAILURE)
*/
-#ifdef ANSI
-static S16 rlcLmmGetGenSts
-(
-RlcCb *gCb,
-RlcGenSts *sts,
-Action action
-)
-#else
-static S16 rlcLmmGetGenSts(gCb,sts, action)
-RlcCb *gCb;
-RlcGenSts *sts;
-Action action;
-#endif
+static S16 rlcLmmGetGenSts(RlcCb *gCb,RlcGenSts *sts,Action action)
{
#if (ERRCLASS & ERRCLS_INT_PAR)
* -# LCM_REASON_NOT_APPL (SUCCESS)
* -# LCM_REASON_INVALID_PAR_VAL (FAIL)
*/
-#ifdef ANSI
-static S16 rlcLmmGetSapSts
-(
-RlcCb *gCb,
-RlcMngmt *sts,
-Elmnt elmnt,
-Action action
-)
-#else
-static S16 rlcLmmGetSapSts(sts, elmnt, action)
-RlcCb *gCb;
-RlcMngmt *sts;
-Elmnt elmnt;
-Action action;
-#endif
+static S16 rlcLmmGetSapSts(RlcCb *gCb,RlcMngmt *sts,Elmnt elmnt, Action action)
{
/* Validate protocol parameters */
* @return Void
*/
#ifdef LTE_L2_MEAS
-#ifdef ANSI
Void rlcLmmSendAlarm
(
RlcCb *gCb,
uint32_t ueId,
uint8_t qci
)
-#else
-Void rlcLmmSendAlarm(category, event, cause, suId, ueId, qci)
-RlcCb *gCb;
-uint16_t category;
-uint16_t event;
-uint16_t cause;
-SuId suId;
-uint32_t ueId;
-uint8_t qci;
-#endif
#else /* LTE_L2_MEAS */
-#ifdef ANSI
Void rlcLmmSendAlarm
(
RlcCb *gCb,
SuId suId,
uint32_t ueId
)
-#else
-Void rlcLmmSendAlarm(category, event, cause, suId, ueId)
-RlcCb *gCb;
-uint16_t category;
-uint16_t event;
-uint16_t cause;
-SuId suId;
-uint32_t ueId;
-#endif
#endif /* LTE_L2_MEAS */
{
RlcMngmt usta; /* Rlc Management Structure */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rlcLmmSendTrc
-(
-RlcCb *gCb,
-Event event,
-Buffer *mBuf
-)
-#else
-S16 rlcLmmSendTrc(gCb,event, mBuf)
-RlcCb *gCb;
-Event event;
-Buffer *mBuf;
-#endif
+S16 rlcLmmSendTrc(RlcCb *gCb,Event event,Buffer *mBuf)
{
RlcMngmt trc; /* RLC management control block */
Buffer *dstMbuf;
*
*/
-#ifdef ANSI
-S16 rlcActvTmr
-(
-Ent ent,
-Inst inst
-)
-#else
-S16 rlcActvTmr(ent,inst)
-Ent ent;
-Inst inst;
-#endif
+S16 rlcActvTmr(Ent ent,Inst inst)
{
RlcCb *gCb;
* -# ROK
*/
-#ifdef ANSI
S16 RlcLiRguBndReq
(
Pst *post, /* post structure */
SuId suId, /* Service User Id */
SpId spId /* Service Provider Id */
)
-#else
-S16 RlcLiRguBndReq(post, suId, spId)
-Pst *post; /* post structure */
-SuId suId; /* Service User Id */
-SpId spId; /* Service Provider Id */
-#endif
{
/* jump to specific primitive depending on configured selector */
* -# ROK
*/
-#ifdef ANSI
-S16 RlcLiRguUbndReq
-(
-Pst *post,
-SpId spId,
-Reason reason
-)
-#else
-S16 RlcLiRguUbndReq(post, spId, reason)
-Pst *post;
-SpId spId;
-Reason reason;
-#endif
+S16 RlcLiRguUbndReq(Pst *post,SpId spId,Reason reason)
{
/* jump to specific primitive depending on configured selector */
* -# RFAILED
*
*/
-#ifdef ANSI
-S16 RlcLiRguL2MUlThrpMeasReq
-(
-Pst *post,
-SpId spId,
-RguL2MUlThrpMeasReqInfo *l2mUlThrpMeasReq
-)
-#else
-S16 RlcLiRguL2MUlThrpMeasReq(post, spId, l2mUlThrpMeasReq)
-Pst *post;
-SpId spId;
-RguL2MUlThrpMeasReqInfo *l2mUlThrpMeasReq;
-#endif
+S16 RlcLiRguL2MUlThrpMeasReq(Pst *post,SpId spId,RguL2MUlThrpMeasReqInfo *l2mUlThrpMeasReq)
{
/* jump to specific primitive depending on configured selector */
S16 rlcUlBatchProc ARGS ((Void));
Void rlcUtlFreeUlRBuf ARGS((void));
-#ifdef ANSI
-S16 rlcUlBatchProc
-(
-Void
-)
-#else
-S16 rlcUlBatchProc()
-Void;
-#endif
+S16 rlcUlBatchProc(Void)
{
/* Read from Ring Buffer and process PDCP packets */
RguDDatIndInfo *datInd;
* -# RFAILED
*
*/
-#ifdef ANSI
Void rlcUtlFreeUlRBuf(void)
-#else
-Void rlcUtlFreeUlRBuf()
-#endif
{
RguDDatIndInfo *datInd;
PTR elem;
}
#endif
#ifdef RLC_MAC_STA_RSP_RBUF
-#ifdef ANSI
-S16 rlcLiRguStaRspRbuf
-(
-Pst *post,
-SpId spId,
-Void *staRsp
-)
-#else
-S16 rlcLiRguStaRspRbuf(post, spId, staRsp)
-Pst *post;
-SpId spId;
-Void *staRsp;
-#endif /* ANSI */
+S16 rlcLiRguStaRspRbuf(Pst *post,SpId spId,Void *staRsp)
{
S16 ret1 = ROK;
#endif
#ifdef RLC_MAC_DAT_REQ_RBUF
-#ifdef ANSI
-S16 rlcLiRguDatReqRbuf
-(
-Pst *post,
-SpId spId,
-Void *datReq
-)
-#else
-S16 rlcLiRguDatReqRbuf(post, spId, datReq)
-Pst *post;
-SpId spId;
-Void *datReq;
-#endif /* ANSI */
+S16 rlcLiRguDatReqRbuf(Pst *post,SpId spId,Void *datReq)
{
S16 ret1 = ROK;
the layer manager API provided.
*/
-#ifdef ANSI
S16 RlcMiRlcConfigCfm
(
Pst *pst, /* post structure */
RlcMngmt *cfm /* Layer Management structure */
)
-#else
-S16 RlcMiRlcConfigCfm(pst, cfm)
-Pst *pst; /* post structure */
-RlcMngmt *cfm; /* Layer Management structure */
-#endif
{
/* jump to specific primitive depending on configured selector */
layer manager API provided.
*/
-#ifdef ANSI
S16 RlcMiLkwCntrlCfm
(
Pst *pst, /* post structure */
RlcMngmt *cfm /* configure */
)
-#else
-S16 RlcMiLkwCntrlCfm(pst, cfm)
-Pst *pst; /* post structure */
-RlcMngmt *cfm; /* confirm */
-#endif
{
/* jump to specific primitive depending on configured selector */
- For a tightly coupled interface, the actual function called depends on
the layer manager API provided.
*/
-#ifdef ANSI
S16 RlcMiLkwStaInd
(
Pst *pst, /* post structure */
RlcMngmt *usta /* unsolicited status */
)
-#else
-S16 RlcMiLkwStaInd(pst, usta)
-Pst *pst; /* post structure */
-RlcMngmt *usta; /* unsolicited status */
-#endif
{
/* jump to specific primitive depending on configured selector */
(*kwMiLkwStaIndMt[pst->selector])(pst, usta);
on the layer manager API provided.
*/
-#ifdef ANSI
S16 RlcMiLkwStaCfm
(
Pst *pst, /* post structure */
RlcMngmt *cfm /* solicited status confirmation */
)
-#else
-S16 RlcMiLkwStaCfm(pst, cfm)
-Pst *pst; /* post structure */
-RlcMngmt *cfm; /* solicited status confirmation */
-#endif
{
/* jump to specific primitive depending on configured selector */
on the layer manager API provided.
*/
-#ifdef ANSI
S16 RlcMiLkwStsCfm
(
Pst *pst, /* post structure */
Action action, /* action */
RlcMngmt *cfm /* statistics confirmation */
)
-#else
-S16 RlcMiLkwStsCfm(pst, action, cfm)
-Pst *pst; /* post structure */
-Action action; /* action */
-RlcMngmt *cfm; /* statistics confirmation */
-#endif
{
/* jump to specific primitive depending on configured selector */
(*kwMiLkwStsCfmMt[pst->selector])(pst, action, cfm);
the layer manager API provided.
*/
-#ifdef ANSI
S16 RlcMiLkwTrcInd
(
Pst *pst, /* post structure */
RlcMngmt *trc, /* trace indication */
Buffer *mBuf /* message buffer */
)
-#else
-S16 RlcMiLkwTrcInd(pst, trc, mBuf)
-Pst *pst; /* post structure */
-RlcMngmt *trc; /* trace indication */
-Buffer *mBuf; /* message buffer */
-#endif
{
/* jump to specific primitive depending on configured selector */
(*kwMiLkwTrcIndMt[pst->selector])(pst, trc, mBuf);
/* kw005.201 added support for L2 Measurement */
#ifdef LTE_L2_MEAS
-#ifdef ANSI
-S16 RlcMiLkwL2MeasCfm
-(
-Pst * pst,
-RlcL2MeasCfmEvt *measEvt
-)
-#else
-S16 RlcMiLkwL2MeasCfm(pst, measEvt)
-Pst * pst;
-RlcL2MeasCfmEvt *measEvt;
-#endif
+S16 RlcMiLkwL2MeasCfm(Pst * pst,RlcL2MeasCfmEvt *measEvt)
{
(*rlcMiLkwL2MeasCfmMt[pst->selector])(pst, measEvt);
return ROK;
}
-#ifdef ANSI
-S16 RlcMiLkwL2MeasStopCfm
-(
-Pst *pst,
-uint8_t measType,
-uint8_t status
-)
-#else
-S16 RlcMiLkwL2MeasStopCfm(pst, measType,status)
-Pst *pst;
-uint8_t measType;
-uint8_t status;
-#endif
+S16 RlcMiLkwL2MeasStopCfm(Pst *pst,uint8_t measType,uint8_t status)
{
(*RlcMiLkwL2MeasStopCfmMt[pst->selector])(pst, measType,status);
* -# ROK
*
*/
-#ifdef ANSI
S16 RlcUiKwuBndCfm
(
-Pst *pst, /* post structure */
-SuId suId, /* Service User Id */
-uint8_t status /* Status */
+Pst *pst, /* post structure */
+SuId suId, /* Service User Id */
+uint8_t status /* Status */
)
-#else
-S16 RlcUiKwuBndCfm(pst, suId, status)
-Pst *pst; /* post structure */
-SuId suId; /* Service User Id */
-uint8_t status; /* Status */
-#endif
{
/* jump to specific primitive depending on configured selector */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcSendUlDataToDu
(
Pst *pst,
KwuDatIndInfo *datInd,
Buffer *mBuf
)
-#else
-S16 rlcSendUlDataToDu(pst, datInd, mBuf)
-Pst *pst;
-KwuDatIndInfo *datInd;
-Buffer *mBuf;
-#endif
{
/* jump to specific primitive depending on configured selector */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcUiKwuDatCfm
(
-Pst *pst,
-SuId suId,
-KwuDatCfmInfo *datCfm
+Pst *pst,
+SuId suId,
+KwuDatCfmInfo *datCfm
)
-#else
-S16 RlcUiKwuDatCfm(pst, suId, datCfm)
-Pst *pst;
-SuId suId;
-KwuDatCfmInfo *datCfm;
-#endif
{
rlcDatCfmsSent++;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcUiKwuStaInd
(
Pst *pst,
SuId suId,
KwuStaIndInfo *staInd
)
-#else
-S16 RlcUiKwuStaInd(pst, suId, staInd)
-Pst *pst;
-SuId suId;
-KwuStaIndInfo *staInd;
-#endif
{
/* jump to specific primitive depending on configured selector */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcUiKwuReEstCmpInd
(
Pst *pst,
SuId suId,
CmLteRlcId rlcId
)
-#else
-S16 RlcUiKwuReEstCmpInd(pst, suId, rlcId)
-Pst *pst;
-SuId suId;
-CmLteRlcId rlcId;
-#endif
{
RLOG0(L_DEBUG, "In RlcUiKwuReEstCmpInd");
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcUiKwuDiscSduCfm
(
Pst *pst,
SuId suId,
KwuDiscSduInfo *discCfm
)
-#else
-S16 RlcUiKwuDiscSduCfm(pst, suId, discCfm)
-Pst *pst;
-SuId suId;
-KwuDiscSduInfo *discCfm;
-#endif
{
/* jump to specific primitive depending on configured selector */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 RlcUiKwuFlowCntrlInd
-(
-Pst *pst,
-SuId suId,
-KwuFlowCntrlIndInfo *flowCntrlIndInfo
-)
-#else
-S16 RlcUiKwuFlowCntrlInd(pst, suId, flowCntrlIndInfo)
-Pst *pst;
-SuId suId;
-KwuFlowCntrlIndInfo *flowCntrlIndInfo;
-#endif
+S16 RlcUiKwuFlowCntrlInd(Pst *pst,SuId suId,KwuFlowCntrlIndInfo *flowCntrlIndInfo)
{
/* jump to specific primitive depending on configured selector */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 RlcUiKwuDatAckInd
-(
-Pst *pst,
-SuId suId,
-KwuDatAckInfo *datAckInd
-)
-#else
-S16 RlcUiKwuDatAckInd(pst, suId, datAckInd)
-Pst *pst;
-SuId suId;
-KwuDatAckInfo *datAckInd;
-#endif
+S16 RlcUiKwuDatAckInd(Pst *pst,SuId suId,KwuDatAckInfo *datAckInd)
{
/* jump to specific primitive depending on configured selector */
* @return S16
* -# ROK
*/
-#ifdef ANSI
S16 RlcUiCkwBndCfm
(
-Pst *pst, /* post structure */
-SuId suId, /* Service User Id */
-uint8_t status /* Status */
+Pst *pst, /* post structure */
+SuId suId, /* Service User Id */
+uint8_t status /* Status */
)
-#else
-S16 RlcUiCkwBndCfm(pst, suId, status)
-Pst *pst; /* post structure */
-SuId suId; /* Service User Id */
-uint8_t status; /* Status */
-#endif
{
/* jump to specific primitive depending on configured selector */
* -# ROK
*
*/
-#ifdef ANSI
S16 RlcUiRlcCfgCfm
(
Pst *pst, /* post structure */
SuId suId, /* Service User Id */
RlcCfgCfmInfo *cfmInfo /* Configuration Confirm */
)
-#else
-S16 RlcUiRlcCfgCfm(pst, suId, cfmInfo)
-Pst *pst; /* post structure */
-SuId suId; /* Service User Id */
-RlcCfgCfmInfo *cfmInfo; /* Configuration Confirm */
-#endif
{
/* jump to specific primitive depending on configured selector */
* -# ROK
*
*/
-#ifdef ANSI
S16 RlcUiCkwUeIdChgCfm
(
Pst *pst, /* post structure */
CkwUeInfo *ueInfo,
CmStatus status
)
-#else
-S16 RlcUiCkwUeIdChgCfm(pst, suId, transId,ueInfo,status)
-Pst *pst; /* post structure */
-SuId suId; /* Service User Id */
-uint32_t transId;
-CkwUeInfo *ueInfo;
-CmStatus status;
-#endif
{
/* jump to specific primitive depending on configured selector */
* @return S16
* -# ROK
*/
-#ifdef ANSI
-S16 rlcDlBatchProcSplit
-(
-Void
-)
-#else
-S16 rlcDlBatchProcSplit()
-Void;
-#endif
+S16 rlcDlBatchProcSplit(Void)
{
/* Read from Ring Buffer and process PDCP packets */
#endif
#if defined(PDCP_RLC_DL_RBUF) || defined(SS_RBUF)
-#ifdef ANSI
-S16 rlcDlBatchProc
-(
-Void
-)
-#else
-S16 rlcDlBatchProc()
-Void;
-#endif
+S16 rlcDlBatchProc(Void)
{
/* Read from Ring Buffer and process PDCP packets */
}
-#ifdef ANSI
-S16 rlcUtlDlBatchProcPkts
-(
-Void
-)
-#else
-S16 rlcUtlDlBatchProcPkts
-Void;
-#endif
+S16 rlcUtlDlBatchProcPkts(Void)
{
rlcDlBatchProc();
#ifdef SS_RBUF
}
-#ifdef ANSI
-S16 rlcUtlDlFreeRlcRBuf
-(
-Void
-)
-#else
-S16 rlcUtlDlFreeRlcRBuf
-Void;
-#endif
+S16 rlcUtlDlFreeRlcRBuf(Void)
{
/* Read from Ring Buffer and process PDCP packets */
Void *elmIndx = NULLP;
*
*
*/
-#ifdef ANSI
-Void TSL2AllocStatsMem
-(
- Region region,
- Pool pool
-)
-#else
-Void TSL2AllocStatsMem(region, pool)
- Region region;
- Pool pool;
-#endif
+Void TSL2AllocStatsMem(Region region,Pool pool)
{
uint32_t cnt=0;
*
*
*/
-#ifdef ANSI
-TSL2UeStatsCb* TSL2AllocUeStatsBlk
-(
- uint16_t rnti
-)
-#else
-TSL2UeStatsCb* TSL2AllocUeStatsBlk(rnti)
- uint16_t rnti;
-#endif
+TSL2UeStatsCb* TSL2AllocUeStatsBlk (uint16_t rnti)
{
CmLList *tmp = NULLP;
TSL2UeStatsCb *statsCb = NULLP;
*
*
*/
-#ifdef ANSI
-Void TSL2DeallocUeStatsBlk
-(
- uint16_t rnti,
- TSL2UeStatsCb *statsCb
-)
-#else
-Void TSL2DeallocUeStatsBlk(rnti, statsCb)
- uint16_t rnti;
- TSL2UeStatsCb *statsCb;
-#endif
+Void TSL2DeallocUeStatsBlk(uint16_t rnti,TSL2UeStatsCb *statsCb)
{
statsCb->inUse = FALSE;
cmLListDelFrm(&inUseL2UeStatsLst, &statsCb->lnk);
*
*
*/
-#ifdef ANSI
-TSL2CellStatsCb* TSL2AllocCellStatsBlk
-(
- uint32_t cellId
-)
-#else
-TSL2CellStatsCb* TSL2AllocCellStatsBlk(cellId)
- uint32_t cellId;
-#endif
+TSL2CellStatsCb* TSL2AllocCellStatsBlk(uint32_t cellId)
{
if (cellId != 1)
{
*
*
*/
-#ifdef ANSI
-Void TSL2DeallocCellStatsBlk
-(
- uint32_t cellId
-)
-#else
-Void TSL2DeallocCellStatsBlk(cellId)
- uint32_t cellId;
-#endif
+Void TSL2DeallocCellStatsBlk(uint32_t cellId)
{
return;
*
*
*/
-#ifdef ANSI
-Void TSL2SendStatsToApp
-(
- Pst *pst,
- SuId suId
- )
-#else
-Void TSL2SendStatsToApp(pst, suId)
- Pst *pst;
- SuId suId;
-#endif
+Void TSL2SendStatsToApp(Pst *pst, SuId suId)
{
uint32_t idx;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
Void rlcTmmQSdu
(
RlcCb *gCb,
KwuDatReqInfo *datReqInfo,
Buffer *mBuf
)
-#else
-Void rlcTmmQSdu(gCb,rbCb,datReqInfo,mBuf)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-KwuDatReqInfo *datReqInfo;
-Buffer *mBuf;
-#endif
{
RlcSdu *sdu;
* @return S16
* -# ROK
*/
-#ifdef ANSI
Void rlcDlTmmReEstablish
(
RlcCb *gCb,
RlcDlRbCb *rbCb
)
-#else
-Void rlcDlTmmReEstablish(gCb,rbCb)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-#endif
{
#ifdef LTE_L2_MEAS_RLC
#endif
S16 PjUiPjuDatInd(Pst* pst,SuId suId,CmLtePdcpId * pdcpId,Buffer *mBuf);
-#ifdef ANSI
Void AddUeContext
(
CmLteRnti crnti,
uint8_t rrcMsgType
)
-#else
-Void AddUeContext(crnti,rrcMsgType)
-CmLteRnti crnti,
-uint8_t rrcMsgType
-#endif
{
KwuDatIndInfo *datIndInfo; /* Data Indication Information */
uint8_t rrcConReq[6] ={ 0x50, 0x30, 0x30, 0x30, 0x30, 0x34 };
* -# ROK
*
**/
-#ifdef ANSI
Void rlcTmmUlReEstablish
(
RlcCb *gCb,
RlcUlRbCb *rbCb
)
-#else
-Void rlcTmmUlReEstablish(rbCb)
-RlcCb *gCb;
-RlcUlRbCb *rbCb;
-#endif
{
-
RLOG_ARG0(L_DEBUG,DBG_RBID,rbCb->rlcId.rbId,"do nothing for TMM for ReEstablish");
return;
}
*
* @return Void
*/
-#ifdef ANSI
-Void rlcTmrExpiry
-(
-PTR cb,
-S16 tmrEvnt
-)
-#else
-Void rlcTmrExpiry (cb, tmrEvnt)
-PTR cb;
-S16 tmrEvnt;
-#endif
+Void rlcTmrExpiry(PTR cb,S16 tmrEvnt)
{
/* kw005.201 added support for L2 Measurement */
*
* @return Void
*/
-#ifdef ANSI
-static Void rlcBndTmrExpiry
-(
-PTR cb
-)
-#else
-static Void rlcBndTmrExpiry(cb)
-PTR cb;
-#endif
+static Void rlcBndTmrExpiry(PTR cb)
{
RlcRguSapCb *rguSapCb;
* File: ckw.c
*
*/
-#ifdef ANSI
-static S16 cmUnpkUdxStruct
-(
-Buffer *srcMBuf,
-uint32_t offset,
-uint8_t *dstBuf,
-uint32_t size
-)
-#else
-static S16 cmUnpkUdxStruct(dstMBuf,srcBuf,size)
-Buffer *srcMBuf;
-uint32_t offset;
-uint8_t *dstBuf;
-MsgLen size;
-#endif
+static S16 cmUnpkUdxStruct(Buffer *srcMBuf,uint32_t offset,uint8_t *dstBuf,uint32_t size)
{
MsgLen tmpLen;
* File: ckw.c
*
*/
-#ifdef ANSI
-static S16 cmPkUdxStruct
-(
-uint8_t *srcBuf,
-MsgLen size,
-Buffer *dstMBuf
-)
-#else
-static S16 cmPkUdxStruct(dstMBuf,srcBuf,size)
-uint8_t *srcBuf;
-MsgLen size;
-Buffer *dstMBuf;
-#endif
+static S16 cmPkUdxStruct(uint8_t *srcBuf,MsgLen size,Buffer *dstMBuf)
{
return (SAddPstMsgMult(srcBuf,size,dstMBuf));
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmPkUdxBndReq
-(
-Pst *pst,
-SuId suId,
-SpId spId
-)
-#else
-S16 cmPkUdxBndReq(pst, suId, spId)
-Pst *pst;
-SuId suId;
-SpId spId;
-#endif
+S16 cmPkUdxBndReq(Pst *pst,SuId suId,SpId spId)
{
S16 ret1;
Buffer *mBuf;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmPkUdxUbndReq
-(
-Pst *pst,
-SpId spId,
-Reason reason
-)
-#else
-S16 cmPkUdxUbndReq(pst, spId, reason)
-Pst *pst;
-SpId spId;
-Reason reason;
-#endif
+S16 cmPkUdxUbndReq(Pst *pst,SpId spId,Reason reason)
{
S16 ret1;
Buffer *mBuf;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmPkUdxBndCfm
-(
-Pst *pst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 cmPkUdxBndCfm(pst, suId, status)
-Pst *pst;
-SuId suId;
-uint8_t status;
-#endif
+S16 cmPkUdxBndCfm(Pst *pst,SuId suId,uint8_t status)
{
S16 ret1;
Buffer *mBuf;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmPkUdxCfgReq
-(
-Pst *pst,
-SpId spId,
-RlcCfgInfo *cfgInfo
-)
-#else
-S16 cmPkUdxCfgReq(pst, spId, cfgInfo)
-Pst *pst;
-SpId spId;
-RlcCfgInfo *cfgInfo;
-#endif
+S16 cmPkUdxCfgReq(Pst *pst,SpId spId,RlcCfgInfo *cfgInfo)
{
S16 ret1;
Buffer *mBuf;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmPkUdxCfgCfm
-(
-Pst *pst,
-SuId suId,
-RlcCfgCfmInfo *cfgCfmInfo
-)
-#else
-S16 cmPkUdxCfgCfm(pst, suId, cfgCfmInfo)
-Pst *pst;
-SuId suId;
-RlcCfgCfmInfo *cfgCfmInfo;
-#endif
+S16 cmPkUdxCfgCfm(Pst *pst,SuId suId,RlcCfgCfmInfo *cfgCfmInfo)
{
S16 ret1;
Buffer *mBuf;
* File: ckw.c
*
*/
-#ifdef ANSI
S16 cmPkUdxUeIdChgReq
(
-Pst *pst,
-SpId spId,
-uint32_t transId,
-CkwUeInfo *ueInfo,
-CkwUeInfo *newUeInfo
+Pst *pst,
+SpId spId,
+uint32_t transId,
+CkwUeInfo *ueInfo,
+CkwUeInfo *newUeInfo
)
-#else
-S16 cmPkUdxUeIdChgReq(pst, spId, transId, ueInfo, newUeInfo)
-Pst *pst;
-SpId spId;
-uint32_t transId;
-CkwUeInfo *ueInfo;
-CkwUeInfo *newUeInfo;
-#endif
{
S16 ret1;
Buffer *mBuf = NULLP;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmPkUdxUeIdChgCfm
-(
-Pst *pst,
-SuId suId,
-uint32_t transId,
-CmStatus status
-)
-#else
-S16 cmPkUdxUeIdChgCfm(pst, suId, transId, status)
-Pst *pst;
-SuId suId;
-uint32_t transId;
-CmStatus status;
-#endif
+S16 cmPkUdxUeIdChgCfm(Pst *pst,SuId suId,uint32_t transId,CmStatus status)
{
S16 ret1;
Buffer *mBuf = NULLP;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmPkUdxStaUpdCfm
-(
-Pst *pst,
-SuId suId,
-CmLteRlcId *rlcId,
-RlcUdxBufLst *pStaPdu
-)
-#else
-S16 cmPkUdxStaUpdCfm(pst, suId, rlcId,pStaPdu)
-Pst *pst;
-SuId suId;
-CmLteRlcId *rlcId;
-RlcUdxBufLst *pStaPdu;
-#endif
+S16 cmPkUdxStaUpdCfm(Pst *pst,SuId suId,CmLteRlcId *rlcId,RlcUdxBufLst *pStaPdu)
{
S16 ret1;
Buffer *mBuf = NULLP;
* File: Kw_udx.c
*
*/
-#ifdef ANSI
-S16 cmPkUdxStaProhTmrStart
-(
-Pst *pst,
-SpId spId,
-CmLteRlcId *rlcId
-)
-#else
-S16 cmPkUdxStaProhTmrStart(pst, suId, rlcId)
-Pst *pst;
-SpId spId;
-CmLteRlcId *rlcId;
-#endif
+S16 cmPkUdxStaProhTmrStart(Pst *pst,SpId spId,CmLteRlcId *rlcId)
{
S16 ret1;
Buffer *mBuf = NULLP;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmPkUdxStaUpdReq
-(
-Pst *pst,
-SpId spId,
-CmLteRlcId *rlcId,
-RlcUdxStaPdu *pStaPdu
-)
-#else
-S16 cmPkUdxStaUpdReq(pst, suId, rlcId,pStaPdu)
-Pst *pst;
-SpId spId;
-CmLteRlcId *rlcId;
-RlcUdxStaPdu *pStaPdu;
-#endif
+S16 cmPkUdxStaUpdReq(Pst *pst,SpId spId,CmLteRlcId *rlcId,RlcUdxStaPdu *pStaPdu)
{
S16 ret1;
Buffer *mBuf = NULLP;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmPkUdxStaPduReq
-(
-Pst *pst,
-SpId spId,
-CmLteRlcId *rlcId,
-RlcUdxDlStaPdu *pStaPdu
-)
-#else
-S16 cmPkUdxStaPduReq(pst, suId, rlcId,pStaPdu)
-Pst *pst;
-SpId spId;
-CmLteRlcId *rlcId;
-RlcUdxDlStaPdu *pStaPdu;
-#endif
+S16 cmPkUdxStaPduReq(Pst *pst,SpId spId,CmLteRlcId *rlcId,RlcUdxDlStaPdu *pStaPdu)
{
S16 ret1;
Buffer *mBuf = NULLP;
*
*
*/
-#ifdef ANSI
-S16 cmPkUdxL2MeasReq
-(
-Pst *pst,
-RlcL2MeasReqEvt *measReqEvt
-)
-#else
-S16 cmPkUdxL2MeasReq(pst, measReqEvt)
-Pst *pst;
-RlcL2MeasReqEvt *measReqEvt;
-#endif
+S16 cmPkUdxL2MeasReq(Pst *pst,RlcL2MeasReqEvt *measReqEvt)
{
S16 ret1;
Buffer *mBuf = NULLP;
*
*
*/
-#ifdef ANSI
-S16 cmPkUdxL2MeasSendReq
-(
-Pst *pst,
-uint8_t measType
-)
-#else
-S16 cmPkUdxL2MeasSendReq(pst, measReqEvt)
-Pst *pst;
-uint8_t measType
-#endif
+S16 cmPkUdxL2MeasSendReq(Pst *pst,uint8_t measType)
{
S16 ret1;
Buffer *mBuf = NULLP;
*
*
*/
-#ifdef ANSI
-S16 cmPkUdxL2MeasStopReq
-(
-Pst *pst,
-uint8_t measType
-)
-#else
-S16 cmPkUdxL2MeasStopReq(pst, measType)
-Pst *pst;
-uint8_t measType
-#endif
+S16 cmPkUdxL2MeasStopReq(Pst *pst,uint8_t measType)
{
S16 ret1;
Buffer *mBuf = NULLP;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxBndReq
-(
-UdxBndReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxBndReq(func, pst, mBuf)
-UdxBndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxBndReq(UdxBndReq func,Pst *pst,Buffer *mBuf)
{
SuId suId = 0;
SpId spId = 0;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxUbndReq
-(
-UdxUbndReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxUbndReq(func, pst, mBuf)
-UdxUbndReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxUbndReq(UdxUbndReq func,Pst *pst,Buffer *mBuf)
{
SpId spId = 0;
Reason reason = 0;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxBndCfm
-(
-UdxBndCfm func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxBndCfm(func, pst, mBuf)
-UdxBndCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxBndCfm(UdxBndCfm func,Pst *pst,Buffer *mBuf)
{
SuId suId = 0;
uint8_t status = 0;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxCfgReq
-(
-UdxCfgReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxCfgReq(func, pst, mBuf)
-UdxCfgReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxCfgReq(UdxCfgReq func,Pst *pst,Buffer *mBuf)
{
#if(ERRCLASS & ERRCLS_DEBUG)
S16 ret1;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxCfgCfm
-(
-UdxCfgCfm func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxCfgCfm(func, pst, mBuf)
-UdxCfgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxCfgCfm(UdxCfgCfm func,Pst *pst,Buffer *mBuf)
{
S16 ret1;
SuId suId = 0;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxUeIdChgReq
-(
-UdxUeIdChgReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxUeIdChgReq(func, pst, mBuf)
-UdxUeIdChgReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxUeIdChgReq(UdxUeIdChgReq func,Pst *pst,Buffer *mBuf)
{
SpId spId = 0;
uint32_t transId = 0;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxUeIdChgCfm
-(
-UdxUeIdChgCfm func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxUeIdChgCfm(func, pst, mBuf)
-UdxUeIdChgCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxUeIdChgCfm(UdxUeIdChgCfm func,Pst *pst,Buffer *mBuf)
{
SuId suId = 0;
uint32_t transId = 0;
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxStaUpdCfm
-(
-UdxStaUpdCfm func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxStaUpdCfm(func, pst, mBuf)
-UdxStaUpdCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxStaUpdCfm(UdxStaUpdCfm func,Pst *pst,Buffer *mBuf)
{
SuId suId = 0;
CmLteRlcId *rlcId = NULLP; /* KW_FIX */
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxStaUpdReq
-(
-UdxStaUpdReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxStaUpdReq(func, pst, mBuf)
-UdxStaUpdReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxStaUpdReq(UdxStaUpdReq func,Pst *pst,Buffer *mBuf)
{
SpId spId = 0;
CmLteRlcId *rlcId = NULLP; /* KW_FIX */
* File: ckw.c
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxStaPduReq
-(
-UdxStaPduReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxStaPduReq(func, pst, mBuf)
-UdxStaPduReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxStaPduReq(UdxStaPduReq func,Pst *pst,Buffer *mBuf)
{
S16 ret1;
SpId spId = 0;
* File: kw_udx.c
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxStaProhTmrStart
-(
-UdxStaProhTmrStart func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxStaProhTmrStart(func, pst, mBuf)
-UdxStaProhTmrStart func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxStaProhTmrStart(UdxStaProhTmrStart func,Pst *pst,Buffer *mBuf)
{
SpId spId = 0;
CmLteRlcId tmpRlcId;
*
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxL2MeasReq
-(
-UdxL2MeasReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxL2MeasReq(func, pst, mBuf)
-UdxL2MeasReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxL2MeasReq(UdxL2MeasReq func,Pst *pst,Buffer *mBuf)
{
RlcL2MeasReqEvt tmpMeasReqEvt;
RlcL2MeasReqEvt *measReqEvt = NULLP; /* KW_FIX */
*
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxL2MeasSendReq
-(
-UdxL2MeasSendReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxL2MeasSendReq(func, pst, mBuf)
-UdxL2MeasSendReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxL2MeasSendReq(UdxL2MeasSendReq func,Pst *pst,Buffer *mBuf)
{
uint8_t measType = 0; /* KW_FIX */
*
*
*/
-#ifdef ANSI
-S16 cmUnpkUdxL2MeasStopReq
-(
-UdxL2MeasStopReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkUdxL2MeasStopReq(func, pst, mBuf)
-UdxL2MeasSendReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkUdxL2MeasStopReq(UdxL2MeasStopReq func,Pst *pst,Buffer *mBuf)
{
uint8_t measType = 0; /* KW_FIX */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcDlUdxBndReq
(
Pst *pst,
SuId suId,
SpId spId
)
-#else
-S16 rlcDlUdxBndReq (pst, suId, spId)
-Pst *pst;
-SuId suId;
-SpId spId;
-#endif
{
RlcUdxDlSapCb *udxSap; /* pointer to session SAP */
RlcCb *tRlcCb;
* @return S16
* -# ROK
*/
-#ifdef ANSI
S16 rlcDlUdxUbndReq
(
Pst *pst,
SpId spId,
Reason reason
)
-#else
-S16 rlcDlUdxUbndReq(pst, spId, reason)
-Pst *pst;
-SpId spId;
-Reason reason;
-#endif
{
RlcUdxDlSapCb *udxSap;
RlcCb *tRlcCb;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcDlUdxCfgReq
(
Pst *pst,
SpId spId,
RlcCfgInfo *cfg
)
-#else
-S16 rlcDlUdxCfgReq(pst, spId, cfg)
-Pst *pst;
-SpId spId;
-RlcCfgInfo *cfg;
-#endif
{
RlcCfgCfmInfo *cfgCfm;
uint8_t idx;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcDlUdxUeIdChgReq
(
Pst *pst,
CkwUeInfo *ueInfo,
CkwUeInfo *newUeInfo
)
-#else
-S16 rlcDlUdxUeIdChgReq(pst,spId,transId,ueInfo,newUeInfo)
-Pst *pst;
-SpId spId;
-uint32_t transId;
-CkwUeInfo *ueInfo;
-CkwUeInfo *newUeInfo;
-#endif
{
CmStatus status;
RlcCb *tRlcCb;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rlcDlUdxStaPduReq
(
Pst *pst,
CmLteRlcId *rlcId,
RlcUdxDlStaPdu *pStaPdu
)
-#else
-S16 rlcDlUdxStaPduReq(pst, spId, rlcId, pStaPdu)
-Pst *pst;
-SpId spId;
-CmLteRlcId *rlcId;
-RlcUdxDlStaPdu *pStaPdu;
-#endif
{
RlcDlRbCb *rbCb;
RlcCb *tRlcCb;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rlcDlUdxStaUpdReq
(
Pst* pst,
CmLteRlcId *rlcId,
RlcUdxStaPdu *pStaPdu
)
-#else
-S16 rlcDlUdxStaUpdReq(pst, spId, rlcId,pStaPdu)
-Pst* pst;
-SpId spId;
-CmLteRlcId *rlcId;
-RlcUdxStaPdu *pStaPdu;
-#endif
{
RlcCb *tRlcCb;
RlcDlRbCb *rbCb;
#ifdef LTE_L2_MEAS
/**
*/
-#ifdef ANSI
S16 rlcDlUdxL2MeasReq
(
Pst *pst,
RlcL2MeasReqEvt *measReqEvt
)
-#else
-S16 rlcDlUdxL2MeasReq (pst, measReqEvt)
-Pst *pst;
-RlcL2MeasReqEvt *measReqEvt;
-#endif
{
uint32_t cntr;
uint8_t measType;
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 rlcDlUdxL2MeasStopReq
(
Pst *pst,
uint8_t measType
)
-#else
-S16 rlcDlUdxL2MeasStopReq (pst, measType)
-Pst *pst;
-uint8_t measType;
-#endif
{
/* S16 ret = ROK;*/
RlcL2MeasEvtCb *measEvtCb = NULLP;
* -# Failure : RFAILED
*/
-#ifdef ANSI
S16 rlcDlUdxL2MeasSendReq
(
Pst *pst,
uint8_t measType
)
-#else
-S16 rlcDlUdxL2MeasSendReq (pst, measType)
-Pst *pst;
-uint8_t measType;
-#endif
{
RlcL2MeasEvtCb *measEvtCb;
uint16_t cntr;
* -# ROK
*
*/
-#ifdef ANSI
static S16 PtDlUdxBndCfm
(
Pst *pst, /* post structure */
SuId suId, /* Service User Id */
uint8_t status /* Status */
)
-#else
-static S16 PtDlUdxBndCfm(pst, suId, status)
-Pst *pst; /* post structure */
-SuId suId; /* Service User Id */
-uint8_t status; /* Status */
-#endif
{
return ROK;
* -# ROK
*
*/
-#ifdef ANSI
static S16 PtDlUdxCfgCfm
(
Pst *pst, /* post structure */
SuId suId, /* Service User Id */
RlcCfgCfmInfo *cfmInfo /* Status */
)
-#else
-static S16 PtDlUdxCfgCfm(pst, suId, status)
-Pst *pst; /* post structure */
-SuId suId; /* Service User Id */
-RlcCfgCfmInfo *cfmInfo; /* Status */
-#endif
{
return ROK;
* -# ROK
*
*/
-#ifdef ANSI
static S16 PtDlUdxUeIdChgCfm
(
Pst *pst, /* post structure */
SuId suId, /* Service User Id */
-uint32_t transId,
-CmStatus status
+uint32_t transId,
+CmStatus status
)
-#else
-static S16 PtDlUdxUeIdChgCfm(pst, suId, status)
-Pst *pst; /* post structure */
-SuId suId; /* Service User Id */
-uint32_t transId;
-CmStatus status;
-#endif
{
return ROK;
* -# ROK
*
*/
-#ifdef ANSI
S16 rlcDlUdxBndCfm
(
Pst *pst, /* post structure */
SuId suId, /* Service User Id */
-uint8_t status /* Status */
+uint8_t status /* Status */
)
-#else
-S16 rlcDlUdxBndCfm(pst, suId, status)
-Pst *pst; /* post structure */
-SuId suId; /* Service User Id */
-uint8_t status; /* Status */
-#endif
{
/* jump to specific primitive depending on configured selector */
* -# ROK
*
*/
-#ifdef ANSI
S16 rlcDlUdxCfgCfm
(
Pst *pst, /* post structure */
SuId suId, /* Service User Id */
RlcCfgCfmInfo *cfmInfo /* Status */
)
-#else
-S16 rlcDlUdxCfgCfm(pst, suId, status)
-Pst *pst; /* post structure */
-SuId suId; /* Service User Id */
-RlcCfgCfmInfo *cfmInfo; /* Status */
-#endif
{
/* jump to specific primitive depending on configured selector */
* -# ROK
*
*/
-#ifdef ANSI
S16 rlcDlUdxUeIdChgCfm
(
Pst *pst, /* post structure */
uint32_t transId,
CmStatus status
)
-#else
-S16 rlcDlUdxUeIdChgCfm(pst, suId, status)
-Pst *pst; /* post structure */
-SuId suId; /* Service User Id */
-uint32_t transId;
-CmStatus status;
-#endif
{
/* jump to specific primitive depending on configured selector */
CkwUeInfo *ueInfo, CkwUeInfo *newUeInfo));
static S16 PtUlUdxStaPduReq ARGS(( Pst* pst,SpId spId, CmLteRlcId *rlcId,
RlcUdxDlStaPdu *pStaPdu ));
-#ifdef ANSI
static S16 PtUlUdxBndReq
(
Pst *pst, /* post structure */
SuId suId, /* Service User Id */
SpId spId /* Status */
)
-#else
-static S16 PtUlUdxBndReq(pst, suId,spId)
-Pst *pst; /* post structure */
-SuId suId; /* Service User Id */
-SpId spId; /* Status */
-#endif
{
return ROK;
* -# ROK
*
*/
-#ifdef ANSI
static S16 PtUlUdxUbndReq
(
Pst *pst, /* post structure */
SpId spId, /* Service User Id */
Reason reason /* Status */
)
-#else
-static S16 PtUlUdxUbndReq(pst, suId, status)
-Pst *pst; /* post structure */
-SpId spId; /* Service User Id */
-Reason Reason; /* Status */
-#endif
{
return ROK;
} /* end of PtDlUdxBndReq */
-#ifdef ANSI
static S16 PtUlUdxCfgReq
(
Pst *pst, /* post structure */
SpId spId, /* Service User Id */
RlcCfgInfo *cfmInfo /* Config Info */
)
-#else
-static S16 PtUlUdxCfgReq(pst, spId, status)
-Pst *pst; /* post structure */
-SpId spId; /* Service User Id */
-RlcCfgInfo *cfmInfo; /* Config Info */
-#endif
{
return ROK;
} /* end of rlcDlUdxCfgReq */
-#ifdef ANSI
static S16 PtUlUdxUeIdChgReq
(
Pst *pst, /* post structure */
CkwUeInfo *ueInfo, /* Config Info */
CkwUeInfo *newUeInfo /* Config Info */
)
-#else
-static S16 PtUlUdxUeIdChgReq(pst, spId,transId, ueInfo, newUeInfo)
-Pst *pst; /* post structure */
-SpId spId; /* Service User Id */
-uint32_t transId; /* transaction Id */
-CkwUeInfo *ueInfo; /* Config Info */
-CkwUeInfo *newUeInfo; /* Config Info */
-#endif
{
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
static S16 PtUlUdxStaUpdReq
(
Pst* pst,
CmLteRlcId *rlcId,
RlcUdxStaPdu *pStaPdu
)
-#else
-static S16 PtUlUdxStaUpdReq(pst, rlcId, pStaPdu)
-Pst* pst;
-SpId spId;
-CmLteRlcId *rlcId;
-RlcUdxDlStaPdu *pStaPdu;
-#endif
{
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-static S16 PtUlUdxL2MeasReq
-(
-Pst* pst,
-RlcL2MeasReqEvt *measReqEvt
-)
-#else
-static S16 PtUlUdxL2MeasReq(pst, measReqEvt )
-Pst* pst;
-RlcL2MeasReqEvt *measReqEvt;
-#endif
+static S16 PtUlUdxL2MeasReq(Pst* pst,RlcL2MeasReqEvt *measReqEvt)
{
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-static S16 PtUlUdxL2MeasSendReq
-(
-Pst* pst,
-uint8_t status
-)
-#else
-static S16 PtUlUdxL2MeasSendReq(pst, status )
-Pst* pst;
-uint8_t status
-#endif
+static S16 PtUlUdxL2MeasSendReq(Pst* pst,uint8_t status)
{
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-static S16 PtUlUdxL2MeasStopReq
-(
-Pst* pst,
-uint8_t status
-)
-#else
-static S16 PtUlUdxL2MeasStopReq(pst, status )
-Pst* pst;
-uint8_t status
-#endif
+static S16 PtUlUdxL2MeasStopReq(Pst* pst,uint8_t status)
{
return ROK;
* -# ROK
*
*/
-#ifdef ANSI
S16 rlcUlUdxBndReq
(
Pst *pst, /* post structure */
SuId suId, /* Service User Id */
SpId spId /* Status */
)
-#else
-S16 rlcUlUdxBndReq(pst, suId, status)
-Pst *pst; /* post structure */
-SuId suId; /* Service User Id */
-SpId spId; /* Status */
-#endif
{
/* jump to specific primitive depending on configured selector */
(*rlcUlUdxBndReqMt[pst->selector])(pst, suId, spId);
* -# ROK
*
*/
-#ifdef ANSI
S16 rlcUlUdxUbndReq
(
Pst *pst, /* post structure */
SpId spId, /* Service User Id */
Reason reason /* Status */
)
-#else
-S16 rlcUlUdxUbndReq(pst, suId, status)
-Pst *pst; /* post structure */
-SpId spId; /* Service User Id */
-Reason Reason; /* Status */
-#endif
{
/* jump to specific primitive depending on configured selector */
(*rlcUlUdxUbndReqMt[pst->selector])(pst, spId,reason );
} /* end of rlcDlUdxBndReq */
-#ifdef ANSI
S16 rlcUlUdxCfgReq
(
Pst *pst, /* post structure */
SpId spId, /* Service User Id */
RlcCfgInfo *cfmInfo /* Config Info */
)
-#else
-S16 rlcUlUdxCfgReq(pst, suId, status)
-Pst *pst; /* post structure */
-SuId spId; /* Service User Id */
-RlcCfgInfo *cfmInfo; /* Config Info */
-#endif
{
/* jump to specific primitive depending on configured selector */
} /* end of rlcDlUdxCfgReq */
-#ifdef ANSI
S16 rlcUlUdxUeIdChgReq
(
Pst *pst, /* post structure */
CkwUeInfo *ueInfo, /* Config Info */
CkwUeInfo *newUeInfo /* Config Info */
)
-#else
-S16 rlcUlUdxUeIdChgReq(pst, spId,transId, ueInfo, newUeInfo)
-Pst *pst; /* post structure */
-SpId spId; /* Service User Id */
-uint32_t transId; /* transaction Id */
-CkwUeInfo *ueInfo; /* Config Info */
-CkwUeInfo *newUeInfo; /* Config Info */
-#endif
{
/* jump to specific primitive depending on configured selector */
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rlcUlUdxL2MeasReq
-(
-Pst* pst,
-RlcL2MeasReqEvt *measReqEvt
-)
-#else
-S16 rlcUlUdxL2MeasReq(pst,measReqEvt)
-Pst* pst;
-RlcL2MeasReqEvt *measReqEvt;
-#endif
+S16 rlcUlUdxL2MeasReq(Pst* pst,RlcL2MeasReqEvt *measReqEvt )
{
return ((*rlcUlUdxL2MeasReqMt[pst->selector])(pst,measReqEvt));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rlcUlUdxL2MeasSendReq
-(
-Pst* pst,
-uint8_t measType
-)
-#else
-S16 rlcUlUdxL2MeasSendReq(pst,measReqEvt)
-Pst* pst;
-uint8_t measType;
-#endif
+S16 rlcUlUdxL2MeasSendReq(Pst* pst,uint8_t measType)
{
return ((*rlcUlUdxL2MeasSendReqMt[pst->selector])(pst,measType));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rlcUlUdxL2MeasStopReq
-(
-Pst* pst,
-uint8_t measType
-)
-#else
-S16 rlcUlUdxL2MeasStopReq(pst,measReqEvt)
-Pst* pst;
-uint8_t measType;
-#endif
+S16 rlcUlUdxL2MeasStopReq(Pst* pst,uint8_t measType)
{
return ((*rlcUlUdxL2MeasStopReqMt[pst->selector])(pst,measType));
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcUlUdxBndCfm
(
Pst *pst,
SuId suId,
uint8_t status
)
-#else
-S16 rlcUlUdxBndCfm (pst, suId, status)
-Pst *pst;
-SuId suId;
-uint8_t status;
-#endif
{
uint16_t event;
uint16_t cause;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcUlUdxCfgCfm
(
Pst *pst,
SuId suId,
RlcCfgCfmInfo *cfmInfo
)
-#else
-S16 rlcUlUdxCfgCfm (pst, suId, cfmInfo)
-Pst *pst;
-SuId suId;
-RlcCfgCfmInfo *cfmInfo;
-#endif
{
RlcCb *tRlcCb;
RlcCfgCfmInfo *cfgCfm;
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcUlUdxUeIdChgCfm
(
Pst *pst,
uint32_t transId,
CmStatus status
)
-#else
-S16 rlcUlUdxUeIdChgCfm (pst, suId, cfmInfo)
-Pst *pst;
-SuId suId;
-uint32_t transId;
-CmStatus status;
-#endif
{
RlcCb *tRlcCb;
RlcUlCfgTmpData *cfgTmpData;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rlcHdlCrlcUlCfgReq
(
RlcCb *gCb,
RlcCfgCfmInfo *cfmInfo,
RlcCfgCfmInfo *cfgCfm
)
-#else
-S16 rlcHdlCrlcUlCfgReq(gCb,cfgTmpData,cfmInfo,cfmInfo)
-RlcCb *gCb;
-RlcUlCfgTmpData *cfgTmpData;
-RlcCfgCfmInfo *cfmInfo;
-RlcCfgCfmInfo *cfgCfm;
-#endif
{
RlcCfgInfo *cfg;
uint32_t idx;
* -# RFAILED
*
*/
-#ifdef ANSI
S16 RlcUiCkwBndReq
(
Pst *pst,
SuId suId,
SpId spId
)
-#else
-S16 RlcUiCkwBndReq (pst, suId, spId)
-Pst *pst;
-SuId suId;
-SpId spId;
-#endif
{
RlcCkwSapCb *ckwSap;
RlcCb *tRlcCb;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcUiCkwUbndReq
(
Pst *pst,
SpId spId,
Reason reason
)
-#else
-S16 RlcUiCkwUbndReq(pst, spId, reason)
-Pst *pst;
-SpId spId;
-Reason reason;
-#endif
{
RlcCb *tRlcCb;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcProcCfgReq
(
Pst *pst,
RlcCfgInfo *cfg
)
-#else
-S16 RlcProcCfgReq(pst, cfg)
-Pst *pst;
-RlcCfgInfo *cfg;
-#endif
{
RlcCb *tRlcCb;
RlcUlCfgTmpData *cfgTmpData;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcUiCkwUeIdChgReq
(
Pst *pst,
CkwUeInfo *ueInfo,
CkwUeInfo *newUeInfo
)
-#else
-S16 RlcUiCkwUeIdChgReq(pst, spId, transId, ueInfo, newUeInfo)
-Pst *pst;
-SpId spId;
-uint32_t transId;
-CkwUeInfo *ueInfo;
-CkwUeInfo *newUeInfo;
-#endif
{
S16 ret = ROK;
RlcCb *tRlcCb;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
Void rlcUlHdlCfgReq
(
-RlcCb *gCb,
-RlcUlCfgTmpData *cfgTmpData,
-RlcCfgInfo *cfg
+RlcCb *gCb,
+RlcUlCfgTmpData *cfgTmpData,
+RlcCfgInfo *cfg
)
-#else
-Void rlcUlHdlCfgReq(gCb, cfgTmpData, cfg)
-RlcCb *gCb;
-RlcUlCfgTmpData *cfgTmpData;
-RlcCfgInfo *cfg;
-#endif
{
uint8_t idx;
* -# RFAILED
*
*/
-#ifdef ANSI
S16 RlcUiKwuBndReq
(
Pst *pst,
SuId suId,
SpId spId
)
-#else
-S16 RlcUiKwuBndReq (pst, suId, spId)
-Pst *pst;
-SuId suId;
-SpId spId;
-#endif
{
RlcKwuSapCb *rlckwuSap; /* SAP Config Block */
RlcCb *tRlcCb;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcUiKwuUbndReq
(
Pst *pst,
SpId spId,
Reason reason
)
-#else
-S16 RlcUiKwuUbndReq(pst, spId, reason)
-Pst *pst;
-SpId spId;
-Reason reason;
-#endif
{
RlcKwuSapCb *rlckwuSap; /* KWU SAP control block */
RlcCb *tRlcCb;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 RlcUiKwuDiscSduReq
(
Pst *pst,
SpId spId,
KwuDiscSduInfo *discSdu
)
-#else
-S16 RlcUiKwuDiscSduReq(pst, spId, discSdu)
-Pst *pst;
-SpId spId;
-KwuDiscSduInfo *discSdu;
-#endif
{
RLC_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, discSdu, sizeof(KwuDiscSduInfo));
return ROK;
*
*/
-#ifdef ANSI
-S16 rlcUlInitExt
-(
-)
-#else
S16 rlcUlInitExt()
-#endif
{
return ROK;
* -# ROK
*
*/
-#ifdef ANSI
S16 rlcUlActvInit
(
Ent ent, /* entity */
Region region, /* region */
Reason reason /* reason */
)
-#else
-S16 rlcUlActvInit(ent, inst, region, reason)
-Ent ent; /* entity */
-Inst inst; /* instance */
-Region region; /* region */
-Reason reason; /* reason */
-#endif
{
RlcCb *tRlcCb;
* -# ROK
*
*/
-#ifdef ANSI
S16 rlcUlActvTsk
(
Pst *pst, /* pst structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 rlcUlActvTsk(pst, mBuf)
-Pst *pst; /* pst structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 ret = ROK;
*
* @return Void
*/
-#ifdef ANSI
-Void rlcDlUmmReEstablish
-(
-RlcCb *gCb,
-CmLteRlcId rlcId,
-Bool sendReEst,
-RlcDlRbCb *rbCb
-)
-#else
-Void rlcDlUmmReEstablish(gCb, rlcId, rbCb)
-RlcCb *gCb;
-CmLteRlcId rlcId;
-Bool sendReEst;
-RlcDlRbCb *rbCb;
-#endif
+Void rlcDlUmmReEstablish(RlcCb *gCb,CmLteRlcId rlcId,Bool sendReEst,RlcDlRbCb *rbCb)
{
/* The re-establishment indication is sent from the UL only */
*
* @return Void
*/
-#ifdef ANSI
-Void rlcUmmDiscSdu
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb,
-uint32_t sduId
-)
-#else
-Void rlcUmmDiscSdu(gCb,rbCb,sduId)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-uint32_t sduId;
-#endif
+Void rlcUmmDiscSdu(RlcCb *gCb,RlcDlRbCb *rbCb,uint32_t sduId)
{
CmLList *tmpNode; /* Temporary Node in SDU queue */
CM_LLIST_FIRST_NODE(&rbCb->m.umDl.sduQ,tmpNode);
*
* @return Void
*/
-#ifdef ANSI
-Void rlcUmmFreeDlRbCb
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb
-)
-#else
-Void rlcUmmFreeDlRbCb(gCb,rbCb)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-#endif
+Void rlcUmmFreeDlRbCb(RlcCb *gCb,RlcDlRbCb *rbCb)
{
/* cat the SDU queue to the to be freed list */
*
* @return Void
*/
-#ifdef ANSI
Void rlcUmmUlReEstablish
(
RlcCb *gCb,
CmLteRlcId *rlcId,
RlcUlRbCb *rbCb
)
-#else
-Void rlcUmmUlReEstablish(gCb, rlcId, rbCb)
-RlcCb *gCb;
-CmLteRlcId *rlcId;
-RlcUlRbCb *rbCb;
-#endif
{
RlcSn curSn;
RlcSn vrUh;
*
* @return Void
*/
-#ifdef ANSI
Void rlcUmmReOrdTmrExp
(
RlcCb *gCb,
RlcUlRbCb *rbCb
)
-#else
-Void rlcUmmReOrdTmrExp(gCb, rbCb)
-RlcCb *gCb;
-RlcUlRbCb *rbCb;
-#endif
{
RlcSn prevVrUr; /* prevVrUr */
prevVrUr = RLC_UMUL.vrUr;
* @return void
*/
-#ifdef ANSI
Void rlcUmmFreeUlRbCb
(
RlcCb *gCb,
RlcUlRbCb *rbCb
)
-#else
-Void rlcUmmFreeUlRbCb(gCb,rbCb)
-RlcCb *gCb;
-RlcUlRbCb *rbCb;
-#endif
{
RlcSn curSn = 0; /* sequence number of PDU */
RlcSn windSz; /* PDU window size */
*/
/* kw005.201 added support for L2 Measurement */
#ifdef LTE_L2_MEAS_RLC
-#ifdef ANSI
Void rlcUtlEmptySduQ
(
RlcCb *gCb,
CmLListCp *sduQ
)
#else
-Void rlcUtlEmptySduQ(gCb,rbCb, sduQ)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-CmLListCp *sduQ;
-#endif
-#else
-#ifdef ANSI
Void rlcUtlEmptySduQ
(
RlcCb *gCb,
CmLListCp *sduQ
)
-#else
-Void rlcUtlEmptySduQ(gCb,sduQ)
-RlcCb *gCb;
-CmLListCp *sduQ;
-#endif
#endif
{
#ifdef LTE_L2_MEAS_RLC
*
* @return void
*/
-#ifdef ANSI
-Void rlcDlUtlSetReestInProgressForRB
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb
-)
-#else
-Void rlcDlUtlSetReestInProgressForRB(gCb,rbCb)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-#endif
+Void rlcDlUtlSetReestInProgressForRB(RlcCb *gCb,RlcDlRbCb *rbCb)
{
rbCb->reestInProgress = TRUE;
*
* @return Void
*/
-#ifdef ANSI
-Void rlcDlUtlResetReestInProgress
-(
-RlcDlRbCb *rbCb
-)
-#else
-Void rlcDlUtlResetReestInProgress(rbCb)
-RlcDlRbCb *rbCb;
-#endif
+Void rlcDlUtlResetReestInProgress(RlcDlRbCb *rbCb)
{
rbCb->reestInProgress = FALSE;
*
* @return void
*/
-#ifdef ANSI
-Void rlcDlUtlSetReestInProgressForAllRBs
-(
-RlcCb *gCb,
-RlcDlUeCb *ueCb
-)
-#else
-Void rlcDlUtlSetReestInProgressForAllRBs(gCb,ueCb)
-RlcCb *gCb;
-RlcDlUeCb *ueCb;
-#endif
+Void rlcDlUtlSetReestInProgressForAllRBs(RlcCb *gCb,RlcDlUeCb *ueCb)
{
uint32_t rbIdx;
*
* @return Void
*/
-#ifdef ANSI
-Void rlcUtlInitToBeFreed
-(
-RlcCb *gCb,
-RlcDlDataToBeFreed *toBeFreed
-)
-#else
-Void rlcUtlInitToBeFreed(gCb, toBeFreed)
-RlcCb *gCb;
-RlcDlDataToBeFreed *toBeFreed;
-#endif
+Void rlcUtlInitToBeFreed(RlcCb *gCb,RlcDlDataToBeFreed *toBeFreed)
{
cmLListInit(&(toBeFreed->sduLst));
cmLListInit(&(toBeFreed->rbLst));
*
* @return Void
*/
-#ifdef ANSI
-Void rlcUtlInitializeSelfPst
-(
-RlcCb *gCb
-)
-#else
-Void rlcUtlInitializeSelfPst(gCb)
-RlcCb *gCb;
-#endif
+Void rlcUtlInitializeSelfPst(RlcCb *gCb)
{
Pst *selfPst = &gCb->u.dlCb->selfPst;
*
* @return Void
*/
-#ifdef ANSI
-Void rlcUtlAddReTxPduToBeFreedQueue
-(
-RlcCb *gCb,
-RlcRetx *retx
-)
-#else
-Void rlcUtlAddReTxPduToBeFreedQueue(gCb, retx)
-RlcCb *gCb;
-RlcRetx *retx;
-#endif
+Void rlcUtlAddReTxPduToBeFreedQueue(RlcCb *gCb,RlcRetx *retx)
{
cmLListAdd2Tail(&(gCb->u.dlCb->toBeFreed.reTxLst), &(retx->lstEnt));
return;
*
* @return Void
*/
-#ifdef ANSI
-Void rlcUtlAddTxPduToBeFreedQueue
-(
-RlcCb *gCb,
-RlcTx *pdu
-)
-#else
-Void rlcUtlAddTxPduToBeFreedQueue(gCb, pdu)
-RlcCb *gCb;
-RlcTx *pdu;
-#endif
+Void rlcUtlAddTxPduToBeFreedQueue(RlcCb *gCb,RlcTx *pdu)
{
pdu->rlsLnk.node = (PTR)pdu;
cmLListAdd2Tail(&(gCb->u.dlCb->toBeFreed.txLst), &(pdu->rlsLnk));
* - TRUE if more data to be freed
* - FALSE if all the data has been freed
*/
-#ifdef ANSI
-static Bool rlcUtlFreeDlAmRbMemory
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb,
-uint32_t *toBeFreed
-)
-#else
-static Bool rlcUtlFreeDlAmRbMemory(gCb, rbCb, toBeFreed)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-uint32_t *toBeFreed
-#endif
+static Bool rlcUtlFreeDlAmRbMemory(RlcCb *gCb,RlcDlRbCb *rbCb,uint32_t *toBeFreed)
{
RlcRetx *retx; /* retransmission buffer */
RlcSn mTxNext; /* send state variable */
*
* @return Void
*/
-#ifdef ANSI
-Void rlcUtlFreeDlMemory
-(
-RlcCb *gCb
-)
-#else
-Void rlcUtlFreeDlMemory(gCb)
-RlcCb *gCb;
-#endif
+Void rlcUtlFreeDlMemory(RlcCb *gCb)
{
uint32_t toBeFreed;
* @return Void
*
*/
-#ifdef ANSI
Void rlcUtlUpdateBurstSdus
(
RlcCb *gCb,
S32 dataVol,
uint32_t schPduSz
)
-#else
-Void rlcUtlUpdateBurstSdus (gCb, rbCb, contSduLst, dataVol, schPduSz)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-RlcContSduLst *contSduLst;
-S32 dataVol;
-uint32_t schPduSz;
-#endif
{
RlcL2MeasDlIpTh *l2MeasDlIpThruput = NULLP;
*
* @return Void
*/
-#ifdef ANSI
-Void rlcUtlUpdateContainedSduLst
-(
-uint8_t sduIdx,
-RlcContSduLst *contSduLst
-)
-#else
-Void rlcUtlUpdateContainedSduLst(sduIdx, contSduLst)
-uint8_t sduIdx;
-RlcContSduLst *contSduLst;
-#endif
+Void rlcUtlUpdateContainedSduLst(uint8_t sduIdx,RlcContSduLst *contSduLst)
{
if (contSduLst->numSdus < RLC_L2MEAS_MAX_OUTSTNGSDU)
{
*
* @return Void
*/
-#ifdef ANSI
Void rlcUtlUpdateOutStandingSduLst
(
RlcL2MeasDlIpTh *dlIpThPut,
-uint8_t sduIdx,
-MsgLen sduLen,
-uint32_t sduId,
-Bool newIdx
+uint8_t sduIdx,
+MsgLen sduLen,
+uint32_t sduId,
+Bool newIdx
)
-#else
-Void rlcUtlUpdateOutStandingSduLst(dlIpThPut, sduIdx, sduLen, sduId, newIdx)
-RlcL2MeasDlIpTh *dlIpThPut;
-uint8_t sduIdx;
-MsgLen sduLen;
-uint32_t sduId;
-Bool newIdx;
-#endif
{
if (sduIdx < RLC_L2MEAS_MAX_OUTSTNGSDU)
{
}
return;
}
-#ifdef ANSI
-RlcL2MeasTb * rlcUtlGetCurMeasTb
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb
-)
-#else
-RlcL2MeasTb * rlcUtlGetCurMeasTb(gCb, rbCb)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-#endif
+RlcL2MeasTb * rlcUtlGetCurMeasTb(RlcCb *gCb,RlcDlRbCb *rbCb)
{
RlcL2MeasTb *curL2MeasTb;
uint16_t idx;
* -# ROK
*/
-#ifdef ANSI
S16 rlcUtlProcHarqInd
(
RlcCb *gCb,
RlcDlUeCb *ueCb,
uint8_t tbIdx
)
-#else
-S16 rlcUtlProcHarqInd(gCb, hqStaInd, ueCb, tbIdx)
-RlcCb *gCb;
-RguHarqStatusInd *hqStaInd;
-RlcDlUeCb *ueCb;
-uint8_t tbIdx;
-#endif
{
#ifdef LTE_L2_MEAS
RlcDlRbCb *rlcRbCb; /* KW Control Block */
* -# ROK
*/
-#ifdef ANSI
-S16 rlcUtlSndDlL2MeasCfm
-(
-RlcCb *gCb,
-RlcL2MeasEvtCb *measEvtCb
-)
-#else
-S16 rlcUtlSndDlL2MeasCfm(gCb, measEvtCb)
-RlcCb *gCb;
-RlcL2MeasEvtCb *measEvtCb;
-#endif
+S16 rlcUtlSndDlL2MeasCfm(RlcCb *gCb,RlcL2MeasEvtCb *measEvtCb)
{
uint32_t qciIdx;
RlcL2MeasCb *measCb = NULLP;
* -# ROK
*/
-#ifdef ANSI
-S16 rlcUtlSndDlL2MeasNCfm
-(
-RlcCb *gCb,
-RlcL2MeasReqEvt *measReqEvt,
-RlcL2MeasCfmEvt *measCfmEvt
-)
-#else
-S16 rlcUtlSndDlL2MeasNCfm(gCb,measReqEvt, measCfmEvt)
-RlcCb *gCb;
-RlcL2MeasReqEvt *measReqEvt;
-RlcL2MeasCfmEvt *measCfmEvt;
-#endif
+S16 rlcUtlSndDlL2MeasNCfm(RlcCb *gCb,RlcL2MeasReqEvt *measReqEvt,RlcL2MeasCfmEvt *measCfmEvt)
{
RlcMiLkwL2MeasCfm(&gCb->genCfg.lmPst, measCfmEvt);
*
* @return Void
*/
-#ifdef ANSI
-Void rlcUtlResetDlL2MeasInRlcRb
-(
-RlcCb *gCb,
-RlcL2MeasCb *measCb,
-uint8_t measType
-)
-#else
-Void rlcUtlResetDlL2MeasInRlcRb(gCb, measCb, measType)
-RlcCb *gCb;
-RlcL2MeasCb *measCb;
-uint8_t measType;
-#endif
+Void rlcUtlResetDlL2MeasInRlcRb(RlcCb *gCb,RlcL2MeasCb *measCb,uint8_t measType)
{
uint32_t ueIdx;
uint32_t qciIdx;
* @return Void
*/
-#ifdef ANSI
-void rlcUtlFreeDlMem
-(
- Void
-)
-#else
-void rlcUtlFreeDlMem()
-Void;
-#endif
+void rlcUtlFreeDlMem( Void)
{
rlcUtlFreeDlMemory(RLC_GET_RLCCB(RLC_DL_INST));
}
#if defined(MAC_RLC_HARQ_STA_RBUF) || defined (SS_RBUF)
#ifdef LTE_L2_MEAS
-#ifdef ANSI
-void rlcUtlDlBatchProcHqStaInd
-(
- Void
-)
-#else
-void rlcUtlDlBatchProcHqStaInd()
-Void;
-#endif
+void rlcUtlDlBatchProcHqStaInd( Void)
{
/* Read from Ring Buffer and process PDCP packets */
//Pst pst = {0};
* @return Void
*
*/
-#ifdef ANSI
-Void rlcUtlTrigPdbFlowCntrl
-(
-RlcCb *gCb,
-RlcDlRbCb *rbCb,
-uint32_t pktAdmitCnt
-)
-#else
-Void rlcUtlTrigPdbFlowCntrl(gCb,rbCb,pktAdmitCnt)
-RlcCb *gCb;
-RlcDlRbCb *rbCb;
-uint32_t pktAdmitCnt;
-#endif
+Void rlcUtlTrigPdbFlowCntrl(RlcCb *gCb,RlcDlRbCb *rbCb,uint32_t pktAdmitCnt)
{
KwuFlowCntrlIndInfo *flowCntrlInfo;
RlcKwuSapCb* rlckwuSap;
*
* @return Void
*/
-#ifdef ANSI
-Void rlcUtlDelTxBuf
-(
-CmLListCp *txBufLst,
-RlcTx *txBuf,
-RlcCb *gCb
-)
-#else
-Void rlcUtlDelTxBuf(txBufLst, txBuf, gCb)
-CmLListCp *txBufLst;
-RlcTx *txBuf;
-RlcCb *gCb;
-#endif
+Void rlcUtlDelTxBuf (CmLListCp *txBufLst,RlcTx *txBuf,RlcCb *gCb)
{
uint32_t hashKey;
CmLListCp *txBufLstCp;
*
* @return Void
*/
-#ifdef ANSI
-Void rlcUtlRemovTxBuf
-(
-CmLListCp *txBufLst,
-RlcTx *txBuf,
-RlcCb *gCb
-)
-#else
-Void rlcUtlRemovTxBuf(txBufLst, txBuf, gCb)
-CmLListCp *txBufLst;
-RlcTx *txBuf;
-RlcCb *gCb;
-#endif
+Void rlcUtlRemovTxBuf(CmLListCp *txBufLst,RlcTx *txBuf,RlcCb *gCb)
{
uint32_t hashKey;
CmLListCp *txBufLstCp;
* @return Void
*
*/
-#ifdef ANSI
- Void rlcUtlCalUlIpThrPutIncTTI
-(
-RlcCb *gCb,
-RlcUlRbCb *rbCb,
-uint32_t ttiCnt
-)
-#else
-Void rlcUtlCalUlIpThrPutIncTTI(gCb, rbCb, ttiCnt)
-RlcCb *gCb;
-RlcUlRbCb *rbCb;
-uint32_t ttiCnt;
-#endif
+Void rlcUtlCalUlIpThrPutIncTTI(RlcCb *gCb,RlcUlRbCb *rbCb,uint32_t ttiCnt)
{
volatile uint32_t startTime = 0;
* @return Void
*
*/
-#ifdef ANSI
- Void rlcUtlCalUlIpThrPut
+Void rlcUtlCalUlIpThrPut
(
RlcCb *gCb,
RlcUlRbCb *rbCb,
Buffer *pdu,
uint32_t ttiCnt
)
-#else
-Void rlcUtlCalUlIpThrPut(gCb, rbCb, pdu, ttiCnt)
-RlcCb *gCb;
-RlcUlRbCb *rbCb;
-Buffer *pdu;
-uint32_t ttiCnt;
-#endif
{
MsgLen rlcSduSz = 0; /*Holds length of Rlc Sdu*/
volatile uint32_t startTime = 0;
* -# ROK
*/
-#ifdef ANSI
-S16 rlcUtlHdlL2TmrExp
-(
-RlcCb *gCb,
-RlcL2MeasEvtCb *measEvtCb
-)
-#else
-S16 rlcUtlHdlL2TmrExp(measEvtCb)
-RlcCb *gCb;
-RlcL2MeasEvtCb *measEvtCb;
-#endif
+S16 rlcUtlHdlL2TmrExp(RlcCb *gCb,RlcL2MeasEvtCb *measEvtCb)
{
#ifdef LTE_L2_MEAS_RLC
* -# ROK
*/
-#ifdef ANSI
-S16 rlcUtlSndUlL2MeasCfm
-(
-RlcCb *gCb,
-RlcL2MeasEvtCb *measEvtCb
-)
-#else
-S16 rlcUtlSndUlL2MeasCfm(gCb, measEvtCb)
-RlcCb *gCb;
-RlcL2MeasEvtCb *measEvtCb;
-#endif
+S16 rlcUtlSndUlL2MeasCfm(RlcCb *gCb,RlcL2MeasEvtCb *measEvtCb)
{
uint32_t qciIdx;
RlcL2MeasCb *measCb;
* -# ROK
*/
-#ifdef ANSI
-S16 rlcUtlSndUlL2MeasNCfm
-(
-RlcCb *gCb,
-RlcL2MeasReqEvt *measReqEvt,
-RlcL2MeasCfmEvt *measCfmEvt
-)
-#else
-S16 rlcUtlSndUlL2MeasNCfm(gCb, measReqEvt, measCfmEvt)
-RlcCb *gCb;
-RlcL2MeasReqEvt *measReqEvt;
-RlcL2MeasCfmEvt *measCfmEvt;
-#endif
+S16 rlcUtlSndUlL2MeasNCfm(RlcCb *gCb,RlcL2MeasReqEvt *measReqEvt,RlcL2MeasCfmEvt *measCfmEvt)
{
RlcMiLkwL2MeasCfm(&gCb->genCfg.lmPst, measCfmEvt);
* @param[out] numLCh Number of LCh in array lChId.
**/
-#ifdef ANSI
S16 rlcUtlValidateL2Meas
(
RlcL2MeasReqEvt *measReqEvt,
RlcL2MeasCfmEvt *measCfmEvt,
-CmLteLcId *lChId,
-uint8_t *numLCh
+CmLteLcId *lChId,
+uint8_t *numLCh
)
-#else
-S16 rlcUtlValidateL2Meas(measReqEvt, measCfmEvt, lChId, numLCh)
-RlcL2MeasReqEvt *measReqEvt;
-RlcL2MeasCfmEvt *measCfmEvt;
-CmLteLcId *lChId;
-uint8_t *numLCh;
-#endif
{
uint8_t measType;
S16 ret;
}/* rlcUtlValidateL2Meas */
#endif
-#ifdef ANSI
-S16 rlcUtlValidateIpThL2Meas
-(
-RlcL2MeasReqEvt *measReqEvt,
-RlcL2MeasCfmEvt *measCfmEvt
-)
-#else
-S16 rlcUtlValidateIpThL2Meas(measReqEvt, measCfmEvt)
-RlcL2MeasReqEvt *measReqEvt;
-RlcL2MeasCfmEvt *measCfmEvt;
-#endif
+S16 rlcUtlValidateIpThL2Meas(RlcL2MeasReqEvt *measReqEvt,RlcL2MeasCfmEvt *measCfmEvt)
{
uint8_t measType;
uint8_t lsbNibble = 0;
*
* @return Void
*/
-#ifdef ANSI
-Void rlcUtlResetUlL2MeasInRlcRb
-(
-RlcCb *gCb,
-RlcL2MeasCb *measCb,
-uint8_t measType
-)
-#else
-Void rlcUtlResetUlL2MeasInRlcRb(measCb, measType)
-RlcCb *gCb;
-RlcL2MeasCb *measCb;
-uint8_t measType;
-#endif
+Void rlcUtlResetUlL2MeasInRlcRb(RlcCb *gCb,RlcL2MeasCb *measCb,uint8_t measType)
{
uint32_t rbIdx;
uint32_t ueIdx;
* @return S16
* -# ROK
*/
-#ifdef ANSI
-Void rlcUtlPlcMeasDatInL2Sts
-(
-RlcL2Cntr *measData,
-RlcL2MeasRbCb *rbL2Cb,
-uint8_t measType
-)
-#else
-Void rlcUtlPlcMeasDatInL2Sts(measData, rbL2Cb, measType)
-RlcL2Cntr *measData;
-RlcL2MeasRbCb *rbL2Cb;
-uint8_t measType;
-#endif
+Void rlcUtlPlcMeasDatInL2Sts(RlcL2Cntr *measData,RlcL2MeasRbCb *rbL2Cb,uint8_t measType)
{
/* We should check the number of measType in the request. This can be done
* by looking at each bit in the measType. Also store the measData in the
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgSchCntrlReq
(
Pst *pst, /* post structure */
RgMngmt *cntrl /* control structure */
)
-#else
-S16 RgMiLrgSchCntrlReq(pst, cntrl)
-Pst *pst; /* post structure */
-RgMngmt *cntrl; /* control structure */
-#endif
{
S16 ret = ROK; /* return value */
Pst cfmPst;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgSchL2MeasReq
(
Pst *pst, /* post structure */
LrgSchMeasReqInfo *measInfo /* Meas Req Info */
)
-#else
-S16 RgMiLrgSchL2MeasReq(pst, measInfo)
- Pst *pst; /* post structure */
- LrgSchMeasReqInfo *measInfo; /* Meas Req Info */
-#endif
{
Pst cfmPst;
RgSchCellCb *cell;
#if (ERRCLASS & ERRCLS_ADD_RES)
CmLList *lnk;
#endif
- uint32_t idx;
+ uint32_t idx;
RgSchL2MeasCb *measCb = NULLP;
#ifdef DEBUGP
Inst inst = (pst->dstInst - SCH_INST_START); /* Scheduler instance Id */
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgSchL2MeasStopReq
(
Pst *pst, /* post structure */
LrgSchMeasStopReqInfo *measInfo /* Meas Req Info */
)
-#else
-S16 RgMiLrgSchL2MeasStopReq(pst, measInfo)
- Pst *pst; /* post structure */
- LrgSchMeasStopReqInfo *measInfo; /* Meas Req Info */
-#endif
{
- S16 ret = ROK;
- RgSchCellCb *cell = NULLP;
- RgSchCb *instCb = &rgSchCb[(pst->dstInst - SCH_INST_START)];
- CmLList *node = NULLP;
- RgSchL2MeasCb *measCb = NULLP;
+ S16 ret = ROK;
+ RgSchCellCb *cell = NULLP;
+ RgSchCb *instCb = &rgSchCb[(pst->dstInst - SCH_INST_START)];
+ CmLList *node = NULLP;
+ RgSchL2MeasCb *measCb = NULLP;
LrgSchMeasCfmInfo measCfm;
- uint8_t idx;
+ uint8_t idx;
for (idx = 0; idx < instCb->numSaps; idx++)
{
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 RgMiLrgSchL2MeasSendReq
(
Pst *pst, /* post structure */
LrgSchMeasSndReqInfo *measInfo /* Meas Req Info */
)
-#else
-S16 RgMiLrgSchL2MeasSendReq(pst, measInfo)
- Pst *pst; /* post structure */
- LrgSchMeasSndReqInfo *measInfo; /* Meas Req Info */
-#endif
{
S16 ret = ROK;
RgSchCellCb *cell;
RgSchCb *instCb = &rgSchCb[(pst->dstInst - SCH_INST_START)];
- uint8_t idx;
+ uint8_t idx;
cell = NULLP;
for (idx = 0; idx < instCb->numSaps; idx++)
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgUiRgrBndReq
-(
- Pst *pst,
- SuId suId,
- SpId spId
- )
-#else
-S16 RgUiRgrBndReq(pst, suId, spId)
- Pst *pst;
- SuId suId;
- SpId spId;
-#endif
+S16 RgUiRgrBndReq(Pst *pst, SuId suId, SpId spId)
{
S16 ret = ROK;
Pst tmpPst; /* Temporary Post Structure */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgUiRgrUbndReq
-(
- Pst *pst,
- SpId spId,
- Reason reason
- )
-#else
-S16 RgUiRgrUbndReq(pst, spId, reason)
- Pst *pst;
- SpId spId;
- Reason reason;
-#endif
+S16 RgUiRgrUbndReq(Pst *pst,SpId spId,Reason reason)
{
Inst instId = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgUiRgrSiCfgReq
-(
-Pst *pst,
-SpId spId,
-RgrCfgTransId transId,
-RgrSiCfgReqInfo *cfgReqInfo
-)
-#else
-S16 RgUiRgrSiCfgReq(pst, spId, transId, cfgReqInfo)
-Pst *pst;
-SpId spId;
-RgrCfgTransId transId;
-RgrSiCfgReqInfo *cfgReqInfo;
-#endif
+S16 RgUiRgrSiCfgReq(Pst *pst, SpId spId,RgrCfgTransId transId,RgrSiCfgReqInfo *cfgReqInfo)
{
S16 ret = ROK;
- uint8_t cfmStatus = RGR_CFG_CFM_NOK;
- uint8_t 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;
memcpy(prntTrans, transId.trans, RGR_CFG_TRANSID_SIZE);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgUiRgrWarningSiCfgReq
-(
-Pst *pst,
-SpId spId,
-RgrCfgTransId transId,
-RgrWarningSiCfgReqInfo *warningSiCfgReqInfo
-)
-#else
-S16 RgUiRgrWarningSiCfgReq(pst, spId, transId, warningSiCfgReqInfo)
-Pst *pst;
-SpId spId;
-RgrCfgTransId transId;
-RgrWarningSiCfgReqInfo *warningSiCfgReqInfo;
-#endif
+S16 RgUiRgrWarningSiCfgReq(Pst *pst, SpId spId,RgrCfgTransId transId,RgrWarningSiCfgReqInfo *warningSiCfgReqInfo)
{
Inst instId = pst->dstInst-SCH_INST_START;
S16 ret = ROK;
- uint8_t cfmStatus = RGR_CFG_CFM_NOK;
- uint8_t prntTrans[RGR_CFG_TRANSID_SIZE+1];
+ uint8_t cfmStatus = RGR_CFG_CFM_NOK;
+ uint8_t prntTrans[RGR_CFG_TRANSID_SIZE+1];
memcpy(prntTrans, transId.trans, RGR_CFG_TRANSID_SIZE);
prntTrans[RGR_CFG_TRANSID_SIZE] = '\0';
-
-
if (warningSiCfgReqInfo == NULLP)
{
RLOG_ARG0(L_ERROR,DBG_INSTID,instId,"Input Message Buffer "
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgUiRgrWarningSiStopReq
-(
-Pst *pst,
-SpId spId,
-RgrCfgTransId transId,
-uint8_t siId
-)
-#else
-S16 RgUiRgrWarningSiStopReq(pst,spId, transId, siId)
-Pst *pst;
-SpId spId;
-RgrCfgTransId transId;
-uint8_t siId;
-#endif
+S16 RgUiRgrWarningSiStopReq(Pst *pst,SpId spId,RgrCfgTransId transId,uint8_t siId)
{
Inst instId = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgUiRgrLoadInfReq
-(
- Pst *pst,
- SpId spId,
- RgrCfgTransId transId,
- RgrLoadInfReqInfo *loadInfReq
- )
-#else
-S16 RgUiRgrLoadInfReq(pst, spId, transId, loadInfReq)
- Pst *pst;
- SpId spId;
- RgrCfgTransId transId;
- RgrLoadInfReqInfo *loadInfReq;
-#endif
+S16 RgUiRgrLoadInfReq(Pst *pst, SpId spId, RgrCfgTransId transId,RgrLoadInfReqInfo *loadInfReq)
{
S16 ret = ROK;
- uint8_t prntTrans[RGR_CFG_TRANSID_SIZE+1];
+ uint8_t prntTrans[RGR_CFG_TRANSID_SIZE+1];
Inst instId = pst->dstInst-SCH_INST_START;
memcpy(prntTrans, transId.trans, RGR_CFG_TRANSID_SIZE);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgMacSchDedBoUpdtReq
-(
-Pst* pst,
-RgInfDedBoRpt *boRpt
-)
-#else
-S16 RgMacSchDedBoUpdtReq(pst, boRpt)
-Pst* pst;
-RgInfDedBoRpt *boRpt;
-#endif
+S16 RgMacSchDedBoUpdtReq(Pst* pst,RgInfDedBoRpt *boRpt)
{
RgSchCellCb *cell;
RgSchUeCb *ue;
#ifdef SCH_STATS
- RgSchCmnDlUe *dlUe;
+ RgSchCmnDlUe *dlUe;
#endif
-
Inst inst = (pst->dstInst - SCH_INST_START);
S16 cellSapId = boRpt->cellSapId;
-
/*
RLOG_ARG2(L_DEBUG,DBG_CELLID,boRpt->cellId,"rgMacSchDedBoUpdtReq():"
" boRpt->rnti = %u boRpt->lcId = %u",boRpt->rnti, boRpt->lcId);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgMacSchCmnBoUpdtReq
-(
-Pst* pst,
-RgInfCmnBoRpt *boRpt
-)
-#else
-S16 RgMacSchCmnBoUpdtReq(pst, boRpt)
-Pst* pst;
-RgInfCmnBoRpt *boRpt;
-#endif
+S16 RgMacSchCmnBoUpdtReq(Pst* pst,RgInfCmnBoRpt *boRpt)
{
RgSchCellCb *cell;
Inst inst = (pst->dstInst - SCH_INST_START);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgMacSchUeDelInd
-(
-Pst* pst,
-RgInfUeDelInd *ueDelInd
-)
-#else
-S16 RgMacSchUeDelInd(pst, ueDelInd)
-Pst* pst;
-RgInfUeDelInd *ueDelInd;
-#endif
+S16 RgMacSchUeDelInd(Pst* pst,RgInfUeDelInd *ueDelInd)
{
RgSchCellCb *cell;
Inst inst = (pst->dstInst - SCH_INST_START);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgMacSchSfRecpInd
-(
-Pst* pst,
-RgInfSfDatInd *subfrmInfo
-)
-#else
-S16 RgMacSchSfRecpInd(pst, subfrmInfo)
-Pst* pst;
-RgInfSfDatInd *subfrmInfo;
-#endif
+S16 RgMacSchSfRecpInd(Pst* pst,RgInfSfDatInd *subfrmInfo)
{
S16 ret = RFAILED;
RgSchErrInfo err;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgMacSchSpsRelInd
-(
-Pst *pst,
-RgInfSpsRelInfo *relInfo
-)
-#else
-S16 RgMacSchSpsRelInd(pst, relInfo)
-Pst *pst;
-RgInfSpsRelInfo *relInfo;
-#endif
+S16 RgMacSchSpsRelInd(Pst *pst,RgInfSpsRelInfo *relInfo)
{
RgSchUeCb *ue;
RgSchCellCb *cell;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgMacSchL2MeasCfm
-(
-Pst *pst,
-RgInfL2MeasCfm *measCfm
-)
-#else
-S16 RgMacSchL2MeasCfm(pst, measCfm)
-Pst *pst;
-RgInfL2MeasCfm *measCfm;
-#endif
+S16 RgMacSchL2MeasCfm(Pst *pst, RgInfL2MeasCfm *measCfm)
{
RgSchCellCb *cell = NULLP;
Inst inst = (pst->dstInst - SCH_INST_START);
CmLList *lnk;
RgSchL2MeasCb *measCb = NULLP;
RgSchCb *instCb = &rgSchCb[inst];
- uint32_t idx;
+ uint32_t idx;
LrgSchMeasCfmInfo schMeasCfm;
- uint8_t qciVal;
- uint8_t idx1; /*LTE_L2_MEAS_PHASE2*/
- uint8_t qciVal1;
+ 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 */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgMacSchL2MeasStopCfm
-(
-Pst *pst,
-RgInfL2MeasCfm *measCfm
-)
-#else
-S16 RgMacSchL2MeasStopCfm(pst, measCfm)
-Pst *pst;
-RgInfL2MeasCfm *measCfm;
-#endif
+S16 RgMacSchL2MeasStopCfm(Pst *pst,RgInfL2MeasCfm *measCfm)
{
LrgSchMeasCfmInfo schMeasCfm;
Inst inst = (pst->dstInst - SCH_INST_START);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuSchBndCfm
-(
-Pst *pst,
-SuId suId,
-uint8_t status
-)
-#else
-S16 RgLiTfuSchBndCfm(pst, suId, status)
-Pst *pst;
-SuId suId;
-uint8_t status;
-#endif
+S16 RgLiTfuSchBndCfm (Pst *pst,SuId suId, uint8_t status)
{
S16 ret;
RgSchLowSapCb *tfuSap;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuRaReqInd
-(
-Pst *pst,
-SuId suId,
-TfuRaReqIndInfo *raReqInd
-)
-#else
-S16 RgLiTfuRaReqInd(pst, suId, raReqInd)
-Pst *pst;
-SuId suId;
-TfuRaReqIndInfo *raReqInd;
-#endif
+S16 RgLiTfuRaReqInd(Pst *pst,SuId suId, TfuRaReqIndInfo *raReqInd)
{
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuUlCqiInd
-(
-Pst *pst,
-SuId suId,
-TfuUlCqiIndInfo *ulCqiInd
-)
-#else
-S16 RgLiTfuUlCqiInd(pst, suId, ulCqiInd)
-Pst *pst;
-SuId suId;
-TfuUlCqiIndInfo *ulCqiInd;
-#endif
+S16 RgLiTfuUlCqiInd(Pst *pst, SuId suId, TfuUlCqiIndInfo *ulCqiInd)
{
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuPucchDeltaPwrInd
-(
-Pst *pst,
-SuId suId,
-TfuPucchDeltaPwrIndInfo *pucchDeltaPwr
-)
-#else
-S16 RgLiTfuPucchDeltaPwrInd(pst, suId, pucchDeltaPwr)
-Pst *pst;
-SuId suId;
-TfuPucchDeltaPwrIndInfo *pucchDeltaPwr;
-#endif
+S16 RgLiTfuPucchDeltaPwrInd(Pst *pst,SuId suId,TfuPucchDeltaPwrIndInfo *pucchDeltaPwr)
{
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuHqInd
-(
-Pst *pst,
-SuId suId,
-TfuHqIndInfo *harqAckInd
-)
-#else
-S16 RgLiTfuHqInd(pst, suId, harqAckInd)
-Pst *pst;
-SuId suId;
-TfuHqIndInfo *harqAckInd;
-#endif
+S16 RgLiTfuHqInd(Pst *pst, SuId suId, TfuHqIndInfo *harqAckInd)
{
S16 ret;
Inst inst = (pst->dstInst - SCH_INST_START);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuSrInd
-(
-Pst *pst,
-SuId suId,
-TfuSrIndInfo *srInd
-)
-#else
-S16 RgLiTfuSrInd(pst, suId, srInd)
-Pst *pst;
-SuId suId;
-TfuSrIndInfo *srInd;
-#endif
+S16 RgLiTfuSrInd(Pst *pst, SuId suId, TfuSrIndInfo *srInd)
{
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuDlCqiInd
-(
-Pst *pst,
-SuId suId,
-TfuDlCqiIndInfo *dlCqiInd
-)
-#else
-S16 RgLiTfuDlCqiInd(pst, suId, dlCqiInd)
-Pst *pst;
-SuId suId;
-TfuDlCqiIndInfo *dlCqiInd;
-#endif
+S16 RgLiTfuDlCqiInd(Pst *pst, SuId suId, TfuDlCqiIndInfo *dlCqiInd)
{
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuRawCqiInd
-(
-Pst *pst,
-SuId suId,
-TfuRawCqiIndInfo *rawCqiInd
-)
-#else
-S16 RgLiTfuRawCqiInd(pst, suId, rawCqiInd)
-Pst *pst;
-SuId suId;
-TfuRawCqiIndInfo *rawCqiInd;
-#endif
+S16 RgLiTfuRawCqiInd(Pst *pst, SuId suId, TfuRawCqiIndInfo *rawCqiInd)
{
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuSrsInd
-(
-Pst *pst,
-SuId suId,
-TfuSrsIndInfo *srsInd
-)
-#else
-S16 RgLiTfuSrsInd(pst, suId, srsInd)
-Pst *pst;
-SuId suId;
-TfuSrsIndInfo *srsInd;
-#endif
+S16 RgLiTfuSrsInd(Pst *pst, SuId suId, TfuSrsIndInfo *srsInd)
{
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuDoaInd
-(
-Pst *pst,
-SuId suId,
-TfuDoaIndInfo *doaInd
-)
-#else
-S16 RgLiTfuDoaInd(pst, suId, doaInd)
-Pst *pst;
-SuId suId;
-TfuDoaIndInfo *doaInd;
-#endif
+S16 RgLiTfuDoaInd(Pst *pst, SuId suId, TfuDoaIndInfo *doaInd)
{
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuCrcInd
-(
-Pst *pst,
-SuId suId,
-TfuCrcIndInfo *crcInd
-)
-#else
-S16 RgLiTfuCrcInd (pst, suId, crcInd)
-Pst *pst;
-SuId suId;
-TfuCrcIndInfo *crcInd;
-#endif
+S16 RgLiTfuCrcInd(Pst *pst, SuId suId, TfuCrcIndInfo *crcInd)
{
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuTimingAdvInd
-(
-Pst *pst,
-SuId suId,
-TfuTimingAdvIndInfo *timingAdvInd
-)
-#else
-S16 RgLiTfuTimingAdvInd(pst, suId, timingAdvInd)
-Pst *pst;
-SuId suId;
-TfuTimingAdvIndInfo *timingAdvInd;
-#endif
+S16 RgLiTfuTimingAdvInd(Pst *pst, SuId suId, TfuTimingAdvIndInfo *timingAdvInd)
{
S16 ret;
Inst inst = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgUiRgmBndReq
-(
-Pst *pst,
-SuId suId,
-SpId spId
-)
-#else
-S16 RgUiRgmBndReq(pst, suId, spId)
-Pst *pst;
-SuId suId;
-SpId spId;
-#endif
+S16 RgUiRgmBndReq(Pst *pst,SuId suId,SpId spId)
{
S16 ret = ROK;
Pst tmpPst; /* Temporary Post Structure */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgUiRgmUbndReq
-(
-Pst *pst,
-SpId spId,
-Reason reason
-)
-#else
-S16 RgUiRgmUbndReq(pst, spId, reason)
-Pst *pst;
-SpId spId;
-Reason reason;
-#endif
+S16 RgUiRgmUbndReq(Pst *pst,SpId spId,Reason reason)
{
Inst instId = pst->dstInst-SCH_INST_START;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgUiRgmCfgPrbRprt
-(
-Pst *pst,
-SpId spId,
-RgmPrbRprtCfg *prbRprtCfg
-)
-#else
-S16 RgUiRgmCfgPrbRprt(pst, spId, prbRprtCfg)
-Pst *pst;
-SpId spId;
-RgmPrbRprtCfg *prbRprtCfg;
-#endif
+S16 RgUiRgmCfgPrbRprt(Pst *pst, SpId spId,RgmPrbRprtCfg *prbRprtCfg)
{
/* Initalize*/
RgSchCellCb *cell;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 RgLiTfuErrInd
-(
-Pst *pst,
-SuId suId,
-TfuErrIndInfo *errInd
-)
-#else
-S16 RgLiTfuErrInd(pst, suId, errInd)
-Pst *pst;
-SuId suId;
-TfuErrIndInfo *errInd;
-#endif
+S16 RgLiTfuErrInd(Pst *pst, SuId suId, TfuErrIndInfo *errInd)
{
S16 ret = ROK;
#ifdef LTE_ADV
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrSchedEnbCfg
(
Inst inst,
RgrSchedEnbCfg *schedEnbCfg,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrSchedEnbCfg(inst, schedEnbCfg, errInfo)
-Inst inst;
-RgrSchedEnbCfg *schedEnbCfg;
-RgSchErrInfo *errInfo;
-#endif
{
RGSCHDBGPRM(inst, (rgSchPBuf(inst), "VALIDATE RGR SCH ENB CONFIG: \n"));
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrCellCfg
(
Inst inst,
RgSchCellCb *cell,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrCellCfg(inst, cellCfg, cell, errInfo)
-Inst inst;
-RgrCellCfg *cellCfg;
-RgSchCellCb *cell;
-RgSchErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_CELL_CFG;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrSchCfg
(
Inst inst,
RgrSchedEnbCfg *rgSchedCfg
)
-#else
-S16 rgSCHCfgVldtRgrSchCfg(inst, rgSchedCfg)
-Inst inst;
-RgrSchedCfg *rgSchedCfg;
-#endif
{
RGSCHDBGPRM(inst, (rgSchPBuf(inst), "rgSCHCfgVldtRgrSchCfg:Validating \
scheduler related Configuration"));
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrCellSchCfg
(
Inst inst,
RgrCellCfg *cellCfg
)
-#else
-S16 rgSCHCfgVldtRgrCellSchCfg(inst, cellCfg)
-Inst inst;
-RgrCellCfg *cellCfg;
-#endif
{
#if RGSCH_NUM_DLFS_SCHEDULERS
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrCellRACfg
(
Inst inst,
RgrCellCfg *cellCfg
)
-#else
-S16 rgSCHCfgVldtRgrCellRACfg(inst, cellCfg)
-Inst inst;
-RgrCellCfg *cellCfg;
-#endif
{
#ifdef LTE_TDD
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrUeCfg
(
Inst inst,
RgSchCellCb **cell,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrUeCfg(inst, ueCfg, cell, errInfo)
-Inst inst;
-RgrUeCfg *ueCfg;
-RgSchCellCb **cell;
-RgSchErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_UE_CFG;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrCellRecfg
(
Inst inst,
RgSchCellCb **cell,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrCellRecfg(inst, cellRecfg, cell, errInfo)
-Inst inst;
-RgrCellRecfg *cellRecfg;
-RgSchCellCb **cell;
-RgSchErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_CELL_RECFG;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHSCellCfgUeCfg
(
RgSchCellCb *cell,
RgrUeRecfg *ueRecfg,
RgSchErrInfo *err
)
-#else
-S16 rgSCHSCellCfgUeCfg(cell, ue, ueRecfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-RgSchErrInfo *err;
-#endif
{
- uint8_t idx;
- Inst inst = cell->instIdx;
- RgSchCellCb *secCellCb = NULLP;
- uint8_t sCellidx = 0;
- RgSchUeCellInfo *sCellInfo = NULLP;
+ uint8_t idx;
+ Inst inst = cell->instIdx;
+ RgSchCellCb *secCellCb = NULLP;
+ uint8_t sCellidx = 0;
+ RgSchUeCellInfo *sCellInfo = NULLP;
RgrUeSecCellCfg *sCellInfoCfg = NULLP;
#ifdef TFU_UPGRADE
RgrUeAprdDlCqiCfg *aCqiCfg;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHSCellCfgUePucchReCfg
(
RgSchCellCb *cell,
RgrUeRecfg *ueRecfg,
RgSchErrInfo *err
)
-#else
-S16 rgSCHSCellCfgUePucchReCfg(cell, ue, ueRecfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-RgSchErrInfo *err;
-#endif
{
Inst inst = cell->instIdx;
RgrUeSCellAckPucchCfg *sCellPucchRecfg = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrUeSCellRecfg
(
RgrUeRecfg *ueRecfg,
RgSchUeCb *ue,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrUeSCellRecfg(inst, ueRecfg, cell, ue, errInfo)
-RgrUeRecfg *ueRecfg;
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchErrInfo *errInfo;
-#endif
{
RgrUeSecCellCfg *ueSCellDedCfg = NULLP;
RgSchCellCb *sCell = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgSCHSCellCfgUeCfgRollBack
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgrUeRecfg *ueRecfg
)
-#else
-static S16 rgSCHSCellCfgUeCfgRollBack(cell, ue, ueRecfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-#endif
{
Inst inst = cell->instIdx;
RgrUeSecCellCfg *sCellInfoCfg = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrUeRecfg
(
Inst inst,
RgSchUeCb **ue,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrUeRecfg(inst, ueRecfg, cell, ue, errInfo)
-Inst inst;
-RgrUeRecfg *ueRecfg;
-RgSchCellCb **cell;
-RgSchUeCb **ue;
-RgSchErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_UE_RECFG;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrLchRecfg
(
Inst inst,
RgSchDlLcCb **dlLc,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrLchRecfg(inst, lcRecfg, cell, ue, dlLc, errInfo)
-Inst inst;
-RgrLchRecfg *lcRecfg;
-RgSchCellCb **cell;
-RgSchUeCb **ue;
-RgSchDlLcCb **dlLc;
-RgSchErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_LC_RECFG;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrUeReset
(
Inst inst,
RgSchUeCb **ue,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrUeReset(inst, reset, cell, ue, errInfo)
-Inst inst;
-RgrRst *reset;
-RgSchCellCb *cell;
-RgSchUeCb **ue;
-RgSchErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_UE_RESET;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrLcgRecfg
(
Inst inst,
RgSchUeCb **ue,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrLcgRecfg(inst, lcgRecfg, cell, ue, errInfo)
-Inst inst;
-RgrLcgRecfg *lcgRecfg;
-RgSchCellCb *cell;
-RgSchUeCb **ue;
-RgSchErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_LCG_RECFG;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgSCHDynCfiCfg
(
RgSchCellCb *cell,
RgrCellCfg *cellCfg
)
-#else
-static S16 rgSCHDynCfiCfg(cell, cellCfg)
-RgSchCellCb *cell;
-RgrCellCfg *cellCfg;
-#endif
{
uint8_t cfi;
#ifdef LTE_TDD
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgRgrSchedEnbCfg
(
Inst inst,
RgrSchedEnbCfg *schedEnbCfg,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrSchedEnbCfg(inst, spId, schedEnbCfg, errInfo)
-Inst inst,
-SpId spId;
-RgrSchedEnbCfg *schedEnbCfg;
-RgSchErrInfo *errInfo;
-#endif
{
RGSCHDBGPRM(inst, (rgSchPBuf(inst), "APPLYING RGR SCH ENB CONFIG: \n"));
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCH5gtfCellCfg
(
RgSchCellCb *cell,
RgrCellCfg *cellCfg
)
-#else
-S16 rgSCH5gtfCellCfg(cell, cellCfg)
-RgSchCellCb *cell;
-RgrCellCfg *cellCfg;
-#endif
{
uint8_t idx;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgRgrCellCfg
(
RgSchCb *instCb,
RgrCellCfg *cellCfg,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrCellCfg(instCb, spId, cellCfg, errInfo)
-RgSchCb *instCb;
-SpId spId;
-RgrCellCfg *cellCfg;
-RgSchErrInfo *errInfo;
-#endif
{
S16 ret;
uint8_t idx;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgRgrUeCfg
(
RgSchCellCb *cell,
RgrUeCfg *ueCfg,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrUeCfg(cell, ueCfg, errInfo)
-RgSchCellCb *cell;
-RgrUeCfg *ueCfg;
-RgSchErrInfo *errInfo;
-#endif
{
S16 ret;
RgSchRaCb *raCb=NULLP;
* @param[in] RgSchRaCb *raCb
* @param[out] RgSchErrInfo *errInfo
**/
-#ifdef ANSI
static Void rgSCHCfgRgrUePhrMsg3
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgSchErrInfo *errInfo
)
-#else
-static Void rgSCHCfgRgrUePhrMsg3(cell, raCb, ue, errInfo)
-RgSchCellCb *cell;
-RgSchRaCb *raCb;
-RgSchUeCb *ue;
-RgSchErrInfo *errInfo;
-#endif
{
/* Record msg3 allocation in the UE */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
Void rgSCHDynCfiReCfg
(
RgSchCellCb *cell,
Bool isDynCfiEnb
)
-#else
-Void rgSCHDynCfiReCfg(cell, isDynCfiEnb)
-RgSchCellCb *cell;
-Bool isDynCfiEnb;
-#endif
{
uint8_t idx;
RgSchCmnDlCell *cellSchDl = RG_SCH_CMN_GET_DL_CELL(cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgRgrCellRecfg
(
RgSchCellCb *cell,
RgrCellRecfg *cellRecfg,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrCellRecfg(cell, cellRecfg, errInfo)
-RgSchCellCb *cell;
-RgrCellRecfg *cellRecfg;
-RgSchErrInfo *errInfo;
-#endif
{
S16 ret;
Inst inst = cell->instIdx;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgSCHCfgRgrUeRecfgRntiChg
(
RgSchCellCb *cell,
RgrUeRecfg *ueRecfg,
RgSchErrInfo *errInfo
)
-#else
-static S16 rgSCHCfgRgrUeRecfgRntiChg(cell, ue, ueRecfg, errInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-RgSchErrInfo *errInfo;
-#endif
{
#ifdef LTE_ADV
uint8_t sCellIdx;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgRgrUeRecfg
(
RgSchCellCb *cell,
RgrUeRecfg *ueRecfg,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrUeRecfg(cell, ue, ueRecfg, errInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-RgSchErrInfo *errInfo;
-#endif
{
S16 ret;
#ifdef LTE_ADV
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgRgrLchRecfg
(
RgSchCellCb *cell,
RgrLchRecfg *lcRecfg,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrLchRecfg(cell, ue, dlLc, lcRecfg, errInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *dlLc;
-RgrLchRecfg *lcRecfg;
-RgSchErrInfo *errInfo;
-#endif
{
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgRgrLcgRecfg
(
RgSchCellCb *cell,
RgrLcgRecfg *lcgRecfg,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrLcgRecfg(cell, ue, lcgRecfg, errInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrLcgRecfg *lcgRecfg;
-RgSchErrInfo *errInfo;
-#endif
{
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgRgrUeReset
(
RgSchCellCb *cell,
RgrRst *reset,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrUeReset(cell, ue, reset, errInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrRst *reset;
-RgSchErrInfo *errInfo;
-#endif
{
uint32_t idx;
RgSchRaCb *raCb;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgRgrCellDel
(
RgSchCellCb *cell,
RgrDel *cellDelInfo,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrCellDel(cell, cellDelInfo, errInfo)
-RgSchCellCb *cell;
-RgrDel *cellDelInfo;
-RgSchErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGSCHERR_CFG_RGR_CELL_DEL;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgRgrUeDel
(
RgSchCellCb *cell,
RgrDel *ueDelInfo,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrUeDel(cell, ueDelInfo, errInfo)
-RgSchCellCb *cell;
-RgrDel *ueDelInfo;
-RgSchErrInfo *errInfo;
-#endif
{
RgSchUeCb *ue;
RgSchRaCb *raCb;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgRgrLcDel
(
RgSchCellCb *cell,
RgrDel *lcDelInfo,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrLcDel(cell, lcDelInfo, errInfo)
-RgSchCellCb *cell;
-RgrDel *lcDelInfo;
-RgSchErrInfo *errInfo;
-#endif
{
RgSchUeCb *ue;
RgSchDlLcCb *dlLc;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgRgrLcgDel
(
RgSchCellCb *cell,
RgrDel *lcDelInfo,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrLcgDel(cell, lcDelInfo, errInfo)
-RgSchCellCb *cell;
-RgrDel *lcDelInfo;
-RgSchErrInfo *errInfo;
-#endif
{
RgSchUeCb *ue = NULLP;
#ifdef LTE_L2_MEAS
* File :
*
**********************************************************/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrLcCfg
(
Inst inst,
RgSchUeCb **ue,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrLcCfg(inst, lcCfg, cell, ue, errInfo)
-Inst inst;
-RgrLchCfg *lcCfg;
-RgSchCellCb **cell;
-RgSchUeCb **ue;
-RgSchErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_DED_LC_CFG;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrLcgCfg
(
Inst inst,
RgSchUeCb **ue,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrLcgCfg(inst, lcgCfg, cell, ue, errInfo)
-Inst inst;
-RgrLcgCfg *lcgCfg;
-RgSchCellCb **cell;
-RgSchUeCb **ue;
-RgSchErrInfo *errInfo;
-#endif
{
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_DED_LCG_CFG;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtRgrCellPwrCfg
(
Inst inst,
RgrCellCfg *cellCfg,
RgSchErrInfo *errInfo
)
-#else
-static S16 rgSCHCfgVldtRgrCellPwrCfg(inst, cellCfg, errInfo)
-Inst inst;
-RgrCellCfg *cellCfg;
-RgSchErrInfo *errInfo;
-#endif
{
UNUSED(inst);
UNUSED(cellCfg);
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtRgrCmnLcCfg
(
Inst inst,
RgrCellCfg *cellCfg,
RgSchErrInfo *errInfo
)
-#else
-static S16 rgSCHCfgVldtRgrCmnLcCfg(inst, cellCfg, errInfo)
-Inst inst;
-RgrCellCfg *cellCfg;
-RgSchErrInfo *errInfo;
-#endif
{
uint8_t idx;
RgrCmnLchCfg *lcCfg;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtUeCqiModeCfg
(
RgSchCellCb *cell,
RgrUeDlCqiCfg *ueDlCqiCfg
)
-#else
-static S16 rgSCHCfgVldtUeCqiModeCfg(cell, ueDlCqiCfg)
-RgSchCellCb *cell;
-RgrUeDlCqiCfg *ueDlCqiCfg;
-#endif
{
#ifndef TFU_UPGRADE
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtUeMeasGapAckNakRepCfg
(
RgSchCellCb *cell,
RgrUeCfg *ueCfg
)
-#else
-static S16 rgSCHCfgVldtUeMeasGapAckNakRepCfg(cell, ueCfg)
-RgSchCellCb *cell;
-RgrUeCfg *ueCfg;
-#endif
{
#ifdef LTE_TDD
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtUeMeasGapAckNakRepRecfg
(
RgSchCellCb *cell,
RgrUeRecfg *ueRecfg
)
-#else
-static S16 rgSCHCfgVldtUeMeasGapAckNakRepRecfg(cell, ueRecfg)
-RgSchCellCb *cell;
-RgrUeRecfg *ueRecfg;
-#endif
{
if((ueRecfg->ueAckNackRecfg.isAckNackEnabled == FALSE) &&
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtUeDlSpsCfg
(
RgSchCellCb *cell,
RgrUeSpsDlCfg *dlSpsCfg
)
-#else
-static S16 rgSCHCfgVldtUeDlSpsCfg(cell, dlSpsCfg)
-RgSchCellCb *cell;
-RgrUeSpsDlCfg *dlSpsCfg;
-#endif
{
uint8_t idx = 0;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtUePwrCfg
(
RgSchCellCb *cell,
RgrUeUlPwrCfg *pwrCfg
)
-#else
-static S16 rgSCHCfgVldtUePwrCfg(cell, pwrCfg)
-RgSchCellCb *cell;
-RgrUeUlPwrCfg *pwrCfg;
-#endif
{
/* Group power control works only in accumulated mode */
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtUeGrpPwrCfg
(
RgSchCellCb *cell,
RgrUeGrpPwrCfg *grpPwrCfg
)
-#else
-static S16 rgSCHCfgVldtUeGrpPwrCfg(cell, grpPwrCfg)
-RgSchCellCb *cell;
-RgrUeGrpPwrCfg *grpPwrCfg;
-#endif
{
if ((grpPwrCfg->pres) &&
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtSpsReCfg
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgrUeRecfg *ueRecfg
)
-#else
-static S16 rgSCHCfgVldtSpsReCfg(cell, ue, ueRecfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-#endif
{
if ((ueRecfg->ueRecfgTypes & RGR_UE_DLSPS_RECFG) &&
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtCqiReptReCfg
(
RgSchCellCb *cell,
RgrUeRecfg *ueRecfg
)
-#else
-static S16 rgSCHCfgVldtCqiReptReCfg(cell, ueRecfg)
-RgSchCellCb *cell;
-RgrUeRecfg *ueRecfg;
-#endif
{
/* Validate DL Power Control Config parameters */
* File :
*
**********************************************************/
-#ifdef ANSI
S16 rgSCHCfgRgrLchCfg
(
RgSchCellCb *cell,
RgrLchCfg *lcCfg,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrLchCfg(cell, ue, lcCfg, errInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrLchCfg *lcCfg;
-RgSchErrInfo *errInfo;
-#endif
{
S16 ret;
RgSchDlLcCb *dlLc = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 rgSCHCfgRgrLcgCfg
(
RgSchCellCb *cell,
RgrLcgCfg *lcgCfg,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgRgrLcgCfg(cell, ue, lcgCfg, errInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrLcgCfg *lcgCfg;
-RgSchErrInfo *errInfo;
-#endif
{
S16 ret = ROK;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgRgrCmnLcCfg
(
RgSchCellCb *cell,
RgrCmnLchCfg *lcCfg,
RgSchErrInfo *errInfo
)
-#else
-static S16 rgSCHCfgRgrCmnLcCfg(cell, lcCfg, errInfo)
-RgSchCellCb *cell;
-RgrCmnLchCfg *lcCfg;
-RgSchErrInfo *errInfo;
-#endif
{
RgSchClcDlLcCb cmnLcCb;
* File :
*
**********************************************************/
-#ifdef ANSI
static Void rgSCHCfgFreeDlDedLcCb
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgSchDlLcCb *dlLc
)
-#else
-static Void rgSCHCfgFreeDlDedLcCb(cell, ue, dlLc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *dlLc;
-#endif
{
Inst inst = cell->instIdx;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHCfgFreeDlCmnLcCb
-(
-RgSchClcDlLcCb *cmnDlLc
-)
-#else
-static Void rgSCHCfgFreeDlCmnLcCb(cmnDlLc)
-RgSchClcDlLcCb *cmnDlLc;
-#endif
+static Void rgSCHCfgFreeDlCmnLcCb(RgSchClcDlLcCb *cmnDlLc)
{
memset(cmnDlLc, 0, sizeof(*cmnDlLc));
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCfgFreeCellCb
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHCfgFreeCellCb(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHCfgFreeCellCb(RgSchCellCb *cell)
{
Inst inst = cell->instIdx;
CmLList *node;
* File :
*
**********************************************************/
-#ifdef ANSI
static Void rgSCHCfgFreeUeCb
(
RgSchCellCb *cell,
RgSchUeCb *ue
)
-#else
-static Void rgSCHCfgFreeUeCb(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
RgUeUlHqCb *ulHqEnt;
* File :
*
**********************************************************/
-#ifdef ANSI
static Void rgSCHCfgFreeRgrCfgLst
(
RgSchCellCb *cell
)
-#else
-static Void rgSCHCfgFreeRgrCfgLst(cell)
-RgSchCellCb *cell;
-#endif
{
RgSchCfgElem *rgCfgElem;
Inst inst = cell->instIdx;
* File :
*
**********************************************************/
-#ifdef ANSI
static Void rgSCHCfgFreeCmnLcLst
(
RgSchCellCb *cell
)
-#else
-static Void rgSCHCfgFreeCmnLcLst(cell)
-RgSchCellCb *cell;
-#endif
{
RgSchClcDlLcCb *dlCmnLc;
* File :
*
**********************************************************/
-#ifdef ANSI
static Void rgSCHCfgFreeUeLst
(
RgSchCellCb *cell
)
-#else
-static Void rgSCHCfgFreeUeLst(cell)
-RgSchCellCb *cell;
-#endif
{
RgSchUeCb *ue;
#ifdef LTE_ADV
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHCfgFreeSpsUeLst
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCfgFreeSpsUeLst(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCfgFreeSpsUeLst(RgSchCellCb *cell)
{
RgSchUeCb *ue;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtRgrCellSiCfg
(
Inst inst,
RgrSiCfg *siCfg
)
-#else
-static S16 rgSCHCfgVldtRgrCellSiCfg(inst, siCfg)
-Inst inst;
-RgrSiCfg *siCfg;
-#endif
{
uint8_t idx; /* idx for iteration */
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtRgrCellLteAdvCfg
(
- Inst inst,
- RgrLteAdvancedCellConfig *lteAdvCfg,
- uint8_t dlTotalBw
- )
-#else
-static S16 rgSCHCfgVldtRgrCellLteAdvCfg(inst, lteAdvCfg, dlTotalBw)
- Inst inst;
- RgrLteAdvancedCellConfig *lteAdvCfg;
- uint8_t dlTotalBw;
-#endif
+Inst inst,
+RgrLteAdvancedCellConfig *lteAdvCfg,
+uint8_t dlTotalBw
+)
{
uint8_t temp[RGR_ABS_PATTERN_LEN];
uint32_t idx;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtRgrCellCsgParamCfg
(
Inst inst,
RgrCellCsgParamCfg *csgParam
)
-#else
-static S16 rgSCHCfgVldtRgrCellCsgParamCfg(inst, csgParam)
-Inst inst;
-RgrCellCsgParamCfg *csgParam;
-#endif
{
RGSCHDBGPRM(inst, (rgSchPBuf(inst), "Validating CSG Parameters \n"));
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrSiCfg
(
Inst inst,
RgSchCellCb *cell,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrSiCfg(inst, siCfg, cell, errInfo)
-Inst inst;
-RgrSiCfgReqInfo *siCfg;
-RgSchCellCb *cell;
-RgSchErrInfo *errInfo;
-#endif
{
MsgLen msgLen = 0;
uint8_t numSi;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrLoadInf
(
- Inst inst,
- RgrLoadInfReqInfo *loadInfReq,
- RgSchCellCb *cell,
- RgSchErrInfo *errInfo
- )
-#else
-S16 rgSCHCfgVldtRgrLoadInf(inst, loadInfReq, cell, errInfo)
- Inst inst;
- RgrLoadInfReqInfo *loadInfReq;
- RgSchCellCb *cell;
- RgSchErrInfo *errInfo;
-#endif
+Inst inst,
+RgrLoadInfReqInfo *loadInfReq,
+RgSchCellCb *cell,
+RgSchErrInfo *errInfo
+)
{
errInfo->errCause = RGSCHERR_CFG_INVALID_RGR_LOAD_INF;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrTxmodePuschMode
(
- RgSchCellCb *cellCb,
- RgrTxMode txMde,
- RgrAprdCqiMode puschMode,
- RgSchErrInfo *errInfo
- )
-#else
-S16 rgSCHCfgVldtRgrTxmodePuschMode(cellCb, txMde, puschMode,errInfo)
- RgSchCellCb *cellCb;
- RgrTxMode txMde;
- RgrAprdCqiMode puschMode;
- RgSchErrInfo *errInfo;
-#endif
+RgSchCellCb *cellCb,
+RgrTxMode txMde,
+RgrAprdCqiMode puschMode,
+RgSchErrInfo *errInfo
+)
{
if (txMde == RGR_UE_TM_1 || txMde == RGR_UE_TM_2 ||
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrUeACqiCfg
(
- RgSchCellCb *cellCb,
- CmLteRnti crnti,
- RgrUeAprdDlCqiCfg *acqiCfg,
- RgrUeTxModeCfg txMode,
- RgSchErrInfo *errInfo
- )
-#else
-S16 rgSCHCfgVldtRgrUeACqiCfg(cellCb, crnti, acqiCfg,txMode, errInfo)
- RgSchCellCb *cellCb;
- CmLteRnti crnti;
- RgrUeAprdDlCqiCfg *acqiCfg;
- RgrUeTxModeCfg txMode;
- RgSchErrInfo *errInfo;
-#endif
+RgSchCellCb *cellCb,
+CmLteRnti crnti,
+RgrUeAprdDlCqiCfg *acqiCfg,
+RgrUeTxModeCfg txMode,
+RgSchErrInfo *errInfo
+)
{
RgrTxMode txMde;
RgrAprdCqiMode puschMode;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rgSCHCfgVldtRgrTxmodePucchMode
(
- RgSchCellCb *cellCb,
- RgrTxMode txMde,
- RgrPrdCqiMode pucchMode,
- RgSchErrInfo *errInfo
- )
-#else
-S16 rgSCHCfgVldtRgrTxmodePucchMode(cellCb, txMde, pucchMode,errInfo)
- RgSchCellCb *cellCb;
- RgrTxMode txMde;
- RgrPrdCqiMode pucchMode;
- RgSchErrInfo *errInfo;
-#endif
+RgSchCellCb *cellCb,
+RgrTxMode txMde,
+RgrPrdCqiMode pucchMode,
+RgSchErrInfo *errInfo
+)
{
if (pucchMode == RGR_PRD_CQI_MOD10 || pucchMode == RGR_PRD_CQI_MOD20 )
* -# RFAILED
*/
#ifdef LTEMAC_HDFDD
-#ifdef ANSI
S16 rgSCHCfgVldtRgrUePCqiCfg
(
- RgSchCellCb *cellCb,
- CmLteRnti crnti,
- RgrUePrdDlCqiCfg *cqiCfg,
- Bool hdFdd,
- RgrUeTxModeCfg txMode,
- RgSchErrInfo *errInfo
- )
-#else
-S16 rgSCHCfgVldtRgrUePCqiCfg(cellCb, crnti, cqiCfg, hdFdd,
- txMode, errInfo)
- RgSchCellCb *cellCb;
- CmLteRnti crnti;
- RgrUePrdDlCqiCfg *cqiCfg;
- Bool hdFdd;
- RgrUeTxModeCfg txMode;
- RgSchErrInfo *errInfo;
-#endif
+RgSchCellCb *cellCb,
+CmLteRnti crnti,
+RgrUePrdDlCqiCfg *cqiCfg,
+Bool hdFdd,
+RgrUeTxModeCfg txMode,
+RgSchErrInfo *errInfo
+)
#else
-#ifdef ANSI
S16 rgSCHCfgVldtRgrUePCqiCfg
- (
- RgSchCellCb *cellCb,
- CmLteRnti crnti,
- RgrUePrdDlCqiCfg *cqiCfg,
- RgrUeTxModeCfg txMode,
- RgSchErrInfo *errInfo
- )
-#else
-S16 rgSCHCfgVldtRgrUePCqiCfg(cellCb, crnti, cqiCfg, txMode, errInfo)
- RgSchCellCb *cellCb;
- CmLteRnti crnti;
- RgrUePrdDlCqiCfg *cqiCfg;
- RgrUeTxModeCfg txMode;
- RgSchErrInfo *errInfo;
-#endif
+(
+RgSchCellCb *cellCb,
+CmLteRnti crnti,
+RgrUePrdDlCqiCfg *cqiCfg,
+RgrUeTxModeCfg txMode,
+RgSchErrInfo *errInfo
+)
#endif
{
RgrTxMode txMde;
* -# RFAILED
*/
#ifdef LTEMAC_HDFDD
-#ifdef ANSI
S16 rgSCHCfgVldtRgrUeUlSrsCfg
(
RgSchCellCb *cellCb,
RgSchErrInfo *errInfo
)
#else
-S16 rgSCHCfgVldtRgrUeUlSrsCfg(cellCb, crnti, srsCfg, hdFdd, errInfo)
- RgSchCellCb *cellCb;
- CmLteRnti crnti;
- RgrUeUlSrsCfg *srsCfg;
- Bool hdFdd;
- RgSchErrInfo *errInfo;
-#endif
-#else
-#ifdef ANSI
S16 rgSCHCfgVldtRgrUeUlSrsCfg
(
- RgSchCellCb *cellCb,
- CmLteRnti crnti,
- RgrUeUlSrsCfg *srsCfg,
- RgSchErrInfo *errInfo
- )
-#else
-S16 rgSCHCfgVldtRgrUeUlSrsCfg(cellCb, crnti, srsCfg, errInfo)
- RgSchCellCb *cellCb;
- CmLteRnti crnti;
- RgrUeUlSrsCfg *srsCfg;
- RgSchErrInfo *errInfo;
-#endif
+RgSchCellCb *cellCb,
+CmLteRnti crnti,
+RgrUeUlSrsCfg *srsCfg,
+RgSchErrInfo *errInfo
+)
#endif
{
uint16_t srsPeri=0;
* -# RFAILED
*/
#ifdef LTEMAC_HDFDD
-#ifdef ANSI
S16 rgSCHCfgVldtRgrUeSrCfg
(
RgSchCellCb *cellCb,
RgSchErrInfo *errInfo
)
#else
-S16 rgSCHCfgVldtRgrUeSrCfg(cellCb, crnti, srCfg, hdFdd, errInfo)
- RgSchCellCb *cellCb;
- CmLteRnti crnti;
- RgrUeSrCfg *srCfg;
- Bool hdFdd;
- RgSchErrInfo *errInfo;
-#endif
-#else
-#ifdef ANSI
S16 rgSCHCfgVldtRgrUeSrCfg
(
RgSchCellCb *cellCb,
RgrUeSrCfg *srCfg,
RgSchErrInfo *errInfo
)
-#else
-S16 rgSCHCfgVldtRgrUeSrCfg(cellCb, crnti, srCfg, errInfo)
- RgSchCellCb *cellCb;
- CmLteRnti crnti;
- RgrUeSrCfg *srCfg;
- RgSchErrInfo *errInfo;
-#endif
#endif
{
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgSCHCfgVldtCqiSrSrsUeCfg
(
- RgSchCellCb *cellCb,
- RgrUeCfg *ueCfg,
- RgSchErrInfo *errInfo
- )
-#else
-static S16 rgSCHCfgVldtCqiSrSrsUeCfg(cellCb, ueCfg, errInfo)
- RgSchCellCb *cellCb;
- RgrUeCfg *ueCfg;
- RgSchErrInfo *errInfo;
-#endif
+RgSchCellCb *cellCb,
+RgrUeCfg *ueCfg,
+RgSchErrInfo *errInfo
+)
{
/* 1. Validate UE Aperiodic CQI related parameters */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgSCHCfgVldtCqiSrSrsUeReCfg
(
- RgSchCellCb *cellCb,
- RgSchUeCb *ueCb,
- RgrUeRecfg *ueReCfg,
- RgSchErrInfo *errInfo
- )
-#else
-static S16 rgSCHCfgVldtCqiSrSrsUeReCfg(cellCb, ueCb, ueReCfg, errInfo)
- RgSchCellCb *cellCb;
- RgSchUeCb *ueCb;
- RgrUeRecfg *ueReCfg;
- RgSchErrInfo *errInfo;
-#endif
+RgSchCellCb *cellCb,
+RgSchUeCb *ueCb,
+RgrUeRecfg *ueReCfg,
+RgSchErrInfo *errInfo
+)
{
RgrUeTxModeCfg txMode;
* -# ROK
*
**/
-#ifdef ANSI
S16 rgSCHCfgACqiUeCfg
(
RgSchCellCb *cellCb,
RgrUeAprdDlCqiCfg *aCqiCfg,
CmLteUeCategory ueCat
)
-#else
-S16 rgSCHCfgACqiUeCfg(cellCb,ue,acqiCb ueTxMode, aCqiCfg, ueCat)
-RgSchCellCb *cellCb;
-RgSchUeCb *ue;
-RgSchUeACqiCb *acqiCb;
-RgrTxMode ueTxMode;
-RgrUeAprdDlCqiCfg *aCqiCfg;
-CmLteUeCategory ueCat;
-#endif
{
uint8_t M; /*Num of Subbands -- Applicable only for Mode 2-0 and 2-2*/
uint8_t k; /*SubBand Size (RB) --
* -# ROK
*
**/
-#ifdef ANSI
S16 rgSCHCfgPCqiUeCfg
(
- RgSchCellCb *cellCb,
- RgSchUeCb *ueCb,
- RgrUePrdDlCqiCfg *cqiCfg,
- CmLteUeCategory ueCat
- )
-#else
-S16 rgSCHCfgPCqiUeCfg(cellCb, ueCb, cqiCfg, ueCat)
- RgSchCellCb *cellCb;
- RgSchUeCb *ueCb;
- RgrUePrdDlCqiCfg *cqiCfg;
- CmLteUeCategory ueCat;
-#endif
+RgSchCellCb *cellCb,
+RgSchUeCb *ueCb,
+RgrUePrdDlCqiCfg *cqiCfg,
+CmLteUeCategory ueCat
+)
{
CmLteTimingInfo timingInfo;
uint16_t crntTime;
* -# ROK
*
**/
-#ifdef ANSI
S16 rgSCHCfgRiUeCfg
(
- RgSchCellCb *cellCb,
- RgSchUeCb *ueCb,
- RgrUePrdDlCqiCfg *cqiCfg,
- CmLteUeCategory ueCat
- )
-#else
-S16 rgSCHCfgRiUeCfg(cellCb, ueCb, cqiCfg, ueCat)
- RgSchCellCb *cellCb;
- RgSchUeCb *ueCb;
- RgrUePrdDlCqiCfg *cqiCfg;
- CmLteUeCategory ueCat;
-#endif
+RgSchCellCb *cellCb,
+RgSchUeCb *ueCb,
+RgrUePrdDlCqiCfg *cqiCfg,
+CmLteUeCategory ueCat
+)
{
uint16_t crntTime;
uint16_t riTrInsTime;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rgSCHCfgSrsUeCfg
(
- RgSchCellCb *cellCb,
- RgSchUeCb *ueCb,
- RgrUeUlSrsCfg *srsCfg
- )
-#else
-S16 rgSCHCfgSrsUeCfg(cellCb, ueCb, srsCfg)
- RgSchCellCb *cellCb;
- RgSchUeCb *ueCb;
- RgrUeUlSrsCfg *srsCfg;
-#endif
+RgSchCellCb *cellCb,
+RgSchUeCb *ueCb,
+RgrUeUlSrsCfg *srsCfg
+)
{
uint16_t srsTrInsTime;
uint16_t crntTime;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rgSCHCfgSrUeCfg
(
- RgSchCellCb *cellCb,
- RgSchUeCb *ueCb,
- RgrUeSrCfg *srCfg
- )
-#else
-S16 rgSCHCfgSrUeCfg(cellCb, ueCb, srCfg)
- RgSchCellCb *cellCb;
- RgSchUeCb *ueCb;
- RgrUeSrCfg *srCfg;
-#endif
+RgSchCellCb *cellCb,
+RgSchUeCb *ueCb,
+RgrUeSrCfg *srCfg
+)
{
uint16_t srTrInsTime;
uint16_t crntTime;
* -# ROK
*
*/
-#ifdef ANSI
S16 rgSCHCfgPCqiUeReCfg
(
- RgSchCellCb *cellCb,
- RgSchUeCb *ueCb,
- RgrUePrdDlCqiCfg *cqiCfg,
- CmLteUeCategory ueCat
- )
-#else
-S16 rgSCHCfgPCqiUeReCfg(cellCb, ueCb, cqiCfg, ueCat)
- RgSchCellCb *cellCb;
- RgSchUeCb *ueCb;
- RgrUePrdDlCqiCfg *cqiCfg;
- CmLteUeCategory ueCat;
-#endif
+RgSchCellCb *cellCb,
+RgSchUeCb *ueCb,
+RgrUePrdDlCqiCfg *cqiCfg,
+CmLteUeCategory ueCat
+)
{
RgSchUePCqiCb *cqiCb = NULLP;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rgSCHCfgSrsUeReCfg
(
- RgSchCellCb *cellCb,
- RgSchUeCb *ueCb,
- RgrUeUlSrsCfg *srsCfg
- )
-#else
-S16 rgSCHCfgSrsUeReCfg(cellCb, ueCb, srsCfg)
- RgSchCellCb *cellCb;
- RgSchUeCb *ueCb;
- RgrUeUlSrsCfg *srsCfg;
-#endif
+RgSchCellCb *cellCb,
+RgSchUeCb *ueCb,
+RgrUeUlSrsCfg *srsCfg
+)
{
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rgSCHCfgSrUeReCfg
(
- RgSchCellCb *cellCb,
- RgSchUeCb *ueCb,
- RgrUeSrCfg *srCfg
- )
-#else
-S16 rgSCHCfgSrUeReCfg(cellCb, ueCb, srCfg)
- RgSchCellCb *cellCb;
- RgSchUeCb *ueCb;
- RgrUeSrCfg *srCfg;
-#endif
+RgSchCellCb *cellCb,
+RgSchUeCb *ueCb,
+RgrUeSrCfg *srCfg
+)
{
/* Fix : syed Incorrect check for SR RECFG */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rgSCHCfgAcqiUeReCfg
(
- RgSchCellCb *cellCb,
- RgSchUeCb *ueCb,
- RgrUeAprdDlCqiCfg *acqiCfg,
- CmLteUeCategory ueCat
- )
-#else
-S16 rgSCHCfgAcqiUeReCfg(cellCb, ueCb, acqiCfg, ueCat)
- RgSchCellCb *cellCb;
- RgSchUeCb *ueCb;
- RgrUeAprdDlCqiCfg *acqiCfg;
- CmLteUeCategory ueCat;
-#endif
+RgSchCellCb *cellCb,
+RgSchUeCb *ueCb,
+RgrUeAprdDlCqiCfg *acqiCfg,
+CmLteUeCategory ueCat
+)
{
return (rgSCHCfgACqiUeCfg(cellCb,ueCb,(RG_SCH_CMN_GET_ACQICB(ueCb,cellCb))
* @return S16
* -# ROK
*/
-#ifdef ANSI
S16 rgSCHCfgPCqiSrsSrUeDel
(
- RgSchCellCb *cellCb,
- RgSchUeCb *ueCb
- )
-#else
-S16 rgSCHCfgPCqiSrsSrUeDel(cellCb, ueCb)
- RgSchCellCb *cellCb;
- RgSchUeCb *ueCb;
-#endif
+RgSchCellCb *cellCb,
+RgSchUeCb *ueCb
+)
{
#ifdef LTE_ADV
uint32_t cellIdx;
* -# ROK
*
*/
-#ifdef ANSI
S16 rgSCHUtlGetCfgPerOff
(
- RgSchPerTbl tbl,
- uint16_t cfgIdx,
- uint16_t *peri,
- uint16_t *offset
- )
-#else
-S16 rgSCHUtlGetCfgPerOff ( tbl, cfgIdx, peri, offset)
- RgSchPerTbl tbl;
- uint16_t cfgIdx;
- uint16_t *peri;
- uint16_t *offset;
-#endif
+RgSchPerTbl tbl,
+uint16_t cfgIdx,
+uint16_t *peri,
+uint16_t *offset
+)
{
uint8_t mid;
uint8_t min = 0;
* File :
*
**********************************************************/
-#ifdef ANSI
static Void rgSCHCfgUtlFetchAcqiBitSz
(
- RgSchUeACqiCb *acqiCb,
- uint8_t numTxAnt,
- uint8_t* cqiPmiSzR1,
- uint8_t* cqiPmiSzRn1
- )
-#else
-static Void rgSCHCfgUtlFetchAcqiBitSz(acqiCb, numTxAnt, cqiPmiSzR1, cqiPmiSzRn1)
- RgSchUeACqiCb *acqiCb;
- uint8_t numTxAnt;
- uint8_t* cqiPmiSzR1;
- uint8_t* cqiPmiSzRn1;
-#endif
+RgSchUeACqiCb *acqiCb,
+uint8_t numTxAnt,
+uint8_t* cqiPmiSzR1,
+uint8_t* cqiPmiSzRn1
+)
{
- uint32_t confRepMode;
+ uint32_t confRepMode;
confRepMode = acqiCb->aCqiCfg.aprdModeEnum;
switch(confRepMode)
*
**********************************************************/
-#ifdef ANSI
static const RgSchUePCqiSrsSrCfgIdxTbl * rgSCHCfgUtlGetPcqiSrsSrRiTbl
(
- RgSchPerTbl tblType,
- uint8_t* min,
- uint8_t* max
+RgSchPerTbl tblType,
+uint8_t* min,
+uint8_t* max
)
-#else
-static const RgSchUePCqiSrsSrCfgIdxTbl * rgSCHCfgUtlGetPcqiSrsSrRiTbl(tblType, min, max)
- RgSchPerTbl tblType;
- uint8_t* min;
- uint8_t* max;
-#endif
{
const RgSchUePCqiSrsSrCfgIdxTbl * table;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtDrxUeCfg
(
RgSchCellCb *cell,
RgrUeDrxCfg *ueDrxCfg
)
-#else
-static S16 rgSCHCfgVldtDrxUeCfg(cell, ueDrxCfg)
-RgSchCellCb *cell;
-RgrUeDrxCfg *ueDrxCfg;
-#endif
{
if (ueDrxCfg->isDrxEnabled == FALSE)
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgVldtDrxOnDurCfg
(
uint8_t onDurTmr
)
-#else
-static S16 rgSCHCfgVldtDrxOnDurCfg(onDurTmr)
-uint8_t onDurTmr;
-#endif
{
switch ( onDurTmr )
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHCfgVldtDrxInActvCfg
-(
-uint16_t inActvTmr
-)
-#else
-static S16 rgSCHCfgVldtDrxInActvCfg(inActvTmr)
-uint16_t inActvTmr;
-#endif
+static S16 rgSCHCfgVldtDrxInActvCfg(uint16_t inActvTmr)
{
switch ( inActvTmr )
{
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHCfgVldtDrxReTxCfg
-(
-uint8_t reTxTmr
-)
-#else
-static S16 rgSCHCfgVldtDrxReTxCfg(reTxTmr)
-uint8_t reTxTmr;
-#endif
+static S16 rgSCHCfgVldtDrxReTxCfg(uint8_t reTxTmr)
{
switch ( reTxTmr )
{
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHCfgVldtDrxLngCycCfg
-(
-RgrDrxLongCycleOffst lngCycleOffst
-)
-#else
-static S16 rgSCHCfgVldtDrxLngCycCfg(lngCycleOffst)
-RgrDrxLongCycleOffst lngCycleOffst;
-#endif
+static S16 rgSCHCfgVldtDrxLngCycCfg(RgrDrxLongCycleOffst lngCycleOffst)
{
if ( rgSCHCfgVldtDrxLngCyclTmrs(lngCycleOffst.longDrxCycle) != ROK )
{
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHCfgVldtDrxLngCyclTmrs
-(
-uint16_t val
-)
-#else
-static S16 rgSCHCfgVldtDrxLngCyclTmrs(val)
-uint16_t val;
-#endif
+static S16 rgSCHCfgVldtDrxLngCyclTmrs(uint16_t val)
{
switch ( val )
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHCfgVldtDrxShrtCycCfg
-(
-RgrDrxShortDrx shrtCycCfg
-)
-#else
-static S16 rgSCHCfgVldtDrxShrtCycCfg(shrtCycCfg)
-RgrDrxShortDrx shrtCycCfg;
-#endif
+static S16 rgSCHCfgVldtDrxShrtCycCfg(RgrDrxShortDrx shrtCycCfg )
{
switch(shrtCycCfg.shortDrxCycle)
{
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static Void rgSCHCfgUeTaRecfg
(
RgSchCellCb *cell,
RgrUeRecfg *ueCfg,
RgSchErrInfo *err
)
-#else
-static Void rgSCHCfgUeTaRecfg(cell, ueCb, ueCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-RgrUeRecfg *ueCfg;
-RgSchErrInfo *err;
-#endif
{
UNUSED(err);
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCfgUeCqiReptReCfg
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgrUeRecfg *ueRecfg
)
-#else
-static S16 rgSCHCfgUeCqiReptReCfg(cell, ue, ueRecfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-#endif
{
S16 retVal;
* @param[out] uint8_t idx
* @return VOID
**/
-#ifdef ANSI
Void rgSCHSCellFreeBuf
(
Inst inst,
RgSchUeCb *ue,
RgrUeRecfg *ueRecfg,
-uint8_t idx
+uint8_t idx
)
-#else
-Void rgSCHSCellFreeBuf(inst ,ue, ueRecfg, idx)
-Inst inst;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-uint8_t idx;
-#endif
{
RgSchUeCellInfo *sCellInfo = NULLP;
RgrUeSecCellCfg *sCellInfoRecfg = NULLP;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnCompEff
-(
-uint8_t noPdcchSym,
-uint8_t cpType,
-uint8_t txAntIdx,
-RgSchCmnTbSzEff *effTbl
-)
-#else
-static Void rgSCHCmnCompEff(noPdcchSym, cpType, txAntIdx, effTbl)
-uint8_t noPdcchSym;
-uint8_t cpType;
-uint8_t txAntIdx;
-RgSchCmnTbSzEff *effTbl;
-#endif
+static Void rgSCHCmnCompEff(uint8_t noPdcchSym,uint8_t cpType,uint8_t txAntIdx,RgSchCmnTbSzEff *effTbl)
{
- uint8_t noResPerRb;
- uint8_t noSymPerRb;
- uint8_t resOfCrs; /* Effective REs occupied by CRS */
- uint8_t i, j;
+ uint8_t noResPerRb;
+ uint8_t noSymPerRb;
+ uint8_t resOfCrs; /* Effective REs occupied by CRS */
+ uint8_t i, j;
switch (cpType)
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnCompUlEff
-(
-uint8_t noUlRsSym,
-uint8_t cpType,
-RgSchCmnTbSzEff *effTbl
-)
-#else
-static Void rgSCHCmnCompUlEff(noUlRsSym, cpType, effTbl)
-uint8_t noUlRsSym;
-uint8_t cpType;
-RgSchCmnTbSzEff *effTbl;
-#endif
+static Void rgSCHCmnCompUlEff(uint8_t noUlRsSym,uint8_t cpType,RgSchCmnTbSzEff *effTbl)
{
- uint8_t noResPerRb;
- uint8_t noSymPerRb;
- uint8_t i, j;
+ uint8_t noResPerRb;
+ uint8_t noSymPerRb;
+ uint8_t i, j;
switch (cpType)
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmn2LyrCompEff
-(
-uint8_t noPdcchSym,
-uint8_t cpType,
-uint8_t txAntIdx,
-RgSchCmnTbSzEff *effTbl2Lyr
-)
-#else
-static Void rgSCHCmn2LyrCompEff(noPdcchSym, cpType, txAntIdx, effTbl2Lyr)
-uint8_t noPdcchSym;
-uint8_t cpType;
-uint8_t txAntIdx;
-RgSchCmnTbSzEff *effTbl2Lyr;
-#endif
+static Void rgSCHCmn2LyrCompEff(uint8_t noPdcchSym,uint8_t cpType,uint8_t txAntIdx,RgSchCmnTbSzEff *effTbl2Lyr)
{
- uint8_t noResPerRb;
- uint8_t noSymPerRb;
- uint8_t resOfCrs; /* Effective REs occupied by CRS */
- uint8_t i, j;
+ uint8_t noResPerRb;
+ uint8_t noSymPerRb;
+ uint8_t resOfCrs; /* Effective REs occupied by CRS */
+ uint8_t i, j;
switch (cpType)
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnGetDciFrmtSizes
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnGetDciFrmtSizes(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnGetDciFrmtSizes(RgSchCellCb *cell)
{
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnGetCqiDciFrmt2AggrLvl
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnGetCqiDciFrmt2AggrLvl(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnGetCqiDciFrmt2AggrLvl(RgSchCellCb *cell)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
uint8_t i;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlInit
-(
-)
-#else
static Void rgSCHCmnDlInit()
-#endif
{
- uint8_t i;
- S16 j;
- S16 k;
- uint8_t idx;
- RgSchCmnTbSzEff *effTbl;
- RgSchCmnCqiToTbs *tbsTbl;
+ uint8_t i;
+ S16 j;
+ S16 k;
+ uint8_t idx;
+ RgSchCmnTbSzEff *effTbl;
+ RgSchCmnCqiToTbs *tbsTbl;
/* 0 corresponds to Single layer case, 1 corresponds to 2 layers case*/
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnUlInit
-(
-)
-#else
static Void rgSCHCmnUlInit()
-#endif
{
- uint8_t *mapTbl = &rgSchCmnUlCqiToTbsTbl[RG_SCH_CMN_NOR_CP][0];
+ uint8_t *mapTbl = &rgSchCmnUlCqiToTbsTbl[RG_SCH_CMN_NOR_CP][0];
RgSchCmnTbSzEff *effTbl = &rgSchCmnNorUlEff[0];
const RgSchCmnUlCqiInfo *cqiTbl = &rgSchCmnUlCqiTbl[0];
S16 i;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnInit
-(
-)
-#else
Void rgSCHCmnInit()
-#endif
{
uint8_t idx;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnDlRlsSubFrm
-(
-RgSchCellCb *cell,
-CmLteTimingInfo frm
-)
-#else
-Void rgSCHCmnDlRlsSubFrm(cell, frm)
-RgSchCellCb *cell;
-CmLteTimingInfo frm;
-#endif
+Void rgSCHCmnDlRlsSubFrm(RgSchCellCb *cell,CmLteTimingInfo frm)
{
- RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- RgSchDlSf *sf;
+ RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
+ RgSchDlSf *sf;
/* Get the pointer to the subframe */
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlCcchRarAlloc
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnDlCcchRarAlloc(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnDlCcchRarAlloc(RgSchCellCb *cell)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnCcchSduAlloc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ueCb,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static S16 rgSCHCmnCcchSduAlloc(cell, ueCb, allocInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static S16 rgSCHCmnCcchSduAlloc(RgSchCellCb *cell,RgSchUeCb *ueCb,RgSchCmnDlRbAllocInfo *allocInfo)
{
RgSchDlRbAlloc *rbAllocInfo;
- RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ueCb,cell);
+ RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
+ RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ueCb,cell);
/* Return if subframe BW exhausted */
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlCcchSduTx
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlCcchSduTx(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlCcchSduTx(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
- CmLList *node;
- RgSchUeCb *ueCb;
- RgSchCmnDlUe *ueCmnDl;
- RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
-
- RgSchDlSf *dlSf = allocInfo->ccchSduAlloc.ccchSduDlSf;
+ CmLList *node;
+ RgSchUeCb *ueCb;
+ RgSchCmnDlUe *ueCmnDl;
+ RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
+ RgSchDlSf *dlSf = allocInfo->ccchSduAlloc.ccchSduDlSf;
node = cell->ccchSduUeLst.first;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlCcchTx
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlCcchTx(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlCcchTx(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
- CmLList *node;
- RgSchRaCb *raCb;
- RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- RgSchDlSf *dlSf = allocInfo->msg4Alloc.msg4DlSf;
-
+ CmLList *node;
+ RgSchRaCb *raCb;
+ RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
+ RgSchDlSf *dlSf = allocInfo->msg4Alloc.msg4DlSf;
node = cell->raInfo.toBeSchdLst.first;
while(node)
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlCcchSduRetx
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlCcchSduRetx(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlCcchSduRetx(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
RgSchDlRbAlloc *rbAllocInfo;
- CmLList *node;
- RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- RgSchUeCb *ueCb;
- RgSchDlHqProcCb *hqP;
- uint8_t retxBw = 0;
- RgSchCmnDlUe *ueDl;
- RgSchDlSf *dlSf = allocInfo->ccchSduAlloc.ccchSduDlSf;
+ CmLList *node;
+ RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
+ RgSchUeCb *ueCb;
+ RgSchDlHqProcCb *hqP;
+ uint8_t retxBw = 0;
+ RgSchCmnDlUe *ueDl;
+ RgSchDlSf *dlSf = allocInfo->ccchSduAlloc.ccchSduDlSf;
node = cellSch->dl.ccchSduRetxLst.first;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlCcchRetx
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlCcchRetx(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlCcchRetx(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
CmLList *node;
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
RgSchRaCb *raCb;
RgSchDlHqProcCb *hqP;
- uint8_t retxBw = 0;
+ uint8_t retxBw = 0;
RgSchDlSf *dlSf = allocInfo->msg4Alloc.msg4DlSf;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static Void rgSCHCmnDlBcchPcch
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo,
-RgInfSfAlloc *subfrmAlloc
-)
-#else
-static Void rgSCHCmnDlBcchPcch(cell, allocInfo, subfrmAlloc)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-RgInfSfAlloc *subfrmAlloc;
-#endif
+static Void rgSCHCmnDlBcchPcch(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo,RgInfSfAlloc *subfrmAlloc)
{
CmLteTimingInfo frm;
RgSchDlSf *sf;
#endif/*RGR_SI_SCH*/
-
frm = cell->crntTime;
#ifdef LTEMAC_HDFDD
/* For HDFDD we need scheduling information at least RG_SCH_CMN_DL_DELTA
* File: rg_sch_cmn.c
*
*/
-#ifdef ANSI
-Bool rgSCHCmnChkInWin
-(
-CmLteTimingInfo frm,
-CmLteTimingInfo start,
-CmLteTimingInfo end
-)
-#else
-Bool rgSCHCmnChkInWin(frm, start, end)
-CmLteTimingInfo frm;
-CmLteTimingInfo start;
-CmLteTimingInfo end;
-#endif
+Bool rgSCHCmnChkInWin(CmLteTimingInfo frm,CmLteTimingInfo start,CmLteTimingInfo end)
{
Bool inWin = FALSE;
* File: rg_sch_cmn.c
*
*/
-#ifdef ANSI
-Bool rgSCHCmnChkPastWin
-(
-CmLteTimingInfo frm,
-CmLteTimingInfo end
-)
-#else
-Bool rgSCHCmnChkPastWin(frm, end)
-CmLteTimingInfo frm;
-CmLteTimingInfo end;
-#endif
+Bool rgSCHCmnChkPastWin(CmLteTimingInfo frm,CmLteTimingInfo end)
{
CmLteTimingInfo refFrm = end;
Bool pastWin;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnClcAlloc
-(
-RgSchCellCb *cell,
-RgSchDlSf *sf,
-RgSchClcDlLcCb *lch,
-uint16_t rnti,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnClcAlloc(cell, sf, lch, rnti, allocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *sf;
-RgSchClcDlLcCb *lch;
-uint16_t rnti;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnClcAlloc(RgSchCellCb *cell,RgSchDlSf *sf,RgSchClcDlLcCb *lch,uint16_t rnti,RgSchCmnDlRbAllocInfo *allocInfo)
{
RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
RgSchClcBoRpt *bo;
* -# NULLP when unsuccessful
*
**/
-#ifdef ANSI
-RgSchPdcch *rgSCHCmnCmnPdcchAlloc
-(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm
-)
-#else
-RgSchPdcch *rgSCHCmnCmnPdcchAlloc(cell, subFrm)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-#endif
+RgSchPdcch *rgSCHCmnCmnPdcchAlloc(RgSchCellCb *cell,RgSchDlSf *subFrm)
{
CmLteAggrLvl aggrLvl;
RgSchPdcchInfo *pdcchInfo;
RgSchPdcch *pdcch;
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- uint8_t numCce; /*store num CCEs based on
+ uint8_t numCce; /*store num CCEs based on
aggregation level */
aggrLvl = cellSch->dl.cmnChAggrLvl;
*
**/
#ifdef LTEMAC_SPS
-#ifdef ANSI
Void rgSCHCmnClcRbAlloc
(
-RgSchCellCb *cell,
-uint32_t bo,
-uint8_t cqi,
-uint8_t *rb,
-uint32_t *tbs,
-uint8_t *mcs,
-uint8_t *iTbs,
-Bool isSpsBo,
-RgSchDlSf *sf
+RgSchCellCb *cell,
+uint32_t bo,
+uint8_t cqi,
+uint8_t *rb,
+uint32_t *tbs,
+uint8_t *mcs,
+uint8_t *iTbs,
+Bool isSpsBo,
+RgSchDlSf *sf
)
#else
-Void rgSCHCmnClcRbAlloc(cell, bo, cqi, rb, tbs, mcs, iTbs, isSpsBo)
-RgSchCellCb *cell;
-uint32_t bo;
-uint8_t cqi;
-uint8_t *rb;
-uint32_t *tbs;
-uint8_t *mcs;
-uint8_t *iTbs;
-Bool isSpsBo;
-RgSchDlSf *sf;
-#endif
-#else
-#ifdef ANSI
static Void rgSCHCmnClcRbAlloc
(
-RgSchCellCb *cell,
-uint32_t bo,
-uint8_t cqi,
-uint8_t *rb,
-uint32_t *tbs,
-uint8_t *mcs,
-RgSchDlSf *sf
+RgSchCellCb *cell,
+uint32_t bo,
+uint8_t cqi,
+uint8_t *rb,
+uint32_t *tbs,
+uint8_t *mcs,
+RgSchDlSf *sf
)
-#else
-static Void rgSCHCmnClcRbAlloc(cell, bo, cqi, rb, tbs, mcs, sf)
-RgSchCellCb *cell;
-uint32_t bo;
-uint8_t cqi;
-uint8_t *rb;
-uint32_t *tbs;
-uint8_t *mcs;
-RgSchDlSf *sf;
-#endif
#endif /* LTEMAC_SPS */
{
- uint8_t iTbsVal;
- RgSchCmnTbSzEff *effTbl;
- uint32_t eff;
- uint32_t noRes;
- RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- uint8_t cfi = cellSch->dl.currCfi;
- uint32_t tmpRb=0;
+ uint8_t iTbsVal;
+ RgSchCmnTbSzEff *effTbl;
+ uint32_t eff;
+ uint32_t noRes;
+ RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
+ uint8_t cfi = cellSch->dl.currCfi;
+ uint32_t tmpRb=0;
/* first get the CQI to MCS table and determine the number of RBs */
effTbl = (RgSchCmnTbSzEff *)(cellSch->dl.cqiToEffTbl[0][cfi]);
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnMsg4Alloc
-(
-RgSchCellCb *cell,
-RgSchRaCb *raCb,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static S16 rgSCHCmnMsg4Alloc(cell, raCb, allocInfo)
-RgSchCellCb *cell;
-RgSchRaCb *raCb;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static S16 rgSCHCmnMsg4Alloc(RgSchCellCb *cell,RgSchRaCb *raCb,RgSchCmnDlRbAllocInfo *allocInfo)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- /* SR_RACH_STATS : MSG4 TO BE TXED */
+ /* SR_RACH_STATS : MSG4 TO BE TXED */
rgNumMsg4ToBeTx++;
/* Return if subframe BW exhausted */
if (allocInfo->msg4Alloc.msg4DlSf->bw <=
* -# NULLP when unsuccessful
*
**/
-#ifdef ANSI
-RgSchPdcch *rgSCHCmnPdcchAlloc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlSf *subFrm,
-uint8_t cqi,
-TfuDciFormat dciFrmt,
-Bool isDtx
-)
-#else
-RgSchPdcch *rgSCHCmnPdcchAlloc(cell, subFrm, cqi, dciFrmt, isDtx)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlSf *subFrm;
-uint8_t cqi;
-TfuDciFormat dciFrmt;
-Bool isDtx;
-#endif
+RgSchPdcch *rgSCHCmnPdcchAlloc(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlSf *subFrm,uint8_t cqi,TfuDciFormat dciFrmt,Bool isDtx)
{
CmLteAggrLvl aggrLvl;
RgSchPdcchInfo *pdcchInfo;
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnCcchSduDedAlloc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ueCb
-)
-#else
-static S16 rgSCHCmnCcchSduDedAlloc(cell, ueCb)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-#endif
+static S16 rgSCHCmnCcchSduDedAlloc(RgSchCellCb *cell,RgSchUeCb *ueCb)
{
- RgSchDlHqEnt *hqE = NULLP;
- uint32_t effBo;
- RgSchDlRbAlloc *rbAllocinfo = NULLP;
- RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
- uint8_t iTbs;
- uint8_t numRb;
+ RgSchDlHqEnt *hqE = NULLP;
+ uint32_t effBo;
+ RgSchDlRbAlloc *rbAllocinfo = NULLP;
+ RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
+ uint8_t iTbs;
+ uint8_t numRb;
#ifdef LTE_TDD
- uint8_t cfi = cellDl->currCfi;
+ uint8_t cfi = cellDl->currCfi;
#endif
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnMsg4DedAlloc
-(
-RgSchCellCb *cell,
-RgSchRaCb *raCb
-)
-#else
-static S16 rgSCHCmnMsg4DedAlloc(cell, raCb)
-RgSchCellCb *cell;
-RgSchRaCb *raCb;
-#endif
+static S16 rgSCHCmnMsg4DedAlloc(RgSchCellCb *cell,RgSchRaCb *raCb)
{
- uint32_t effBo;
- RgSchDlRbAlloc *rbAllocinfo = &raCb->rbAllocInfo;
- uint8_t iTbs;
- uint8_t numRb;
+ uint32_t effBo;
+ RgSchDlRbAlloc *rbAllocinfo = &raCb->rbAllocInfo;
+ uint8_t iTbs;
+ uint8_t numRb;
#ifdef LTE_TDD
- RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
- uint8_t cfi = cellDl->currCfi;
+ RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
+ uint8_t cfi = cellDl->currCfi;
#endif
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlRaRsp
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlRaRsp(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlRaRsp(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
CmLteTimingInfo frm;
CmLteTimingInfo schFrm;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlRaRsp //FDD
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlRaRsp(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlRaRsp(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
- CmLteTimingInfo frm;
- CmLteTimingInfo winStartFrm;
- RgSchDlSf *subFrm;
- uint8_t winStartIdx;
- uint8_t winGap;
- uint8_t rarnti;
- uint8_t raIdx;
- RgSchCmnCell *sched;
- uint8_t i,noRaRnti=0;
+ CmLteTimingInfo frm;
+ CmLteTimingInfo winStartFrm;
+ RgSchDlSf *subFrm;
+ uint8_t winStartIdx;
+ uint8_t winGap;
+ uint8_t rarnti;
+ uint8_t raIdx;
+ RgSchCmnCell *sched;
+ uint8_t i,noRaRnti=0;
frm = cell->crntTime;
RGSCH_INCR_SUB_FRAME(frm, RG_SCH_CMN_DL_DELTA);
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnRaRspAlloc
-(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-uint16_t raIndex,
-uint16_t rarnti,
-uint8_t noRaRnti,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static S16 rgSCHCmnRaRspAlloc(cell,subFrm,raIndex,rarnti,noRaRnti,allocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-uint16_t raIndex;
-uint16_t rarnti;
-uint8_t noRaRnti;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static S16 rgSCHCmnRaRspAlloc(RgSchCellCb *cell,RgSchDlSf *subFrm,uint16_t raIndex,uint16_t rarnti,uint8_t noRaRnti,RgSchCmnDlRbAllocInfo *allocInfo)
{
- RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
- RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
- uint16_t noBytes;
- uint32_t rb = 0;
- uint32_t tbs;
+ RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
+ RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
+ uint16_t noBytes;
+ uint32_t rb = 0;
+ uint32_t tbs;
/*ccpu00116700,ccpu00116708- Corrected the wrong type for mcs*/
- uint8_t mcs;
- CmLListCp *reqLst;
+ uint8_t mcs;
+ CmLListCp *reqLst;
/* RACH handling related changes */
- Bool isAlloc = FALSE;
- static uint8_t schdNumRapid = 0;
- uint8_t remNumRapid = 0;
- uint8_t nPrb = 0;
- S32 allwdTbSz = 0;
+ Bool isAlloc = FALSE;
+ static uint8_t schdNumRapid = 0;
+ uint8_t remNumRapid = 0;
+ uint8_t nPrb = 0;
+ S32 allwdTbSz = 0;
#ifdef LTE_TDD
- uint16_t lostRe;
- uint8_t cfi = cellDl->currCfi;
+ uint16_t lostRe;
+ uint8_t cfi = cellDl->currCfi;
#endif
#ifndef RGR_V1
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCmnUlAllocFillRbInfo
-(
-RgSchCellCb *cell,
-RgSchUlSf *sf,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHCmnUlAllocFillRbInfo(cell, sf, alloc)
-RgSchCellCb *cell;
-RgSchUlSf *sf;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHCmnUlAllocFillRbInfo(RgSchCellCb *cell,RgSchUlSf *sf,RgSchUlAlloc *alloc)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
* @param[out] uint8_t *hqProcIdRef
* @return Void
**/
-#ifdef ANSI
static Void rgSCHCmnMsg3GrntReq
(
RgSchCellCb *cell,
Bool preamGrpA,
RgSchUlHqProcCb *hqProc,
RgSchUlAlloc **ulAllocRef,
-uint8_t *hqProcIdRef
+uint8_t *hqProcIdRef
)
-#else
-static Void rgSCHCmnMsg3GrntReq(cell, rnti, preamGrpA, hqProc,
- ulAllocRef, hqProcIdRef)
-RgSchCellCb *cell;
-CmLteRnti rnti;
-Bool preamGrpA;
-RgSchUlHqProcCb *hqProc;
-RgSchUlAlloc **ulAllocRef;
-uint8_t *hqProcIdRef;
-#endif
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
RgSchUlSf *sf = &cellUl->ulSfArr[cellUl->msg3SchdIdx];
RgSchUlHole *hole;
RgSchUlAlloc *alloc;
- uint8_t iMcs;
- uint8_t numSb;
+ uint8_t iMcs;
+ uint8_t numSb;
*ulAllocRef = NULLP;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlSetUeAllocLmt
-(
-RgSchCellCb *cell,
-RgSchCmnDlUe *ueDl,
-Bool isEmtcUe
-)
-#else
-static Void rgSCHCmnDlSetUeAllocLmt(cell, ueDl, isEmtcUe)
-RgSchCellCb *cell;
-RgSchCmnDlUe *ueDl;
-Bool isEmtcUe;
-#endif
+static Void rgSCHCmnDlSetUeAllocLmt(RgSchCellCb *cell,RgSchCmnDlUe *ueDl,Bool isEmtcUe)
{
- uint8_t modOrder;
- uint32_t maxRb;
+ uint8_t modOrder;
+ uint32_t maxRb;
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- uint8_t cfi = cellSch->dl.currCfi;
+ uint8_t cfi = cellSch->dl.currCfi;
#ifdef EMTC_ENABLE
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCheckAndSetTxScheme
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHCheckAndSetTxScheme(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHCheckAndSetTxScheme(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue ,cell);
- uint8_t cfi = cellSch->dl.currCfi;
- uint8_t maxiTbs;
- uint8_t cqiBasediTbs;
- uint8_t actualiTbs;
+ uint8_t cfi = cellSch->dl.currCfi;
+ uint8_t maxiTbs;
+ uint8_t cqiBasediTbs;
+ uint8_t actualiTbs;
maxiTbs = (*(RgSchCmnCqiToTbs*)(cellSch->dl.cqiToTbsTbl[0][cfi]))\
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnDlSetUeAllocLmtLa
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnDlSetUeAllocLmtLa(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnDlSetUeAllocLmtLa(RgSchCellCb *cell,RgSchUeCb *ue)
{
- uint8_t modOrder;
- uint32_t maxRb;
- uint8_t reportediTbs;
+ uint8_t modOrder;
+ uint32_t maxRb;
+ uint8_t reportediTbs;
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
- uint8_t cfi = cellSch->dl.currCfi;
- uint8_t maxiTbs;
- uint8_t cwIdx = 0;
+ uint8_t cfi = cellSch->dl.currCfi;
+ uint8_t maxiTbs;
+ uint8_t cwIdx = 0;
maxiTbs = (*(RgSchCmnCqiToTbs *)(cellSch->dl.cqiToTbsTbl[0][cfi]))[RG_SCH_CMN_MAX_CQI - 1];
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCmnDlHqPResetTemp
-(
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHCmnDlHqPResetTemp(hqP)
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHCmnDlHqPResetTemp(RgSchDlHqProcCb *hqP)
{
-
/* Fix: syed having a hqP added to Lists for RB assignment rather than
* a UE, as adding UE was limiting handling some scenarios */
hqP->reqLnk.node = (PTR)NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCmnDlUeResetTemp
-(
-RgSchUeCb *ue,
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHCmnDlUeResetTemp(ue, hqP)
-RgSchUeCb *ue;
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHCmnDlUeResetTemp(RgSchUeCb *ue,RgSchDlHqProcCb *hqP)
{
RgSchDlRbAlloc *allocInfo;
- RgSchCmnDlUe *cmnUe = RG_SCH_CMN_GET_DL_UE(ue,hqP->hqE->cell);
+ RgSchCmnDlUe *cmnUe = RG_SCH_CMN_GET_DL_UE(ue,hqP->hqE->cell);
#ifdef LTE_ADV
Void *tmpCb;
#endif
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCmnUlUeResetTemp
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnUlUeResetTemp(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnUlUeResetTemp(RgSchCellCb *cell,RgSchUeCb *ue)
{
- RgSchCmnUlUe *cmnUlUe = RG_SCH_CMN_GET_UL_UE(ue,cell);
-
+ RgSchCmnUlUe *cmnUlUe = RG_SCH_CMN_GET_UL_UE(ue,cell);
memset(&cmnUlUe->alloc, 0, sizeof(cmnUlUe->alloc));
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnFillPdcch
-(
-RgSchCellCb *cell,
-RgSchPdcch *pdcch,
-RgSchDlRbAlloc *rbAllocInfo
-)
-#else
-Void rgSCHCmnFillPdcch(cell, pdcch, rbAllocInfo)
-RgSchCellCb *cell;
-RgSchPdcch *pdcch;
-RgSchDlRbAlloc *rbAllocInfo;
-#endif
+Void rgSCHCmnFillPdcch(RgSchCellCb *cell,RgSchPdcch *pdcch,RgSchDlRbAlloc *rbAllocInfo)
{
-
/* common channel pdcch filling,
* only 1A and Local is supported */
pdcch->rnti = rbAllocInfo->rnti;
* @return Bool
*
**/
-#ifdef ANSI
-static Bool rgSCHCmnIsSplSubfrm
-(
-uint8_t splfrmCnt,
-uint8_t curSubfrmIdx,
-uint8_t periodicity,
-RgSchTddSubfrmInfo *subfrmInfo
-)
-#else
-static Bool rgSCHCmnIsSplSubfrm(splfrmCnt, curSubfrmIdx, periodicity, subfrmInfo)
-uint8_t splfrmCnt;
-uint8_t curSubfrmIdx;
-uint8_t periodicity;
-RgSchTddSubfrmInfo *subfrmInfo;
-#endif
+static Bool rgSCHCmnIsSplSubfrm(uint8_t splfrmCnt,uint8_t curSubfrmIdx,uint8_t periodicity,RgSchTddSubfrmInfo *subfrmInfo)
{
uint8_t dlSfCnt = 0;
uint8_t splfrmIdx = 0;
-
if(splfrmCnt > 0)
{
if(periodicity == RG_SCH_CMN_5_MS_PRD)
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnUpdHqAndDai
-(
-RgSchDlHqProcCb *hqP,
-RgSchDlSf *subFrm,
-RgSchDlHqTbCb *tbCb,
-uint8_t tbAllocIdx
-)
-#else
-static Void rgSCHCmnUpdHqAndDai(hqP, subFrm, tbCb,tbAllocIdx)
-RgSchDlHqProcCb *hqP;
-RgSchDlSf *subFrm;
-RgSchDlHqTbCb *tbCb;
-uint8_t tbAllocIdx;
-#endif
+static Void rgSCHCmnUpdHqAndDai(RgSchDlHqProcCb *hqP,RgSchDlSf *subFrm,RgSchDlHqTbCb *tbCb,uint8_t tbAllocIdx)
{
RgSchUeCb *ue = hqP->hqE->ue;
* @return uint8_t dlDai
*
**/
-#ifdef ANSI
uint8_t rgSCHCmnUpdDai
(
-RgSchUeCb *ue,
-CmLteTimingInfo *fdbkTime,
-uint8_t m,
-Bool havePdcch,
-RgSchDlHqProcCb *hqP,
-uint8_t *ulDai
+RgSchUeCb *ue,
+CmLteTimingInfo *fdbkTime,
+uint8_t m,
+Bool havePdcch,
+RgSchDlHqProcCb *hqP,
+uint8_t *ulDai
)
-#else
-uint8_t rgSCHCmnUpdDai(ue, fdbkTime, m, havePdcch,tbCb,servCellId,hqP,ulDai)
-RgSchUeCb *ue;
-CmLteTimingInfo *fdbkTime;
-uint8_t m;
-Bool havePdcch;
-RgSchDlHqProcCb *hqP;
-uint8_t *ulDai;
-#endif
{
RgSchTddANInfo *anInfo;
- uint8_t servCellIdx;
- uint8_t ackNackFdbkArrSize;
-
-
+ uint8_t servCellIdx;
+ uint8_t ackNackFdbkArrSize;
if(hqP != NULLP)
{/* Non SPS */
*
**/
#ifdef LTEMAC_SPS
-#ifdef ANSI
Void rgSCHCmnFillHqPTb
(
-RgSchCellCb *cell,
-RgSchDlRbAlloc *rbAllocInfo,
-uint8_t tbAllocIdx,
-RgSchPdcch *pdcch
+RgSchCellCb *cell,
+RgSchDlRbAlloc *rbAllocInfo,
+uint8_t tbAllocIdx,
+RgSchPdcch *pdcch
)
#else
-Void rgSCHCmnFillHqPTb(cell, rbAllocInfo, tbAllocIdx, pdcch)
-RgSchCellCb *cell;
-RgSchDlRbAlloc *rbAllocInfo;
-uint8_t tbAllocIdx;
-RgSchPdcch *pdcch;
-#endif
-#else
-#ifdef ANSI
static Void rgSCHCmnFillHqPTb
(
-RgSchCellCb *cell,
-RgSchDlRbAlloc *rbAllocInfo,
-uint8_t tbAllocIdx,
-RgSchPdcch *pdcch
+RgSchCellCb *cell,
+RgSchDlRbAlloc *rbAllocInfo,
+uint8_t tbAllocIdx,
+RgSchPdcch *pdcch
)
-#else
-static Void rgSCHCmnFillHqPTb(cell, rbAllocInfo, tbAllocIdx, pdcch)
-RgSchCellCb *cell;
-RgSchDlRbAlloc *rbAllocInfo;
-uint8_t tbAllocIdx;
-RgSchPdcch *pdcch;
-#endif
#endif /* LTEMAC_SPS */
{
RgSchCmnDlCell *cmnCellDl = RG_SCH_CMN_GET_DL_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnFillHqPPdcchDciFrmtB1B2
(
-RgSchCellCb *cell,
-RgSchDlRbAlloc *rbAllocInfo,
-RgSchDlHqProcCb *hqP,
-RgSchPdcch *pdcch,
-uint8_t tpc
+RgSchCellCb *cell,
+RgSchDlRbAlloc *rbAllocInfo,
+RgSchDlHqProcCb *hqP,
+RgSchPdcch *pdcch,
+uint8_t tpc
)
-#else
-static Void rgSCHCmnFillHqPPdcchDciFrmtB1B2(cell, rbAllocInfo, hqP, pdcch, tpc)
-RgSchCellCb *cell;
-RgSchDlRbAlloc *rbAllocInfo;
-RgSchDlHqProcCb *hqP;
-RgSchPdcch *pdcch;
-uint8_t tpc;
-#endif
{
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnFillHqPPdcch
-(
-RgSchCellCb *cell,
-RgSchDlRbAlloc *rbAllocInfo,
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHCmnFillHqPPdcch(cell, rbAllocInfo, hqP)
-RgSchCellCb *cell;
-RgSchDlRbAlloc *rbAllocInfo;
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHCmnFillHqPPdcch(RgSchCellCb *cell,RgSchDlRbAlloc *rbAllocInfo,RgSchDlHqProcCb *hqP)
{
- RgSchCmnDlCell *cmnCell = RG_SCH_CMN_GET_DL_CELL(cell);
- RgSchPdcch *pdcch = rbAllocInfo->pdcch;
- uint8_t tpc = 1;
+ RgSchCmnDlCell *cmnCell = RG_SCH_CMN_GET_DL_CELL(cell);
+ RgSchPdcch *pdcch = rbAllocInfo->pdcch;
+ uint8_t tpc = 1;
if (hqP->hqE->ue)
*
**/
-#ifdef ANSI
static Void rgSCHCmnFillHqPPdcchDciFrmt1
(
-RgSchCellCb *cell,
-RgSchDlRbAlloc *rbAllocInfo,
-RgSchDlHqProcCb *hqP,
-RgSchPdcch *pdcch,
-uint8_t tpc
+RgSchCellCb *cell,
+RgSchDlRbAlloc *rbAllocInfo,
+RgSchDlHqProcCb *hqP,
+RgSchPdcch *pdcch,
+uint8_t tpc
)
-#else
-static Void rgSCHCmnFillHqPPdcchDciFrmt1(cell, rbAllocInfo, hqP, pdcch, tpc)
-RgSchCellCb *cell;
-RgSchDlRbAlloc *rbAllocInfo;
-RgSchDlHqProcCb *hqP;
-RgSchPdcch *pdcch;
-uint8_t tpc;
-#endif
{
#ifdef LTE_TDD
- RgSchTddANInfo *anInfo;
+ RgSchTddANInfo *anInfo;
#endif
#ifdef LTEMAC_SPS
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnFillHqPPdcchDciFrmt1A
(
-RgSchCellCb *cell,
-RgSchDlRbAlloc *rbAllocInfo,
-RgSchDlHqProcCb *hqP,
-RgSchPdcch *pdcch,
-uint8_t tpc
+RgSchCellCb *cell,
+RgSchDlRbAlloc *rbAllocInfo,
+RgSchDlHqProcCb *hqP,
+RgSchPdcch *pdcch,
+uint8_t tpc
)
-#else
-static Void rgSCHCmnFillHqPPdcchDciFrmt1A(cell, rbAllocInfo, hqP, pdcch, tpc)
-RgSchCellCb *cell;
-RgSchDlRbAlloc *rbAllocInfo;
-RgSchDlHqProcCb *hqP;
-RgSchPdcch *pdcch;
-uint8_t tpc;
-#endif
{
#ifdef LTE_TDD
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnFillHqPPdcchDciFrmt1B
(
-RgSchCellCb *cell,
-RgSchDlRbAlloc *rbAllocInfo,
-RgSchDlHqProcCb *hqP,
-RgSchPdcch *pdcch,
-uint8_t tpc
+RgSchCellCb *cell,
+RgSchDlRbAlloc *rbAllocInfo,
+RgSchDlHqProcCb *hqP,
+RgSchPdcch *pdcch,
+uint8_t tpc
)
-#else
-static Void rgSCHCmnFillHqPPdcchDciFrmt1B(cell, rbAllocInfo, hqP, pdcch, tpc)
-RgSchCellCb *cell;
-RgSchDlRbAlloc *rbAllocInfo;
-RgSchDlHqProcCb *hqP;
-RgSchPdcch *pdcch;
-uint8_t tpc;
-#endif
{
#ifdef LTE_TDD
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnFillHqPPdcchDciFrmt2
(
-RgSchCellCb *cell,
-RgSchDlRbAlloc *rbAllocInfo,
-RgSchDlHqProcCb *hqP,
-RgSchPdcch *pdcch,
-uint8_t tpc
+RgSchCellCb *cell,
+RgSchDlRbAlloc *rbAllocInfo,
+RgSchDlHqProcCb *hqP,
+RgSchPdcch *pdcch,
+uint8_t tpc
)
-#else
-static Void rgSCHCmnFillHqPPdcchDciFrmt2(cell, rbAllocInfo, hqP, pdcch, tpc)
-RgSchCellCb *cell;
-RgSchDlRbAlloc *rbAllocInfo;
-RgSchDlHqProcCb *hqP;
-RgSchPdcch *pdcch;
-uint8_t tpc;
-#endif
{
#ifdef LTE_TDD
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnFillHqPPdcchDciFrmt2A
(
-RgSchCellCb *cell,
-RgSchDlRbAlloc *rbAllocInfo,
-RgSchDlHqProcCb *hqP,
-RgSchPdcch *pdcch,
-uint8_t tpc
+RgSchCellCb *cell,
+RgSchDlRbAlloc *rbAllocInfo,
+RgSchDlHqProcCb *hqP,
+RgSchPdcch *pdcch,
+uint8_t tpc
)
-#else
-static Void rgSCHCmnFillHqPPdcchDciFrmt2A(cell, rbAllocInfo, hqP, pdcch, tpc)
-RgSchCellCb *cell;
-RgSchDlRbAlloc *rbAllocInfo;
-RgSchDlHqProcCb *hqP;
-RgSchPdcch *pdcch;
-uint8_t tpc;
-#endif
{
#ifdef LTE_TDD
RgSchTddANInfo *anInfo;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnInitVars
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnInitVars(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnInitVars(RgSchCellCb *cell)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnUpdVars
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHCmnUpdVars(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHCmnUpdVars(RgSchCellCb *cell)
{
CmLteTimingInfo timeInfo;
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
* @return uint8_t
*
**/
-#ifdef ANSI
-uint8_t rgSCHCmnGetPhichUlSfIdx
-(
-CmLteTimingInfo *timeInfo,
-RgSchCellCb *cell
-)
-#else
-uint8_t rgSCHCmnGetPhichUlSfIdx(timeInfo, cell)
-CmLteTimingInfo *timeInfo;
-RgSchCellCb *cell;
-#endif
+uint8_t rgSCHCmnGetPhichUlSfIdx(CmLteTimingInfo *timeInfo,RgSchCellCb *cell)
{
- RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
- RgSchDlSf *dlsf;
- uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
- uint8_t idx;
- uint16_t numUlSf;
- uint16_t sfn;
- uint8_t subframe;
+ RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
+ RgSchDlSf *dlsf;
+ uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
+ uint8_t idx;
+ uint16_t numUlSf;
+ uint16_t sfn;
+ uint8_t subframe;
dlsf = rgSCHUtlSubFrmGet(cell, *timeInfo);
* @return uint8_t
*
**/
-#ifdef ANSI
-uint8_t rgSCHCmnGetUlSfIdx
-(
-CmLteTimingInfo *timeInfo,
-RgSchCellCb *cell
-)
-#else
-uint8_t rgSCHCmnGetUlSfIdx(timeInfo, cell)
-CmLteTimingInfo *timeInfo;
-RgSchCellCb *cell;
-#endif
+uint8_t rgSCHCmnGetUlSfIdx(CmLteTimingInfo *timeInfo,RgSchCellCb *cell)
{
- RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
- uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
- uint8_t idx = 0;
- uint16_t numUlSf;
+ RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
+ uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
+ uint8_t idx = 0;
+ uint16_t numUlSf;
/* ccpu00130980: numUlSf(uint16_t) parameter added to avoid integer
* @return uint8_t
*
**/
-#ifdef ANSI
-uint8_t rgSCHCmnGetUlHqProcIdx
-(
-CmLteTimingInfo *timeInfo,
-RgSchCellCb *cell
-)
-#else
-uint8_t rgSCHCmnGetUlHqProcIdx(timeInfo, cell)
-CmLteTimingInfo *timeInfo;
-RgSchCellCb *cell;
-#endif
+uint8_t rgSCHCmnGetUlHqProcIdx(CmLteTimingInfo *timeInfo,RgSchCellCb *cell)
{
- uint8_t procId;
- uint32_t numUlSf;
+ uint8_t procId;
+ uint32_t numUlSf;
#ifndef LTE_TDD
numUlSf = (timeInfo->sfn * RGSCH_NUM_SUB_FRAMES_5G + timeInfo->slot);
procId = numUlSf % RGSCH_NUM_UL_HQ_PROC;
#else
- uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
+ uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
/*ccpu00130639 - MOD - To get correct UL HARQ Proc IDs for all UL/DL Configs*/
- uint8_t numUlSfInSfn;
- S8 sfnCycle = cell->tddHqSfnCycle;
- uint8_t numUlHarq = rgSchTddUlNumHarqProcTbl[ulDlCfgIdx]
+ uint8_t numUlSfInSfn;
+ S8 sfnCycle = cell->tddHqSfnCycle;
+ uint8_t numUlHarq = rgSchTddUlNumHarqProcTbl[ulDlCfgIdx]
/* TRACE 5 Changes */
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCmnUlFreeAlloc
-(
-RgSchCellCb *cell,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHCmnUlFreeAlloc(cell, alloc)
-RgSchCellCb *cell;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHCmnUlFreeAlloc(RgSchCellCb *cell,RgSchUlAlloc *alloc)
{
RgSchUlHqProcCb *hqProc;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCmnUlFreeAllocation
-(
-RgSchCellCb *cell,
-RgSchUlSf *sf,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHCmnUlFreeAllocation(cell, sf, alloc)
-RgSchCellCb *cell;
-RgSchUlSf *sf;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHCmnUlFreeAllocation(RgSchCellCb *cell,RgSchUlSf *sf,RgSchUlAlloc *alloc)
{
RgSchUlHqProcCb *hqProc;
* @return RgSchPdcch *
* -# NULLP when unsuccessful
**/
-#ifdef ANSI
-RgSchPdcch *rgSCHCmnPdcchAllocCrntSf
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-RgSchPdcch *rgSCHCmnPdcchAllocCrntSf(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+RgSchPdcch *rgSCHCmnPdcchAllocCrntSf(RgSchCellCb *cell,RgSchUeCb *ue)
{
- CmLteTimingInfo frm = cell->crntTime;
- RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
- RgSchDlSf *sf;
- RgSchPdcch *pdcch = NULLP;
+ CmLteTimingInfo frm = cell->crntTime;
+ RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
+ RgSchDlSf *sf;
+ RgSchPdcch *pdcch = NULLP;
RGSCH_INCR_SUB_FRAME(frm, TFU_ULCNTRL_DLDELTA);
sf = rgSCHUtlSubFrmGet(cell, frm);
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCmnUlAllocFillNdmrs
-(
-RgSchCmnUlCell *cellUl,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHCmnUlAllocFillNdmrs(cellUl, alloc)
-RgSchCmnUlCell *cellUl;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHCmnUlAllocFillNdmrs(RgSchCmnUlCell *cellUl,RgSchUlAlloc *alloc)
{
alloc->grnt.nDmrs = cellUl->dmrsArr[alloc->sbStart];
return;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCmnUlAllocLnkHqProc
-(
-RgSchUeCb *ue,
-RgSchUlAlloc *alloc,
-RgSchUlHqProcCb *proc,
-Bool isRetx
-)
-#else
-Void rgSCHCmnUlAllocLnkHqProc(ue, alloc, proc, isRetx)
-RgSchUeCb *ue;
-RgSchUlAlloc *alloc;
-RgSchUlHqProcCb *proc;
-Bool isRetx;
-#endif
+Void rgSCHCmnUlAllocLnkHqProc(RgSchUeCb *ue,RgSchUlAlloc *alloc,RgSchUlHqProcCb *proc,Bool isRetx)
{
if(TRUE == isRetx)
* @param[in] RgSchPdcch *pdcch
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnPdcchRlsCrntSf
-(
-RgSchCellCb *cell,
-RgSchPdcch *pdcch
-)
-#else
-Void rgSCHCmnPdcchRlsCrntSf(cell, pdcch)
-RgSchCellCb *cell;
-RgSchPdcch *pdcch;
-#endif
+Void rgSCHCmnPdcchRlsCrntSf(RgSchCellCb *cell,RgSchPdcch *pdcch)
{
- CmLteTimingInfo frm = cell->crntTime;
- RgSchDlSf *sf;
-
+ CmLteTimingInfo frm = cell->crntTime;
+ RgSchDlSf *sf;
RGSCH_INCR_SUB_FRAME(frm, TFU_ULCNTRL_DLDELTA);
sf = rgSCHUtlSubFrmGet(cell, frm);
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCmnUlFillPdcchWithAlloc
-(
-RgSchPdcch *pdcch,
-RgSchUlAlloc *alloc,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnUlFillPdcchWithAlloc(pdcch, alloc, ue)
-RgSchPdcch *pdcch;
-RgSchUlAlloc *alloc;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnUlFillPdcchWithAlloc(RgSchPdcch *pdcch,RgSchUlAlloc *alloc,RgSchUeCb *ue)
{
-
pdcch->ue = ue;
pdcch->rnti = alloc->rnti;
//pdcch->dci.dciFormat = TFU_DCI_FORMAT_A2;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCmnUlAllocFillTpc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHCmnUlAllocFillTpc(cell, ue, alloc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHCmnUlAllocFillTpc(RgSchCellCb *cell,RgSchUeCb *ue,RgSchUlAlloc *alloc)
{
alloc->grnt.tpc = rgSCHPwrPuschTpcForUe(cell, ue);
return;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHCmnAddUeToRefreshQ
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint32_t wait
-)
-#else
-static Void rgSCHCmnAddUeToRefreshQ(cell, ue, wait)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint32_t wait;
-#endif
+static Void rgSCHCmnAddUeToRefreshQ(RgSchCellCb *cell,RgSchUeCb *ue,uint32_t wait)
{
RgSchCmnCell *sched = RG_SCH_CMN_GET_CELL(cell);
CmTmrArg arg;
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnUlUeReset
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHCmnUlUeReset(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHCmnUlUeReset(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
- uint8_t lcgCnt=0;
+ uint8_t lcgCnt=0;
RgSchCmnLcg *lcgCmn;
CmLList *node;
RgSchCmnAllocRecord *allRcd;
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnResetRiCqi
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHCmnResetRiCqi(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHCmnResetRiCqi(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnUe *ueSchCmn = RG_SCH_CMN_GET_UE(ue,cell);
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnDlUeReset
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHCmnDlUeReset(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHCmnDlUeReset(RgSchCellCb *cell,RgSchUeCb *ue)
{
- RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
- RgSchCmnDlCell *cellCmnDl = RG_SCH_CMN_GET_DL_CELL(cell);
- RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
+ RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
+ RgSchCmnDlCell *cellCmnDl = RG_SCH_CMN_GET_DL_CELL(cell);
+ RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
if (ueDl->rachInfo.poLnk.node != NULLP)
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-Void rgSCHCmnUeReset
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnUeReset(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnUeReset(RgSchCellCb *cell,RgSchUeCb *ue)
{
uint8_t idx;
- Pst pst;
+ Pst pst;
RgInfResetHqEnt hqEntRstInfo;
/* RACHO: remove UE from pdcch, handover and rapId assoc Qs */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-Void rgSCHCmnActvtUlUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnActvtUlUe(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnActvtUlUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
- RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
+ RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
/* : take care of this in UL retransmission */
cellSchd->apisUl->rgSCHUlActvtUe(cell, ue);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-Void rgSCHCmnActvtDlUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnActvtDlUe(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnActvtDlUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
- RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
+ RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
cellSchd->apisDl->rgSCHDlActvtUe(cell, ue);
return;
*
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnHdlUlTransInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteTimingInfo timingInfo
-)
-#else
-Void rgSCHCmnHdlUlTransInd(cell, ue, timingInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo timingInfo;
-#endif
+Void rgSCHCmnHdlUlTransInd(RgSchCellCb *cell,RgSchUeCb *ue,CmLteTimingInfo timingInfo)
{
/* Update the latest UL dat/sig transmission time */
* @param[in] uint32_t *pmiBitMap
* @return RgSchCmnRank
**/
-#ifdef ANSI
-static RgSchCmnRank rgSCHCmnComp4TxMode4
-(
- uint32_t *pmiBitMap
- )
-#else
-static RgSchCmnRank rgSCHCmnComp4TxMode4(pmiBitMap)
- uint32_t *pmiBitMap;
-#endif
+static RgSchCmnRank rgSCHCmnComp4TxMode4(uint32_t *pmiBitMap)
{
uint32_t bitMap0, bitMap1;
bitMap0 = pmiBitMap[0];
* @param[in] uint32_t *pmiBitMap
* @return RgSchCmnRank
**/
-#ifdef ANSI
-static RgSchCmnRank rgSCHCmnComp2TxMode4
-(
- uint32_t *pmiBitMap
- )
-#else
-static RgSchCmnRank rgSCHCmnComp2TxMode4(pmiBitMap)
- uint32_t *pmiBitMap;
-#endif
+static RgSchCmnRank rgSCHCmnComp2TxMode4(uint32_t *pmiBitMap)
{
uint32_t bitMap0;
bitMap0 = pmiBitMap[0];
* @param[in] uint32_t *pmiBitMap
* @return RgSchCmnRank
**/
-#ifdef ANSI
-static RgSchCmnRank rgSCHCmnComp4TxMode3
-(
- uint32_t *pmiBitMap
- )
-#else
-static RgSchCmnRank rgSCHCmnComp4TxMode3(pmiBitMap)
- uint32_t *pmiBitMap;
-#endif
+static RgSchCmnRank rgSCHCmnComp4TxMode3(uint32_t *pmiBitMap)
{
uint32_t bitMap0;
bitMap0 = pmiBitMap[0];
* @param[in] uint32_t *pmiBitMap
* @return RgSchCmnRank
**/
-#ifdef ANSI
-static RgSchCmnRank rgSCHCmnComp2TxMode3
-(
- uint32_t *pmiBitMap
- )
-#else
-static RgSchCmnRank rgSCHCmnComp2TxMode3(pmiBitMap)
- uint32_t *pmiBitMap;
-#endif
+static RgSchCmnRank rgSCHCmnComp2TxMode3(uint32_t *pmiBitMap)
{
uint32_t bitMap0;
bitMap0 = pmiBitMap[0];
* @param[in] uint8_t numTxPorts
* @return RgSchCmnRank
**/
-#ifdef ANSI
-static RgSchCmnRank rgSCHCmnComputeRank
-(
- RgrTxMode txMode,
- uint32_t *pmiBitMap,
- uint8_t numTxPorts
- )
-#else
-static RgSchCmnRank rgSCHCmnComputeRank(txMode, pmiBitMap, numTxPorts)
- RgrTxMode txMode;
- uint32_t *pmiBitMap;
- uint8_t numTxPorts;
-#endif
+static RgSchCmnRank rgSCHCmnComputeRank(RgrTxMode txMode,uint32_t *pmiBitMap,uint8_t numTxPorts)
{
if (numTxPorts ==2 && txMode == RGR_UE_TM_3)
* @return VOID
**/
/*KWORK_FIX:Changed function return type to void */
-#ifdef ANSI
-Void rgSCHCmnDlDeInitHqEnt
-(
-RgSchCellCb *cell,
-RgSchDlHqEnt *hqE
-)
-#else
-Void rgSCHCmnDlDeInitHqEnt(cell, hqE)
-RgSchCellCb *cell;
-RgSchDlHqEnt *hqE;
-#endif
+Void rgSCHCmnDlDeInitHqEnt(RgSchCellCb *cell,RgSchDlHqEnt *hqE)
{
- RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
- RgSchDlHqProcCb *hqP;
- uint8_t cnt;
- S16 ret;
-
+ RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
+ RgSchDlHqProcCb *hqP;
+ uint8_t cnt;
+ S16 ret;
ret = cellSchd->apisDl->rgSCHDlUeHqEntDeInit(cell, hqE);
/* Free only If the Harq proc are created*/
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHCmnDlInitHqEnt
-(
-RgSchCellCb *cell,
-RgSchDlHqEnt *hqEnt
-)
-#else
-S16 rgSCHCmnDlInitHqEnt(cell, hqEnt)
-RgSchCellCb *cell;
-RgSchDlHqEnt *hqEnt;
-#endif
-
+S16 rgSCHCmnDlInitHqEnt(RgSchCellCb *cell,RgSchDlHqEnt *hqEnt)
{
- RgSchDlHqProcCb *hqP;
- uint8_t cnt;
-
- RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
+ RgSchDlHqProcCb *hqP;
+ uint8_t cnt;
+ RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
for(cnt = 0; cnt < hqEnt->numHqPrcs; cnt++)
{
* @return Void
*
**/
-#ifdef ANSI
-static uint8_t rgSCHCmnGetRefreshDist
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static uint8_t rgSCHCmnGetRefreshDist(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static uint8_t rgSCHCmnGetRefreshDist(RgSchCellCb *cell,RgSchUeCb *ue)
{
uint8_t refOffst;
#ifdef DEBUGP
* Invoked by: rgSCHCmnGetRefreshPer
*
* @param[in] RgSchCellCb *cell
- * @param[in] RgSchUeCb *ue
- * @param[in] uint32_t *waitPer
- * @return Void
- *
- **/
-#ifdef ANSI
-static Void rgSCHCmnGetRefreshPer
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint32_t *waitPer
-)
-#else
-static Void rgSCHCmnGetRefreshPer(cell, ue, waitPer)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint32_t *waitPer;
-#endif
+ * @param[in] RgSchUeCb *ue
+ * @param[in] uint32_t *waitPer
+ * @return Void
+ *
+ **/
+static Void rgSCHCmnGetRefreshPer(RgSchCellCb *cell,RgSchUeCb *ue,uint32_t *waitPer)
{
- uint32_t refreshPer;
- uint32_t crntSubFrm;
+ uint32_t refreshPer;
+ uint32_t crntSubFrm;
refreshPer = RG_SCH_CMN_REFRESH_TIME * RG_SCH_CMN_REFRESH_TIMERES;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHCmnRgrSCellUeCfg
-(
-RgSchCellCb *sCell,
-RgSchUeCb *ue,
-RgrUeSecCellCfg *sCellInfoCfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHCmnRgrSCellUeCfg(sCell, ue, sCellInfoCfg, err)
-RgSchCellCb *sCell;
-RgSchUeCb *ue;
-RgrUeSecCellCfg *sCellInfoCfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHCmnRgrSCellUeCfg(RgSchCellCb *sCell,RgSchUeCb *ue,RgrUeSecCellCfg *sCellInfoCfg,RgSchErrInfo *err)
{
uint8_t i;
- S16 ret;
- uint8_t cnt;
+ S16 ret;
+ uint8_t cnt;
RgSchCmnAllocRecord *allRcd;
RgSchDlRbAlloc *allocInfo;
RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(ue->cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHCmnRgrSCellUeDel
-(
-RgSchUeCellInfo *sCellInfo,
-RgSchUeCb *ue
-)
-#else
-S16 rgSCHCmnRgrSCellUeDel(sCellInfo, ue)
-RgSchUeCellInfo *sCellInfo;
-RgSchUeCb *ue;
-#endif
+S16 rgSCHCmnRgrSCellUeDel(RgSchUeCellInfo *sCellInfo,RgSchUeCb *ue)
{
- RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(ue->cell);
- Inst inst = ue->cell->instIdx;
+ RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(ue->cell);
+ Inst inst = ue->cell->instIdx;
cellSchd->apisDl->rgSCHRgrSCellDlUeDel(sCellInfo, ue);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHCmn5gtfUeCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeCfg *cfg
-)
-#else
-S16 rgSCHCmn5gtfUeCfg(cell, ue, cfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeCfg *cfg;
-#endif
+S16 rgSCHCmn5gtfUeCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeCfg *cfg)
{
RgSchUeGrp *ue5gtfGrp;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHCmnRgrUeCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeCfg *ueCfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHCmnRgrUeCfg(cell, ue, ueCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeCfg *ueCfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHCmnRgrUeCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeCfg *ueCfg,RgSchErrInfo *err)
{
RgSchDlRbAlloc *allocInfo;
- S16 ret;
- RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
- RgSchCmnUe *ueSchCmn;
- RgSchCmnUlUe *ueUl;
- RgSchCmnDlUe *ueDl;
- uint8_t cnt;
+ S16 ret;
+ RgSchCmnCell *cellSchd = RG_SCH_CMN_GET_CELL(cell);
+ RgSchCmnUe *ueSchCmn;
+ RgSchCmnUlUe *ueUl;
+ RgSchCmnDlUe *ueDl;
+ uint8_t cnt;
RgSchCmnAllocRecord *allRcd;
- uint32_t waitPer;
- uint32_t idx = (uint8_t)((cell->cellId - rgSchCb[cell->instIdx].genCfg.startCellId)&(CM_LTE_MAX_CELLS-1));
- RgSchUeCellInfo *pCellInfo = RG_SCH_CMN_GET_PCELL_INFO(ue);
+ uint32_t waitPer;
+ uint32_t idx = (uint8_t)((cell->cellId - rgSchCb[cell->instIdx].genCfg.startCellId)&(CM_LTE_MAX_CELLS-1));
+ RgSchUeCellInfo *pCellInfo = RG_SCH_CMN_GET_PCELL_INFO(ue);
/* 1. Allocate Common sched control block */
* @return Void
**/
#ifdef TFU_UPGRADE
-#ifdef ANSI
-static Void rgSCHCmnDlHdlTxModeRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeRecfg *ueRecfg,
-uint8_t numTxPorts
-)
-#else
-static Void rgSCHCmnDlHdlTxModeRecfg(cell, ue, ueRecfg, numTxPorts)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-uint8_t numTxPorts;
-#endif
+static Void rgSCHCmnDlHdlTxModeRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeRecfg *ueRecfg,uint8_t numTxPorts)
#else
-#ifdef ANSI
-static Void rgSCHCmnDlHdlTxModeRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeRecfg *ueRecfg
-)
-#else
-static Void rgSCHCmnDlHdlTxModeRecfg(cell, ue, ueRecfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-#endif
+static Void rgSCHCmnDlHdlTxModeRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeRecfg *ueRecfg)
#endif
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHCmnUpdUeMimoInfo
-(
-RgrUeCfg *ueCfg,
-RgSchCmnDlUe *ueDl,
-RgSchCellCb *cell,
-RgSchCmnCell *cellSchd
-)
-#else
-static Void rgSCHCmnUpdUeMimoInfo(ueCfg, ueDl, cell, cellSchd)
-RgrUeCfg *ueCfg;
-RgSchCmnDlUe *ueDl;
-RgSchCellCb *cell;
-RgSchCmnCell *cellSchd;
-#endif
+static Void rgSCHCmnUpdUeMimoInfo(RgrUeCfg *ueCfg,RgSchCmnDlUe *ueDl,RgSchCellCb *cell,RgSchCmnCell *cellSchd)
{
#ifdef TFU_UPGRADE
if(ueCfg->txMode.pres)
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHCmnUpdUeUlCqiInfo
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchCmnUlUe *ueUl,
-RgSchCmnUe *ueSchCmn,
-RgSchCmnCell *cellSchd,
-Bool isEcp
-)
-#else
-static Void rgSCHCmnUpdUeUlCqiInfo(cell, ue, ueUl, ueSchCmn, cellSchd, isEcp)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchCmnUlUe *ueUl;
-RgSchCmnUe *ueSchCmn;
-RgSchCmnCell *cellSchd;
-Bool isEcp;
-#endif
+static Void rgSCHCmnUpdUeUlCqiInfo(RgSchCellCb *cell,RgSchUeCb *ue,RgSchCmnUlUe *ueUl,RgSchCmnUe *ueSchCmn,RgSchCmnCell *cellSchd,Bool isEcp)
{
-
#ifdef TFU_UPGRADE
if(ue->srsCb.srsCfg.type == RGR_SCH_SRS_SETUP)
{
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHCmnUpdUeCatCfg
-(
-RgSchUeCb *ue,
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnUpdUeCatCfg(ue, cell)
-RgSchUeCb *ue;
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnUpdUeCatCfg(RgSchUeCb *ue,RgSchCellCb *cell)
{
RgSchDlHqEnt *hqE = NULLP;
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHCmnRgrUeRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeRecfg *ueRecfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHCmnRgrUeRecfg(cell, ue, ueRecfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHCmnRgrUeRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeRecfg *ueRecfg,RgSchErrInfo *err)
{
RgSchCmnCell *cellSchCmn = RG_SCH_CMN_GET_CELL(cell);
- uint32_t waitPer;
+ uint32_t waitPer;
/* Basic validations */
if (ueRecfg->ueRecfgTypes & RGR_UE_TXMODE_RECFG)
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHCmnUlUeDelAllocs
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHCmnUlUeDelAllocs(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHCmnUlUeDelAllocs(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHCmnDelUeFrmRefreshQ
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHCmnDelUeFrmRefreshQ(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHCmnDelUeFrmRefreshQ(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnCell *sched = RG_SCH_CMN_GET_CELL(cell);
CmTmrArg arg;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHCmnUeCcchSduDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ueCb
-)
-#else
-static Void rgSCHCmnUeCcchSduDel(cell, ueCb)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-#endif
+static Void rgSCHCmnUeCcchSduDel(RgSchCellCb *cell,RgSchUeCb *ueCb)
{
RgSchDlHqEnt *hqE = NULLP;
RgSchDlHqProcCb *ccchSduHqP = NULLP;
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnUeDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnUeDel(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnUeDel(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchDlHqEnt *hqE = NULLP;
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnDlCnsdrCmnRt
-(
-RgSchCellCb *cell,
-RgrDlCmnCodeRateCfg *dlCmnCodeRate
-)
-#else
-static S16 rgSCHCmnDlCnsdrCmnRt(cell, dlCmnCodeRate)
-RgSchCellCb *cell;
-RgrDlCmnCodeRateCfg *dlCmnCodeRate;
-#endif
+static S16 rgSCHCmnDlCnsdrCmnRt(RgSchCellCb *cell,RgrDlCmnCodeRateCfg *dlCmnCodeRate)
{
- RgSchCmnCell *cellDl = RG_SCH_CMN_GET_CELL(cell);
- uint32_t bitsPerRb;
- uint32_t bitsPer2Rb;
- uint32_t bitsPer3Rb;
- uint8_t i, rbNum;
- uint32_t pdcchBits;
+ RgSchCmnCell *cellDl = RG_SCH_CMN_GET_CELL(cell);
+ uint32_t bitsPerRb;
+ uint32_t bitsPer2Rb;
+ uint32_t bitsPer3Rb;
+ uint8_t i, rbNum;
+ uint32_t pdcchBits;
/* code rate is bits per 1024 phy bits, since modl'n scheme is 2. it is
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnDlRgrCellCfg
-(
-RgSchCellCb *cell,
-RgrCellCfg *cfg,
-RgSchErrInfo *err
-)
-#else
-static S16 rgSCHCmnDlRgrCellCfg(cell, cfg, err)
-RgSchCellCb *cell;
-RgrCellCfg *cfg;
-RgSchErrInfo *err;
-#endif
+static S16 rgSCHCmnDlRgrCellCfg(RgSchCellCb *cell,RgrCellCfg *cfg,RgSchErrInfo *err)
{
RgSchCmnCell *cellSch;
- uint8_t cp;
- uint8_t sfCount;
- uint8_t numPdcchSym;
- uint8_t noSymPerSlot;
- uint8_t maxDlSubfrms = cell->numDlSubfrms;
- uint8_t splSubfrmIdx = cfg->spclSfCfgIdx;
- uint8_t swPtCnt = 0;
+ uint8_t cp;
+ uint8_t sfCount;
+ uint8_t numPdcchSym;
+ uint8_t noSymPerSlot;
+ uint8_t maxDlSubfrms = cell->numDlSubfrms;
+ uint8_t splSubfrmIdx = cfg->spclSfCfgIdx;
+ uint8_t swPtCnt = 0;
Bool isSplfrm;
RgSchTddSubfrmInfo subfrmInfo = rgSchTddMaxUlSubfrmTbl[cell->ulDlCfgIdx];
S16 ret;
- uint8_t splSfIdx;
- uint8_t antPortIdx;
- uint8_t numCrs;
- uint8_t cfi;
- uint8_t cfiIdx;
+ uint8_t splSfIdx;
+ uint8_t antPortIdx;
+ uint8_t numCrs;
+ uint8_t cfi;
+ uint8_t cfiIdx;
RgSchDlSf *sf;
- uint8_t splSfCfi;
- uint8_t mPhich;
+ uint8_t splSfCfi;
+ uint8_t mPhich;
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnDlRgrCellCfg
-(
-RgSchCellCb *cell,
-RgrCellCfg *cfg,
-RgSchErrInfo *err
-)
-#else
-static S16 rgSCHCmnDlRgrCellCfg(cell, cfg, err)
-RgSchCellCb *cell;
-RgrCellCfg *cfg;
-RgSchErrInfo *err;
-#endif
+static S16 rgSCHCmnDlRgrCellCfg(RgSchCellCb *cell,RgrCellCfg *cfg,RgSchErrInfo *err)
{
- S16 ret;
- RgSchCmnCell *cellSch;
- uint8_t cp;
- uint8_t numPdcchSym;
- uint8_t noSymPerSlot;
- uint8_t cfi;
- uint8_t cfiIdx;
+ S16 ret;
+ RgSchCmnCell *cellSch;
+ uint8_t cp;
+ uint8_t numPdcchSym;
+ uint8_t noSymPerSlot;
+ uint8_t cfi;
+ uint8_t cfiIdx;
cellSch = RG_SCH_CMN_GET_CELL(cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-uint8_t rgSCHCmnUlCalcReqRbCeil
-(
-uint32_t bytes,
-uint8_t cqi,
-RgSchCmnUlCell *cellUl
-)
-#else
-uint8_t rgSCHCmnUlCalcReqRbCeil(bytes, cqi, cellUl)
-uint32_t bytes;
-uint8_t cqi;
-RgSchCmnUlCell *cellUl;
-#endif
+uint8_t rgSCHCmnUlCalcReqRbCeil(uint32_t bytes,uint8_t cqi,RgSchCmnUlCell *cellUl)
{
uint32_t numRe = RGSCH_CEIL((bytes * 8) * 1024, rgSchCmnUlCqiTbl[cqi].eff);
return ((uint8_t)RGSCH_CEIL(numRe, RG_SCH_CMN_UL_NUM_RE_PER_RB(cellUl)));
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHCmnPrecompMsg3Vars
-(
-RgSchCmnUlCell *cellUl,
-uint8_t ccchCqi,
-uint16_t msgSzA,
-uint8_t sbSize,
-Bool isEcp
-)
-#else
-static S16 rgSCHCmnPrecompMsg3Vars(cellUl, ccchCqi, msgSzA, sbSize, isEcp)
-RgSchCmnUlCell *cellUl;
-uint8_t ccchCqi;
-uint16_t msgSzA;
-uint8_t sbSize;
-Bool isEcp;
-#endif
+static S16 rgSCHCmnPrecompMsg3Vars(RgSchCmnUlCell *cellUl,uint8_t ccchCqi,uint16_t msgSzA,uint8_t sbSize,Bool isEcp)
{
- uint8_t numSb;
- uint8_t ccchTbs;
- uint8_t ccchMcs;
- uint8_t numRb = 0;
- uint8_t iTbs = 0;
- uint16_t msg3GrntSz = 0;
+ uint8_t numSb;
+ uint8_t ccchTbs;
+ uint8_t ccchMcs;
+ uint8_t numRb = 0;
+ uint8_t iTbs = 0;
+ uint16_t msg3GrntSz = 0;
if (ccchCqi > cellUl->max16qamCqi)
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHCmnUlCalcAvailBw
-(
-RgSchCellCb *cell,
-RgrCellCfg *cellCfg,
-uint8_t cfi,
-uint8_t *rbStartRef,
-uint8_t *bwAvailRef
-)
-#else
-static S16 rgSCHCmnUlCalcAvailBw(cell, cellCfg, cfi, rbStartRef, bwAvailRef)
-RgSchCellCb *cell;
-RgrCellCfg *cellCfg;
-uint8_t cfi;
-uint8_t *rbStartRef;
-uint8_t *bwAvailRef;
-#endif
+static S16 rgSCHCmnUlCalcAvailBw(RgSchCellCb *cell,RgrCellCfg *cellCfg,uint8_t cfi,uint8_t *rbStartRef,uint8_t *bwAvailRef)
{
uint8_t c = 3;
uint8_t ulBw = cell->bwCfg.ulTotalBw;
uint8_t pucchDeltaShft = cell->pucchCfg.deltaShift;
uint16_t n1Pucch = cell->pucchCfg.n1PucchAn;
uint8_t n1Cs = cell->pucchCfg.cyclicShift;
-
uint8_t n1PerRb;
uint8_t totalCce;
uint16_t n1Max;
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHCmnUlCalcAvailBw
-(
-RgSchCellCb *cell,
-RgrCellCfg *cellCfg,
-uint8_t cfi,
-uint8_t *rbStartRef,
-uint8_t *bwAvailRef
-)
-#else
-static S16 rgSCHCmnUlCalcAvailBw(cell, cellCfg, cfi, rbStartRef, bwAvailRef)
-RgSchCellCb *cell;
-RgrCellCfg *cellCfg;
-uint8_t cfi;
-uint8_t *rbStartRef;
-uint8_t *bwAvailRef;
-#endif
+static S16 rgSCHCmnUlCalcAvailBw(RgSchCellCb *cell,RgrCellCfg *cellCfg,uint8_t cfi,uint8_t *rbStartRef,uint8_t *bwAvailRef)
{
uint8_t c = 3;
uint8_t ulBw = cell->bwCfg.ulTotalBw;
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHCmnUlCellInit
-(
- RgSchCellCb *cell,
- RgrCellCfg *cellCfg
- )
-#else
-static S16 rgSCHCmnUlCellInit(cell, cellCfg)
- RgSchCellCb *cell;
- RgrCellCfg *cellCfg;
-#endif
+static S16 rgSCHCmnUlCellInit(RgSchCellCb *cell,RgrCellCfg *cellCfg)
{
S16 ret;
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
- uint8_t maxUePerUlSf = cellCfg->maxUePerUlSf;
+ uint8_t maxUePerUlSf = cellCfg->maxUePerUlSf;
#ifdef RGR_V1
/* Added configuration for maximum number of MSG3s */
- uint8_t maxMsg3PerUlSf = cellCfg->maxMsg3PerUlSf;
-#endif
- uint8_t maxUlBwPerUe = cellCfg->maxUlBwPerUe;
- uint8_t sbSize = cellCfg->puschSubBand.size;
- uint8_t i;
- uint8_t rbStart;
- uint8_t bwAvail;
- uint8_t cfi;
- uint8_t maxSbPerUe;
- uint8_t numSb;
+ uint8_t maxMsg3PerUlSf = cellCfg->maxMsg3PerUlSf;
+#endif
+ uint8_t maxUlBwPerUe = cellCfg->maxUlBwPerUe;
+ uint8_t sbSize = cellCfg->puschSubBand.size;
+ uint8_t i;
+ uint8_t rbStart;
+ uint8_t bwAvail;
+ uint8_t cfi;
+ uint8_t maxSbPerUe;
+ uint8_t numSb;
#ifdef LTE_TDD
- uint16_t ulDlCfgIdx = cell->ulDlCfgIdx;
+ uint16_t ulDlCfgIdx = cell->ulDlCfgIdx;
/* [ccpu00127294]-MOD-Change the max Ul subfrms size in TDD */
- uint8_t maxSubfrms = 2 * rgSchTddNumUlSf[ulDlCfgIdx];
- uint8_t ulToDlMap[12] = {0}; /* maximum 6 Subframes in UL * 2 */
- uint8_t maxUlsubfrms = rgSchTddNumUlSubfrmTbl[ulDlCfgIdx]\
+ uint8_t maxSubfrms = 2 * rgSchTddNumUlSf[ulDlCfgIdx];
+ uint8_t ulToDlMap[12] = {0}; /* maximum 6 Subframes in UL * 2 */
+ uint8_t maxUlsubfrms = rgSchTddNumUlSubfrmTbl[ulDlCfgIdx]\
[RGSCH_NUM_SUB_FRAMES-1];
- uint16_t subfrm;
- S8 dlIdx;
+ uint16_t subfrm;
+ S8 dlIdx;
#else
- uint8_t maxSubfrms = RG_SCH_CMN_UL_NUM_SF;
+ uint8_t maxSubfrms = RG_SCH_CMN_UL_NUM_SF;
#endif
#ifdef LTE_L2_MEAS
- uint8_t idx;
+ uint8_t idx;
#endif
uint8_t iTbs;
#if (defined(LTE_L2_MEAS) )
- Inst inst = cell->instIdx;
+ Inst inst = cell->instIdx;
#endif /* #if (defined(LTE_L2_MEAS) || defined(DEBUGP) */
RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHCmnRgrCellCfg
-(
-RgSchCellCb *cell,
-RgrCellCfg *cellCfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHCmnRgrCellCfg(cell, cellCfg, err)
-RgSchCellCb *cell;
-RgrCellCfg *cellCfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHCmnRgrCellCfg(RgSchCellCb *cell,RgrCellCfg *cellCfg,RgSchErrInfo *err)
{
- S16 ret;
+ S16 ret;
RgSchCmnCell *cellSch;
/* As part of RGR cell configuration, validate the CRGCellCfg
* @return Void
*
**/
-#ifdef ANSI
-S16 rgSCHCmnRgrCellRecfg
-(
-RgSchCellCb *cell,
-RgrCellRecfg *recfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHCmnRgrCellRecfg(cell, recfg, err)
-RgSchCellCb *cell;
-RgrCellRecfg *recfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHCmnRgrCellRecfg(RgSchCellCb *cell,RgrCellRecfg *recfg,RgSchErrInfo *err)
{
S16 ret;
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHCmnUlCellDeinit
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnUlCellDeinit(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnUlCellDeinit(RgSchCellCb *cell)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
- uint8_t ulSfIdx;
+ uint8_t ulSfIdx;
#ifdef LTE_TDD
uint8_t maxSubfrms = cellUl->numUlSubfrms;
#endif
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnCellDel
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHCmnCellDel(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHCmnCellDel(RgSchCellCb *cell)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnValidateDlQos
-(
-RgrLchQosCfg *dlQos
-)
-#else
-static S16 rgSCHCmnValidateDlQos(dlQos)
-RgrLchQosCfg *dlQos;
-#endif
+static S16 rgSCHCmnValidateDlQos(RgrLchQosCfg *dlQos)
{
uint8_t qci = dlQos->qci;
-
-
if ( qci < RG_SCH_CMN_MIN_QCI || qci > RG_SCH_CMN_MAX_QCI )
{
return RFAILED;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCmnRgrLchCfg
(
RgSchCellCb *cell,
RgrLchCfg *lcCfg,
RgSchErrInfo *err
)
-#else
-S16 rgSCHCmnRgrLchCfg(cell, ue, dlLc, lcCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *dlLc;
-RgrLchCfg *lcCfg;
-RgSchErrInfo *err;
-#endif
{
S16 ret;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCmnRgrLchRecfg
(
RgSchCellCb *cell,
RgrLchRecfg *lcRecfg,
RgSchErrInfo *err
)
-#else
-S16 rgSCHCmnRgrLchRecfg(cell, ue, dlLc, lcRecfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *dlLc;
-RgrLchRecfg *lcRecfg;
-RgSchErrInfo *err;
-#endif
{
S16 ret;
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCmnRgrLcgCfg
(
RgSchCellCb *cell,
RgrLcgCfg *lcgCfg,
RgSchErrInfo *err
)
-#else
-S16 rgSCHCmnRgrLcgCfg(cell, ue, lcg, lcgCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchLcgCb *lcg;
-RgrLcgCfg *lcgCfg;
-RgSchErrInfo *err;
-#endif
{
S16 ret;
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCmnRgrLcgRecfg
(
RgSchCellCb *cell,
RgrLcgRecfg *reCfg,
RgSchErrInfo *err
)
-#else
-S16 rgSCHCmnRgrLcgRecfg(cell, ue, lcg, reCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchLcgCb *lcg;
-RgrLcgRecfg *reCfg;
-RgSchErrInfo *err;
-#endif
{
S16 ret;
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
*
* File :
**********************************************************/
-#ifdef ANSI
-S16 rgSCHCmnRgrLchDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteLcId lcId,
-uint8_t lcgId
-)
-#else
-S16 rgSCHCmnRgrLchDel(cell, ue, lcId, lcgId)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteLcId lcId;
-uint8_t lcgId;
-#endif
+S16 rgSCHCmnRgrLchDel(RgSchCellCb *cell,RgSchUeCb *ue,CmLteLcId lcId,uint8_t lcgId)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
#ifdef EMTC_ENABLE
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCmnLcgDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchLcgCb *lcg
-)
-#else
-Void rgSCHCmnLcgDel(cell, ue, lcg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchLcgCb *lcg;
-#endif
+Void rgSCHCmnLcgDel(RgSchCellCb *cell,RgSchUeCb *ue,RgSchLcgCb *lcg)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnLcg *lcgCmn = RG_SCH_CMN_GET_UL_LCG(lcg);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnFreeDlLc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-Void rgSCHCmnFreeDlLc(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+Void rgSCHCmnFreeDlLc(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
if (svc->sch == NULLP)
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlCcchSduRetxFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlCcchSduRetxFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlCcchSduRetxFnlz(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
CmLList *node;
RgSchCmnDlCell *cmnCellDl = RG_SCH_CMN_GET_DL_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlCcchRetxFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlCcchRetxFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlCcchRetxFnlz(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
CmLList *node;
RgSchCmnDlCell *cmnCellDl = RG_SCH_CMN_GET_DL_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlCcchSduTxFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlCcchSduTxFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlCcchSduTxFnlz(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
CmLList *node;
RgSchUeCb *ueCb;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlCcchTxFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlCcchTxFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlCcchTxFnlz(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
CmLList *node;
RgSchRaCb *raCb;
* @return uint8_t
*
**/
-#ifdef ANSI
-uint8_t rgSCHCmnGetBiIndex
-(
-RgSchCellCb *cell,
-uint32_t ueCount
-)
-#else
-uint8_t rgSCHCmnGetBiIndex(cell, ueCount)
-RgSchCellCb *cell;
-uint32_t ueCount;
-#endif
+uint8_t rgSCHCmnGetBiIndex(RgSchCellCb *cell,uint32_t ueCount)
{
S16 prevVal = 0; /* To Store Intermediate Value */
uint16_t newBiVal = 0; /* To store Bi Value in millisecond */
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlRaRspFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlRaRspFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlRaRspFnlz(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
- uint32_t rarCnt = 0;
+ uint32_t rarCnt = 0;
RgSchDlRbAlloc *raRspAlloc;
RgSchDlSf *subFrm = NULLP;
RgSchRaCb *raCb;
Bool preamGrpA;
RgSchUlAlloc *ulAllocRef=NULLP;
RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
- uint8_t allocRapidCnt = 0;
+ uint8_t allocRapidCnt = 0;
#ifdef LTE_TDD
- uint32_t msg3SchdIdx = 0;
- uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
- uint8_t msg3Subfrm;
+ uint32_t msg3SchdIdx = 0;
+ uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
+ uint8_t msg3Subfrm;
#endif
* @param[in] uint16_t i
* @return uint8_t
*
- **/
-#ifdef ANSI
-static uint8_t rgSCHCmnDlCalcRvForBcch
-(
-RgSchCellCb *cell,
-Bool si,
-uint16_t i
-)
-#else
-static uint8_t rgSCHCmnDlCalcRvForBcch(cell, si, i)
-RgSchCellCb *cell;
-Bool si;
-uint16_t i;
-#endif
+ **/
+static uint8_t rgSCHCmnDlCalcRvForBcch(RgSchCellCb *cell,Bool si,uint16_t i)
{
uint8_t k, rv;
CmLteTimingInfo frm;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlBcchPcchFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlBcchPcchFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlBcchPcchFnlz(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
RgSchDlRbAlloc *rbAllocInfo;
RgSchDlSf *subFrm;
#ifdef LTE_TDD
- uint8_t nextSfIdx = (cell->crntSfIdx) % RGSCH_SF_ALLOC_SIZE;
+ uint8_t nextSfIdx = (cell->crntSfIdx) % RGSCH_SF_ALLOC_SIZE;
#else
#ifdef LTEMAC_HDFDD
- uint8_t nextSfIdx = (cell->crntSfIdx + RG_SCH_CMN_HARQ_INTERVAL) % RGSCH_NUM_SUB_FRAMES;
+ uint8_t nextSfIdx = (cell->crntSfIdx + RG_SCH_CMN_HARQ_INTERVAL) % RGSCH_NUM_SUB_FRAMES;
#else
- uint8_t nextSfIdx = (cell->crntSfIdx) % RGSCH_NUM_SUB_FRAMES;
+ uint8_t nextSfIdx = (cell->crntSfIdx) % RGSCH_NUM_SUB_FRAMES;
#endif
#endif
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnUlSetAllUnSched
-(
-RgSchCmnUlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnUlSetAllUnSched(allocInfo)
-RgSchCmnUlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnUlSetAllUnSched(RgSchCmnUlRbAllocInfo *allocInfo)
{
CmLList *node;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnUlAdd2CntResLst
-(
-RgSchCmnUlRbAllocInfo *allocInfo,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnUlAdd2CntResLst(allocInfo, ue)
-RgSchCmnUlRbAllocInfo *allocInfo;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnUlAdd2CntResLst(RgSchCmnUlRbAllocInfo *allocInfo,RgSchUeCb *ue)
{
RgSchCmnUeUlAlloc *ulAllocInfo = &((RG_SCH_CMN_GET_UL_UE(ue,ue->cell))->alloc);
cmLListAdd2Tail(&allocInfo->contResLst, &ulAllocInfo->reqLnk);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnUlAdd2UeLst
-(
-RgSchCellCb *cell,
-RgSchCmnUlRbAllocInfo *allocInfo,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnUlAdd2UeLst(cell, allocInfo, ue)
-RgSchCellCb *cell;
-RgSchCmnUlRbAllocInfo *allocInfo;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnUlAdd2UeLst(RgSchCellCb *cell,RgSchCmnUlRbAllocInfo *allocInfo,RgSchUeCb *ue)
{
RgSchCmnUeUlAlloc *ulAllocInfo = &((RG_SCH_CMN_GET_UL_UE(ue,cell))->alloc);
if (ulAllocInfo->reqLnk.node == NULLP)
* @param[in] RgSchCmnUlRbAllocInfo *allocInfo
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnAllocUlRb
-(
-RgSchCellCb *cell,
-RgSchCmnUlRbAllocInfo *allocInfo
-)
-#else
-Void rgSCHCmnAllocUlRb(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnUlRbAllocInfo *allocInfo;
-#endif
+Void rgSCHCmnAllocUlRb(RgSchCellCb *cell,RgSchCmnUlRbAllocInfo *allocInfo)
{
RgSchUlSf *sf = allocInfo->sf;
* File :
*
**********************************************************/
-#ifdef ANSI
static Void rgSCHCmnUlRbAllocForLst
(
-RgSchCellCb *cell,
-RgSchUlSf *sf,
-uint32_t count,
-CmLListCp *reqLst,
-CmLListCp *schdLst,
-CmLListCp *nonSchdLst,
-Bool isNewTx
+RgSchCellCb *cell,
+RgSchUlSf *sf,
+uint32_t count,
+CmLListCp *reqLst,
+CmLListCp *schdLst,
+CmLListCp *nonSchdLst,
+Bool isNewTx
)
-#else
-static Void rgSCHCmnUlRbAllocForLst(cell, sf, count, reqLst, schdLst,
- nonSchdLst, isNewTx)
-RgSchCellCb *cell;
-RgSchUlSf *sf;
-uint32_t count;
-CmLListCp *reqLst;
-CmLListCp *schdLst;
-CmLListCp *nonSchdLst;
-Bool isNewTx;
-#endif
{
CmLList *lnk;
RgSchUlHole *hole;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCmnUlMdfyGrntForCqi
(
RgSchCellCb *cell,
RgSchUeCb *ue,
-uint32_t maxRb,
-uint32_t *numSb,
-uint8_t *iTbs,
-uint32_t hqSz,
-uint32_t stepDownItbs,
-uint32_t effTgt
+uint32_t maxRb,
+uint32_t *numSb,
+uint8_t *iTbs,
+uint32_t hqSz,
+uint32_t stepDownItbs,
+uint32_t effTgt
)
-#else
-static S16 rgSCHCmnUlMdfyGrntForCqi(cell, ue, maxRb, numSb, iTbs, hqSz, stepDownItbs, effTgt)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint32_t maxRb;
-uint32_t *numSb;
-uint8_t *iTbs;
-uint32_t hqSz;
-uint32_t stepDownItbs;
-uint32_t effTgt;
-#endif
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(ue->cell);
uint32_t nPrb;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCmnUlRbAllocForUe
(
-RgSchCellCb *cell,
-RgSchUlSf *sf,
-RgSchUeCb *ue,
-uint8_t maxRb,
-RgSchUlHole *hole
+RgSchCellCb *cell,
+RgSchUlSf *sf,
+RgSchUeCb *ue,
+uint8_t maxRb,
+RgSchUlHole *hole
)
-#else
-static S16 rgSCHCmnUlRbAllocForUe(cell, sf, ue, maxRb, hole)
-RgSchCellCb *cell;
-RgSchUlSf *sf;
-RgSchUeCb *ue;
-uint8_t maxRb;
-RgSchUlHole *hole;
-#endif
{
- RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
- RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
- RgSchUlAlloc *alloc = NULLP;
- uint32_t nPrb = 0;
- uint8_t numVrbg;
- uint8_t iMcs;
- uint8_t iMcsCrnt;
+ RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
+ RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
+ RgSchUlAlloc *alloc = NULLP;
+ uint32_t nPrb = 0;
+ uint8_t numVrbg;
+ uint8_t iMcs;
+ uint8_t iMcsCrnt;
#ifndef RG_5GTF
RgSchUlHqProcCb *proc = &ueUl->hqEnt.hqProcCb[cellUl->schdHqProcIdx];
#else
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHCmnUlRbAllocAddUeToLst
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLListCp *lst
-)
-#else
-Void rgSCHCmnUlRbAllocAddUeToLst(cell, ue, lst)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLListCp *lst;
-#endif
+Void rgSCHCmnUlRbAllocAddUeToLst(RgSchCellCb *cell,RgSchUeCb *ue,CmLListCp *lst)
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
UNUSED(cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnUlAllocFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnUlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnUlAllocFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnUlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnUlAllocFnlz(RgSchCellCb *cell,RgSchCmnUlRbAllocInfo *allocInfo)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnDlAllocFnlz
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHCmnDlAllocFnlz(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHCmnDlAllocFnlz(RgSchCellCb *cell)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnDlRbAllocInfo *allocInfo = &cellSch->allocInfo;
* @param[in] RgSchUlSf *sf
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnUlUpdSf
-(
-RgSchCellCb *cell,
-RgSchCmnUlRbAllocInfo *allocInfo,
-RgSchUlSf *sf
-)
-#else
-static Void rgSCHCmnUlUpdSf(cell, allocInfo, sf)
-RgSchCellCb *cell;
-RgSchCmnUlRbAllocInfo *allocInfo;
-RgSchUlSf *sf;
-#endif
+static Void rgSCHCmnUlUpdSf(RgSchCellCb *cell,RgSchCmnUlRbAllocInfo *allocInfo,RgSchUlSf *sf)
{
CmLList *lnk;
* @param[in] RgSchUlAlloc *alloc
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnUlHndlAllocRetx
-(
-RgSchCellCb *cell,
-RgSchCmnUlRbAllocInfo *allocInfo,
-RgSchUlSf *sf,
-RgSchUlAlloc *alloc
-)
-#else
-static Void rgSCHCmnUlHndlAllocRetx(cell, allocInfo, sf, alloc)
-RgSchCellCb *cell;
-RgSchCmnUlRbAllocInfo *allocInfo;
-RgSchUlSf *sf;
-RgSchUlAlloc *alloc;
-#endif
+static Void rgSCHCmnUlHndlAllocRetx(RgSchCellCb *cell,RgSchCmnUlRbAllocInfo *allocInfo,RgSchUlSf *sf,RgSchUlAlloc *alloc)
{
- uint32_t bytes;
+ uint32_t bytes;
RgSchCmnUlUe *ueUl;
bytes = \
rgTbSzTbl[0][rgSCHCmnUlGetITbsFrmIMcs(alloc->grnt.iMcs)]\
* @return Void
**/
/* ccpu00132653- The definition of this function made common for TDD and FDD*/
-#ifdef ANSI
-static Void rgSCHCmnUlAlloc
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnUlAlloc(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnUlAlloc(RgSchCellCb *cell)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnSndCnsldtInfo
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHCmnSndCnsldtInfo(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHCmnSndCnsldtInfo(RgSchCellCb *cell)
{
- RgInfSfAlloc *subfrmAlloc;
- Pst pst;
- RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
+ RgInfSfAlloc *subfrmAlloc;
+ Pst pst;
+ RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
subfrmAlloc = &(cell->sfAllocArr[cell->crntSfIdx]);
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnCnsldtSfAlloc
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHCmnCnsldtSfAlloc(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHCmnCnsldtSfAlloc(RgSchCellCb *cell)
{
- RgInfSfAlloc *subfrmAlloc;
- CmLteTimingInfo frm;
- RgSchDlSf *dlSf;
- CmLListCp dlDrxInactvTmrLst;
- CmLListCp dlInActvLst;
- CmLListCp ulInActvLst;
- RgSchCmnCell *cellSch = NULLP;
+ RgInfSfAlloc *subfrmAlloc;
+ CmLteTimingInfo frm;
+ RgSchDlSf *dlSf;
+ CmLListCp dlDrxInactvTmrLst;
+ CmLListCp dlInActvLst;
+ CmLListCp ulInActvLst;
+ RgSchCmnCell *cellSch = NULLP;
cmLListInit(&dlDrxInactvTmrLst);
* @param[out] RgSchCmnDlRbAllocInfo *allocInfo
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnInitDlRbAllocInfo
-(
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnInitDlRbAllocInfo(allocInfo)
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnInitDlRbAllocInfo(RgSchCmnDlRbAllocInfo *allocInfo)
{
memset(&allocInfo->pcchAlloc, 0, sizeof(RgSchDlRbAlloc));
memset(&allocInfo->bcchAlloc, 0, sizeof(RgSchDlRbAlloc));
* @param[out] RgSchCmnUlRbAllocInfo *allocInfo
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnInitUlRbAllocInfo
-(
-RgSchCmnUlRbAllocInfo *allocInfo
-)
-#else
-Void rgSCHCmnInitUlRbAllocInfo(allocInfo)
-RgSchCmnUlRbAllocInfo *allocInfo;
-#endif
+Void rgSCHCmnInitUlRbAllocInfo(RgSchCmnUlRbAllocInfo *allocInfo)
{
allocInfo->sf = NULLP;
cmLListInit(&allocInfo->contResLst);
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnGrpPwrCntrlPucch
-(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf
-)
-#else
-static Void rgSCHCmnGrpPwrCntrlPucch(cell, dlSf)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-#endif
+static Void rgSCHCmnGrpPwrCntrlPucch(RgSchCellCb *cell,RgSchDlSf *dlSf)
{
-
rgSCHPwrGrpCntrlPucch(cell, dlSf);
-
return;
}
* @param[in] RgSchUlSf *ulSf
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnGrpPwrCntrlPusch
-(
-RgSchCellCb *cell,
-RgSchUlSf *ulSf
-)
-#else
-static Void rgSCHCmnGrpPwrCntrlPusch(cell, ulSf)
-RgSchCellCb *cell;
-RgSchUlSf *ulSf;
-#endif
+static Void rgSCHCmnGrpPwrCntrlPusch(RgSchCellCb *cell,RgSchUlSf *ulSf)
{
/*removed unused variable *cellSch*/
CmLteTimingInfo frm;
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHCmnApplyUeRefresh
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static S16 rgSCHCmnApplyUeRefresh(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static S16 rgSCHCmnApplyUeRefresh(RgSchCellCb *cell,RgSchUeCb *ue)
{
- RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- uint32_t effGbrBsr = 0;
- uint32_t effNonGbrBsr = 0;
- uint32_t lcgId;
+ RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
+ uint32_t effGbrBsr = 0;
+ uint32_t effNonGbrBsr = 0;
+ uint32_t lcgId;
/* Reset the refresh cycle variableCAP */
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCmnTmrExpiry
(
PTR cb, /* Pointer to timer control block */
S16 tmrEvnt /* Timer Event */
)
-#else
-static S16 rgSCHCmnTmrExpiry(cb, tmrEvnt)
-PTR cb; /* Pointer to timer control block */
-S16 tmrEvnt; /* Timer Event */
-#endif
{
RgSchUeCb *ue = (RgSchUeCb *)cb;
RgSchCellCb *cell = ue->cell;
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHCmnTmrProc
-(
-RgSchCellCb *cell
-)
-#else
-static S16 rgSCHCmnTmrProc(cell)
-RgSchCellCb *cell;
-#endif
+static S16 rgSCHCmnTmrProc(RgSchCellCb *cell)
{
RgSchCmnDlCell *cmnDlCell = RG_SCH_CMN_GET_DL_CELL(cell);
RgSchCmnUlCell *cmnUlCell = RG_SCH_CMN_GET_UL_CELL(cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSchCmnUpdCfiVal
-(
-RgSchCellCb *cell,
-uint8_t delta
-)
-#else
-static Void rgSchCmnUpdCfiVal(cell, delta)
-RgSchCellCb *cell;
-uint8_t delta;
-#endif
+static Void rgSchCmnUpdCfiVal(RgSchCellCb *cell,uint8_t delta)
{
RgSchDlSf *dlSf;
CmLteTimingInfo pdsch;
- RgSchCmnDlCell *cellCmnDl = RG_SCH_CMN_GET_DL_CELL(cell);
- uint8_t dlIdx;
+ RgSchCmnDlCell *cellCmnDl = RG_SCH_CMN_GET_DL_CELL(cell);
+ uint8_t dlIdx;
#ifdef LTE_TDD
- uint8_t mPhich;
+ uint8_t mPhich;
RgSchDlSf *tddSf;
- uint8_t idx;
- uint8_t splSfCfi = 0;
+ uint8_t idx;
+ uint8_t splSfCfi = 0;
#endif
*
**********************************************************/
#ifdef LTE_TDD
-#ifdef ANSI
-static Void rgSchCmnUpdtPdcchSfIdx
-(
-RgSchCellCb *cell,
-uint8_t dlIdx,
-uint8_t sfNum
-)
-#else
-static Void rgSchCmnUpdtPdcchSfIdx(cell, dlIdx, sfNum)
-RgSchCellCb *cell;
-uint8_t dlIdx;
-uint8_t sfNum;
-#endif
-#else
-#ifdef ANSI
-static Void rgSchCmnUpdtPdcchSfIdx
-(
-RgSchCellCb *cell,
-uint8_t dlIdx
-)
+static Void rgSchCmnUpdtPdcchSfIdx(RgSchCellCb *cell,uint8_t dlIdx,uint8_t sfNum)
#else
-static Void rgSchCmnUpdtPdcchSfIdx(cell, dlIdx)
-RgSchCellCb *cell;
-uint8_t dlIdx;
-#endif
+static Void rgSchCmnUpdtPdcchSfIdx(RgSchCellCb *cell,uint8_t dlIdx)
#endif
{
- uint8_t idx;
+ uint8_t idx;
/* Resetting the parameters on CFI switching */
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSchCmnUpdCfiDb
-(
-RgSchCellCb *cell,
-uint8_t delta
-)
-#else
-Void rgSchCmnUpdCfiDb(cell, delta)
-RgSchCellCb *cell;
-uint8_t delta;
-#endif
+Void rgSchCmnUpdCfiDb(RgSchCellCb *cell,uint8_t delta)
{
- CmLteTimingInfo frm;
- RgSchDlSf *dlSf;
+ CmLteTimingInfo frm;
+ RgSchDlSf *dlSf;
#ifdef LTE_TDD
- uint8_t mPhich;
- Bool isHiDci0;
+ uint8_t mPhich;
+ Bool isHiDci0;
#endif
- RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- uint8_t nCceLowerCfi = 0;
- uint8_t currCfi;
- uint8_t cceFailIdx;
- uint32_t totalCce;
- uint8_t dlIdx;
- uint16_t ttiMod;
+ RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
+ uint8_t nCceLowerCfi = 0;
+ uint8_t currCfi;
+ uint8_t cceFailIdx;
+ uint32_t totalCce;
+ uint8_t dlIdx;
+ uint16_t ttiMod;
/* Get Downlink Subframe */
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnDlCommonChSch
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHCmnDlCommonChSch(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHCmnDlCommonChSch(RgSchCellCb *cell)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnUlSch
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHCmnUlSch(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHCmnUlSch(RgSchCellCb *cell)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnDlDedBoUpd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-Void rgSCHCmnDlDedBoUpd(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+Void rgSCHCmnDlDedBoUpd(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnRmvFrmTaLst
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnRmvFrmTaLst(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnRmvFrmTaLst(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnDlCell *cellCmnDl = RG_SCH_CMN_GET_DL_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnDlMsg4ProcRmvFrmRetx
-(
-RgSchCellCb *cell,
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHCmnDlMsg4ProcRmvFrmRetx(cell, hqP)
-RgSchCellCb *cell;
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHCmnDlMsg4ProcRmvFrmRetx(RgSchCellCb *cell,RgSchDlHqProcCb *hqP)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnDlProcAddToRetx
-(
-RgSchCellCb *cell,
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHCmnDlProcAddToRetx(cell, hqP)
-RgSchCellCb *cell;
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHCmnDlProcAddToRetx(RgSchCellCb *cell,RgSchDlHqProcCb *hqP)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlSetUeRi
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t ri,
-Bool isPer
-)
-#else
-static Void rgSCHCmnDlSetUeRi(cell, ue, ri, isPer)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t ri;
-Bool isPer;
-#endif
+static Void rgSCHCmnDlSetUeRi(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t ri,Bool isPer)
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
- RgSchCmnUeInfo *ueSchCmn = RG_SCH_CMN_GET_CMN_UE(ue);
+ RgSchCmnUeInfo *ueSchCmn = RG_SCH_CMN_GET_CMN_UE(ue);
#ifdef TFU_UPGRADE
RgSchUePCqiCb *cqiCb = RG_SCH_GET_UE_CELL_CQI_CB(ue,cell);
* @return Void
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnDlSetUePmi
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t pmi
-)
-#else
-static S16 rgSCHCmnDlSetUePmi(cell, ue, pmi)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t pmi;
-#endif
+static S16 rgSCHCmnDlSetUePmi(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t pmi)
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* -# RFAILED
**/
#ifdef RGR_CQI_REPT
-#ifdef ANSI
static inline Void rgSCHCmnDlProcCqiMode10
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuDlCqiPucch *pucchCqi,
- Bool *isCqiAvail
- )
-#else
-static inline Void rgSCHCmnDlProcCqiMode10(cell, ue, pucchCqi, isCqiAvail)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuDlCqiPucch *pucchCqi;
- Bool *isCqiAvail;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuDlCqiPucch *pucchCqi,
+Bool *isCqiAvail
+)
#else
-#ifdef ANSI
static inline Void rgSCHCmnDlProcCqiMode10
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuDlCqiPucch *pucchCqi
- )
-#else
-static inline Void rgSCHCmnDlProcCqiMode10(cell, ue, pucchCqi)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuDlCqiPucch *pucchCqi;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuDlCqiPucch *pucchCqi
+)
#endif
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* -# RFAILED
**/
#ifdef RGR_CQI_REPT
-#ifdef ANSI
static inline Void rgSCHCmnDlProcCqiMode11
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuDlCqiPucch *pucchCqi,
- Bool *isCqiAvail,
- Bool *is2ndCwCqiAvail
- )
-#else
-static inline Void rgSCHCmnDlProcCqiMode11(cell, ue, pucchCqi, isCqiAvail, is2ndCwCqiAvail)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuDlCqiPucch *pucchCqi;
- Bool *isCqiAvail;
- Bool *is2ndCwCqiAvail;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuDlCqiPucch *pucchCqi,
+Bool *isCqiAvail,
+Bool *is2ndCwCqiAvail
+)
#else
-#ifdef ANSI
static inline Void rgSCHCmnDlProcCqiMode11
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuDlCqiPucch *pucchCqi
- )
-#else
-static inline Void rgSCHCmnDlProcCqiMode11(cell, ue, pucchCqi)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuDlCqiPucch *pucchCqi;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuDlCqiPucch *pucchCqi
+)
#endif
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* -# RFAILED
**/
#ifdef RGR_CQI_REPT
-#ifdef ANSI
static inline Void rgSCHCmnDlProcCqiMode20
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuDlCqiPucch *pucchCqi,
- Bool *isCqiAvail
- )
-#else
-static inline Void rgSCHCmnDlProcCqiMode20(cell, ue, pucchCqi, isCqiAvail )
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuDlCqiPucch *pucchCqi;
- Bool *isCqiAvail;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuDlCqiPucch *pucchCqi,
+Bool *isCqiAvail
+)
#else
-#ifdef ANSI
static inline Void rgSCHCmnDlProcCqiMode20
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuDlCqiPucch *pucchCqi
- )
-#else
-static inline Void rgSCHCmnDlProcCqiMode20(cell, ue, pucchCqi)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuDlCqiPucch *pucchCqi;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuDlCqiPucch *pucchCqi
+)
#endif
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* -# RFAILED
**/
#ifdef RGR_CQI_REPT
-#ifdef ANSI
static inline Void rgSCHCmnDlProcCqiMode21
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuDlCqiPucch *pucchCqi,
- Bool *isCqiAvail,
- Bool *is2ndCwCqiAvail
- )
-#else
-static inline Void rgSCHCmnDlProcCqiMode21(cell, ue, pucchCqi, isCqiAvail, is2ndCwCqiAvail)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuDlCqiPucch *pucchCqi;
- TfuDlCqiRpt *dlCqiRpt;
- Bool *isCqiAvail;
- Bool *is2ndCwCqiAvail;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuDlCqiPucch *pucchCqi,
+Bool *isCqiAvail,
+Bool *is2ndCwCqiAvail
+)
#else
-#ifdef ANSI
static inline Void rgSCHCmnDlProcCqiMode21
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuDlCqiPucch *pucchCqi
- )
-#else
-static inline Void rgSCHCmnDlProcCqiMode21(cell, ue, pucchCqi)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuDlCqiPucch *pucchCqi;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuDlCqiPucch *pucchCqi
+)
#endif
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* -# RFAILED
**/
#ifdef RGR_CQI_REPT
-#ifdef ANSI
static Void rgSCHCmnDlCqiOnPucchInd
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuDlCqiPucch *pucchCqi,
- RgrUeCqiRept *ueCqiRept,
- Bool *isCqiAvail,
- Bool *is2ndCwCqiAvail
- )
-#else
-static Void rgSCHCmnDlCqiOnPucchInd(cell, ue, pucchCqi, ueCqiRept, isCqiAvail, is2ndCwCqiAvail)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuDlCqiPucch *pucchCqi;
- RgrUeCqiRept *ueCqiRept;
- Bool *isCqiAvail;
- Bool *is2ndCwCqiAvail;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuDlCqiPucch *pucchCqi,
+RgrUeCqiRept *ueCqiRept,
+Bool *isCqiAvail,
+Bool *is2ndCwCqiAvail
+)
#else
-#ifdef ANSI
static Void rgSCHCmnDlCqiOnPucchInd
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuDlCqiPucch *pucchCqi
- )
-#else
-static Void rgSCHCmnDlCqiOnPucchInd(cell, ue, pucchCqi)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuDlCqiPucch *pucchCqi;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuDlCqiPucch *pucchCqi
+)
#endif
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* -# RFAILED
**/
#ifdef RGR_CQI_REPT
-#ifdef ANSI
static Void rgSCHCmnDlCqiOnPuschInd
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuDlCqiPusch *puschCqi,
- RgrUeCqiRept *ueCqiRept,
- Bool *isCqiAvail,
- Bool *is2ndCwCqiAvail
- )
-#else
-static Void rgSCHCmnDlCqiOnPuschInd(cell, ue, puschCqi, ueCqiRept, isCqiAvail, is2ndCwCqiAvail)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuDlCqiPusch *puschCqi;
- RgrUeCqiRept *ueCqiRept;
- Bool *isCqiAvail;
- Bool *is2ndCwCqiAvail;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuDlCqiPusch *puschCqi,
+RgrUeCqiRept *ueCqiRept,
+Bool *isCqiAvail,
+Bool *is2ndCwCqiAvail
+)
#else
-#ifdef ANSI
static Void rgSCHCmnDlCqiOnPuschInd
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuDlCqiPusch *puschCqi
- )
-#else
-static Void rgSCHCmnDlCqiOnPuschInd(cell, ue, puschCqi)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuDlCqiPusch *puschCqi;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuDlCqiPusch *puschCqi
+)
#endif
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* @return Void
*
**/
-#ifdef ANSI
Void rgSCHCmnDlCqiInd
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-Bool isPucchInfo,
-Void *dlCqi,
-CmLteTimingInfo timingInfo
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+Bool isPucchInfo,
+Void *dlCqi,
+CmLteTimingInfo timingInfo
)
-#else
-Void rgSCHCmnDlCqiInd(cell, ue, isPucchInfo, dlCqi, timingInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-Bool isPucchInfo;
-Void *dlCqi;
-CmLteTimingInfo timingInfo;
-#endif
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
/* ccpu00117452 - MOD - Changed macro name from
* @return Wideband CQI
*
**/
-#ifdef ANSI
-static uint8_t rgSCHCmnCalcWcqiFrmSnr
-(
- RgSchCellCb *cell,
- TfuSrsRpt *srsRpt
- )
-#else
-static uint8_t rgSCHCmnCalcWcqiFrmSnr(cell,srsRpt)
- RgSchCellCb *cell;
- TfuSrsRpt *srsRpt;
-#endif
+static uint8_t rgSCHCmnCalcWcqiFrmSnr(RgSchCellCb *cell, TfuSrsRpt *srsRpt)
{
uint8_t wideCqi=1; /*Calculated value from SNR*/
/*Need to map a certain SNR with a WideCQI value.
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnSrsInd
-(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuSrsRpt *srsRpt,
- CmLteTimingInfo timingInfo
- )
-#else
-Void rgSCHCmnSrsInd(cell, ue, srsRpt, timingInfo)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- TfuSrsRpt *srsRpt;
- CmLteTimingInfo timingInfo;
-#endif
+Void rgSCHCmnSrsInd(RgSchCellCb *cell,RgSchUeCb *ue,TfuSrsRpt *srsRpt,CmLteTimingInfo timingInfo)
{
uint8_t wideCqi; /*Calculated value from SNR*/
uint32_t recReqTime; /*Received Time in TTI*/
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnDlTARpt
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnDlTARpt(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnDlTARpt(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
* @param[in] uint8_t wideCqi
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnFindUlCqiUlTxAnt
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t wideCqi
-)
-#else
-static Void rgSCHCmnFindUlCqiUlTxAnt(cell, ue, wideCqi)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t wideCqi;
-#endif
+static Void rgSCHCmnFindUlCqiUlTxAnt(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t wideCqi)
{
ue->validTxAnt = 1;
return;
* @param[in] TfuUlCqiRpt *ulCqiInfo
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnUlCqiInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-TfuUlCqiRpt *ulCqiInfo
-)
-#else
-Void rgSCHCmnUlCqiInd(cell, ue, ulCqiInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-TfuUlCqiRpt *ulCqiInfo;
-#endif
+Void rgSCHCmnUlCqiInd(RgSchCellCb *cell,RgSchUeCb *ue,TfuUlCqiRpt *ulCqiInfo)
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
#ifdef UL_LA
- uint8_t iTbsNew;
+ uint8_t iTbsNew;
S32 previTbs;
#endif
#if (defined(SCH_STATS) || defined(TENB_STATS))
* @param[out] RgSchUlHqProcCb **procRef
* @return Void
**/
-#ifdef ANSI
Void rgSCHCmnUlHqProcForUe
(
-RgSchCellCb *cell,
-CmLteTimingInfo frm,
-RgSchUeCb *ue,
-RgSchUlHqProcCb **procRef
+RgSchCellCb *cell,
+CmLteTimingInfo frm,
+RgSchUeCb *ue,
+RgSchUlHqProcCb **procRef
)
-#else
-Void rgSCHCmnUlHqProcForUe(cell, frm, ue, procRef)
-RgSchCellCb *cell;
-CmLteTimingInfo frm;
-RgSchUeCb *ue;
-RgSchUlHqProcCb **procRef;
-#endif
{
#ifndef RG_5GTF
uint8_t procId = rgSCHCmnGetUlHqProcIdx(&frm, cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCmnUpdUlHqProc
(
RgSchCellCb *cell,
RgSchUlHqProcCb *curProc,
RgSchUlHqProcCb *oldProc
)
-#else
-S16 rgSCHCmnUpdUlHqProc(cell, curProc, oldProc)
-RgSchCellCb *cell;
-RgSchUlHqProcCb *curProc;
-RgSchUlHqProcCb *oldProc;
-#endif
{
UNUSED(cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHCmnBsrTmrExpry
-(
-RgSchUeCb *ueCb
-)
-#else
-S16 rgSCHCmnBsrTmrExpry(ueCb)
-RgSchUeCb *ueCb;
-#endif
+S16 rgSCHCmnBsrTmrExpry(RgSchUeCb *ueCb)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(ueCb->cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCmnUpdBsrShort
(
RgSchCellCb *cell,
RgSchUeCb *ue,
-RgSchLcgCb *ulLcg,
-uint8_t bsr,
+RgSchLcgCb *ulLcg,
+uint8_t bsr,
RgSchErrInfo *err
)
-#else
-S16 rgSCHCmnUpdBsrShort(cell, ue, ulLcg, bsr, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchLcgCb *ulLcg;
-uint8_t bsr;
-RgSchErrInfo *err;
-#endif
{
uint8_t lcgCnt;
#ifdef LTE_L2_MEAS
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCmnUpdBsrTrunc
(
RgSchCellCb *cell,
RgSchUeCb *ue,
-RgSchLcgCb *ulLcg,
-uint8_t bsr,
+RgSchLcgCb *ulLcg,
+uint8_t bsr,
RgSchErrInfo *err
)
-#else
-S16 rgSCHCmnUpdBsrTrunc(cell, ue, ulLcg, bsr, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchLcgCb *ulLcg;
-uint8_t bsr;
-RgSchErrInfo *err;
-#endif
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnLcg *cmnLcg = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCmnUpdBsrLong
(
RgSchCellCb *cell,
RgSchUeCb *ue,
-uint8_t *bsArr,
+uint8_t *bsArr,
RgSchErrInfo *err
)
-#else
-S16 rgSCHCmnUpdBsrLong(cell, ue, bsArr, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t *bsArr;
-RgSchErrInfo *err;
-#endif
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- uint32_t tmpBsArr[4] = {0, 0, 0, 0};
- uint32_t nonGbrBs = 0;
+ uint32_t tmpBsArr[4] = {0, 0, 0, 0};
+ uint32_t nonGbrBs = 0;
#ifdef LTE_L2_MEAS
- uint8_t idx1;
- uint8_t idx2;
+ uint8_t idx1;
+ uint8_t idx2;
#endif
- uint32_t lcgId;
-
+ uint32_t lcgId;
#ifdef LTE_L2_MEAS
for(idx1 = 1; idx1 < RGSCH_MAX_LCG_PER_UE; idx1++)
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCmnUpdExtPhr
(
RgSchCellCb *cell,
RgInfExtPhrCEInfo *extPhr,
RgSchErrInfo *err
)
-#else
-S16 rgSCHCmnUpdExtPhr(cell, ue, extPhr, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgInfExtPhrCEInfo *extPhr;
-RgSchErrInfo *err;
-#endif
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
RgSchCmnAllocRecord *allRcd;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCmnUpdPhr
(
RgSchCellCb *cell,
RgSchUeCb *ue,
-uint8_t phr,
+uint8_t phr,
RgSchErrInfo *err
)
-#else
-S16 rgSCHCmnUpdPhr(cell, ue, phr, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t phr;
-RgSchErrInfo *err;
-#endif
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
RgSchCmnAllocRecord *allRcd;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCmnContResUlGrant
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgSchErrInfo *err
)
-#else
-S16 rgSCHCmnContResUlGrant(cell, ue, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchErrInfo *err;
-#endif
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHCmnSrRcvd
(
RgSchCellCb *cell,
CmLteTimingInfo frm,
RgSchErrInfo *err
)
-#else
-S16 rgSCHCmnSrRcvd(cell, ue, frm, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo frm;
-RgSchErrInfo *err;
-#endif
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
* @param[in] RgSchCellCb *cell
* @return RgSchUlAlloc*
**/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHCmnFirstRcptnReq
-(
-RgSchCellCb *cell
-)
-#else
-RgSchUlAlloc *rgSCHCmnFirstRcptnReq(cell)
-RgSchCellCb *cell;
-#endif
+RgSchUlAlloc *rgSCHCmnFirstRcptnReq(RgSchCellCb *cell)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
/* ACC_TDD */
* @param[in] RgSchCellCb *cell
* @return RgSchUlAlloc*
**/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHCmnNextRcptnReq
-(
-RgSchCellCb *cell,
-RgSchUlAlloc *alloc
-)
-#else
-RgSchUlAlloc *rgSCHCmnNextRcptnReq(cell, alloc)
-RgSchCellCb *cell;
-RgSchUlAlloc *alloc;
-#endif
+RgSchUlAlloc *rgSCHCmnNextRcptnReq(RgSchCellCb *cell,RgSchUlAlloc *alloc)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
/* ACC-TDD */
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnDrxStrtInActvTmrInUl
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHCmnDrxStrtInActvTmrInUl(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHCmnDrxStrtInActvTmrInUl(RgSchCellCb *cell)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
RgSchUlSf *sf = &(cellUl->ulSfArr[cellUl->schdIdx]);
* @param[in] uint8_t idx
* @return RgSchUlAlloc*
**/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHCmnFirstHqFdbkAlloc
-(
-RgSchCellCb *cell,
-uint8_t idx
-)
-#else
-RgSchUlAlloc *rgSCHCmnFirstHqFdbkAlloc(cell, idx)
-RgSchCellCb *cell;
-uint8_t idx;
-#endif
+RgSchUlAlloc *rgSCHCmnFirstHqFdbkAlloc(RgSchCellCb *cell,uint8_t idx)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
/* ACC-TDD */
* @param[in] RgSchCellCb *cell
* @return RgSchUlAlloc*
**/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHCmnNextHqFdbkAlloc
-(
-RgSchCellCb *cell,
-RgSchUlAlloc *alloc,
-uint8_t idx
-)
-#else
-RgSchUlAlloc *rgSCHCmnNextHqFdbkAlloc(cell, alloc, idx)
-RgSchCellCb *cell;
-RgSchUlAlloc *alloc;
-uint8_t idx;
-#endif
+RgSchUlAlloc *rgSCHCmnNextHqFdbkAlloc(RgSchCellCb *cell,RgSchUlAlloc *alloc,uint8_t idx)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-uint8_t rgSCHCmnUlGetITbsFrmIMcs
-(
-uint8_t iMcs
-)
-#else
-uint8_t rgSCHCmnUlGetITbsFrmIMcs(iMcs)
-uint8_t iMcs;
-#endif
+uint8_t rgSCHCmnUlGetITbsFrmIMcs(uint8_t iMcs)
{
-
return (rgUlIMcsTbl[iMcs].iTbs);
}
* File :
*
**********************************************************/
-#ifdef ANSI
-uint8_t rgSCHCmnUlGetIMcsFrmITbs
-(
-uint8_t iTbs,
-CmLteUeCategory ueCtg
-)
-#else
-uint8_t rgSCHCmnUlGetIMcsFrmITbs(iTbs, ueCtg)
-uint8_t iTbs;
-CmLteUeCategory ueCtg;
-#endif
+uint8_t rgSCHCmnUlGetIMcsFrmITbs(uint8_t iTbs,CmLteUeCategory ueCtg)
{
uint8_t iMcs;
* File :
*
**********************************************************/
-#ifdef ANSI
-uint32_t rgSCHCmnUlMinTbBitsForITbs
-(
-RgSchCmnUlCell *cellUl,
-uint8_t iTbs
-)
-#else
-uint32_t rgSCHCmnUlMinTbBitsForITbs(cellUl, iTbs)
-RgSchCmnUlCell *cellUl;
-uint8_t iTbs;
-#endif
+uint32_t rgSCHCmnUlMinTbBitsForITbs(RgSchCmnUlCell *cellUl,uint8_t iTbs)
{
RGSCH_ARRAY_BOUND_CHECK(0, rgTbSzTbl[0], iTbs);
* File :
*
**********************************************************/
-#ifdef ANSI
RgSchUlAlloc *rgSCHCmnUlSbAlloc
(
-RgSchUlSf *sf,
-uint8_t numSb,
-RgSchUlHole *hole
+RgSchUlSf *sf,
+uint8_t numSb,
+RgSchUlHole *hole
)
-#else
-RgSchUlAlloc *rgSCHCmnUlSbAlloc(sf, numSb, hole)
-RgSchUlSf *sf;
-uint8_t numSb;
-RgSchUlHole *hole;
-#endif
{
- uint8_t holeSz; /* valid hole size */
+ uint8_t holeSz; /* valid hole size */
RgSchUlAlloc *alloc;
if ((holeSz = rgSchCmnMult235Tbl[hole->num].prvMatch) == hole->num)
* @param[out] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnUlUeFillAllocInfo
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnUlUeFillAllocInfo(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnUlUeFillAllocInfo(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
RgSchCmnUeUlAlloc *ulAllocInfo;
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnUpdUlCompEffBsr
-(
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHCmnUpdUlCompEffBsr(ue)
-RgSchUeCb *ue;
-#endif
+static Void rgSCHCmnUpdUlCompEffBsr(RgSchUeCb *ue)
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,ue->cell);
CmLList *node = ueUl->ulAllocLst.last;
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnUlRecordUeAlloc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHCmnUlRecordUeAlloc(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHCmnUlRecordUeAlloc(RgSchCellCb *cell,RgSchUeCb *ue)
{
#ifdef LTE_TDD
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
* @param[in] RgSchRaCb *raCb
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnUlRecMsg3Alloc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchRaCb *raCb
-)
-#else
-Void rgSCHCmnUlRecMsg3Alloc(cell, ue, raCb)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchRaCb *raCb;
-#endif
+Void rgSCHCmnUlRecMsg3Alloc(RgSchCellCb *cell,RgSchUeCb *ue,RgSchRaCb *raCb)
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
CmLListCp *lst = &ueUl->ulAllocLst;
* @param[in] uint32_t alloc
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnUlUpdOutStndAlloc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint32_t alloc
-)
-#else
-Void rgSCHCmnUlUpdOutStndAlloc(cell, ue, alloc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint32_t alloc;
-#endif
+Void rgSCHCmnUlUpdOutStndAlloc(RgSchCellCb *cell,RgSchUeCb *ue,uint32_t alloc)
{
- uint32_t nonLcg0Alloc=0;
+ uint32_t nonLcg0Alloc=0;
/* Update UEs LCG0's bs according to the total outstanding BSR allocation.*/
if (((RgSchCmnLcg *)(ue->ul.lcgArr[0].sch))->bs > alloc)
* @param[in] RgSchUeCb *ue
* @return uint8_t
**/
-#ifdef ANSI
uint8_t rgSCHCmnUlGetITbs
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-Bool isEcp
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+Bool isEcp
)
-#else
-uint8_t rgSCHCmnUlGetITbs(cell, ue, isEcp)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-Bool isEcp;
-#endif
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
/* CQI will be capped to maxUlCqi for 16qam UEs */
CmLteUeCategory ueCtgy = (CmLteUeCategory)(RG_SCH_CMN_GET_UE_CTGY(ue));
- uint8_t cqi;
+ uint8_t cqi;
#ifdef UL_LA
S32 iTbs;
- uint8_t maxiTbs = rgSchCmnUlCqiToTbsTbl[(uint8_t)isEcp][ueUl->maxUlCqi];
+ uint8_t maxiTbs = rgSchCmnUlCqiToTbsTbl[(uint8_t)isEcp][ueUl->maxUlCqi];
#endif
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlRbInfoAddUeTx
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgSchDlHqProcCb *hqP
)
-#else
-static Void rgSCHCmnDlRbInfoAddUeTx(cell, allocInfo, ue, hqP)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-RgSchUeCb *ue;
-RgSchDlHqProcCb *hqP;
-#endif
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlRbInfoAddUeRetx
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgSchDlHqProcCb *hqP
)
-#else
-static Void rgSCHCmnDlRbInfoAddUeRetx(cell, allocInfo, ue, hqP)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-RgSchUeCb *ue;
-RgSchDlHqProcCb *hqP;
-#endif
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(ue->cell);
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlRbInfoAddUeRetxTx
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgSchDlHqProcCb *hqP
)
-#else
-static Void rgSCHCmnDlRbInfoAddUeRetxTx(allocInfo, ue, hqP)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-RgSchUeCb *ue;
-RgSchDlHqProcCb *hqP;
-#endif
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(ue->cell);
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAdd2NonSchdRetxLst
(
RgSchCmnDlRbAllocInfo *allocInfo,
RgSchUeCb *ue,
RgSchDlHqProcCb *hqP
)
-#else
-static Void rgSCHCmnDlAdd2NonSchdRetxLst(allocInfo, ue, hqP)
-RgSchCmnDlRbAllocInfo *allocInfo;
-RgSchUeCb *ue;
-RgSchDlHqProcCb *hqP;
-#endif
{
CmLList *schdLnkNode;
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnDlANFdbkInit
-(
-RgSchCellCb *cell
-)
-#else
-static S16 rgSCHCmnDlANFdbkInit(cell)
-RgSchCellCb *cell;
-#endif
+static S16 rgSCHCmnDlANFdbkInit(RgSchCellCb *cell)
{
- uint8_t sfCount;
- uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
- uint8_t maxDlSubfrms = cell->numDlSubfrms;
- uint8_t sfNum;
- uint8_t idx;
- uint8_t dlIdx;
- uint8_t calcSfnOffset;
+ uint8_t sfCount;
+ uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
+ uint8_t maxDlSubfrms = cell->numDlSubfrms;
+ uint8_t sfNum;
+ uint8_t idx;
+ uint8_t dlIdx;
+ uint8_t calcSfnOffset;
S8 calcSfNum;
- uint8_t ulSfCnt =0;
+ uint8_t ulSfCnt =0;
RgSchTddSubfrmInfo ulSubfrmInfo;
- uint8_t maxUlSubfrms;
+ uint8_t maxUlSubfrms;
ulSubfrmInfo = rgSchTddMaxUlSubfrmTbl[ulDlCfgIdx];
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnDlKdashUlAscInit
-(
-RgSchCellCb *cell
-)
-#else
-static S16 rgSCHCmnDlKdashUlAscInit(cell)
-RgSchCellCb *cell;
-#endif
+static S16 rgSCHCmnDlKdashUlAscInit(RgSchCellCb *cell)
{
- uint8_t sfCount;
- uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
- uint8_t maxDlSubfrms = cell->numDlSubfrms;
- uint8_t sfNum;
- uint8_t dlIdx;
+ uint8_t sfCount;
+ uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
+ uint8_t maxDlSubfrms = cell->numDlSubfrms;
+ uint8_t sfNum;
+ uint8_t dlIdx;
S8 calcSfnOffset;
S8 calcSfNum;
- uint8_t ulSfCnt =0;
+ uint8_t ulSfCnt =0;
RgSchTddSubfrmInfo ulSubfrmInfo = rgSchTddMaxUlSubfrmTbl[ulDlCfgIdx];
- uint8_t maxUlSubfrms = rgSchTddNumUlSubfrmTbl[ulDlCfgIdx]\
- [RGSCH_NUM_SUB_FRAMES-1];
- uint8_t dlPres = 0;
+ uint8_t maxUlSubfrms = rgSchTddNumUlSubfrmTbl[ulDlCfgIdx][RGSCH_NUM_SUB_FRAMES-1];
+ uint8_t dlPres = 0;
/* Generate ACK/NACK offset information for each DL subframe in a radio frame
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnDlNpValInit
-(
-RgSchCellCb *cell
-)
-#else
-static S16 rgSCHCmnDlNpValInit(cell)
-RgSchCellCb *cell;
-#endif
+static S16 rgSCHCmnDlNpValInit(RgSchCellCb *cell)
{
uint8_t idx;
uint16_t np;
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnDlCreateRachPrmLst
-(
-RgSchCellCb *cell
-)
-#else
-static S16 rgSCHCmnDlCreateRachPrmLst(cell)
-RgSchCellCb *cell;
-#endif
+static S16 rgSCHCmnDlCreateRachPrmLst(RgSchCellCb *cell)
{
- uint8_t raArrSz;
- S16 ret;
- uint8_t lstSize;
-
+ uint8_t raArrSz;
+ S16 ret;
+ uint8_t lstSize;
RG_SCH_CMN_CALC_RARSPLST_SIZE(cell, raArrSz);
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnDlRachInfoInit
-(
-RgSchCellCb *cell
-)
-#else
-static S16 rgSCHCmnDlRachInfoInit(cell)
-RgSchCellCb *cell;
-#endif
+static S16 rgSCHCmnDlRachInfoInit(RgSchCellCb *cell)
{
uint8_t sfCount;
uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHCmnDlPhichOffsetInit
-(
-RgSchCellCb *cell
-)
-#else
-static S16 rgSCHCmnDlPhichOffsetInit(cell)
-RgSchCellCb *cell;
-#endif
+static S16 rgSCHCmnDlPhichOffsetInit(RgSchCellCb *cell)
{
- uint8_t sfCount;
- uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
- uint8_t maxDlSubfrms = cell->numDlSubfrms;
- uint8_t sfNum;
- uint8_t dlIdx;
- uint8_t dlPres = 0;
- uint8_t calcSfnOffset;
- uint8_t calcSfNum;
- uint8_t ulSfCnt =0;
+ uint8_t sfCount;
+ uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
+ uint8_t maxDlSubfrms = cell->numDlSubfrms;
+ uint8_t sfNum;
+ uint8_t dlIdx;
+ uint8_t dlPres = 0;
+ uint8_t calcSfnOffset;
+ uint8_t calcSfNum;
+ uint8_t ulSfCnt =0;
RgSchTddSubfrmInfo ulSubfrmInfo = rgSchTddMaxUlSubfrmTbl[ulDlCfgIdx];
- uint8_t maxUlSubfrms = rgSchTddNumUlSubfrmTbl[ulDlCfgIdx]\
+ uint8_t maxUlSubfrms = rgSchTddNumUlSubfrmTbl[ulDlCfgIdx]\
[RGSCH_NUM_SUB_FRAMES-1];
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHCmnUpdVars
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHCmnUpdVars(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHCmnUpdVars(RgSchCellCb *cell)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
CmLteTimingInfo timeInfo;
* @return uint8_t
*
**/
-#ifdef ANSI
-uint8_t rgSCHCmnGetPValFrmCCE
-(
-RgSchCellCb *cell,
-uint8_t cce
-)
-#else
-uint8_t rgSCHCmnGetPValFrmCCE(cell, cce)
-RgSchCellCb *cell;
-uint8_t cce;
-#endif
+uint8_t rgSCHCmnGetPValFrmCCE(RgSchCellCb *cell,uint8_t cce)
{
uint8_t i;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHCmnUlAdapRetx
-(
-RgSchUlAlloc *alloc,
-RgSchUlHqProcCb *proc
-)
-#else
-static Void rgSCHCmnUlAdapRetx(alloc, proc)
-RgSchUlAlloc *alloc;
-RgSchUlHqProcCb *proc;
-#endif
+static Void rgSCHCmnUlAdapRetx(RgSchUlAlloc *alloc,RgSchUlHqProcCb *proc)
{
rgSCHUhmRetx(proc, alloc);
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnHdlUlInactUes
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnHdlUlInactUes(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnHdlUlInactUes(RgSchCellCb *cell)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
CmLListCp ulInactvLst;
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnHdlDlInactUes
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnHdlDlInactUes(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnHdlDlInactUes(RgSchCellCb *cell)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
CmLListCp dlInactvLst;
*
* Notes:
*
- * File :
- *
- **********************************************************/
-#ifdef ANSI
-static S16 rgSCHCmnUeIdleExdThrsld
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static S16 rgSCHCmnUeIdleExdThrsld(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+ * File :
+ *
+ **********************************************************/
+static S16 rgSCHCmnUeIdleExdThrsld(RgSchCellCb *cell,RgSchUeCb *ue)
{
/* Time difference in subframes */
uint32_t sfDiff = RGSCH_CALC_SF_DIFF(cell->crntTime, ue->ul.ulTransTime);
-
if (sfDiff > (uint32_t)RG_SCH_CMN_UE_IDLE_THRSLD(ue))
{
return ROK;
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnCfgRachDedPrm
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnCfgRachDedPrm(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnCfgRachDedPrm(RgSchCellCb *cell)
{
RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
- uint32_t gap = RG_SCH_CMN_MIN_PRACH_OPPR_GAP;
- uint32_t sfDiff;
- uint8_t cnt;
+ uint32_t gap = RG_SCH_CMN_MIN_PRACH_OPPR_GAP;
+ uint32_t sfDiff;
+ uint8_t cnt;
if (cell->macPreambleSet.pres == NOTPRSNT)
{
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnUpdNxtPrchMskIdx
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnUpdNxtPrchMskIdx(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnUpdNxtPrchMskIdx(RgSchCellCb *cell)
{
RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnUpdRachParam
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnUpdRachParam(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnUpdRachParam(RgSchCellCb *cell)
{
- RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
- uint32_t gap = RG_SCH_CMN_MIN_PRACH_OPPR_GAP;
- uint32_t sfDiff;
+ RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
+ uint32_t gap = RG_SCH_CMN_MIN_PRACH_OPPR_GAP;
+ uint32_t sfDiff;
if (cell->macPreambleSet.pres == NOTPRSNT)
{
* @param[out] uint8_t *prachMskIdx
* @return Void
**/
-#ifdef ANSI
static S16 rgSCHCmnAllocPOParam
(
RgSchCellCb *cell,
RgSchDlSf *dlSf,
RgSchUeCb *ue,
RgSchPdcch **pdcch,
-uint8_t *rapId,
-uint8_t *prachMskIdx
+uint8_t *rapId,
+uint8_t *prachMskIdx
)
-#else
-static S16 rgSCHCmnAllocPOParam(cell, dlSf, ue, pdcch, rapId, prachMskIdx)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-RgSchUeCb *ue;
-RgSchPdcch **pdcch;
-uint8_t *rapId;
-uint8_t *prachMskIdx;
-#endif
{
RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
* @param[in] RgSchDlSf *dlSf
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnGenPdcchOrder
-(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf
-)
-#else
-static Void rgSCHCmnGenPdcchOrder(cell, dlSf)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-#endif
+static Void rgSCHCmnGenPdcchOrder(RgSchCellCb *cell,RgSchDlSf *dlSf)
{
- RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- CmLList *node = cellSch->rachCfg.pdcchOdrLst.first;
- RgSchUeCb *ue;
- uint8_t rapId;
- uint8_t prachMskIdx;
- RgSchPdcch *pdcch = NULLP;
-
+ RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
+ CmLList *node = cellSch->rachCfg.pdcchOdrLst.first;
+ RgSchUeCb *ue;
+ uint8_t rapId;
+ uint8_t prachMskIdx;
+ RgSchPdcch *pdcch = NULLP;
while (node)
{
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlAdd2PdcchOdrQ
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHCmnDlAdd2PdcchOdrQ(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHCmnDlAdd2PdcchOdrQ(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCmnDlRmvFrmPdcchOdrQ
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHCmnDlRmvFrmPdcchOdrQ(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHCmnDlRmvFrmPdcchOdrQ(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
-
cmLListDelFrm(&cellSch->rachCfg.pdcchOdrLst, &ueDl->rachInfo.poLnk);
ueDl->rachInfo.poLnk.node = NULLP;
return;
* @param[in] uint8_t prachMskIdx
* @return Void
**/
-#ifdef ANSI
static Void rgSCHCmnFillPdcchOdr2Sf
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgSchPdcch *pdcch,
-uint8_t rapId,
-uint8_t prachMskIdx
+uint8_t rapId,
+uint8_t prachMskIdx
)
-#else
-static Void rgSCHCmnFillPdcchOdr2Sf(ue, pdcch, rapId, prachMskIdx)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchPdcch *pdcch;
-uint8_t rapId;
-uint8_t prachMskIdx;
-#endif
{
RgSchUeACqiCb *acqiCb = RG_SCH_CMN_GET_ACQICB(ue,cell);
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnDelRachInfo
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHCmnDelRachInfo(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHCmnDelRachInfo(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnHdlHoPo
(
RgSchCellCb *cell,
CmLListCp *raRspLst,
RgSchRaReqInfo *raReq
)
-#else
-static Void rgSCHCmnHdlHoPo(cell, raRspLst, raReq)
-RgSchCellCb *cell;
-CmLListCp *raRspLst;
-RgSchRaReqInfo *raReq;
-#endif
{
RgSchUeCb *ue = raReq->ue;
* @return RgSchUeCb*
*
**/
-#ifdef ANSI
-RgSchUeCb* rgSCHCmnGetHoUe
-(
-RgSchCellCb *cell,
-uint16_t rapId
-)
-#else
-RgSchUeCb* rgSCHCmnGetHoUe(cell, rapId)
-RgSchCellCb *cell;
-uint16_t rapId
-#endif
+RgSchUeCb* rgSCHCmnGetHoUe(RgSchCellCb *cell,uint16_t rapId)
{
- RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
- CmLList *node;
- CmLListCp *ueLst;
- RgSchUeCb *ue;
- RgSchCmnDlUe *ueDl;
+ RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
+ CmLList *node;
+ CmLListCp *ueLst;
+ RgSchUeCb *ue;
+ RgSchCmnDlUe *ueDl;
ueLst = &cellSch->rachCfg.hoUeLst;
node = ueLst->first;
return (NULLP);
}
-#ifdef ANSI
-static Void rgSCHCmnDelDedPreamble
-(
-RgSchCellCb *cell,
-uint8_t preambleId
-)
-#else
-static rgSCHCmnDelDedPreamble(cell, preambleId)
-RgSchCellCb *cell;
-uint8_t preambleId;
-#endif
+static Void rgSCHCmnDelDedPreamble(RgSchCellCb *cell,uint8_t preambleId)
{
- RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
- CmLList *node;
- CmLListCp *ueLst;
- RgSchUeCb *ue;
- RgSchCmnDlUe *ueDl;
+ RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
+ CmLList *node;
+ CmLListCp *ueLst;
+ RgSchUeCb *ue;
+ RgSchCmnDlUe *ueDl;
ueLst = &cellSch->rachCfg.hoUeLst;
node = ueLst->first;
* @return RgSchUeCb*
*
**/
-#ifdef ANSI
RgSchUeCb* rgSCHCmnGetPoUe
(
-RgSchCellCb *cell,
-uint16_t rapId,
-CmLteTimingInfo timingInfo
+RgSchCellCb *cell,
+uint16_t rapId,
+CmLteTimingInfo timingInfo
)
-#else
-RgSchUeCb* rgSCHCmnGetPoUe(cell, rapId, timingInfo)
-RgSchCellCb *cell;
-uint16_t rapId;
-CmLteTimingInfo timingInfo;
-#endif
{
- RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
- CmLList *node;
- CmLListCp *ueLst;
- RgSchUeCb *ue;
- RgSchCmnDlUe *ueDl;
- uint8_t rapIdIdx;
+ RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
+ CmLList *node;
+ CmLListCp *ueLst;
+ RgSchUeCb *ue;
+ RgSchCmnDlUe *ueDl;
+ uint8_t rapIdIdx;
rapIdIdx = rapId -cellSch->rachCfg.dedPrmStart;
ueLst = &cellSch->rachCfg.rapIdMap[rapIdIdx].assgndUes;
* @param[in] uint8_t ueCtgy
* @return uint8_t
**/
-#ifdef ANSI
uint8_t rgSCHCmnUlGetCqi
(
RgSchCellCb *cell,
RgSchUeCb *ue,
CmLteUeCategory ueCtgy
)
-#else
-uint8_t rgSCHCmnUlGetCqi(cell, ue, ueCtgy)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteUeCategory ueCtgy;
-#endif
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
uint8_t cqi;
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHCmnUlRbAllocForPoHoUe
(
-RgSchCellCb *cell,
-RgSchUlSf *sf,
-RgSchUeCb *ue,
-uint8_t maxRb
+RgSchCellCb *cell,
+RgSchUlSf *sf,
+RgSchUeCb *ue,
+uint8_t maxRb
)
-#else
-static S16 rgSCHCmnUlRbAllocForPoHoUe(cell, sf, ue, maxRb)
-RgSchCellCb *cell;
-RgSchUlSf *sf;
-RgSchUeCb *ue;
-uint8_t maxRb;
-#endif
{
- RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
- RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
+ RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
+ RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
uint8_t sbSize = cellUl->sbSize;
uint32_t maxBits = ue->ul.maxBytesPerUePerTti*8;
uint32_t bits;
- RgSchUlAlloc *alloc;
+ RgSchUlAlloc *alloc;
uint32_t nPrb;
uint8_t iTbs;
uint32_t eff;
uint8_t modOdr;
RgSchUlHole *hole;
RgSchUlHqProcCb *proc = &ueUl->hqEnt.hqProcCb[cellUl->msg3SchdHqProcIdx];
- CmLteUeCategory ueCtg = (CmLteUeCategory)(RG_SCH_CMN_GET_UE_CTGY(ue));
+ CmLteUeCategory ueCtg = (CmLteUeCategory)(RG_SCH_CMN_GET_UE_CTGY(ue));
if ((hole = rgSCHUtlUlHoleFirst(sf)) == NULLP)
{
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnAllocPoHoGrnt
(
-RgSchCellCb *cell,
-CmLListCp *raRspLst,
-RgSchUeCb *ue,
-RgSchRaReqInfo *raReq
+RgSchCellCb *cell,
+CmLListCp *raRspLst,
+RgSchUeCb *ue,
+RgSchRaReqInfo *raReq
)
-#else
-static Void rgSCHCmnAllocPoHoGrnt(cell, raRspLst, ue, raReq)
-RgSchCellCb *cell;
-CmLListCp *raRspLst;
-RgSchUeCb *ue;
-RgSchRaReqInfo *raReq;
-#endif
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue,cell);
*
**/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static Void rgSCHCmnUlNonadapRetx
(
RgSchCmnUlCell *cellUl,
RgSchUlAlloc *alloc,
-uint8_t idx
+uint8_t idx
)
-#else
-static Void rgSCHCmnUlNonadapRetx(cellUl, alloc, idx)
-RgSchCmnUlCell *cellUl;
-RgSchUlAlloc *alloc;
-uint8_t idx;
-#endif
{
rgSCHUhmRetx(alloc->hqProc, alloc);
* @param[in] RgSchUlAlloc *alloc2
* @return Bool
**/
-#ifdef ANSI
-static Bool rgSCHCmnUlAllocsOvrLap
-(
-RgSchUlAlloc *alloc1,
-RgSchUlAlloc *alloc2
-)
-#else
-static Bool rgSCHCmnUlAllocsOvrLap(alloc1, alloc2)
-RgSchUlAlloc *alloc1;
-RgSchUlAlloc *alloc2;
-#endif
+static Bool rgSCHCmnUlAllocsOvrLap(RgSchUlAlloc *alloc1,RgSchUlAlloc *alloc2)
{
-
if (((alloc1->sbStart >= alloc2->sbStart) &&
(alloc1->sbStart <= alloc2->sbStart + alloc2->numSb-1)) ||
((alloc2->sbStart >= alloc1->sbStart) &&
* @param[in] RgSchUlAlloc *dstAlloc
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnUlCpyAllocInfo
-(
-RgSchCellCb *cell,
-RgSchUlAlloc *srcAlloc,
-RgSchUlAlloc *dstAlloc
-)
-#else
-static Void rgSCHCmnUlCpyAllocInfo(cell, srcAlloc, dstAlloc)
-RgSchCellCb *cell;
-RgSchUlAlloc *srcAlloc;
-RgSchUlAlloc *dstAlloc;
-#endif
+static Void rgSCHCmnUlCpyAllocInfo(RgSchCellCb *cell,RgSchUlAlloc *srcAlloc,RgSchUlAlloc *dstAlloc)
{
RgSchCmnUlUe *ueUl;
* @param[in] RgSchUlAlloc *srcAlloc
* @return Void
**/
-#ifdef ANSI
static Void rgSCHCmnUlInsAllocFrmNewSf2OldSf
(
RgSchCellCb *cell,
RgSchUlSf *oldSf,
RgSchUlAlloc *srcAlloc
)
-#else
-static Void rgSCHCmnUlInsAllocFrmNewSf2OldSf(cell, newSf, oldSf, srcAlloc)
-RgSchCellCb *cell;
-RgSchUlSf *newSf;
-RgSchUlSf *oldSf;
-RgSchUlAlloc *srcAlloc;
-#endif
{
RgSchUlAlloc *alloc, *dstAlloc, *nxtAlloc;
* @param[in] RgSchUlSf *newSf
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnUlMergeSfAllocs
-(
-RgSchCellCb *cell,
-RgSchUlSf *oldSf,
-RgSchUlSf *newSf
-)
-#else
-static Void rgSCHCmnUlMergeSfAllocs(cell, oldSf, newSf)
-RgSchCellCb *cell;
-RgSchUlSf *oldSf;
-RgSchUlSf *newSf;
-#endif
+static Void rgSCHCmnUlMergeSfAllocs(RgSchCellCb *cell,RgSchUlSf *oldSf,RgSchUlSf *newSf)
{
RgSchUlAlloc *alloc, *nxtAlloc;
UNUSED(cell);
* @param[in] RgSchUlSf *newSf
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnUlSwapSfAllocs
-(
-RgSchCellCb *cell,
-RgSchUlSf *oldSf,
-RgSchUlSf *newSf
-)
-#else
-static Void rgSCHCmnUlSwapSfAllocs(cell, oldSf, newSf)
-RgSchCellCb *cell;
-RgSchUlSf *oldSf;
-RgSchUlSf *newSf;
-#endif
+static Void rgSCHCmnUlSwapSfAllocs(RgSchCellCb *cell,RgSchUlSf *oldSf,RgSchUlSf *newSf)
{
RgSchUlAllocDb *tempAllocDb = newSf->allocDb;
RgSchUlHoleDb *tempHoleDb = newSf->holeDb;
- uint8_t tempAvailSbs = newSf->availSubbands;
+ uint8_t tempAvailSbs = newSf->availSubbands;
UNUSED(cell);
* @param[in] uint8_t idx
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnUlPrcNonAdptRetx
-(
-RgSchCellCb *cell,
-RgSchUlSf *newSf,
-uint8_t idx
-)
-#else
-static Void rgSCHCmnUlPrcNonAdptRetx(cell, newSf, idx)
-RgSchCellCb *cell;
-RgSchUlSf *newSf;
-uint8_t idx;
-#endif
+static Void rgSCHCmnUlPrcNonAdptRetx(RgSchCellCb *cell,RgSchUlSf *newSf,uint8_t idx)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
RgSchUlAlloc *alloc, *nxtAlloc;
* @param[in] uint8_t idx
* @return Void
**/
-#ifdef ANSI
static Void rgSCHCmnUlPrfmSfMerge
(
RgSchCellCb *cell,
RgSchUlSf *oldSf,
RgSchUlSf *newSf,
-uint8_t idx
+uint8_t idx
)
-#else
-static Void rgSCHCmnUlPrfmSfMerge(cell, oldSf, newSf, idx)
-RgSchCellCb *cell;
-RgSchUlSf *oldSf;
-RgSchUlSf *newSf;
-uint8_t idx;
-#endif
{
/* Preassigned resources for msg3 in newSf.
* Hence do adaptive retx for all NACKED TXs */
* @param[in] RgSchUlSf *sf
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnUlRmvCmpltdAllocs
-(
-RgSchCellCb *cell,
-RgSchUlSf *sf
-)
-#else
-static Void rgSCHCmnUlRmvCmpltdAllocs(cell, sf)
-RgSchCellCb *cell;
-RgSchUlSf *sf;
-#endif
+static Void rgSCHCmnUlRmvCmpltdAllocs(RgSchCellCb *cell,RgSchUlSf *sf)
{
RgSchUlAlloc *alloc, *nxtAlloc;
* @param[in] uint8_t idx
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnRlsUlSf
-(
-RgSchCellCb *cell,
-uint8_t idx
-)
-#else
-Void rgSCHCmnRlsUlSf(cell, idx)
-RgSchCellCb *cell;
-uint8_t idx;
-#endif
+Void rgSCHCmnRlsUlSf(RgSchCellCb *cell,uint8_t idx)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
-
if (cellUl->hqFdbkIdx[idx] != RGSCH_INVALID_INFO)
{
RgSchUlSf *oldSf = &cellUl->ulSfArr[cellUl->hqFdbkIdx[idx]];
* @param[in] RgSchUlAlloc *alloc
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnUlUpdAllocRetx
-(
-RgSchCellCb *cell,
-RgSchUlAlloc *alloc
-)
-#else
-static Void rgSCHCmnUlUpdAllocRetx(cell, alloc)
-RgSchCellCb *cell;
-RgSchUlAlloc *alloc;
-#endif
+static Void rgSCHCmnUlUpdAllocRetx(RgSchCellCb *cell,RgSchUlAlloc *alloc)
{
RgSchCmnUlCell *cmnUlCell = RG_SCH_CMN_GET_UL_CELL(cell);
-
alloc->hqProc->reTxAlloc.rnti = alloc->rnti;
alloc->hqProc->reTxAlloc.numSb = alloc->numSb;
alloc->hqProc->reTxAlloc.iMcs = alloc->grnt.iMcs;
* @param[in] RgSchUlHole *hole;
* @return uint8_t
**/
-#ifdef ANSI
static Bool rgSCHCmnUlAdapRetxAlloc
(
RgSchCellCb *cell,
RgSchUlHqProcCb *proc,
RgSchUlHole *hole
)
-#else
-static Bool rgSCHCmnUlAdapRetxAlloc(cell, sf, proc, hole)
-RgSchCellCb *cell;
-RgSchUlSf *sf;
-RgSchUlHqProcCb *proc;
-RgSchUlHole *hole;
-#endif
{
- uint8_t numSb = proc->reTxAlloc.numSb;
- uint8_t iMcs = proc->reTxAlloc.iMcs;
+ uint8_t numSb = proc->reTxAlloc.numSb;
+ uint8_t iMcs = proc->reTxAlloc.iMcs;
CmLteTimingInfo frm = cell->crntTime;
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
RgSchDlSf *dlSf;
* @return uint8_t
**/
#ifdef UNUSED_FUNC
-#ifdef ANSI
-static Void rgSCHCmnUlSfRlsRetxProcs
-(
-RgSchCellCb *cell,
-RgSchUlSf *sf
-)
-#else
-static Void rgSCHCmnUlSfRlsRetxProcs(cell, sf)
-RgSchCellCb *cell;
-RgSchUlSf *sf;
-#endif
+static Void rgSCHCmnUlSfRlsRetxProcs(RgSchCellCb *cell,RgSchUlSf *sf)
{
CmLListCp *cp;
CmLList *node;
RgSchUlHqProcCb *proc;
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
-
cp = &(cellUl->reTxLst);
node = cp->first;
while (node)
* @param[in] RgSchUlSf *sf
* @return uint8_t
**/
-#ifdef ANSI
-static Void rgSCHCmnUlSfReTxAllocs
-(
-RgSchCellCb *cell,
-RgSchUlSf *sf
-)
-#else
-static Void rgSCHCmnUlSfReTxAllocs(cell, sf)
-RgSchCellCb *cell;
-RgSchUlSf *sf;
-#endif
+static Void rgSCHCmnUlSfReTxAllocs(RgSchCellCb *cell,RgSchUlSf *sf)
{
CmLListCp *cp;
CmLList *node;
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnDlRbAlloc
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHCmnDlRbAlloc(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHCmnDlRbAlloc(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @param[out] RgSchBwRbgInfo *rbgInfo
* @return Void
**/
-#ifdef ANSI
Void rgSCHCmnDlGetRbgInfo
(
-uint8_t dlTotalBw,
-uint8_t dlSubsetBw,
-uint8_t maxRaType1SubsetBw,
-uint8_t rbgSize,
+uint8_t dlTotalBw,
+uint8_t dlSubsetBw,
+uint8_t maxRaType1SubsetBw,
+uint8_t rbgSize,
RgSchBwRbgInfo *rbgInfo
)
-#else
-Void rgSCHCmnDlGetRbgInfo(dlTotalBw, dlSubsetBw, maxRaType1SubsetBw,
- rbgSize, rbgInfo)
-uint8_t dlTotalBw;
-uint8_t dlSubsetBw;
-uint8_t maxRaType1SubsetBw;
-uint8_t rbgSize;
-RgSchBwRbgInfo *rbgInfo;
-#endif
{
#ifdef RGSCH_SPS_UNUSED
uint8_t idx = 0;
* @return Void
**/
-#ifdef ANSI
uint8_t rgSCHCmnDlRaType0Alloc
(
RgSchDlSfAllocInfo *allocedInfo,
-uint8_t rbsReq,
+uint8_t rbsReq,
RgSchBwRbgInfo *rbgInfo,
-uint8_t *numAllocRbs,
+uint8_t *numAllocRbs,
RgSchDlSfAllocInfo *resAllocInfo,
Bool isPartialAlloc
)
-#else
-uint8_t rgSCHCmnDlRaType0Alloc(allocedInfo, rbsReq, rbgInfo,
- numAllocRbs, resAllocInfo, isPartialAlloc)
-RgSchDlSfAllocInfo *allocedInfo;
-uint8_t rbsReq;
-RgSchBwRbgInfo *rbgInfo;
-uint8_t *numAllocRbs;
-RgSchDlSfAllocInfo *resAllocInfo;
-Bool isPartialAlloc;
-#endif
{
/* Note: This function atttempts allocation only full allocation */
uint32_t remNumRbs, rbgPosInRbgMask, ueRaType2Mask;
* Number of allocated RBs
**/
-#ifdef ANSI
uint8_t rgSCHCmnDlRaType1Alloc
(
RgSchDlSfAllocInfo *allocedInfo,
-uint8_t rbsReq,
+uint8_t rbsReq,
RgSchBwRbgInfo *rbgInfo,
-uint8_t startRbgSubset,
-uint8_t *allocRbgSubset,
+uint8_t startRbgSubset,
+uint8_t *allocRbgSubset,
RgSchDlSfAllocInfo *resAllocInfo,
Bool isPartialAlloc
)
-#else
-uint8_t rgSCHCmnDlRaType1Alloc(allocedInfo, rbsReq,rbgInfo,startRbgSubset,
- allocRbgSubset, resAllocInfo, isPartialAlloc)
-RgSchDlSfAllocInfo *allocedInfo;
-uint8_t rbsReq;
-RgSchBwRbgInfo *rbgInfo;
-uint8_t startRbgSubset;
-uint8_t *allocRbgSubset;
-RgSchDlSfAllocInfo *resAllocInfo;
-Bool isPartialAlloc;
-#endif
{
/* Note: This function atttempts only full allocation */
- uint8_t *rbgSubsetSzArr;
- uint8_t type2MaskIdx, subsetIdx, rbIdx, rbInSubset, rbgInSubset;
- uint8_t offset, rbg, maskSize, bestSubsetIdx;
- uint8_t startPos = 0;
- uint8_t bestNumAvailRbs = 0;
- uint8_t numAllocRbs = 0;
- uint32_t ueRaType2Mask, ueRaType0Mask, rbPosInSubset;
- uint32_t remNumRbs, allocedMask;
- uint8_t usedRbs = 0;
- uint8_t rbgSize = rbgInfo->rbgSize;
- uint8_t rbgSubset = startRbgSubset;
- uint32_t *rbgMask = &resAllocInfo->raType0Mask;
- uint32_t *raType1Mask = resAllocInfo->raType1Mask;
- uint32_t *raType2Mask = resAllocInfo->raType2Mask;
- uint32_t *raType1UsedRbs = resAllocInfo->raType1UsedRbs;
- uint32_t *allocMask = allocedInfo->raType1Mask;
+ uint8_t *rbgSubsetSzArr;
+ uint8_t type2MaskIdx, subsetIdx, rbIdx, rbInSubset, rbgInSubset;
+ uint8_t offset, rbg, maskSize, bestSubsetIdx;
+ uint8_t startPos = 0;
+ uint8_t bestNumAvailRbs = 0;
+ uint8_t numAllocRbs = 0;
+ uint32_t ueRaType2Mask, ueRaType0Mask, rbPosInSubset;
+ uint32_t remNumRbs, allocedMask;
+ uint8_t usedRbs = 0;
+ uint8_t rbgSize = rbgInfo->rbgSize;
+ uint8_t rbgSubset = startRbgSubset;
+ uint32_t *rbgMask = &resAllocInfo->raType0Mask;
+ uint32_t *raType1Mask = resAllocInfo->raType1Mask;
+ uint32_t *raType2Mask = resAllocInfo->raType2Mask;
+ uint32_t *raType1UsedRbs = resAllocInfo->raType1UsedRbs;
+ uint32_t *allocMask = allocedInfo->raType1Mask;
/* Initialize the subset size Array */
rbgSubsetSzArr = rbgInfo->rbgSubsetSize;
* Number of allocated RBs
**/
-#ifdef ANSI
uint8_t rgSCHCmnDlRaType2Alloc
(
RgSchDlSfAllocInfo *allocedInfo,
-uint8_t rbsReq,
+uint8_t rbsReq,
RgSchBwRbgInfo *rbgInfo,
-uint8_t *rbStart,
+uint8_t *rbStart,
RgSchDlSfAllocInfo *resAllocInfo,
Bool isPartialAlloc
)
-#else
-uint8_t rgSCHCmnDlRaType2Alloc(allocedInfo, rbsReq, rbgInfo, rbStart,
- resAllocInfo, isPartialAlloc)
-RgSchDlSfAllocInfo *allocedInfo;
-uint8_t rbsReq;
-RgSchBwRbgInfo *rbgInfo;
-uint8_t *rbStart;
-RgSchDlSfAllocInfo *resAllocInfo;
-Bool isPartialAlloc;
-#endif
-{
- uint8_t numAllocRbs = 0;
- uint8_t rbIdx;
- uint8_t rbgSize = rbgInfo->rbgSize;
- uint32_t *rbgMask = &resAllocInfo->raType0Mask;
+{
+ uint8_t numAllocRbs = 0;
+ uint8_t rbIdx;
+ uint8_t rbgSize = rbgInfo->rbgSize;
+ uint32_t *rbgMask = &resAllocInfo->raType0Mask;
#ifdef RGSCH_SPS_UNUSED
- uint32_t *raType1Mask = resAllocInfo->raType1Mask;
+ uint32_t *raType1Mask = resAllocInfo->raType1Mask;
#endif
- uint32_t *raType2Mask = resAllocInfo->raType2Mask;
+ uint32_t *raType2Mask = resAllocInfo->raType2Mask;
#ifdef RGSCH_SPS_UNUSED
- uint32_t *raType1UsedRbs = resAllocInfo->raType1UsedRbs;
+ uint32_t *raType1UsedRbs = resAllocInfo->raType1UsedRbs;
#endif
- uint32_t *allocedMask = allocedInfo->raType2Mask;
+ uint32_t *allocedMask = allocedInfo->raType2Mask;
/* Note: This function atttempts only full allocation */
rgSCHCmnDlGetBestFitHole(allocedMask, rbgInfo->numRbs,
* @param[in] uint8_t rbgSize
* @return uint32_t RA type 0 mask
**/
-#ifdef ANSI
-static uint32_t rgSCHCmnGetRaType0Mask
-(
-uint8_t rbIdx,
-uint8_t rbgSize
-)
-#else
-static uint32_t rgSCHCmnGetRaType0Mask(rbIdx, rbgSize)
-uint8_t rbIdx;
-uint8_t rbgSize;
-#endif
+static uint32_t rgSCHCmnGetRaType0Mask(uint8_t rbIdx,uint8_t rbgSize)
{
uint8_t rbg;
uint32_t rbgPosInRbgMask = 0;
* @param[out] uint8_t *type1Subset
* @return uint32_t RA type 1 mask
**/
-#ifdef ANSI
-static uint32_t rgSCHCmnGetRaType1Mask
-(
-uint8_t rbIdx,
-uint8_t rbgSize,
-uint8_t *type1Subset
-)
-#else
-static uint32_t rgSCHCmnGetRaType1Mask(rbIdx, rbgSize, type1Subset)
-uint8_t rbIdx;
-uint8_t rbgSize;
-uint8_t *type1Subset;
-#endif
+static uint32_t rgSCHCmnGetRaType1Mask(uint8_t rbIdx,uint8_t rbgSize,uint8_t *type1Subset)
{
uint8_t rbg, rbgSubset, rbgInSubset, offset, rbInSubset;
uint32_t rbPosInSubset;
* @param[out] uint8_t *maskIdx
* @return uint32_t RA type 2 mask
**/
-#ifdef ANSI
-static uint32_t rgSCHCmnGetRaType2Mask
-(
-uint8_t rbIdx,
-uint8_t *maskIdx
-)
-#else
-static uint32_t rgSCHCmnGetRaType2Mask(rbIdx, maskIdx)
-uint8_t rbIdx;
-uint8_t *maskIdx;
-#endif
+static uint32_t rgSCHCmnGetRaType2Mask(uint8_t rbIdx,uint8_t *maskIdx)
{
uint32_t rbPosInType2;
* ROK success
* RFAILED failed
**/
-#ifdef ANSI
Bool rgSCHCmnAllocUeInSpsBw
(
RgSchDlSf *dlSf,
RgSchDlRbAlloc *rbAllocInfo,
Bool isPartialAlloc
)
-#else
-Bool rgSCHCmnAllocUeInSpsBw(dlSf, cell, ue, rbAllocInfo, isPartialAlloc)
-RgSchDlSf *dlSf;
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlRbAlloc *rbAllocInfo;
-Bool isPartialAlloc;
-#endif
{
- uint8_t rbgSize = cell->rbgSize;
- uint8_t numAllocRbs = 0;
- uint8_t numAllocRbgs = 0;
- uint8_t rbStart = 0;
- uint8_t idx, noLyr, iTbs;
- RgSchCmnDlUe *dlUe = RG_SCH_CMN_GET_DL_UE(ue,cell);
- RgSchDlSfAllocInfo *dlSfAlloc = &rbAllocInfo->dlSf->dlSfAllocInfo;
- RgSchBwRbgInfo *spsRbgInfo = &cell->spsBwRbgInfo;
+ uint8_t rbgSize = cell->rbgSize;
+ uint8_t numAllocRbs = 0;
+ uint8_t numAllocRbgs = 0;
+ uint8_t rbStart = 0;
+ uint8_t idx, noLyr, iTbs;
+ RgSchCmnDlUe *dlUe = RG_SCH_CMN_GET_DL_UE(ue,cell);
+ RgSchDlSfAllocInfo *dlSfAlloc = &rbAllocInfo->dlSf->dlSfAllocInfo;
+ RgSchBwRbgInfo *spsRbgInfo = &cell->spsBwRbgInfo;
/* SPS_FIX : Check if this Hq proc is scheduled */
if ((0 == rbAllocInfo->tbInfo[0].schdlngForTb) &&
* File :
*
**********************************************************/
-#ifdef ANSI
static Void rgSCHCmnDlGetBestFitHole
(
-uint32_t *allocMask,
-uint8_t numMaskRbs,
-uint32_t *crntAllocMask,
-uint8_t rbsReq,
-uint8_t *allocStart,
-uint8_t *allocNumRbs,
-Bool isPartialAlloc
+uint32_t *allocMask,
+uint8_t numMaskRbs,
+uint32_t *crntAllocMask,
+uint8_t rbsReq,
+uint8_t *allocStart,
+uint8_t *allocNumRbs,
+Bool isPartialAlloc
)
-#else
-static Void rgSCHCmnDlGetBestFitHole (allocMask, numMaskRbs,
- crntAllocMask, rbsReq, allocStart, allocNumRbs, isPartialAlloc)
-uint32_t *allocMask;
-uint8_t numMaskRbs;
-uint32_t *crntAllocMask;
-uint8_t rbsReq;
-uint8_t *allocStart;
-uint8_t *allocNumRbs;
-Bool isPartialAlloc;
-#endif
{
uint8_t maskSz = (numMaskRbs + 31)/32;
uint8_t maxMaskPos = (numMaskRbs % 32);
* @return void
**/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static Void rgSCHCmnFindCodeRate
(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf,
-RgSchDlRbAlloc *allocInfo,
-uint8_t idx
+RgSchCellCb *cell,
+RgSchDlSf *dlSf,
+RgSchDlRbAlloc *allocInfo,
+uint8_t idx
)
-#else
-static Void rgSCHCmnFindCodeRate(cell,dlSf,allocInfo,idx)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-RgSchDlRbAlloc *allocInfo;
-uint8_t idx;
-#endif
{
return;
* @param[in] uint8_t *idx
* @return void
**/
-#ifdef ANSI
static Void rgSCHCmnNonDlfsPbchTbImcsAdj
(
-RgSchCellCb *cell,
-RgSchDlRbAlloc *allocInfo,
-uint8_t idx,
-uint8_t rbsReq
+RgSchCellCb *cell,
+RgSchDlRbAlloc *allocInfo,
+uint8_t idx,
+uint8_t rbsReq
)
-#else
-static Void rgSCHCmnNonDlfsPbchTbImcsAdj(cell,allocInfo, idx, rbsReq)
-RgSchCellCb *cell;
-RgSchDlRbAlloc *allocInfo;
-uint8_t idx;
-uint8_t rbsReq;
-#endif
{
- uint8_t noLyrs = 0;
- uint8_t tbs = 0;
- uint32_t origBytesReq;
- uint8_t noRbgs = 0;
- uint8_t noRbs = 0;
- RgSchDlSf *dlSf = allocInfo->dlSf;
+ uint8_t noLyrs = 0;
+ uint8_t tbs = 0;
+ uint32_t origBytesReq;
+ uint8_t noRbgs = 0;
+ uint8_t noRbs = 0;
+ RgSchDlSf *dlSf = allocInfo->dlSf;
RG_SCH_CMN_DL_MCS_TO_TBS(allocInfo->tbInfo[idx].imcs, tbs);
noLyrs = allocInfo->tbInfo[idx].noLyr;
* @param[in] uint8_t pbchSsRsSym
* @return void
**/
-#ifdef ANSI
static Void rgSCHCmnNonDlfsPbchTbSizeAdj
(
-RgSchDlRbAlloc *allocInfo,
-uint8_t numOvrlapgPbchRb,
-uint8_t pbchSsRsSym,
-uint8_t idx,
-uint32_t bytesReq
+RgSchDlRbAlloc *allocInfo,
+uint8_t numOvrlapgPbchRb,
+uint8_t pbchSsRsSym,
+uint8_t idx,
+uint32_t bytesReq
)
-#else
-static Void rgSCHCmnNonDlfsPbchTbSizeAdj(allocInfo,numOvrlapgPbchRb,pbchSsRsSym,idx,bytesReq)
-RgSchDlRbAlloc *allocInfo;
-uint8_t numOvrlapgPbchRb;
-uint8_t pbchSsRsSym;
-uint8_t idx;
-uint32_t bytesReq;
-#endif
{
- uint32_t reducedTbs = 0;
- uint8_t noLyrs = 0;
- uint8_t tbs = 0;
-
+ uint32_t reducedTbs = 0;
+ uint8_t noLyrs = 0;
+ uint8_t tbs = 0;
+
noLyrs = allocInfo->tbInfo[idx].noLyr;
RG_SCH_CMN_DL_MCS_TO_TBS(allocInfo->tbInfo[idx].imcs, tbs);
* @param[out] uint8_t addtlRbsAvl
* @return void
**/
-#ifdef ANSI
-static uint8_t rgSCHCmnFindNumAddtlRbsAvl
-(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf,
-RgSchDlRbAlloc *allocInfo
-)
-#else
-static uint8_t rgSCHCmnFindNumAddtlRbsAvl(cell,dlSf,allocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-RgSchDlRbAlloc *allocInfo;
-#endif
+static uint8_t rgSCHCmnFindNumAddtlRbsAvl(RgSchCellCb *cell,RgSchDlSf *dlSf,RgSchDlRbAlloc *allocInfo)
{
uint8_t addtlRbsAvl = 0;
-
-
if (allocInfo->raType == RG_SCH_CMN_RA_TYPE0)
{
addtlRbsAvl = (((dlSf->type0End - dlSf->type2End + 1)*\
* @param[out] uint8_t* numOvrlapgPbchRb
* @return void
**/
-#ifdef ANSI
static Void rgSCHCmnFindNumPbchOvrlapRbs
(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf,
-RgSchDlRbAlloc *allocInfo,
-uint8_t *numOvrlapgPbchRb
+RgSchCellCb *cell,
+RgSchDlSf *dlSf,
+RgSchDlRbAlloc *allocInfo,
+uint8_t *numOvrlapgPbchRb
)
-#else
-static Void rgSCHCmnFindNumPbchOvrlapRbs(cell,dlSf,allocInfo,numOvrlapgPbchRb)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-RgSchDlRbAlloc *allocInfo;
-uint8_t *numOvrlapgPbchRb;
-#endif
{
*numOvrlapgPbchRb = 0;
/*Find if we have already crossed the start boundary for PBCH 6 RBs,
* @param[in] uint8_t pbchSsRsSym
* @return void
**/
-#ifdef ANSI
static Void rgSCHCmnNonDlfsPbchRbAllocAdj
(
RgSchCellCb *cell,
RgSchDlRbAlloc *allocInfo,
-uint8_t pbchSsRsSym,
+uint8_t pbchSsRsSym,
Bool isBcchPcch
-)
-#else
-static Void rgSCHCmnNonDlfsPbchRbAllocAdj(cell, allocInfo,pbchSsRsSym)
-RgSchCellCb *cell;
-RgSchDlRbAlloc *allocInfo;
-uint8_t pbchSsRsSym;
-Bool isBcchPcch;
-#endif
+)
{
- RgSchDlSf *dlSf = allocInfo->dlSf;
- uint8_t numOvrlapgPbchRb = 0;
- uint8_t numOvrlapgAdtlPbchRb = 0;
- uint8_t totSym;
- uint8_t addtlRbsReq = 0;
- uint8_t moreAddtlRbsReq = 0;
- uint8_t addtlRbsAdd = 0;
- uint8_t moreAddtlRbsAdd = 0;
- uint8_t tbs;
- uint8_t origRbsReq = 0;
- uint32_t bytesReq;
- uint8_t noLyr;
- uint8_t divResult;
+ RgSchDlSf *dlSf = allocInfo->dlSf;
+ uint8_t numOvrlapgPbchRb = 0;
+ uint8_t numOvrlapgAdtlPbchRb = 0;
+ uint8_t totSym;
+ uint8_t addtlRbsReq = 0;
+ uint8_t moreAddtlRbsReq = 0;
+ uint8_t addtlRbsAdd = 0;
+ uint8_t moreAddtlRbsAdd = 0;
+ uint8_t tbs;
+ uint8_t origRbsReq = 0;
+ uint32_t bytesReq;
+ uint8_t noLyr;
+ uint8_t divResult;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHCmnNonDlfsCmnRbAlloc
-(
-RgSchCellCb *cell,
-RgSchDlRbAlloc *allocInfo
-)
-#else
-static S16 rgSCHCmnNonDlfsCmnRbAlloc(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchDlRbAlloc *allocInfo;
-#endif
+static S16 rgSCHCmnNonDlfsCmnRbAlloc(RgSchCellCb *cell,RgSchDlRbAlloc *allocInfo)
{
#ifndef LTE_TDD
#ifdef LTEMAC_SPS
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHCmnNonDlfsCmnRbAllocRar
-(
- RgSchCellCb *cell,
- RgSchDlRbAlloc *allocInfo
- )
-#else
-static S16 rgSCHCmnNonDlfsCmnRbAlloc(cell, allocInfo)
- RgSchCellCb *cell;
- RgSchDlRbAlloc *allocInfo;
-#endif
+static S16 rgSCHCmnNonDlfsCmnRbAllocRar(RgSchCellCb *cell,RgSchDlRbAlloc *allocInfo)
{
RgSchDlSf *dlSf = allocInfo->dlSf;
-
if(dlSf->bwAlloced == dlSf->bw)
{
return RFAILED;
* -# FALSE
**/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static Bool rgSCHCmnNonDlfsSFRBwAvlbl
(
-RgSchCellCb *cell,
-RgSchSFRPoolInfo **sfrpoolInfo,
-RgSchDlSf *dlSf,
-RgSchDlRbAlloc *allocInfo,
-Bool isUeCellEdge
+RgSchCellCb *cell,
+RgSchSFRPoolInfo **sfrpoolInfo,
+RgSchDlSf *dlSf,
+RgSchDlRbAlloc *allocInfo,
+Bool isUeCellEdge
)
-#else
-static Bool rgSCHCmnNonDlfsSFRBwAvlbl(cell, sfrpoolInfo, dlSf, allocInfo, isUeCellEdge)
-RgSchCellCb *cell;
-RgSchSFRPoolInfo **sfrpoolInfo;
-RgSchDlSf *dlSf;
-RgSchDlRbAlloc *allocInfo;
-Bool isUeCellEdge;
-#endif
{
CmLListCp *l;
CmLListCp *l1;
* -# FALSE
**/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static Bool rgSCHCmnNonDlfsBwAvlbl
(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf,
-RgSchDlRbAlloc *allocInfo
+RgSchCellCb *cell,
+RgSchDlSf *dlSf,
+RgSchDlRbAlloc *allocInfo
)
-#else
-static Bool rgSCHCmnNonDlfsBwAvlbl(cell, dlSf, allocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-RgSchDlRbAlloc *allocInfo;
-#endif
{
uint8_t tbs;
uint8_t noLyrs;
*
* @return Void
**/
-#ifdef ANSI
Void rgSCHCmnNonDlfsSFRCmnChannelUpdTyp2Alloc
(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf,
-uint8_t rbStrt,
-uint8_t numRb
+RgSchCellCb *cell,
+RgSchDlSf *dlSf,
+uint8_t rbStrt,
+uint8_t numRb
)
-#else
-Void rgSCHCmnNonDlfsSFRCmnChannelUpdTyp2Alloc(cell, dlSf, rbStrt, numRb)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-uint8_t rbStrt;
-uint8_t numRb;
-#endif
{
CmLListCp *l;
CmLList *n;
* @return Void
**/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static S16 rgSCHCmnNonDlfsUpdDSFRTyp2Alloc
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlSf *dlSf,
-uint8_t rbStrt,
-uint8_t numRb
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+RgSchDlSf *dlSf,
+uint8_t rbStrt,
+uint8_t numRb
)
-#else
-static S16 rgSCHCmnNonDlfsUpdDSFRTyp2Alloc(cell, ue, dlSf, rbStrt, numRb)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlSf *dlSf;
-uint8_t rbStrt;
-uint8_t numRb;
-#endif
{
CmLListCp *l;
CmLList *n;
*
* @return Void
**/
-#ifdef ANSI
static Void rgSCHCmnNonDlfsUpdTyp2Alloc
(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf,
-uint8_t rbStrt,
-uint8_t numRb
+RgSchCellCb *cell,
+RgSchDlSf *dlSf,
+uint8_t rbStrt,
+uint8_t numRb
)
-#else
-static Void rgSCHCmnNonDlfsUpdTyp2Alloc(cell, dlSf, rbStrt, numRb)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-uint8_t rbStrt;
-uint8_t numRb;
-#endif
{
/* Move the type2End pivot forward */
dlSf->type2End = RGSCH_CEIL((rbStrt+numRb), cell->rbgSize);
* @return Void
**/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static Void rgSCHCmnNonDlfsType0Alloc
(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf,
-RgSchDlRbAlloc *allocInfo,
-RgSchUeCb *ue
+RgSchCellCb *cell,
+RgSchDlSf *dlSf,
+RgSchDlRbAlloc *allocInfo,
+RgSchUeCb *ue
)
-#else
-static Void rgSCHCmnNonDlfsType0Alloc(cell, dlSf, allocInfo, dlUe)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-RgSchDlRbAlloc *allocInfo;
-RgSchUeCb *ue;
-#endif
{
uint32_t dlAllocMsk = 0;
uint8_t rbgFiller = dlSf->lstRbgDfct;
* @return Void
**/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static S16 rgSCHCmnBuildRntpInfo
(
-RgSchCellCb *cell,
-uint8_t *rntpPtr,
-uint8_t startRb,
-uint8_t nmbRb,
-uint16_t bw
+RgSchCellCb *cell,
+uint8_t *rntpPtr,
+uint8_t startRb,
+uint8_t nmbRb,
+uint16_t bw
)
-#else
-static S16 rgSCHCmnBuildRntpInfo(cell, rntpPtr, startRb, nmbRb, bw)
-RgSchCellCb *cell;
-uint8_t *rntpPtr;
-uint8_t startRb;
-uint8_t nmbRb;
-uint16_t bw;
-#endif
{
uint16_t rbPtrStartIdx; /* Start Index of Octete Buffer to be filled */
uint16_t rbPtrEndIdx; /* End Index of Octete Buffer to be filled */
*
* @return Void
**/
-#ifdef ANSI
static S16 rgSCHCmnNonDlfsUpdSFRPoolTyp2Alloc
(
RgSchCellCb *cell,
-RgSchUeCb *ue,
+RgSchUeCb *ue,
RgSchDlSf *dlSf,
RgSchSFRPoolInfo *sfrPool,
-uint8_t rbStrt,
-uint8_t numRb
+uint8_t rbStrt,
+uint8_t numRb
)
-#else
-static S16 rgSCHCmnNonDlfsUpdSFRPoolTyp2Alloc(cell, ue, dlSf, sfrPool, rbStrt, numRb)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlSf *dlSf;
-RgSchSFRPoolInfo *sfrPool;
-uint8_t rbStrt;
-uint8_t numRb;
-#endif
{
#ifndef LTEMAC_SPS
S16 ret;
*
* @return Void
**/
-#ifdef ANSI
static Void rgSCHCmnNonDlfsSFRPoolType0Alloc
(
RgSchCellCb *cell,
RgSchSFRPoolInfo *poolInfo,
RgSchDlRbAlloc *allocInfo
)
-#else
-static Void rgSCHCmnNonDlfsSFRPoolType0Alloc(cell, dlSf, poolInfo, allocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-RgSchSFRPoolInfo *poolInfo;
-RgSchDlRbAlloc *allocInfo;
-#endif
{
uint32_t dlAllocMsk = 0;
uint8_t rbgFiller = 0;
* @return void
**/
-#ifdef ANSI
-static void rgSCHCmnNonDlfsDsfrRntpComp
-(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf
-)
-#else
-static void rgSCHCmnNonDlfsDsfrRntpComp(cell, dlSf)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-#endif
+static void rgSCHCmnNonDlfsDsfrRntpComp(RgSchCellCb *cell,RgSchDlSf *dlSf)
{
static uint16_t samples = 0;
uint16_t i;
* -# RFAILED
**/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static S16 rgSCHCmnSFRNonDlfsUeRbAlloc
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgSchDlSf *dlSf,
-uint8_t *isDlBwAvail
+uint8_t *isDlBwAvail
)
-#else
-static S16 rgSCHCmnSFRNonDlfsUeRbAlloc(cell, ue, dlSf, isDlBwAvail)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlSf *dlSf;
-uint8_t *isDlBwAvail;
-#endif
{
RgSchDlRbAlloc *allocInfo;
RgSchCmnDlUe *dlUe;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgSCHCmnNonDlfsUeRbAlloc
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlSf *dlSf,
-uint8_t *isDlBwAvail
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+RgSchDlSf *dlSf,
+uint8_t *isDlBwAvail
)
-#else
-static S16 rgSCHCmnNonDlfsUeRbAlloc(cell, ue, dlSf, isDlBwAvail)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlSf *dlSf;
-uint8_t *isDlBwAvail;
-#endif
{
RgSchDlRbAlloc *allocInfo;
RgSchCmnDlUe *dlUe;
*
* @return Void
**/
-#ifdef ANSI
static Void rgSCHCmnNonDlfsCcchSduAlloc
(
RgSchCellCb *cell,
RgSchCmnCcchSduRbAlloc *allocInfo,
uint8_t isRetx
)
-#else
-static Void rgSCHCmnNonDlfsCcchSduAlloc(cell, allocInfo, isRetx)
-RgSchCellCb *cell;
-RgSchCmnCcchSduRbAlloc *allocInfo;
-uint8_t isRetx;
-#endif
{
S16 ret;
CmLListCp *ccchSduLst = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgSCHCmnNonDlfsCcchSduRbAlloc
(
RgSchCellCb *cell,
RgSchUeCb *ueCb,
RgSchDlSf *dlSf
)
-#else
-static S16 rgSCHCmnNonDlfsCcchSduRbAlloc(cell, ueCb, dlSf)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-RgSchDlSf *dlSf;
-#endif
{
RgSchDlRbAlloc *allocInfo;
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ueCb,cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgSCHCmnNonDlfsMsg4RbAlloc
(
RgSchCellCb *cell,
RgSchRaCb *raCb,
RgSchDlSf *dlSf
)
-#else
-static S16 rgSCHCmnNonDlfsMsg4RbAlloc(cell, raCb, dlSf)
-RgSchCellCb *cell;
-RgSchRaCb *raCb;
-RgSchDlSf *dlSf;
-#endif
{
RgSchDlRbAlloc *allocInfo;
*
* @return Void
**/
-#ifdef ANSI
static Void rgSCHCmnNonDlfsMsg4Alloc
(
RgSchCellCb *cell,
RgSchCmnMsg4RbAlloc *allocInfo,
-uint8_t isRetx
+uint8_t isRetx
)
-#else
-static Void rgSCHCmnNonDlfsMsg4Alloc(cell, allocInfo, isRetx)
-RgSchCellCb *cell;
-RgSchCmnMsg4RbAlloc *allocInfo;
-uint8_t isRetx;
-#endif
{
S16 ret;
CmLListCp *msg4Lst = NULLP;
*
* @return Void
**/
-#ifdef ANSI
Void rgSCHCmnNonDlfsDedRbAlloc
(
RgSchCellCb *cell,
CmLListCp *schdHqPLst,
CmLListCp *nonSchdHqPLst
)
-#else
-Void rgSCHCmnNonDlfsDedRbAlloc(cell, allocInfo, ueLst,
- schdHqPLst, nonSchdHqPLst)
-RgSchCellCb *cell;
-RgSchCmnUeRbAlloc *allocInfo;
-CmLListCp *ueLst;
-CmLListCp *schdHqPLst;
-CmLListCp *nonSchdHqPLst;
-#endif
{
S16 ret;
CmLList *schdLnkNode = NULLP;
* @return Void
**/
-#ifdef ANSI
Void rgSCHCmnNonDlfsRbAlloc
(
RgSchCellCb *cell,
RgSchCmnDlRbAllocInfo *allocInfo
)
-#else
-Void rgSCHCmnNonDlfsRbAlloc(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
{
- uint8_t raRspCnt = 0;
- RgSchDlRbAlloc *reqAllocInfo;
+ uint8_t raRspCnt = 0;
+ RgSchDlRbAlloc *reqAllocInfo;
/* Allocate for MSG4 retransmissions */
if (allocInfo->msg4Alloc.msg4RetxLst.count)
*
**********************************************************/
#ifdef LTEMAC_SPS
-#ifdef ANSI
uint32_t rgSCHCmnCalcRiv
(
-uint8_t bw,
-uint8_t rbStart,
-uint8_t numRb
+uint8_t bw,
+uint8_t rbStart,
+uint8_t numRb
)
#else
-uint32_t rgSCHCmnCalcRiv(bw, rbStart, numRb)
-uint8_t bw;
-uint8_t rbStart;
-uint8_t numRb;
-#endif
-#else
-#ifdef ANSI
uint32_t rgSCHCmnCalcRiv
(
-uint8_t bw,
-uint8_t rbStart,
-uint8_t numRb
+uint8_t bw,
+uint8_t rbStart,
+uint8_t numRb
)
-#else
-uint32_t rgSCHCmnCalcRiv(bw, rbStart, numRb)
-uint8_t bw;
-uint8_t rbStart;
-uint8_t numRb;
-#endif
#endif
{
- uint8_t numRbMinus1 = numRb - 1;
- uint32_t riv;
+ uint8_t numRbMinus1 = numRb - 1;
+ uint32_t riv;
if (numRbMinus1 <= bw/2)
* @return S16
*
**/
-#ifdef ANSI
static S16 rgSCHCmnDlCpyRachInfo
(
-RgSchCellCb *cell,
-RgSchTddRachRspLst rachRspLst[][RGSCH_NUM_SUB_FRAMES],
-uint8_t raArrSz
+RgSchCellCb *cell,
+RgSchTddRachRspLst rachRspLst[][RGSCH_NUM_SUB_FRAMES],
+uint8_t raArrSz
)
-#else
-static S16 rgSCHCmnDlCpyRachInfo(cell, rachRspLst, raArrSz)
-RgSchCellCb *cell;
-RgSchTddRachRspLst rachRspLst[][RGSCH_NUM_SUB_FRAMES];
-uint8_t raArrSz;
-#endif
{
- uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
- uint8_t sfNum;
- S16 sfnIdx;
- uint16_t subfrmIdx;
- uint8_t numRfs;
- uint8_t numSubfrms;
- uint8_t sfcount;
- S16 ret;
+ uint8_t ulDlCfgIdx = cell->ulDlCfgIdx;
+ uint8_t sfNum;
+ S16 sfnIdx;
+ uint16_t subfrmIdx;
+ uint8_t numRfs;
+ uint8_t numSubfrms;
+ uint8_t sfcount;
+ S16 ret;
/* Allocate RACH response information for each DL
*
**/
#ifdef LTE_TDD
-#ifdef ANSI
static S32 rgSchCmnFetchItbs
(
-RgSchCellCb *cell,
-RgSchCmnDlUe *ueDl,
-RgSchDlSf *subFrm,
-uint8_t cqi,
-uint8_t cfi,
-uint8_t cwIdx,
-uint8_t noLyr
+RgSchCellCb *cell,
+RgSchCmnDlUe *ueDl,
+RgSchDlSf *subFrm,
+uint8_t cqi,
+uint8_t cfi,
+uint8_t cwIdx,
+uint8_t noLyr
)
#else
-static S32 rgSchCmnFetchItbs (cell, ueDl, subFrm, cqi, cfi, cwIdx, noLyr)
-RgSchCellCb *cell;
-RgSchCmnDlUe *ueDl;
-RgSchDlSf *subFrm;
-uint8_t cqi;
-uint8_t cfi;
-uint8_t cwIdx;
-uint8_t noLyr;
-#endif
-#else
-#ifdef ANSI
static S32 rgSchCmnFetchItbs
(
-RgSchCellCb *cell,
-RgSchCmnDlUe *ueDl,
-uint8_t cqi,
-uint8_t cfi,
-uint8_t cwIdx,
-uint8_t noLyr
+RgSchCellCb *cell,
+RgSchCmnDlUe *ueDl,
+uint8_t cqi,
+uint8_t cfi,
+uint8_t cwIdx,
+uint8_t noLyr
)
-#else
-static S32 rgSchCmnFetchItbs (cell, ueDl, cqi, cfi, cwIdx, noLyr)
-RgSchCellCb *cell;
-RgSchCmnDlUe *ueDl;
-uint8_t cqi;
-uint8_t cfi;
-uint8_t cwIdx;
-uint8_t noLyr;
-#endif
#endif
{
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocTxRb1Tb1Cw
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
-RgSchDlHqProcCb *proc,
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+uint32_t bo,
+uint32_t *effBo,
+RgSchDlHqProcCb *proc,
+RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocTxRb1Tb1Cw(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
RgSchDlRbAlloc *allocInfo;
S16 ret;
- uint8_t numRb;
+ uint8_t numRb;
ret = ROK;
allocInfo = RG_SCH_CMN_GET_ALLOCCB_FRM_UE(ue,cell);
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocRetxRb1Tb1Cw
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocRetxRb1Tb1Cw(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
RgSchDlRbAlloc *allocInfo;
S16 ret;
- uint8_t numRb;
+ uint8_t numRb;
ret = ROK;
allocInfo = RG_SCH_CMN_GET_ALLOCCB_FRM_UE(ue,cell);
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocTxRbTM1
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
-RgSchDlHqProcCb *proc,
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+uint32_t bo,
+uint32_t *effBo,
+RgSchDlHqProcCb *proc,
+RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocTxRbTM1(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
rgSCHCmnDlAllocTxRb1Tb1Cw(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo);
return;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocRetxRbTM1
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocRetxRbTM1(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
rgSCHCmnDlAllocRetxRb1Tb1Cw(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo);
return;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocTxRbTM2
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocTxRbTM2(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
rgSCHCmnDlAllocTxRb1Tb1Cw(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo);
return;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocRetxRbTM2
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocRetxRbTM2(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
rgSCHCmnDlAllocRetxRb1Tb1Cw(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo);
return;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocTxRbTM3
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocTxRbTM3(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocRetxRbTM3
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocRetxRbTM3(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
* @return TfuDciFormat
*
**/
-#ifdef ANSI
TfuDciFormat rgSCHCmnSlctPdcchFrmt
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t *raType
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+uint8_t *raType
)
-#else
-TfuDciFormat rgSCHCmnSlctPdcchFrmt(cell, ue, raType)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t *raType;
-#endif
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlTM3RetxRetx
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlTM3RetxRetx(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
S16 ret;
RgSchDlRbAlloc *allocInfo;
- uint8_t numRb;
+ uint8_t numRb;
Bool swpFlg;
- uint8_t precInfo;
- uint8_t noTxLyrs;
- uint8_t precInfoAntIdx;
+ uint8_t precInfo;
+ uint8_t noTxLyrs;
+ uint8_t precInfoAntIdx;
ret = ROK;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlTM4RetxRetx
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
-RgSchDlHqProcCb *proc,
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+uint32_t bo,
+uint32_t *effBo,
+RgSchDlHqProcCb *proc,
+RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlTM4RetxRetx(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
S16 ret;
RgSchDlRbAlloc *allocInfo;
- uint8_t numRb;
+ uint8_t numRb;
Bool swpFlg = FALSE;
- uint8_t precInfo;
+ uint8_t precInfo;
#ifdef FOUR_TX_ANTENNA
- uint8_t precInfoAntIdx;
+ uint8_t precInfoAntIdx;
#endif
- uint8_t noTxLyrs;
+ uint8_t noTxLyrs;
ret = ROK;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlSMGetAttrForTxRetx
(
RgSchUeCb *ue,
Bool *frthrScp,
Bool *swpFlg
)
-#else
-static Void rgSCHCmnDlSMGetAttrForTxRetx(ue, proc, retxTb, txTb, frthrScp,\
- swpFlg)
-RgSchUeCb *ue;
-RgSchDlHqProcCb *proc;
-RgSchDlHqTbCb **retxTb;
-RgSchDlHqTbCb **txTb;
-Bool *frthrScp;
-Bool *swpFlg;
-#endif
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,proc->hqE->cell);
RgSchDlRbAlloc *allocInfo;
* @return uint8_t
*
**/
-#ifdef ANSI
static uint8_t rgSCHCmnDlTM3PrecInf2
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t numTxLyrs,
-Bool bothCwEnbld
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+uint8_t numTxLyrs,
+Bool bothCwEnbld
)
-#else
-static uint8_t rgSCHCmnDlTM3PrecInf2(ue, numTxLyrs, bothCwEnbld)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t numTxLyrs;
-Bool bothCwEnbld;
-#endif
{
return (0);
* @return uint8_t
*
**/
-#ifdef ANSI
static uint8_t rgSCHCmnDlTM4PrecInf2
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t numTxLyrs,
-Bool bothCwEnbld
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+uint8_t numTxLyrs,
+Bool bothCwEnbld
)
-#else
-static uint8_t rgSCHCmnDlTM4PrecInf2(ue, numTxLyrs, bothCwEnbld)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t numTxLyrs;
-Bool bothCwEnbld;
-#endif
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
uint8_t precIdx;
* @return uint8_t
*
**/
-#ifdef ANSI
static uint8_t rgSCHCmnDlTM3PrecInf4
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t numTxLyrs,
-Bool bothCwEnbld
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+uint8_t numTxLyrs,
+Bool bothCwEnbld
)
-#else
-static uint8_t rgSCHCmnDlTM3PrecInf4(ue, numTxLyrs, bothCwEnbld)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t numTxLyrs;
-Bool bothCwEnbld;
-#endif
{
- uint8_t precIdx;
+ uint8_t precIdx;
if (bothCwEnbld)
* @return uint8_t
*
**/
-#ifdef ANSI
static uint8_t rgSCHCmnDlTM4PrecInf4
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t numTxLyrs,
-Bool bothCwEnbld
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+uint8_t numTxLyrs,
+Bool bothCwEnbld
)
-#else
-static uint8_t rgSCHCmnDlTM4PrecInf4(cell, ue, numTxLyrs, bothCwEnbld)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t numTxLyrs;
-Bool bothCwEnbld;
-#endif
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
- uint8_t precInfoBaseIdx, precIdx;
+ uint8_t precInfoBaseIdx, precIdx;
precInfoBaseIdx = (ue->mimoInfo.puschFdbkVld)? (16):
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlGetAttrForTM3
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlHqProcCb *proc,
-uint8_t *numTxLyrs,
-TfuDciFormat *dciFrmt,
-uint8_t *prcdngInf,
-RgSchDlHqTbCb **retxTb,
-RgSchDlHqTbCb **txTb,
-Bool *frthrScp,
-Bool *swpFlg,
-uint8_t *raType
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+RgSchDlHqProcCb *proc,
+uint8_t *numTxLyrs,
+TfuDciFormat *dciFrmt,
+uint8_t *prcdngInf,
+RgSchDlHqTbCb **retxTb,
+RgSchDlHqTbCb **txTb,
+Bool *frthrScp,
+Bool *swpFlg,
+uint8_t *raType
)
-#else
-static Void rgSCHCmnDlGetAttrForTM3(cell, ue, proc, numTxLyrs, dciFrmt,\
- prcdngInf, retxTb, txTb, frthrScp, swpFlg, raType)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlHqProcCb *proc;
-uint8_t *numTxLyrs;
-TfuDciFormat *dciFrmt;
-uint8_t *prcdngInf;
-RgSchDlHqTbCb **retxTb;
-RgSchDlHqTbCb **txTb;
-Bool *frthrScp;
-Bool *swpFlg;
-uint8_t *raType;
-#endif
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
- uint8_t precInfoAntIdx;
+ uint8_t precInfoAntIdx;
/* Avoiding Tx-Retx for LAA cell as firstSchedTime is associated with
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlGetAttrForTM4
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlHqProcCb *proc,
-uint8_t *numTxLyrs,
-TfuDciFormat *dciFrmt,
-uint8_t *prcdngInf,
-RgSchDlHqTbCb **retxTb,
-RgSchDlHqTbCb **txTb,
-Bool *frthrScp,
-Bool *swpFlg,
-uint8_t *raType
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+RgSchDlHqProcCb *proc,
+uint8_t *numTxLyrs,
+TfuDciFormat *dciFrmt,
+uint8_t *prcdngInf,
+RgSchDlHqTbCb **retxTb,
+RgSchDlHqTbCb **txTb,
+Bool *frthrScp,
+Bool *swpFlg,
+uint8_t *raType
)
-#else
-static Void rgSCHCmnDlGetAttrForTM4(cell, ue, proc, numTxLyrs, dciFrmt,\
- prcdngInf, retxTb, txTb, frthrScp, swpFlg, raType)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlHqProcCb *proc;
-uint8_t *numTxLyrs;
-TfuDciFormat *dciFrmt;
-uint8_t *prcdngInf;
-RgSchDlHqTbCb **retxTb;
-RgSchDlHqTbCb **txTb;
-Bool *frthrScp;
-Bool *swpFlg;
-uint8_t *raType;
-#endif
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
uint8_t precInfoAntIdx;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlTM3TxRetx
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
-RgSchDlHqProcCb *proc,
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo
-)
-#else
-static Void rgSCHCmnDlTM3TxRetx(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+uint32_t bo,
+uint32_t *effBo,
+RgSchDlHqProcCb *proc,
+RgSchCmnDlRbAllocInfo *cellWdAllocInfo
+)
{
S16 ret;
RgSchDlRbAlloc *allocInfo;
- uint8_t numRb;
+ uint8_t numRb;
RgSchDlHqTbCb *retxTb, *txTb;
Bool frthrScp;
Bool swpFlg;
- uint8_t prcdngInf;
- uint8_t numTxLyrs;
+ uint8_t prcdngInf;
+ uint8_t numTxLyrs;
frthrScp = FALSE;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlTM4TxRetx
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlTM4TxRetx(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
S16 ret;
RgSchDlRbAlloc *allocInfo;
- uint8_t numRb;
+ uint8_t numRb;
RgSchDlHqTbCb *retxTb, *txTb;
Bool frthrScp;
Bool swpFlg;
- uint8_t prcdngInf;
- uint8_t numTxLyrs;
+ uint8_t prcdngInf;
+ uint8_t numTxLyrs;
ret = ROK;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlTM3TxTx
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
-RgSchDlHqProcCb *proc,
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+uint32_t bo,
+uint32_t *effBo,
+RgSchDlHqProcCb *proc,
+RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlTM3TxTx(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
RgSchCmnDlUe *ueDl;
RgSchDlRbAlloc *allocInfo;
- uint8_t numRb;
- uint8_t noTxLyrs;
- uint8_t precInfo;
+ uint8_t numRb;
+ uint8_t noTxLyrs;
+ uint8_t precInfo;
S16 ret;
- uint8_t precInfoAntIdx;
+ uint8_t precInfoAntIdx;
ret = ROK;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlTM4TxTx
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
-RgSchDlHqProcCb *proc,
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+uint32_t bo,
+uint32_t *effBo,
+RgSchDlHqProcCb *proc,
+RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlTM4TxTx(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
RgSchCmnDlUe *ueDl;
RgSchDlRbAlloc *allocInfo;
- uint8_t numRb;
- uint8_t precInfo;
- uint8_t noTxLyrs;
- uint8_t precInfoAntIdx;
+ uint8_t numRb;
+ uint8_t precInfo;
+ uint8_t noTxLyrs;
+ uint8_t precInfoAntIdx;
S16 ret;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocTxRbTM4
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
-RgSchDlHqProcCb *proc,
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+uint32_t bo,
+uint32_t *effBo,
+RgSchDlHqProcCb *proc,
+RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocTxRbTM4(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
/* Both TBs free for TX allocation */
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocRetxRbTM4
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
-RgSchDlHqProcCb *proc,
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+uint32_t bo,
+uint32_t *effBo,
+RgSchDlHqProcCb *proc,
+RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocRetxRbTM4(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
if ((proc->tbInfo[0].state == HQ_TB_NACKED) &&
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocTxRbTM5
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocTxRbTM5(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
#if (ERRCLASS & ERRCLS_DEBUG)
RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId, "Invalid TM 5 for CRNTI:%d",ue->ueId);
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocRetxRbTM5
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
-RgSchDlHqProcCb *proc,
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+uint32_t bo,
+uint32_t *effBo,
+RgSchDlHqProcCb *proc,
+RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocRetxRbTM5(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
#if (ERRCLASS & ERRCLS_DEBUG)
RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId, "Invalid TM 5 for CRNTI:%d",ue->ueId);
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocTxRbTM6
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocTxRbTM6(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
RgSchDlRbAlloc *allocInfo;
RgSchCmnDlUe *ueDl;
S16 ret;
- uint8_t numRb;
+ uint8_t numRb;
ret = ROK;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocRetxRbTM6
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocRetxRbTM6(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
RgSchDlRbAlloc *allocInfo;
RgSchCmnDlUe *ueDl;
S16 ret;
- uint8_t numRb;
+ uint8_t numRb;
ret = ROK;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocTxRbTM7
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocTxRbTM7(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
rgSCHCmnDlAllocTxRb1Tb1Cw(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo);
return;
* @return Void
*
**/
-#ifdef ANSI
static Void rgSCHCmnDlAllocRetxRbTM7
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-static Void rgSCHCmnDlAllocRetxRbTM7(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
rgSCHCmnDlAllocRetxRb1Tb1Cw(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo);
return;
* @return S16
*
**/
-#ifdef ANSI
S16 rgSCHCmnDlAllocTxRb
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-S16 rgSCHCmnDlAllocTxRb(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
- uint32_t newSchBits = 0;
- uint32_t prevSchBits = 0;
+ uint32_t newSchBits = 0;
+ uint32_t prevSchBits = 0;
RgSchDlRbAlloc *allocInfo;
* @return Bool
*
**/
-#ifdef ANSI
Bool rgSCHCmnRetxAvoidTdd
(
RgSchDlSf *curSf,
RgSchCellCb *cell,
RgSchDlHqProcCb *proc
)
-#else
-Bool rgSCHCmnRetxAvoidTdd(curSf, cell, proc)
-RgSchDlSf *curSf;
-RgSchCellCb *cell;
-RgSchDlHqProcCb *proc;
-#endif
{
RgSchTddSfType txSfType = 0;
* @return Bool
*
**/
-#ifdef ANSI
Bool rgSCHCmnRetxAllocAvoid
(
RgSchDlSf *subFrm,
RgSchCellCb *cell,
RgSchDlHqProcCb *proc
)
-#else
-Bool rgSCHCmnRetxAllocAvoid(subFrm, cell, proc)
-RgSchDlSf *subFrm;
-RgSchCellCb *cell;
-RgSchDlHqProcCb *proc;
-#endif
{
uint8_t reqRbs;
* @return S16
*
**/
-#ifdef ANSI
S16 rgSCHCmnDlAllocRetxRb
(
RgSchCellCb *cell,
RgSchDlSf *subFrm,
RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *effBo,
+uint32_t bo,
+uint32_t *effBo,
RgSchDlHqProcCb *proc,
RgSchCmnDlRbAllocInfo *cellWdAllocInfo
)
-#else
-S16 rgSCHCmnDlAllocRetxRb(cell, subFrm, ue, bo, effBo, proc, cellWdAllocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *effBo;
-RgSchDlHqProcCb *proc;
-RgSchCmnDlRbAllocInfo *cellWdAllocInfo;
-#endif
{
uint32_t newSchBits = 0;
RgSchDlRbAlloc *allocInfo;
* @return S16
*
**/
-#ifdef ANSI
static S16 rgSCHCmnDlAlloc1CwTxRb
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-RgSchDlHqTbCb *tbInfo,
-uint32_t bo,
-uint8_t *numRb,
-uint32_t *effBo
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+RgSchDlHqTbCb *tbInfo,
+uint32_t bo,
+uint8_t *numRb,
+uint32_t *effBo
)
-#else
-static S16 rgSCHCmnDlAlloc1CwTxRb(cell, subFrm, ue, tbInfo, bo, numRb, effBo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-RgSchDlHqTbCb *tbInfo;
-uint32_t bo;
-uint8_t *numRb;
-uint32_t *effBo;
-#endif
-{
- uint32_t tbSz;
- uint8_t imcs;
- uint8_t iTbs;
- RgSchCmnDlUe *ueDl;
- RgSchDlRbAlloc *allocInfo;
- uint32_t oldReq;
- uint32_t reqBytes;
+{
+ uint32_t tbSz;
+ uint8_t imcs;
+ uint8_t iTbs;
+ RgSchCmnDlUe *ueDl;
+ RgSchDlRbAlloc *allocInfo;
+ uint32_t oldReq;
+ uint32_t reqBytes;
/* Correcting wrap around issue.
* This change has been done at mutliple places in this function.*/
- uint32_t tempNumRb;
+ uint32_t tempNumRb;
reqBytes = bo;
ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* @return Void
*
**/
-#ifdef ANSI
Void rgSCHCmnRdcImcsTxTb
(
RgSchDlRbAlloc *allocInfo,
-uint8_t tbInfoIdx,
-uint32_t cnsmdBytes
+uint8_t tbInfoIdx,
+uint32_t cnsmdBytes
)
-#else
-Void rgSCHCmnRdcImcsTxTb(allocInfo, tbInfoIdx, cnsmdBytes)
-RgSchDlRbAlloc *allocInfo;
-uint8_t tbInfoIdx;
-uint32_t cnsmdBytes;
-#endif
{
return;
/*The below functionality is not needed.*/
* @return Void
*
**/
-#ifdef ANSI
static S16 rgSCHCmnDlAlloc2CwTxRb
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-RgSchDlHqProcCb *proc,
-uint32_t bo,
-uint8_t *numRbRef,
-uint32_t *effBo
-)
-#else
-static S16 rgSCHCmnDlAlloc2CwTxRb(cell, subFrm, ue, proc, bo, numRbRef, effBo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-RgSchDlHqProcCb *proc;
-uint32_t bo;
-uint8_t *numRbRef;
-uint32_t *effBo;
-#endif
-{
- uint32_t noRes;
- uint32_t eff1, eff2;
- uint32_t tb1Sz, tb2Sz;
- uint8_t imcs1, imcs2;
- uint8_t noLyr1, noLyr2;
- uint8_t iTbs1, iTbs2;
- RgSchCmnDlCell *cellDl;
- RgSchCmnDlUe *ueDl;
- RgSchDlRbAlloc *allocInfo;
- uint32_t oldReq;
- uint32_t reqBytes;
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+RgSchDlHqProcCb *proc,
+uint32_t bo,
+uint8_t *numRbRef,
+uint32_t *effBo
+)
+{
+ uint32_t noRes;
+ uint32_t eff1, eff2;
+ uint32_t tb1Sz, tb2Sz;
+ uint8_t imcs1, imcs2;
+ uint8_t noLyr1, noLyr2;
+ uint8_t iTbs1, iTbs2;
+ RgSchCmnDlCell *cellDl;
+ RgSchCmnDlUe *ueDl;
+ RgSchDlRbAlloc *allocInfo;
+ uint32_t oldReq;
+ uint32_t reqBytes;
/* Fix: MUE_PERTTI_DL */
- uint32_t numRb;
- RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- uint8_t cfi = cellSch->dl.currCfi;
- S16 availBw;
- uint32_t availBits = 0;
+ uint32_t numRb;
+ RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
+ uint8_t cfi = cellSch->dl.currCfi;
+ S16 availBw;
+ uint32_t availBits = 0;
#ifdef LTE_ADV
- uint32_t boTmp = bo;
+ uint32_t boTmp = bo;
#endif
* @return Void
*
**/
-#ifdef ANSI
static S16 rgSCHCmnDlAlloc2CwTxRetxRb
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-RgSchDlHqTbCb *reTxTb,
-RgSchDlHqTbCb *txTb,
-uint8_t *numRb,
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+RgSchDlHqTbCb *reTxTb,
+RgSchDlHqTbCb *txTb,
+uint8_t *numRb,
uint32_t *effBo
)
-#else
-static S16 rgSCHCmnDlAlloc2CwTxRetxRb(cell, subFrm, ue, reTxTb, txTb, numRb,\
- effBo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-RgSchDlHqTbCb *reTxTb;
-RgSchDlHqTbCb *txTb;
-uint8_t *numRb;
-uint32_t *effBo;
-#endif
{
RgSchCmnDlUe *ueDl;
RgSchDlRbAlloc *allocInfo;
- uint8_t imcs1, imcs2;
- uint8_t noLyr2;
- uint16_t tb2Sz;
+ uint8_t imcs1, imcs2;
+ uint8_t noLyr2;
+ uint16_t tb2Sz;
RgSchCmnDlUeCwInfo *otherCw;
S16 availBw;
RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
- uint8_t cfi = cellDl->currCfi;
- uint8_t iTbs;
+ uint8_t cfi = cellDl->currCfi;
+ uint8_t iTbs;
ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* @return Void
*
**/
-#ifdef ANSI
static S16 rgSCHCmnDlAlloc2CwRetxRb
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-RgSchDlHqProcCb *proc,
-uint8_t *numRb,
-Bool *swpFlg,
-uint32_t *effBo
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+RgSchDlHqProcCb *proc,
+uint8_t *numRb,
+Bool *swpFlg,
+uint32_t *effBo
)
-#else
-static S16 rgSCHCmnDlAlloc2CwRetxRb(cell, subFrm, ue, proc,\
- numRb, swpFlg, effBo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-RgSchDlHqProcCb *proc;
-uint8_t *numRb;
-Bool *swpFlg;
-uint32_t *effBo;
-#endif
{
- RgSchDlRbAlloc *allocInfo;
- uint8_t imcs1;
- uint8_t imcs2;
- RgSchDlHqTbCb *lrgTbInfo, *othrTbInfo;
+ RgSchDlRbAlloc *allocInfo;
+ uint8_t imcs1;
+ uint8_t imcs2;
+ RgSchDlHqTbCb *lrgTbInfo, *othrTbInfo;
allocInfo = RG_SCH_CMN_GET_ALLOCCB_FRM_UE(ue,cell);
* @return S16
*
**/
-#ifdef ANSI
static S16 rgSCHCmnDlAlloc1CwRetxRb
(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchUeCb *ue,
-RgSchDlHqTbCb *tbInfo,
-uint8_t noLyr,
-uint8_t *numRb,
-uint32_t *effBo
+RgSchCellCb *cell,
+RgSchDlSf *subFrm,
+RgSchUeCb *ue,
+RgSchDlHqTbCb *tbInfo,
+uint8_t noLyr,
+uint8_t *numRb,
+uint32_t *effBo
)
-#else
-static S16 rgSCHCmnDlAlloc1CwRetxRb(cell, subFrm, ue, tbInfo, noLyr,\
- numRb, effBo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchUeCb *ue;
-RgSchDlHqTbCb *tbInfo;
-uint8_t noLyr;
-uint8_t *numRb;
-uint32_t *effBo;
-#endif
{
RgSchDlRbAlloc *allocInfo;
uint8_t imcs;
* @return Void
*
**/
-#ifdef ANSI
Void rgSCHCmnDlRelPdcchFbk
(
RgSchCellCb *cell,
RgSchUeCb *ue,
Bool isAck
)
-#else
-Void rgSCHCmnDlRelPdcchFbk(cell, ue, isAck)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-Bool isAck;
-#endif
{
rgSCHCmnSpsDlRelPdcchFbk(cell, ue, isAck);
* @return Void
*
**/
-#ifdef ANSI
Void rgSCHCmnDlProcAck
(
RgSchCellCb *cell,
RgSchDlHqProcCb *hqP
)
-#else
-Void rgSCHCmnDlProcAck(cell, hqP)
-RgSchCellCb *cell;
-RgSchDlHqProcCb *hqP;
-#endif
{
* @return Void
*
**/
-#ifdef ANSI
Void rgSCHCmnHdlCrntiCE
(
RgSchCellCb *cell,
RgSchUeCb *ue
)
-#else
-Void rgSCHCmnHdlCrntiCE(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
{
#ifdef RGSCH_SPS_STATS
* @return Void
*
**/
-#ifdef ANSI
Void rgSCHCmnUlSpsRelInd
(
RgSchCellCb *cell,
RgSchUeCb *ue,
Bool isExplRel
)
-#else
-Void rgSCHCmnUlSpsRelInd(cell, ue, isExplRel)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-Bool isExplRel;
-#endif
{
rgSCHCmnSpsUlProcRelInd(cell, ue, isExplRel);
* @return Void
*
**/
-#ifdef ANSI
Void rgSCHCmnUlSpsActInd
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint16_t spsSduSize
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+uint16_t spsSduSize
)
-#else
-Void rgSCHCmnUlSpsActInd(cell, ue,spsSduSize)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint16_t spsSduSize;
-#endif
{
* @return Void
*
**/
-#ifdef ANSI
Void rgSCHCmnUlCrcInd
(
RgSchCellCb *cell,
RgSchUeCb *ue,
CmLteTimingInfo crcTime
)
-#else
-Void rgSCHCmnUlCrcInd(cell, ue, crcTime)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo crcTime;
-#endif
{
if (ue->ul.ulSpsCfg.isUlSpsEnabled == TRUE)
* @return Void
*
**/
-#ifdef ANSI
Void rgSCHCmnUlCrcFailInd
(
RgSchCellCb *cell,
RgSchUeCb *ue,
CmLteTimingInfo crcTime
)
-#else
-Void rgSCHCmnUlCrcFailInd(cell, ue, crcTime)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo crcTime;
-#endif
{
if (ue->ul.ulSpsCfg.isUlSpsEnabled == TRUE)
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHCmnDlBcchPcchAlloc
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHCmnDlBcchPcchAlloc(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHCmnDlBcchPcchAlloc(RgSchCellCb *cell)
{
#ifdef LTE_TDD
uint8_t nextSfIdx = (cell->crntSfIdx) % RGSCH_SF_ALLOC_SIZE;
* @return Void
**/
-#ifdef ANSI
static Void rgSCHBcchPcchDlRbAlloc
(
RgSchCellCb *cell,
RgSchCmnDlRbAllocInfo *allocInfo
)
-#else
-static Void rgSCHBcchPcchDlRbAlloc(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @return Void
**/
-#ifdef ANSI
static Void rgSCHCmnNonDlfsBcchPcchRbAlloc
(
RgSchCellCb *cell,
RgSchCmnDlRbAllocInfo *allocInfo
)
-#else
-static Void rgSCHCmnNonDlfsBcchPcchRbAlloc(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
{
RgSchDlRbAlloc *reqAllocInfo;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static Void rgSCHChkNUpdSiCfg
(
RgSchCellCb *cell
)
-#else
-static Void rgSCHChkNUpdSiCfg(cell)
-RgSchCellCb *cell;
-#endif
{
CmLteTimingInfo pdSchTmInfo;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static Void rgSCHSelectSi
(
RgSchCellCb *cell
)
-#else
-static Void rgSCHSelectSi(cell)
-RgSchCellCb *cell;
-#endif
{
- CmLteTimingInfo crntTmInfo;
- uint8_t siWinSize;
- uint16_t x;
- uint16_t windowId;
+ CmLteTimingInfo crntTmInfo;
+ uint8_t siWinSize;
+ uint16_t x;
+ uint16_t windowId;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static Void rgSCHDlSiSched
(
RgSchCellCb *cell,
RgSchCmnDlRbAllocInfo *allocInfo,
RgInfSfAlloc *subfrmAlloc
)
-#else
-static Void rgSCHDlSiSched(cell, allocInfo, subfrmAlloc)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-RgInfSfAlloc *subfrmAlloc;
-#endif
{
CmLteTimingInfo crntTimInfo;
RgSchDlSf *sf;
- uint8_t nPrb = 0;
- uint8_t mcs = 0;
+ uint8_t nPrb = 0;
+ uint8_t mcs = 0;
MsgLen msgLen = 0;
- uint32_t rb=0;
+ uint32_t rb=0;
RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
/* DwPTS Scheduling Changes Start */
#ifdef LTE_TDD
- uint16_t lostRe;
- uint8_t cfi = cellDl->currCfi;
+ uint16_t lostRe;
+ uint8_t cfi = cellDl->currCfi;
#endif
/* DwPTS Scheduling Changes End */
* @return Void
*
**/
-#ifdef ANSI
static S16 rgSCHCmnUeDlPwrCtColltCqiRept
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgrUeCqiRept *ueCqiRpt
)
-#else
-static S16 rgSCHCmnUeDlPwrCtColltCqiRept(cell, ue, ueCqiRpt)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeCqiRept *ueCqiRpt;
-#endif
{
uint8_t *cqiCount = NULLP;
S16 retVal;
* @return Void
*
**/
-#ifdef ANSI
Void rgSCHCmnChkRetxAllowDtx
(
RgSchCellCb *cell,
RgSchDlHqProcCb *proc,
Bool *reTxAllwd
)
-#else
-Void rgSCHCmnChkRetxAllowDtx(cell, ueCb, proc, reTxAllwd)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-RgSchDlHqProcCb *proc;
-Bool *reTxAllwd;
-#endif
{
* @param[in] uint8_t sf
* @return uint16_t siSetId
**/
-#ifdef ANSI
uint16_t rgSCHCmnGetSiSetId
(
uint16_t sfn,
uint8_t sf,
uint16_t minPeriodicity
)
-#else
-uint16_t rgSCHCmnGetSiSetId(sfn, sf, minPeriodicity)
-uint16_t sfn;
-uint8_t sf
-uint16_t minPeriodicity;
-#endif
{
/* 80 is the minimum SI periodicity in sf. Also
* all other SI periodicities are multiples of 80 */
* @param[in] uint8_t cfi
* @return uint32_t tbSz
**/
-#ifdef ANSI
static uint32_t rgSCHCmnCalcDwPtsTbSz
(
-RgSchCellCb *cell,
-uint32_t bo,
-uint8_t *rb,
-uint8_t *iTbs,
-uint8_t lyr,
-uint8_t cfi
+RgSchCellCb *cell,
+uint32_t bo,
+uint8_t *rb,
+uint8_t *iTbs,
+uint8_t lyr,
+uint8_t cfi
)
-#else
-static uint32_t rgSCHCmnCalcDwPtsTbSz(cell, bo, rb, iTbs, lyr, cfi)
-RgSchCellCb *cell;
-uint32_t bo;
-uint8_t *rb;
-uint8_t *iTbs;
-uint8_t lyr;
-uint8_t cfi;
-#endif
{
- uint32_t tbSz;
+ uint32_t tbSz;
RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
- uint32_t numRE = *rb * cellDl->noResPerRb[cfi];
- uint32_t numDwPtsRb = RGSCH_CEIL(numRE, cellDl->numReDwPts[cfi]);
+ uint32_t numRE = *rb * cellDl->noResPerRb[cfi];
+ uint32_t numDwPtsRb = RGSCH_CEIL(numRE, cellDl->numReDwPts[cfi]);
/* DwPts Rb cannot exceed the cell Bw */
* @return[in/out] uint32_t *tb2Sz
* @param[in] uint8_t cfi
**/
-#ifdef ANSI
static Void rgSCHCmnCalcDwPtsTbSz2Cw
(
-RgSchCellCb *cell,
-uint32_t bo,
-uint8_t *rb,
-uint8_t maxRb,
-uint8_t *iTbs1,
-uint8_t *iTbs2,
-uint8_t lyr1,
-uint8_t lyr2,
-uint32_t *tb1Sz,
-uint32_t *tb2Sz,
-uint8_t cfi
+RgSchCellCb *cell,
+uint32_t bo,
+uint8_t *rb,
+uint8_t maxRb,
+uint8_t *iTbs1,
+uint8_t *iTbs2,
+uint8_t lyr1,
+uint8_t lyr2,
+uint32_t *tb1Sz,
+uint32_t *tb2Sz,
+uint8_t cfi
)
-#else
-static Void rgSCHCmnCalcDwPtsTbSz2Cw(cell, bo, rb, maxRb, iTbs1, iTbs2,
- lyr1, lyr2, tb1Sz, tb2Sz, cfi)
-RgSchCellCb *cell;
-uint32_t bo;
-uint8_t *rb;
-uint8_t maxRb;
-uint8_t *iTbs1;
-uint8_t *iTbs2;
-uint8_t lyr1;
-uint8_t lyr2;
-uint32_t *tb1Sz;
-uint32_t *tb2Sz;
-uint8_t cfi;
-#endif
{
RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
- uint32_t numRE = *rb * cellDl->noResPerRb[cfi];
- uint32_t numDwPtsRb = RGSCH_CEIL(numRE, cellDl->numReDwPts[cfi]);
+ uint32_t numRE = *rb * cellDl->noResPerRb[cfi];
+ uint32_t numDwPtsRb = RGSCH_CEIL(numRE, cellDl->numReDwPts[cfi]);
/* DwPts Rb cannot exceed the cell Bw */
* @param[in] RgInfUeDatInd *datInd
* @return Void
**/
-#ifdef ANSI
Void rgSCHCmnUpdUeDataIndLcg
(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgInfUeDatInd *datInd
)
-#else
-Void rgSCHCmnUpdUeDataIndLcg(cell, ue, datInd)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgInfUeDatInd *datInd;
-#endif
{
uint32_t idx = 0;
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* Returns: Void
*
*/
-#ifdef ANSI
static Void rgSCHCmnInitRbAlloc
(
RgSchCellCb *cell
)
-#else
-static Void rgSCHCmnInitRbAlloc (cell)
-RgSchCellCb *cell;
-#endif
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
CmLteTimingInfo frm;
RgSchDlSf *dlSf;
- uint8_t idx;
+ uint8_t idx;
/* Initializing RgSchCmnUlRbAllocInfo structure.*/
* @param[in] uint8_t newTxMode
* @return Void
**/
-#ifdef ANSI
static Void rgSCHCmnSendTxModeInd
(
RgSchCellCb *cell,
RgSchUeCb *ue,
-uint8_t newTxMode
+uint8_t newTxMode
)
-#else
-static Void rgSCHCmnSendTxModeInd(cell, ue, newTxMode)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t newTxMode;
-#endif
{
RgmTransModeInd *txModeChgInd;
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* @param[in] uint8_t iTbs
* @return Void
**/
-#ifdef ANSI
Void rgSchCheckAndTriggerModeChange
(
RgSchCellCb *cell,
RgSchUeCb *ue,
-uint8_t reportediTbs,
-uint8_t previTbs,
-uint8_t maxiTbs
+uint8_t reportediTbs,
+uint8_t previTbs,
+uint8_t maxiTbs
)
-#else
-Void rgSchCheckAndTriggerModeChange(cell, ue, reportediTbs, previTbs, maxiTbs)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t reportediTbs;
-uint8_t previTbs;
-uint8_t maxiTbs;
-#endif
{
RgrTxMode txMode; /*!< UE's Transmission Mode */
RgrTxMode modTxMode; /*!< UE's Transmission Mode */
* @param[in] RgInfUeDatInd *datInd
* @return Void
**/
-#ifdef ANSI
-Bool rgSCHCmnIsDlCsgPrio
-(
-RgSchCellCb *cell
-)
-#else
-Bool rgSCHCmnIsDlCsgPrio(cell)
-RgSchCellCb *cell;
-#endif
+Bool rgSCHCmnIsDlCsgPrio(RgSchCellCb *cell)
{
RgSchCmnDlCell *cmnDlCell = RG_SCH_CMN_GET_DL_CELL(cell);
* @param[in] RgInfUeDatInd *datInd
* @return Void
**/
-#ifdef ANSI
-Bool rgSCHCmnIsUlCsgPrio
-(
-RgSchCellCb *cell
-)
-#else
-Bool rgSCHCmnIsUlCsgPrio(cell)
-RgSchCellCb *cell;
-#endif
+Bool rgSCHCmnIsUlCsgPrio(RgSchCellCb *cell)
{
RgSchCmnUlCell *cmnUlCell = RG_SCH_CMN_GET_UL_CELL(cell);
* Returns: Void
*
*/
-#ifdef ANSI
- Void rgSchCmnPreDlSch
+Void rgSchCmnPreDlSch
(
- RgSchCellCb **cell,
- uint8_t nCell,
- RgSchCellCb **cellLst
- )
-#else
-Void rgSchCmnPreDlSch(cell, nCell, cellLst)
- RgSchCellCb **cell;
- uint8_t nCell;
- RgSchCellCb **cellLst;
-#endif
+RgSchCellCb **cell,
+uint8_t nCell,
+RgSchCellCb **cellLst
+)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell[0]);
RgSchDlSf *sf;
- uint8_t idx;
+ uint8_t idx;
if(nCell > CM_LTE_MAX_CELLS)
* Returns: Void
*
*/
-#ifdef ANSI
-Void rgSchCmnPstDlSch
-(
- RgSchCellCb *cell
-)
-#else
-Void rgSchCmnPstDlSch(cell)
- RgSchCellCb *cell
-#endif
+Void rgSchCmnPstDlSch(RgSchCellCb *cell)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
}
}
-#ifdef ANSI
-uint8_t rgSCHCmnCalcPcqiBitSz
-(
- RgSchUeCb *ueCb,
- uint8_t numTxAnt
-)
-#else
-uint8_t rgSCHCmnCalcPcqiBitSz(ueCb, numTxAnt)
- RgSchUeCb *ueCb;
- uint8_t numTxAnt;
-#endif
+uint8_t rgSCHCmnCalcPcqiBitSz(RgSchUeCb *ueCb, uint8_t numTxAnt)
{
uint8_t confRepMode;
uint8_t pcqiSz;
* Returns: Void
*
*/
-#ifdef ANSI
-Void rgSCHCmnDlSch
-(
- RgSchCellCb *cell
- )
-#else
-Void rgSCHCmnDlSch (cell)
- RgSchCellCb *cell;
-#endif
+Void rgSCHCmnDlSch(RgSchCellCb *cell)
{
RgSchDlSf *dlSf;
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDbmInitCell
-(
-RgSchCellCb *cellCb
-)
-#else
-S16 rgSCHDbmInitCell(cellCb)
-RgSchCellCb *cellCb;
-#endif
+S16 rgSCHDbmInitCell(RgSchCellCb *cellCb)
{
S16 ret;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHDbmInitUeCbLst
-(
-RgSchCellCb *cellCb,
-uint16_t numBins
-)
-#else
-static S16 rgSCHDbmInitUeCbLst(cellCb, numBins)
-RgSchCellCb *cellCb;
-uint16_t numBins;
-#endif
+static S16 rgSCHDbmInitUeCbLst(RgSchCellCb *cellCb,uint16_t numBins)
{
RgSchUeCellInfo ueCellInfo;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDbmDeInitUeCbLst
-(
-RgSchCellCb *cellCb
-)
-#else
-S16 rgSCHDbmDeInitUeCbLst(cellCb)
-RgSchCellCb *cellCb;
-#endif
+S16 rgSCHDbmDeInitUeCbLst(RgSchCellCb *cellCb)
{
return (cmHashListDeinit(&cellCb->ueLst));
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHDbmInitSpsUeCbLst
-(
-RgSchCellCb *cellCb,
-uint16_t numBins
-)
-#else
-static S16 rgSCHDbmInitSpsUeCbLst(cellCb, numBins)
-RgSchCellCb *cellCb;
-uint16_t numBins;
-#endif
+static S16 rgSCHDbmInitSpsUeCbLst(RgSchCellCb *cellCb,uint16_t numBins)
{
RgSchUeCb ue;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDbmDeInitSpsUeCbLst
-(
-RgSchCellCb *cellCb
-)
-#else
-S16 rgSCHDbmDeInitSpsUeCbLst(cellCb)
-RgSchCellCb *cellCb;
-#endif
+S16 rgSCHDbmDeInitSpsUeCbLst(RgSchCellCb *cellCb)
{
return (cmHashListDeinit(&cellCb->spsUeLst));
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDbmInsUeCb
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else
-S16 rgSCHDbmInsUeCb(cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif
+S16 rgSCHDbmInsUeCb(RgSchCellCb *cellCb,RgSchUeCb *ueCb)
{
RgSchUeCellInfo *ueCellInfo = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDbmInsSpsUeCb
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else
-S16 rgSCHDbmInsSpsUeCb(cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif
+S16 rgSCHDbmInsSpsUeCb(RgSchCellCb *cellCb,RgSchUeCb *ueCb)
{
return (cmHashListInsert(&cellCb->spsUeLst, (PTR)ueCb,
(uint8_t *)&ueCb->spsRnti, (uint16_t)sizeof(ueCb->spsRnti)));
* @param[in] ueId
* @return RgSchUeCb*
**/
-#ifdef ANSI
-RgSchUeCb* rgSCHDbmGetUeCb
-(
-RgSchCellCb *cellCb,
-CmLteRnti ueId
-)
-#else
-RgSchUeCb* rgSCHDbmGetUeCb(cellCb, ueId)
-RgSchCellCb *cellCb;
-CmLteRnti ueId;
-#endif
+RgSchUeCb* rgSCHDbmGetUeCb(RgSchCellCb *cellCb,CmLteRnti ueId)
{
RgSchUeCellInfo *ueCellInfo = NULLP;
* @param[in] ueId
* @return RgSchUeCb*
**/
-#ifdef ANSI
-RgSchUeCb* rgSCHDbmGetSpsUeCb
-(
-RgSchCellCb *cellCb,
-CmLteRnti spsRnti
-)
-#else
-RgSchUeCb* rgSCHDbmGetSpsUeCb(cellCb, spsRnti)
-RgSchCellCb *cellCb;
-CmLteRnti spsRnti;
-#endif
+RgSchUeCb* rgSCHDbmGetSpsUeCb(RgSchCellCb *cellCb, CmLteRnti spsRnti)
{
RgSchUeCb *ueCb = NULLP;
* @param[in] *ueCb
* @return RgSchUeCb*
**/
-#ifdef ANSI
-RgSchUeCb* rgSCHDbmGetNextUeCb
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else
-RgSchUeCb* rgSCHDbmGetNextUeCb(cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif
+RgSchUeCb* rgSCHDbmGetNextUeCb(RgSchCellCb *cellCb, RgSchUeCb *ueCb)
{
RgSchUeCellInfo *ueCellInfo = NULLP;
RgSchUeCellInfo *nextUeCellInfo = NULLP;
* @param[in] *ueCb
* @return RgSchUeCb*
**/
-#ifdef ANSI
-RgSchUeCb* rgSCHDbmGetNextSpsUeCb
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else
-RgSchUeCb* rgSCHDbmGetNextSpsUeCb(cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif
+RgSchUeCb* rgSCHDbmGetNextSpsUeCb(RgSchCellCb *cellCb, RgSchUeCb *ueCb)
{
RgSchUeCb *nextUeCb = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDbmDelL2MUe
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else
-S16 rgSCHDbmDelL2MUe(cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif
+S16 rgSCHDbmDelL2MUe(RgSchCellCb *cellCb,RgSchUeCb *ueCb)
{
uint8_t lcCnt = 0;
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ueCb, cellCb);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDbmDelUeCb
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else
-S16 rgSCHDbmDelUeCb(cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif
+S16 rgSCHDbmDelUeCb(RgSchCellCb *cellCb,RgSchUeCb *ueCb)
{
RgSchUeCellInfo *ueCellInfo = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDbmDelSpsUeCb
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else
-S16 rgSCHDbmDelSpsUeCb(cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif
+S16 rgSCHDbmDelSpsUeCb(RgSchCellCb *cellCb,RgSchUeCb *ueCb)
{
return (cmHashListDelete(&cellCb->spsUeLst, (PTR)ueCb));
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDbmInitUe
-(
-RgSchUeCb *ueCb
-)
-#else
-S16 rgSCHDbmInitUe(ueCb)
-RgSchUeCb *ueCb;
-#endif
+S16 rgSCHDbmInitUe(RgSchUeCb *ueCb)
{
S16 ret = ROK;
* @param[in] RgSchUeCb *ueCb
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHDbmInitDedLcLst
-(
-RgSchUeCb *ueCb
-)
-#else
-static Void rgSCHDbmInitDedLcLst(ueCb)
-RgSchUeCb *ueCb;
-#endif
+static Void rgSCHDbmInitDedLcLst(RgSchUeCb *ueCb)
{
uint8_t idx;
* @param[in] RgSchCellCb *cellCb
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHDbmInitCmnLcLst
-(
-RgSchCellCb *cellCb
-)
-#else
-static Void rgSCHDbmInitCmnLcLst(cellCb)
-RgSchCellCb *cellCb;
-#endif
+static Void rgSCHDbmInitCmnLcLst(RgSchCellCb *cellCb)
{
uint8_t idx;
* @param[in] RgSchDlLcCb* dlLcCb
* @return Void
**/
-#ifdef ANSI
-Void rgSCHDbmInsDlDedLcCb
-(
-RgSchUeCb *ueCb,
-RgSchDlLcCb *dlLcCb
-)
-#else
-Void rgSCHDbmInsDlDedLcCb(ueCb, dlLcCb)
-RgSchUeCb *ueCb;
-RgSchDlLcCb *dlLcCb;
-#endif
+Void rgSCHDbmInsDlDedLcCb(RgSchUeCb *ueCb, RgSchDlLcCb *dlLcCb )
{
ueCb->dl.lcCb[dlLcCb->lcId - 1] = dlLcCb;
* @param[in] RgSchDlLcCb* dlLcCb
* @return Void
**/
-#ifdef ANSI
-Void rgSCHDbmDelDlDedLcCb
-(
-RgSchUeCb *ueCb,
-RgSchDlLcCb *dlLcCb
-)
-#else
-Void rgSCHDbmDelDlDedLcCb(ueCb, dlLcCb)
-RgSchUeCb *ueCb;
-RgSchDlLcCb *dlLcCb;
-#endif
+Void rgSCHDbmDelDlDedLcCb(RgSchUeCb *ueCb, RgSchDlLcCb *dlLcCb )
{
#ifdef LTE_L2_MEAS
* @param[in] idx
* @return RgSchDlLcCb*
**/
-#ifdef ANSI
-RgSchDlLcCb* rgSCHDbmGetDlDedLcCb
-(
-RgSchUeCb *ueCb,
-CmLteLcId idx
-)
-#else
-RgSchDlLcCb* rgSCHDbmGetDlDedLcCb(ueCb, idx)
-RgSchUeCb *ueCb;
-CmLteLcId idx;
-#endif
+RgSchDlLcCb* rgSCHDbmGetDlDedLcCb(RgSchUeCb *ueCb, CmLteLcId idx)
{
if (idx < RGSCH_DEDLC_MIN_LCID || idx > RGSCH_DEDLC_MAX_LCID)
{
* @param[in] *ueCb
* @return RgSchDlLcCb*
**/
-#ifdef ANSI
-RgSchDlLcCb* rgSCHDbmGetFirstDlDedLcCb
-(
-RgSchUeCb *ueCb
-)
-#else
-RgSchDlLcCb* rgSCHDbmGetFirstDlDedLcCb(ueCb)
-RgSchUeCb *ueCb;
-#endif
+RgSchDlLcCb* rgSCHDbmGetFirstDlDedLcCb(RgSchUeCb *ueCb)
{
uint8_t idx;
* @param[in] *lcCb
* @return RgSchDlLcCb*
**/
-#ifdef ANSI
-RgSchDlLcCb* rgSCHDbmGetNextDlDedLcCb
-(
-RgSchUeCb *ueCb,
-RgSchDlLcCb *lcCb
-)
-#else
-RgSchDlLcCb* rgSCHDbmGetNextDlDedLcCb(ueCb, lcCb)
-RgSchUeCb *ueCb;
-RgSchDlLcCb *lcCb;
-#endif
+RgSchDlLcCb* rgSCHDbmGetNextDlDedLcCb(RgSchUeCb *ueCb,RgSchDlLcCb *lcCb)
{
uint8_t idx;
* @param[in] lcId
* @return RgSchClcDlLcCb*
**/
-#ifdef ANSI
-RgSchClcDlLcCb* rgSCHDbmGetCmnLcCb
-(
-RgSchCellCb *cellCb,
-CmLteLcId lcId
-)
-#else
-RgSchClcDlLcCb* rgSCHDbmGetCmnLcCb(cellCb, lcId)
-RgSchCellCb *cellCb;
-CmLteLcId lcId;
-#endif
+RgSchClcDlLcCb* rgSCHDbmGetCmnLcCb(RgSchCellCb *cellCb, CmLteLcId lcId)
{
uint8_t idx;
* @param[in] *cellCb
* @return RgSchClcDlLcCb*
**/
-#ifdef ANSI
-RgSchClcDlLcCb* rgSCHDbmGetBcchOnBch
-(
-RgSchCellCb *cellCb
-)
-#else
-RgSchClcDlLcCb* rgSCHDbmGetBcchOnBch(cellCb)
-RgSchCellCb *cellCb;
-#endif
+RgSchClcDlLcCb* rgSCHDbmGetBcchOnBch(RgSchCellCb *cellCb )
{
if(cellCb->cmnLcCb[RGSCH_BCCH_BCH_IDX].lcId != RGSCH_INVALID_LC_ID)
* @param[in] *cellCb
* @return RgSchClcDlLcCb*
**/
-#ifdef ANSI
-RgSchClcDlLcCb* rgSCHDbmGetFirstBcchOnDlsch
-(
-RgSchCellCb *cellCb
-)
-#else
-RgSchClcDlLcCb* rgSCHDbmGetFirstBcchOnDlsch(cellCb)
-RgSchCellCb *cellCb;
-#endif
+RgSchClcDlLcCb* rgSCHDbmGetFirstBcchOnDlsch(RgSchCellCb *cellCb)
{
if(cellCb->cmnLcCb[RGSCH_BCCH_DLSCH_IDX1].lcId != RGSCH_INVALID_LC_ID)
* @param[in] *cellCb
* @return RgSchClcDlLcCb*
**/
-#ifdef ANSI
-RgSchClcDlLcCb* rgSCHDbmGetSecondBcchOnDlsch
-(
-RgSchCellCb *cellCb
-)
-#else
-RgSchClcDlLcCb* rgSCHDbmGetSecondBcchOnDlsch(cellCb)
-RgSchCellCb *cellCb;
-#endif
+RgSchClcDlLcCb* rgSCHDbmGetSecondBcchOnDlsch(RgSchCellCb *cellCb)
{
if(cellCb->cmnLcCb[RGSCH_BCCH_DLSCH_IDX2].lcId != RGSCH_INVALID_LC_ID)
* @param[in] *cellCb
* @return RgSchClcDlLcCb*
**/
-#ifdef ANSI
-RgSchClcDlLcCb* rgSCHDbmGetPcch
-(
-RgSchCellCb *cellCb
-)
-#else
-RgSchClcDlLcCb* rgSCHDbmGetPcch(cellCb)
-RgSchCellCb *cellCb;
-#endif
+RgSchClcDlLcCb* rgSCHDbmGetPcch(RgSchCellCb *cellCb)
{
if(cellCb->cmnLcCb[RGSCH_PCCH_IDX].lcId != RGSCH_INVALID_LC_ID)
* @param[in] *cellCb
* @return Void
**/
-#ifdef ANSI
-Void rgSCHDbmInsBcchOnBch
-(
-RgSchCellCb *cellCb,
-RgSchClcDlLcCb *cmnDlLcCb
-)
-#else
-Void rgSCHDbmInsBcchOnBch(cellCb, cmnDlLcCb)
-RgSchCellCb *cellCb;
-RgSchClcDlLcCb *cmnDlLcCb;
-#endif
+Void rgSCHDbmInsBcchOnBch(RgSchCellCb *cellCb, RgSchClcDlLcCb *cmnDlLcCb)
{
cellCb->cmnLcCb[RGSCH_BCCH_BCH_IDX].lcId = cmnDlLcCb->lcId;
* @param[in] *cellCb
* @return Void
**/
-#ifdef ANSI
-Void rgSCHDbmInsBcchOnDlsch
-(
-RgSchCellCb *cellCb,
-RgSchClcDlLcCb *cmnDlLcCb
-)
-#else
-Void rgSCHDbmInsBcchOnDlsch(cellCb, cmnDlLcCb)
-RgSchCellCb *cellCb;
-RgSchClcDlLcCb *cmnDlLcCb;
-#endif
+Void rgSCHDbmInsBcchOnDlsch(RgSchCellCb *cellCb, RgSchClcDlLcCb *cmnDlLcCb)
{
if(cellCb->cmnLcCb[RGSCH_BCCH_DLSCH_IDX1].lcId == RGSCH_INVALID_LC_ID)
{
* @param[in] *cellCb
* @return Void
**/
-#ifdef ANSI
-Void rgSCHDbmInsPcch
-(
-RgSchCellCb *cellCb,
-RgSchClcDlLcCb *cmnDlLcCb
-)
-#else
-Void rgSCHDbmInsPcch(cellCb, cmnDlLcCb)
-RgSchCellCb *cellCb;
-RgSchClcDlLcCb *cmnDlLcCb;
-#endif
+Void rgSCHDbmInsPcch(RgSchCellCb *cellCb, RgSchClcDlLcCb *cmnDlLcCb)
{
cellCb->cmnLcCb[RGSCH_PCCH_IDX].lcId = cmnDlLcCb->lcId;
* @param[in] *cmnDlLcCb
* @return Void
**/
-#ifdef ANSI
-Void rgSCHDbmInitCmnLcBoLst
-(
-RgSchClcDlLcCb *cmnDlLcCb
-)
-#else
-Void rgSCHDbmInitCmnLcBoLst(cmnDlLcCb)
-RgSchClcDlLcCb *cmnDlLcCb;
-#endif
+Void rgSCHDbmInitCmnLcBoLst(RgSchClcDlLcCb *cmnDlLcCb)
{
cmLListInit(&cmnDlLcCb->boLst);
* @param[in] *boRpt
* @return Void
**/
-#ifdef ANSI
-Void rgSCHDbmInsCmnLcBoRpt
-(
-RgSchClcDlLcCb *cmnDlLcCb,
-RgSchClcBoRpt *cmnBoRpt
-)
-#else
-Void rgSCHDbmInsCmnLcBoRpt(cmnDlLcCb, cmnBoRpt)
-RgSchClcDlLcCb *cmnDlLcCb;
-RgSchClcBoRpt *cmnBoRpt;
-#endif
+Void rgSCHDbmInsCmnLcBoRpt(RgSchClcDlLcCb *cmnDlLcCb,RgSchClcBoRpt *cmnBoRpt)
{
cmnBoRpt->boLstEnt.next = NULLP;
cmnBoRpt->boLstEnt.prev = NULLP;
* @param[in] *cellCb
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHDbmInitRaCbLst
-(
-RgSchCellCb *cellCb
-)
-#else
-static Void rgSCHDbmInitRaCbLst(cellCb)
-RgSchCellCb *cellCb;
-#endif
+static Void rgSCHDbmInitRaCbLst(RgSchCellCb *cellCb)
{
cmLListInit(&cellCb->raInfo.raCbLst);
* @param[in] key
* @return RgSchRaCb*
**/
-#ifdef ANSI
-RgSchRaCb* rgSCHDbmGetRaCb
-(
-RgSchCellCb *cellCb,
-CmLteRnti key
-)
-#else
-RgSchRaCb* rgSCHDbmGetRaCb(cellCb, key)
-RgSchCellCb *cellCb;
-CmLteRnti key;
-#endif
+RgSchRaCb* rgSCHDbmGetRaCb(RgSchCellCb *cellCb, CmLteRnti key)
{
CmLList *tmpNode;
* @param[in] *cellCb
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHDbmInitRaReqLst
-(
-RgSchCellCb *cellCb
-)
-#else
-static Void rgSCHDbmInitRaReqLst(cellCb)
-RgSchCellCb *cellCb;
-#endif
+static Void rgSCHDbmInitRaReqLst(RgSchCellCb *cellCb)
{
uint8_t idx;
* @param[in] *cellCb
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHDbmInitCrntRgrCfgLst
-(
-RgSchCellCb *cellCb
-)
-#else
-static Void rgSCHDbmInitCrntRgrCfgLst(cellCb)
-RgSchCellCb *cellCb;
-#endif
+static Void rgSCHDbmInitCrntRgrCfgLst(RgSchCellCb *cellCb)
{
cmLListInit(&cellCb->rgCfgInfo.crntRgrCfgLst);
* @param[in] *cellCb
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHDbmInitPndngRgrCfgLst
-(
-RgSchCellCb *cellCb
-)
-#else
-static Void rgSCHDbmInitPndngRgrCfgLst(cellCb)
-RgSchCellCb *cellCb;
-#endif
+static Void rgSCHDbmInitPndngRgrCfgLst(RgSchCellCb *cellCb)
{
cmLListInit(&cellCb->rgCfgInfo.pndngRgrCfgLst);
* @param[in] *cfgElem
* @return Void
**/
-#ifdef ANSI
-Void rgSCHDbmInsCrntRgrCfgElem
-(
-RgSchCellCb *cellCb,
-RgSchCfgElem *cfgElem
-)
-#else
-Void rgSCHDbmInsCrntRgrCfgElem(cellCb, cfgElem)
-RgSchCellCb *cellCb;
-RgSchCfgElem *cfgElem;
-#endif
+Void rgSCHDbmInsCrntRgrCfgElem(RgSchCellCb *cellCb,RgSchCfgElem *cfgElem)
{
cfgElem->cfgReqLstEnt.next = NULLP;
cfgElem->cfgReqLstEnt.prev = NULLP;
* @param[in] *cfgElem
* @return Void
**/
-#ifdef ANSI
-Void rgSCHDbmInsPndngRgrCfgElem
-(
-RgSchCellCb *cellCb,
-RgSchCfgElem *cfgElem
-)
-#else
-Void rgSCHDbmInsPndngRgrCfgElem(cellCb, cfgElem)
-RgSchCellCb *cellCb;
-RgSchCfgElem *cfgElem;
-#endif
+Void rgSCHDbmInsPndngRgrCfgElem(RgSchCellCb *cellCb,RgSchCfgElem *cfgElem)
{
cfgElem->cfgReqLstEnt.next = NULLP;
* @param[in] *cfgElem
* @return RgSchCfgElem*
**/
-#ifdef ANSI
-RgSchCfgElem* rgSCHDbmGetNextCrntRgrCfgElem
-(
-RgSchCellCb *cellCb,
-RgSchCfgElem *cfgElem
-)
-#else
-RgSchCfgElem* rgSCHDbmGetNextCrntRgrCfgElem(cellCb, cfgElem)
-RgSchCellCb *cellCb;
-RgSchCfgElem *cfgElem;
-#endif
+RgSchCfgElem* rgSCHDbmGetNextCrntRgrCfgElem(RgSchCellCb *cellCb,RgSchCfgElem *cfgElem)
{
if(!cfgElem)
* @param[in] *cfgElem
* @return RgSchCfgElem*
**/
-#ifdef ANSI
-RgSchCfgElem* rgSCHDbmGetNextPndngRgrCfgElem
-(
-RgSchCellCb *cellCb,
-RgSchCfgElem *cfgElem
-)
-#else
-RgSchCfgElem* rgSCHDbmGetNextPndngRgrCfgElem(cellCb, cfgElem)
-RgSchCellCb *cellCb;
-RgSchCfgElem *cfgElem;
-#endif
+RgSchCfgElem* rgSCHDbmGetNextPndngRgrCfgElem(RgSchCellCb *cellCb,RgSchCfgElem *cfgElem)
{
if(!cfgElem)
* @param[in] key
* @return RgSchCfgElem*
**/
-#ifdef ANSI
-RgSchCfgElem* rgSCHDbmGetPndngRgrCfgElemByKey
-(
-RgSchCellCb *cellCb,
-CmLteTimingInfo key
-)
-#else
-RgSchCfgElem* rgSCHDbmGetPndngRgrCfgElemByKey(cellCb, key)
-RgSchCellCb *cellCb;
-CmLteTimingInfo key;
-#endif
+RgSchCfgElem* rgSCHDbmGetPndngRgrCfgElemByKey(RgSchCellCb *cellCb,CmLteTimingInfo key)
{
CmLList *tmpNode;
* @param[in] *cfgElem
* @return RgSchCfgElem*
**/
-#ifdef ANSI
-RgSchCfgElem* rgSCHDbmDelCrntRgrCfgElem
-(
-RgSchCellCb *cellCb,
-RgSchCfgElem *cfgElem
-)
-#else
-RgSchCfgElem* rgSCHDbmDelCrntRgrCfgElem(cellCb, cfgElem)
-RgSchCellCb *cellCb;
-RgSchCfgElem *cfgElem;
-#endif
+RgSchCfgElem* rgSCHDbmDelCrntRgrCfgElem(RgSchCellCb *cellCb,RgSchCfgElem *cfgElem)
{
if(cmLListDelFrm(&cellCb->rgCfgInfo.crntRgrCfgLst,&cfgElem->cfgReqLstEnt))
* @param[in] *cfgElem
* @return RgSchCfgElem*
**/
-#ifdef ANSI
-RgSchCfgElem* rgSCHDbmDelPndngRgrCfgElem
-(
-RgSchCellCb *cellCb,
-RgSchCfgElem *cfgElem
-)
-#else
-RgSchCfgElem* rgSCHDbmDelPndngRgrCfgElem(cellCb, cfgElem)
-RgSchCellCb *cellCb;
-RgSchCfgElem *cfgElem;
-#endif
+RgSchCfgElem* rgSCHDbmDelPndngRgrCfgElem(RgSchCellCb *cellCb,RgSchCfgElem *cfgElem)
{
if(cmLListDelFrm(&cellCb->rgCfgInfo.pndngRgrCfgLst,&cfgElem->cfgReqLstEnt))
{
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDbmRntiDbInit
-(
-RgSchCellCb *cellCb,
-uint16_t rntiStart,
-uint16_t maxRntis
-)
-#else
-S16 rgSCHDbmRntiDbInit(cellCb, rntiStart, maxRntis)
-RgSchCellCb *cellCb;
-uint16_t rntiStart;
-uint16_t maxRntis;
-#endif
+S16 rgSCHDbmRntiDbInit(RgSchCellCb *cellCb,uint16_t rntiStart,uint16_t maxRntis)
{
uint16_t rnti;
RgSchRntiLnk *rntiPool;
* @param[in] *cellCb
* @return Void
**/
-#ifdef ANSI
-Void rgSCHDbmRntiDbDeInit
-(
-RgSchCellCb *cellCb
-)
-#else
-Void rgSCHDbmRntiDbDeInit(cellCb)
-RgSchCellCb *cellCb;
-#endif
+Void rgSCHDbmRntiDbDeInit(RgSchCellCb *cellCb)
{
/* ccpu00117052 - MOD - Passing double pointer
for proper NULLP assignment*/
* @param[in] *cellCb
* @return RgSchRntiLnk*
**/
-#ifdef ANSI
-RgSchRntiLnk* rgSCHDbmGetRnti
-(
-RgSchCellCb *cellCb
-)
-#else
-RgSchRntiLnk* rgSCHDbmGetRnti(cellCb)
-RgSchCellCb *cellCb;
-#endif
+RgSchRntiLnk* rgSCHDbmGetRnti(RgSchCellCb *cellCb)
{
RgSchRntiLnk *rntiLnk;
* @param[in] rntiLnk
* @return Void
**/
-#ifdef ANSI
-Void rgSCHDbmRlsRnti
-(
-RgSchCellCb *cellCb,
-RgSchRntiLnk *rntiLnk
-)
-#else
-Void rgSCHDbmRlsRnti(cellCb, rntiLnk)
-RgSchCellCb *cellCb;
-RgSchRntiLnk *rntiLnk;
-#endif
+Void rgSCHDbmRlsRnti(RgSchCellCb *cellCb,RgSchRntiLnk *rntiLnk)
{
#ifdef EMTC_ENABLE
if(ROK==rgSCHDbmPutEmtcRnti(cellCb,rntiLnk))
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHDbmInitUeTfuPendLst
-(
-RgSchCellCb *cellCb,
-uint16_t numBins
-)
-#else
-static S16 rgSCHDbmInitUeTfuPendLst(cellCb, numBins)
-RgSchCellCb *cellCb;
-uint16_t numBins;
-#endif
+static S16 rgSCHDbmInitUeTfuPendLst(RgSchCellCb *cellCb,uint16_t numBins)
{
RgSchUePucchRecpInfo pucchInfo;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDbmDeInitUeTfuPendLst
-(
-RgSchCellCb *cellCb
-)
-#else
-S16 rgSCHDbmDeInitUeTfuPendLst(cellCb)
-RgSchCellCb *cellCb;
-#endif
+S16 rgSCHDbmDeInitUeTfuPendLst(RgSchCellCb *cellCb)
{
cmHashListDeinit(&cellCb->ueTfuPendLst);
*
**/
/*MS_WORKAROUND for ccpu00122893*/
-#ifdef ANSI
-Void rgSCHDhmHqEntReset
-(
- RgSchDlHqEnt *hqE
-)
-#else
-Void rgSCHDhmHqEntReset(hqE)
- RgSchDlHqEnt *hqE;
-#endif
+Void rgSCHDhmHqEntReset(RgSchDlHqEnt *hqE)
{
RgSchDlHqProcCb *hqP;
uint8_t i;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHDhmAssgnUeHqEntFrmRaCb
-(
-RgSchUeCb *ue,
-RgSchRaCb *raCb
-)
-#else
-Void rgSCHDhmAssgnUeHqEntFrmRaCb(ue, raCb)
-RgSchUeCb *ue;
-RgSchRaCb *raCb;
-#endif
+Void rgSCHDhmAssgnUeHqEntFrmRaCb(RgSchUeCb *ue,RgSchRaCb *raCb)
{
ue->cellInfo[0]->hqEnt = raCb->dlHqE;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHDhmDelHqEnt
-(
-RgSchCellCb *cell,
-RgSchDlHqEnt **hqE
-)
-#else
-Void rgSCHDhmDelHqEnt(cell, hqE)
-RgSchCellCb *cell;
-RgSchDlHqEnt **hqE;
-#endif
+Void rgSCHDhmDelHqEnt(RgSchCellCb *cell,RgSchDlHqEnt **hqE)
{
if (!(*hqE))
return;
}
-#ifdef ANSI
-RgSchDlHqEnt *rgSCHDhmHqEntInit
-(
-RgSchCellCb *cell
-)
-#else
-RgSchDlHqEnt *rgSCHDhmHqEntInit(cell)
-RgSchCellCb *cell;
-#endif
+RgSchDlHqEnt *rgSCHDhmHqEntInit(RgSchCellCb *cell)
{
RgSchDlHqEnt *hqE;
Inst inst = cell->instIdx;
* -#RFAILED otherwise
*
**/
-#ifdef ANSI
-S16 rgSCHDhmGetAvlHqProc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteTimingInfo timingInfo,
-RgSchDlHqProcCb **hqP
-)
-#else
-S16 rgSCHDhmGetAvlHqProc (cell, ue, timingInfo, hqP)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo timingInfo;
-RgSchDlHqProcCb **hqP;
-#endif
+S16 rgSCHDhmGetAvlHqProc(RgSchCellCb *cell,RgSchUeCb *ue,CmLteTimingInfo timingInfo,RgSchDlHqProcCb **hqP)
{
- RgSchDlHqEnt *hqE = NULLP;
+ RgSchDlHqEnt *hqE = NULLP;
RgSchDlHqProcCb *tmpHqProc;
CmLList *tmp;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHDhmHqTbRetx
-(
-RgSchDlHqEnt *hqE,
-CmLteTimingInfo timingInfo,
-RgSchDlHqProcCb *hqP,
-uint8_t tbIdx
-)
-#else
-Void rgSCHDhmHqTbRetx(hqE, timingInfo, hqP, tbIdx)
-RgSchDlHqEnt *hqE;
-CmLteTimingInfo timingInfo;
-RgSchDlHqProcCb *hqP;
-uint8_t tbIdx;
-#endif
+Void rgSCHDhmHqTbRetx(RgSchDlHqEnt *hqE,CmLteTimingInfo timingInfo,RgSchDlHqProcCb *hqP,uint8_t tbIdx)
{
uint8_t othrTbIdx = tbIdx ^ 1;
* @return RgSchDlHqProcCb *
*
**/
-#ifdef ANSI
-RgSchDlHqProcCb * rgSCHDhmLastSchedHqProc
-(
-RgSchDlHqEnt *hqE
-)
-#else
-RgSchDlHqProcCb * rgSCHDhmLastSchedHqProc(hqE)
-RgSchDlHqEnt *hqE;
-#endif
+RgSchDlHqProcCb * rgSCHDhmLastSchedHqProc(RgSchDlHqEnt *hqE)
{
/* GRPPWR_CNTRL Fix: UE context will not hold a valid hqE,
* until RACH procedure is completed */
* -#RFAILED otherwise
*
**/
-#ifdef ANSI
S16 rgSCHDhmGetCcchSduHqProc
(
RgSchUeCb *ueCb,
CmLteTimingInfo timingInfo,
RgSchDlHqProcCb **hqP
)
-#else
-S16 rgSCHDhmGetCcchSduHqProc (ueCb, timingInfo, hqP)
-RgSchUeCb *ueCb;
-CmLteTimingInfo timingInfo;
-RgSchDlHqProcCb **hqP;
-#endif
{
RgSchDlHqProcCb *tmpHqProc;
CmLList *tmp;
* -#RFAILED otherwise
*
**/
-#ifdef ANSI
-S16 rgSCHDhmGetMsg4HqProc
-(
-RgSchRaCb *raCb,
-CmLteTimingInfo timingInfo
-)
-#else
-S16 rgSCHDhmGetMsg4HqProc (raCb, timingInfo)
-RgSchRaCb *raCb;
-CmLteTimingInfo timingInfo;
-#endif
+S16 rgSCHDhmGetMsg4HqProc(RgSchRaCb *raCb,CmLteTimingInfo timingInfo)
{
RgSchDlHqProcCb *tmpHqProc;
CmLList *tmp;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHDhmRlsHqpTb
-(
-RgSchDlHqProcCb *hqP,
-uint8_t tbIdx,
-Bool togNdi
-)
-#else
-Void rgSCHDhmRlsHqpTb(hqP, tbIdx, togNdi)
-RgSchDlHqProcCb *hqP;
-uint8_t tbIdx;
-Bool togNdi;
-#endif
+Void rgSCHDhmRlsHqpTb(RgSchDlHqProcCb *hqP,uint8_t tbIdx,Bool togNdi)
{
RgSchDlHqEnt *hqE;
- uint8_t othrTbIdx = tbIdx ^ 1;
+ uint8_t othrTbIdx = tbIdx ^ 1;
#ifdef LTEMAC_SPS
- RgSchCmnDlHqProc *cmnHqDl;
+ RgSchCmnDlHqProc *cmnHqDl;
#endif
/* L2_COUNTERS */
#ifdef LTE_L2_MEAS
RgSchDlLcCb* lcCb = NULLP;
- uint8_t numLch = 0;
+ uint8_t numLch = 0;
#endif
/* Reset all tbInfo values */
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHDhmRlsHqProc
-(
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHDhmRlsHqProc(hqP)
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHDhmRlsHqProc(RgSchDlHqProcCb *hqP)
{
* -# RFAILED otherwise
*
**/
-#ifdef ANSI
-S16 rgSCHDhmGetHqProcFrmId
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t idx,
-RgSchDlHqProcCb **hqP
-)
-#else
-S16 rgSCHDhmGetHqProcFrmId(cell, ue, idx, hqP)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t idx;
-RgSchDlHqProcCb **hqP;
-#endif
+S16 rgSCHDhmGetHqProcFrmId(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t idx,RgSchDlHqProcCb **hqP)
{
RgSchDlHqEnt *hqE;
* @return RgSchDlHqProcCb control block
*
**/
-#ifdef ANSI
-RgSchDlHqProcCb* rgSCHDhmSpsDlGetHqProc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteTimingInfo timingInfo
-)
-#else
-RgSchDlHqProcCb* rgSCHDhmSpsDlGetHqProc(cell, ue, timingInfo)
-RgSchCellCb *cell,
-RgSchUeCb *ue;
-CmLteTimingInfo timingInfo;
-#endif
+RgSchDlHqProcCb* rgSCHDhmSpsDlGetHqProc(RgSchCellCb *cell,RgSchUeCb *ue,CmLteTimingInfo timingInfo)
{
- RgSchDlHqEnt *hqE;
- uint8_t idx;
- RgSchDlHqProcCb *hqProc = NULLP;
- CmLList *tmp = NULLP;
+ RgSchDlHqEnt *hqE;
+ uint8_t idx;
+ RgSchDlHqProcCb *hqProc = NULLP;
+ CmLList *tmp = NULLP;
hqE = RG_SCH_CMN_GET_UE_HQE(ue, cell);
* @return Void
* -# None.
**/
-#ifdef ANSI
-static Void rgSCHDhmFdbkIndHndlTa
-(
-RgSchDlHqProcCb *hqP,
-uint8_t tbIdx,
-uint8_t fdbk,
-Bool maxHqRetxReached
-)
-#else
-static Void rgSCHDhmFdbkIndHndlTa(hqP, tbIdx, fdbk,maxHqRetxReached)
-RgSchDlHqProcCb *hqP;
-uint8_t tbIdx;
-uint8_t fdbk;
-Bool maxHqRetxReached;
-#endif
+static Void rgSCHDhmFdbkIndHndlTa(RgSchDlHqProcCb *hqP,uint8_t tbIdx,uint8_t fdbk,Bool maxHqRetxReached)
{
RgSchUeCb *ueCb;
RgSchCellCb *cell;
* @return Void
* -# None.
**/
-#ifdef ANSI
-Void rgSCHDhmSchdTa
-(
-RgSchUeCb *ueCb,
-RgSchDlHqTbCb *tbInfo
-)
-#else
-Void rgSCHDhmSchdTa(ueCb, tbInfo)
-RgSchUeCb *ueCb;
-RgSchDlHqTbCb *tbInfo;
-#endif
+Void rgSCHDhmSchdTa(RgSchUeCb *ueCb,RgSchDlHqTbCb *tbInfo)
{
ueCb->dl.taCb.state = RGSCH_TA_SCHEDULED;
* @param[out] uint8_t *cntHqPrcs
* @return S16
**/
-#ifdef ANSI
static S16 rgSCHDhmHqProcByFdbkTime
(
RgSchDlHqEnt *hqE,
CmLteTimingInfo timeInfo,
Bool *isMsg4,
RgSchDlHqProcCb **hqPrcs,
-uint8_t *numTbs,
+uint8_t *numTbs,
S8 *tbStrtIdx,
-uint8_t *cntHqPrcs,
+uint8_t *cntHqPrcs,
RgSchCellCb *cell
)
-#else
-static S16 rgSCHDhmHqProcByFdbkTime(hqE, timeInfo, isMsg4, hqPrcs,
- numTbs, tbStrtIdx, cntHqPrcs)
-RgSchDlHqEnt *hqE;
-CmLteTimingInfo timeInfo;
-Bool *isMsg4;
-RgSchDlHqProcCb **hqPrcs;
-uint8_t *numTbs;
-S8 *tbStrtIdx;
-uint8_t *cntHqPrcs;
-RgSchCellCb *cell;
-#endif
{
RgSchDlHqTbCb *tbCb;
RgSchDlHqProcCb *hqP;
CmLteTimingInfo schdSfTime;
RgSchTddDlAscSetIdxK ascIdx;
- uint8_t noFdbks;
- uint8_t i;
- uint8_t idx;
- uint8_t dlIdx;
+ uint8_t noFdbks;
+ uint8_t i;
+ uint8_t idx;
+ uint8_t dlIdx;
CmLListCp *lnk;
CmLList *node;
* -# RgSchDlHqProcCb*
* -# NULLP
**/
-#ifdef ANSI
-RgSchDlHqProcCb *rgSCHDhmHqProcByTime
-(
-RgSchDlHqEnt *hqE,
-CmLteTimingInfo timeInfo,
-Bool *isMsg4,
-RgSchDlSf *sf
-)
-#else
-RgSchDlHqProcCb *rgSCHDhmHqProcByTime(hqE, timeInfo,
- isMsg4,sf)
-RgSchDlHqEnt *hqE;
-CmLteTimingInfo timeInfo;
-Bool *isMsg4;
-RgSchDlSf *sf;
-#endif
+RgSchDlHqProcCb *rgSCHDhmHqProcByTime(RgSchDlHqEnt *hqE,CmLteTimingInfo timeInfo,Bool *isMsg4,RgSchDlSf *sf)
{
if (hqE->msg4Proc)
{
* -#None.
*
**/
-#ifdef ANSI
-Void rgSCHDhmHqTbTrnsFail
-(
-RgSchCellCb *cell,
-RgSchDlHqProcCb *hqP,
-uint8_t tbCnt,
-Bool *isMaxRetx
-)
-#else
-Void rgSCHDhmHqTbTrnsFail(cell, hqP, tbCnt, isMaxRetx)
-RgSchCellCb *cell;
-RgSchDlHqProcCb *hqP;
-uint8_t tbCnt;
-Bool *isMaxRetx;
-#endif
+Void rgSCHDhmHqTbTrnsFail(RgSchCellCb *cell,RgSchDlHqProcCb *hqP,uint8_t tbCnt,Bool *isMaxRetx)
{
- RgSchDlHqEnt *hqE;
- uint8_t maxHqTx;
+ RgSchDlHqEnt *hqE;
+ uint8_t maxHqTx;
hqE = hqP->hqE;
* @param[in] RgSchTddANInfo *anInfo;
* @return void
**/
-#ifdef ANSI
static Void rgSchGetHqFdbkPosForM1
(
- RgSchUeCb *ue,
- RgSchDlHqProcCb *hqP,
- uint8_t *isAck,
- RgTfuHqInfo *fdbk,
- uint8_t tbIdx,
- RgSchTddANInfo *anInfo
- )
-#else
-static Void rgSchGetHqFdbkPosForM1(ue,hqP,isAck,fdbk,tbIdx,anInfo)
- RgSchUeCb *ue;
- RgSchDlHqProcCb *hqP;
- uint8_t *isAck;
- RgTfuHqInfo *fdbk;
- uint8_t tbIdx;
- RgSchTddANInfo *anInfo;
-#endif
+RgSchUeCb *ue,
+RgSchDlHqProcCb *hqP,
+uint8_t *isAck,
+RgTfuHqInfo *fdbk,
+uint8_t tbIdx,
+RgSchTddANInfo *anInfo
+)
{
if((ue != NULLP))
{
* @param[in] CmLteTimingInfo timeInfo;
* @return void
**/
-#ifdef ANSI
static Void rgSchGetHqFdbkPosForM234
(
- RgSchUeCb *ue,
- RgSchDlHqProcCb *hqP,
- uint8_t *isAck,
- RgTfuHqInfo *fdbk,
- uint8_t tbIdx,
- RgSchTddANInfo *anInfo,
- uint8_t M,
- CmLteTimingInfo timeInfo
- )
-#else
-static Void rgSchGetHqFdbkPosForM234(ue,hqP,isAck,fdbk,tbIdx,anInfo,M,timeInfo)
- RgSchUeCb *ue;
- RgSchDlHqProcCb *hqP;
- uint8_t *isAck;
- RgTfuHqInfo *fdbk;
- uint8_t tbIdx;
- RgSchTddANInfo *anInfo;
- uint8_t M;
- CmLteTimingInfo timeInfo;
-#endif
+RgSchUeCb *ue,
+RgSchDlHqProcCb *hqP,
+uint8_t *isAck,
+RgTfuHqInfo *fdbk,
+uint8_t tbIdx,
+RgSchTddANInfo *anInfo,
+uint8_t M,
+CmLteTimingInfo timeInfo
+)
{
- uint8_t fdbkIdx;
- Bool isSCell;
- RgSchTddANInfo *pCellAnInfo;
- uint8_t incr = 0;
+ uint8_t fdbkIdx;
+ Bool isSCell;
+ RgSchTddANInfo *pCellAnInfo;
+ uint8_t incr = 0;
if(NULLP != ue)
{
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHDhmHqFdbkInd
(
Void *cb,
-uint8_t cbType,
+uint8_t cbType,
RgSchCellCb *cellCb,
CmLteTimingInfo timeInfo,
TfuHqInfo *fdbk,
RgInfRlsHqInfo *rlsHqBufs,
RgSchErrInfo *err
)
-#else
-S16 rgSCHDhmHqFdbkInd(cb, cbType, cellCb, timeInfo, fdbk, rlsHqBufs, err)
-Void *cb;
-uint8_t cbType;
-RgSchCellCb *cellCb;
-CmLteTimingInfo timeInfo;
-TfuHqInfo *fdbk;
-RgInfRlsHqInfo *rlsHqBufs;
-RgSchErrInfo *err;
-#endif
{
RgSchCellCb *sCell = NULLP;
RgSchDlHqEnt *hqE;
RgSchDlSf *sf;
Bool isMsg4 = FALSE;
RgSchRaCb *raCb = NULLP;
- uint16_t rnti=0;
+ uint16_t rnti=0;
/* Maximum possible HARQ processes in UL-DL configuration 5 that is
* given feedback at a time */
RgSchDlHqProcCb *hqPrcs[(RGSCH_NUM_SUB_FRAMES-1)*5]; /*MAX 5 Cells*/
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHDhmPrcFdbkForTb
(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlHqProcCb *hqP,
-RgSchDlSf *sf,
-Bool isMsg4,
-uint16_t rnti,
-uint8_t tbCnt,
-CmLteTimingInfo timingInfo,
-uint8_t isAck,
-RgInfRlsHqInfo *rlsHqBufs,
-RgSchErrInfo *err
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+RgSchDlHqProcCb *hqP,
+RgSchDlSf *sf,
+Bool isMsg4,
+uint16_t rnti,
+uint8_t tbCnt,
+CmLteTimingInfo timingInfo,
+uint8_t isAck,
+RgInfRlsHqInfo *rlsHqBufs,
+RgSchErrInfo *err
)
-#else
-S16 rgSCHDhmPrcFdbkForTb(cell, ue, hqP, sf, isMsg4, rnti, tbCnt, timingInfo, isAck, rlsHqBufs, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlHqProcCb *hqP;
-RgSchDlSf *sf;
-Bool isMsg4;
-uint16_t rnti;
-uint8_t tbCnt;
-CmLteTimingInfo timingInfo;
-uint8_t isAck;
-RgInfRlsHqInfo *rlsHqBufs;
-RgSchErrInfo *err;
-#endif
{
#ifdef DEBUGP
Inst inst = cell->instIdx;
* @param[in] RgTfuHqInfo *fdbk,
* @return void
**/
-#ifdef ANSI
Void rgSchGetHqFdbkPos
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- RgSchDlHqProcCb *hqP,
- RgrSchFrmt1b3TypEnum uciFrmtTyp,
- uint8_t *isAck,
- RgTfuHqInfo *fdbk
- )
-#else
-Void rgSchGetHqFdbkPos(cell,ue,hqP,uciFrmtTyp,isAck,fdbk)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- RgSchDlHqProcCb *hqP;
- RgrSchFrmt1b3TypEnum uciFrmtTyp;
- uint8_t *isAck;
- RgTfuHqInfo *fdbk;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+RgSchDlHqProcCb *hqP,
+RgrSchFrmt1b3TypEnum uciFrmtTyp,
+uint8_t *isAck,
+RgTfuHqInfo *fdbk
+)
{
if(uciFrmtTyp != RG_SCH_UCI_FORMAT1B_CS)
{
return;
}/* End of rgSchGetHqFdbkPos */
#ifdef LTE_ADV
-#ifdef ANSI
Void rgSchGetHqFdbkPosFormat3
(
- RgSchDlHqProcCb *hqP,
- uint8_t *isAck,
- TfuHqFdbk *fdbk
- )
-#else
-Void rgSchGetHqFdbkPosFormat3(hqP,isAck,fdbk)
- RgSchDlHqProcCb *hqP;
- uint8_t *isAck;
- TfuHqFdbk *fdbk;
-#endif
+RgSchDlHqProcCb *hqP,
+uint8_t *isAck,
+TfuHqFdbk *fdbk
+)
{
uint8_t cellIdx = RG_SCH_CMN_GET_CELL_IDX_FROM_HQP(hqP);
isAck[0] = (uint8_t)fdbk[cellIdx];
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHDhm5gtfHqFdbkInd
(
RgSchUeCb *ue,
TfuHqFdbk fdbk,
RgSchErrInfo *err
)
-#else
-S16 rgSCHDhm5gtfHqFdbkInd(ue, cell, timingInfo, fdbk, err)
-RgSchUeCb *ue;
-RgSchCellCb *cell;
-CmLteTimingInfo timingInfo;
-TfuHqFdbk fdbk;
-RgSchErrInfo *err;
-#endif
{
- RgSchDlHqProcCb *hqP = NULLP;
- CmLList *node = NULLP;
- CmLListCp *lnk;
- S16 ret = ROK;
- RgSchDlSf *sf;
- Bool isMsg4 = FALSE;
- uint16_t rnti=0;
- uint16_t procId=0;
- uint8_t hqPCount = 0;
- RgInfRlsHqInfo *rlsHqBufs = NULLP;
+ RgSchDlHqProcCb *hqP = NULLP;
+ CmLList *node = NULLP;
+ CmLListCp *lnk;
+ S16 ret = ROK;
+ RgSchDlSf *sf;
+ Bool isMsg4 = FALSE;
+ uint16_t rnti=0;
+ uint16_t procId=0;
+ uint8_t hqPCount = 0;
+ RgInfRlsHqInfo *rlsHqBufs = NULLP;
RGSCHDECRFRMCRNTTIME(timingInfo, timingInfo, 4);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHDhmHqFdbkInd
(
Void *cb,
-uint8_t cbType,
+uint8_t cbType,
RgSchCellCb *cell,
CmLteTimingInfo timingInfo,
RgTfuHqInfo *fdbk,
RgInfRlsHqInfo *rlsHqBufs,
RgSchErrInfo *err
)
-#else
-S16 rgSCHDhmHqFdbkInd(cb, cbType, cell, timingInfo, fdbk, rlsHqBufs, err)
-Void *cb;
-uint8_t cbType;
-RgSchCellCb *cell;
-CmLteTimingInfo timingInfo;
-RgTfuHqInfo *fdbk;
-RgInfRlsHqInfo *rlsHqBufs;
-RgSchErrInfo *err;
-#endif
{
RgSchDlHqTbCb *tbCb;
RgSchDlHqEnt *hqE = NULLP;
RgSchDlSf *sf;
Bool isMsg4 = FALSE;
RgSchRaCb *raCb = NULLP;
- uint16_t rnti=0;
+ uint16_t rnti=0;
/* Added Insure Fixes Of UR.Initialized procId */
- uint16_t procId=0;
+ uint16_t procId=0;
/* DTX Change: Bool is converted into uint8_t*/
- uint8_t isAck[2]={0}; /*Changed to Array of 2*/
- uint8_t tbCnt;
- uint8_t hqPCount = 0;
+ uint8_t isAck[2]={0}; /*Changed to Array of 2*/
+ uint8_t tbCnt;
+ uint8_t hqPCount = 0;
#ifdef LTEMAC_SPS
CmLteTimingInfo fdbkRcptTime = timingInfo;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-Void rgSCHDhmRgrUeCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ueCb,
-RgrUeCfg *ueCfg,
-RgSchErrInfo *err
-)
-#else
-Void rgSCHDhmRgrUeCfg(cell, ueCb, ueCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-RgrUeCfg *ueCfg;
-RgSchErrInfo *err;
-#endif
+Void rgSCHDhmRgrUeCfg(RgSchCellCb *cell,RgSchUeCb *ueCb,RgrUeCfg *ueCfg,RgSchErrInfo *err)
{
UNUSED(err);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-Void rgSCHDhmRgrCellCfg
-(
-RgSchCellCb *cell,
-RgrCellCfg *cellCfg,
-RgSchErrInfo *err
-)
-#else
-Void rgSCHDhmRgrCellCfg(cell, cellCfg, err)
-RgSchCellCb *cell;
-RgrCellCfg *cellCfg;
-RgSchErrInfo *err;
-#endif
+Void rgSCHDhmRgrCellCfg(RgSchCellCb *cell,RgrCellCfg *cellCfg,RgSchErrInfo *err)
{
- RgSchDlHqEnt *hqE;
+ RgSchDlHqEnt *hqE;
PTR pUeCb;/* previous UE Control block */
PTR nUeCb;/* next UE control block */
S16 ret;
- uint8_t idx;
+ uint8_t idx;
UNUSED(err);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-Void rgSCHDhmRgrCellRecfg
-(
-RgSchCellCb *cell,
-RgrCellRecfg *cellRecfg,
-RgSchErrInfo *err
-)
-#else
-Void rgSCHDhmRgrCellRecfg(cell, cellRecfg, err)
-RgSchCellCb *cell;
-RgrCellRecfg *cellRecfg;
-RgSchErrInfo *err;
-#endif
+Void rgSCHDhmRgrCellRecfg(RgSchCellCb *cell,RgrCellRecfg *cellRecfg,RgSchErrInfo *err)
{
RgSchDlHqEnt *hqE;
PTR pUeCb;/* previous UE Control block */
* @return None.
*
**/
-#ifdef ANSI
-Void rgSCHDhmFreeUe
-(
-RgSchUeCb *ueCb
-)
-#else
-Void rgSCHDhmFreeUe(ueCb)
-RgSchUeCb *ueCb;
-#endif
+Void rgSCHDhmFreeUe(RgSchUeCb *ueCb)
{
/* If TA Timer is running. Stop it */
* @return None.
*
**/
-#ifdef ANSI
-Void rgSCHDhmUpdTa
-(
-RgSchCellCb *cell,
-RgSchUeCb *ueCb,
-uint8_t ta
-)
-#else
-Void rgSCHDhmUpdTa(cell, ueCb, ta)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-uint8_t ta;
-#endif
+Void rgSCHDhmUpdTa(RgSchCellCb *cell,RgSchUeCb *ueCb,uint8_t ta)
{
if (ueCb->dl.taCb.state == RGSCH_TA_IDLE)
* @return Void
* -#None.
*/
-#ifdef ANSI
-Void rgSCHDhmProcTAExp
-(
- RgSchUeCb *ueCb
- )
-#else
-Void rgSCHDhmProcTAExp (ueCb)
- RgSchUeCb *ueCb;
-#endif
+Void rgSCHDhmProcTAExp( RgSchUeCb *ueCb)
{
/* Ask scheduler to schedule this UE */
ueCb->dl.taCb.state = RGSCH_TA_TOBE_SCHEDULED;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDhmAddLcData
-(
-Inst inst,
-RgSchLchAllocInfo *lchData,
-RgSchDlHqTbCb *tbInfo
-)
-#else
-S16 rgSCHDhmAddLcData(inst, lchData, tbInfo)
-Inst inst;
-RgSchLchAllocInfo *lchData;
-RgSchDlHqTbCb *tbInfo;
-#endif
+S16 rgSCHDhmAddLcData(Inst inst,RgSchLchAllocInfo *lchData,RgSchDlHqTbCb *tbInfo)
{
if(tbInfo->numLch >= RGSCH_MAX_NUM_DED_LC)
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDhmTddRlsSubFrm
-(
-RgSchCellCb *cellCb,
-CmLteTimingInfo uciTimingInfo
-)
-#else
-S16 rgSCHDhmTddRlsSubFrm(cellCb, uciTimingInfo)
-RgSchCellCb *cellCb;
-CmLteTimingInfo uciTimingInfo;
-#endif
+S16 rgSCHDhmTddRlsSubFrm(RgSchCellCb *cellCb,CmLteTimingInfo uciTimingInfo)
{
CmLteTimingInfo dlSfTime;
RgSchTddDlAscSetIdxK ascIdx;
- uint8_t noFdbks;
- uint8_t i;
+ uint8_t noFdbks;
+ uint8_t i;
ascIdx =
rgSchTddDlAscSetIdxKTbl[cellCb->ulDlCfgIdx][uciTimingInfo.slot];
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDhmRlsDlsfHqProc
-(
-RgSchCellCb *cellCb,
-CmLteTimingInfo uciTimingInfo
-)
-#else
-S16 rgSCHDhmRlsDlsfHqProc(cellCb, uciTimingInfo)
-RgSchCellCb *cellCb;
-CmLteTimingInfo uciTimingInfo;
-#endif
+S16 rgSCHDhmRlsDlsfHqProc(RgSchCellCb *cellCb,CmLteTimingInfo uciTimingInfo)
{
RgSchDlSf *dlSf;
CmLteTimingInfo dlSfTime;
CmLteTimingInfo nxtfrm = {0,0};
RgSchDlHqProcCb *tmpHqProc;
RgSchTddDlAscSetIdxK ascIdx;
- uint8_t noFdbks;
+ uint8_t noFdbks;
S16 i;
RgSchDlSf *nxtDlsf = NULLP;
CmLList *node;
CmLList *hqPNode;
- uint8_t idx;
+ uint8_t idx;
/*ccpu00130018 -MOD -Initiatizing with FALSE*/
- uint8_t maxRetx=FALSE;
+ uint8_t maxRetx=FALSE;
RgSchTddANInfo *anInfo = NULLP;
RgSchDlHqTbCb *tbCb;
RgSchUeCb *ue = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHDhmRlsDlsfHqProc
-(
-RgSchCellCb *cell,
-CmLteTimingInfo timingInfo
-)
-#else
-S16 rgSCHDhmRlsDlsfHqProc(cell, timingInfo)
-RgSchCellCb *cell;
-CmLteTimingInfo timingInfo;
-#endif
+S16 rgSCHDhmRlsDlsfHqProc(RgSchCellCb *cell,CmLteTimingInfo timingInfo)
{
RgSchDlSf *sf;
CmLteTimingInfo frm;
* -# RFAILED otherwise
*
**/
-#ifdef ANSI
-S16 rgSCHDhmMarkSpsHqProc
-(
-RgSchUeCb *ue,
-uint8_t idx
-)
-#else
-S16 rgSCHDhmMarkSpsHqProc(ue, idx)
-RgSchUeCb *ue;
-uint8_t idx;
-#endif
+S16 rgSCHDhmMarkSpsHqProc(RgSchUeCb *ue,uint8_t idx)
{
RgSchDlHqProcCb *hqP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHDhmProcHqFdbkAckNackRep
-(
-RgSchDlHqProcCb *hqP,
-RgSchDlSf *sf,
-uint8_t tbCnt,
-uint8_t *isAck
-)
-#else
-static S16 rgSCHDhmProcHqFdbkAckNackRep(hqP,sf,tbCnt,isAck)
-RgSchDlHqProcCb *hqP;
-RgSchDlSf *sf;
-uint8_t tbCnt;
-uint8_t *isAck;
-#endif
+static S16 rgSCHDhmProcHqFdbkAckNackRep(RgSchDlHqProcCb *hqP,RgSchDlSf *sf,uint8_t tbCnt,uint8_t *isAck)
{
/* Check if this is repeating UE */
rgSCHUtlDlHqPTbRmvFrmTx(sf, hqP, tbCnt, TRUE);
* @return Void
*
**/
-#ifdef ANSI
-S16 rgSCHDhmDlRetxAllocFail
-(
-RgSchUeCb *ue,
-RgSchDlHqProcCb *hqP
-)
-#else
-S16 rgSCHDhmDlRetxAllocFail(ue, hqP)
-RgSchUeCb *ue;
-RgSchDlHqProcCb *hqP;
-#endif
+S16 rgSCHDhmDlRetxAllocFail(RgSchUeCb *ue,RgSchDlHqProcCb *hqP)
{
RgSchCellCb *cell;
RgInfRlsHqInfo *rlsHqInfo;
}
#ifdef DL_LA
-#ifdef ANSI
-static S16 rgSCHDhmUpdateAckNackHistory
-(
-RgSchCellCb *cell,
-RgSchUeCb *ueCb,
-uint8_t hqfdbk,
-uint8_t tbCnt
-)
-#else
-static S16 rgSCHDhmUpdateAckNackHistory(cell, ueCb, hqfdbk, tbCnt)
-(
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-uint8_t hqfdbk;
-uint8_t tbCnt;
-)
-#endif
+static S16 rgSCHDhmUpdateAckNackHistory(RgSchCellCb *cell,RgSchUeCb *ueCb,uint8_t hqfdbk,uint8_t tbCnt)
{
RgSchCmnDlUe *ueDl;
return ROK;
}
-#ifdef ANSI
-S16 rgSCHDhmUpdBlerBasediTbsEff
-(
-RgSchCellCb *cell,
-RgSchUeCb *ueCb,
-uint8_t tbCnt
-)
-#else
-S16 rgSCHDhmUpdBlerBasediTbsEff(cell, ueCb, tbCnt)
-(
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-uint8_t tbCnt;
-)
-#endif
+S16 rgSCHDhmUpdBlerBasediTbsEff(RgSchCellCb *cell,RgSchUeCb *ueCb,uint8_t tbCnt)
{
S32 iTbs;
RgSchCmnDlUe *ueDl;
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- uint8_t cfi = cellSch->dl.currCfi;
- uint8_t maxiTbs = (*(RgSchCmnCqiToTbs *)(cellSch->dl.cqiToTbsTbl[0][cfi]))[RG_SCH_CMN_MAX_CQI - 1];
- maxiTbs = RG_SCH_DL_MAX_ITBS;
+ uint8_t cfi = cellSch->dl.currCfi;
+ uint8_t maxiTbs = (*(RgSchCmnCqiToTbs *)(cellSch->dl.cqiToTbsTbl[0][cfi]))[RG_SCH_CMN_MAX_CQI - 1];
+ maxiTbs = RG_SCH_DL_MAX_ITBS;
ueDl = RG_SCH_CMN_GET_DL_UE(ueCb,cell);
iTbs = (ueDl->laCb[tbCnt].deltaiTbs + ueDl->laCb[tbCnt].cqiBasediTbs)/100;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHDhmPrcSplBundlFdbk
-(
-RgSchCellCb *cell,
-TfuHqInfo *fdbk,
-uint8_t hqCnt
-)
-#else
-static Void rgSCHDhmPrcSplBundlFdbk(cell, fdbk, hqCnt)
-(
-RgSchCellCb *cell;
-TfuHqInfo *fdbk;
-uint8_t hqCnt;
-)
-#endif
+static Void rgSCHDhmPrcSplBundlFdbk(RgSchCellCb *cell,TfuHqInfo *fdbk,uint8_t hqCnt)
{
uint8_t numOfAcks;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHDhmHqPAdd2FreeLst
-(
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHDhmHqPAdd2FreeLst(hqP)
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHDhmHqPAdd2FreeLst(RgSchDlHqProcCb *hqP)
{
#ifdef LAA_DBG
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHDhmHqPAdd2InUseLst
-(
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHDhmHqPAdd2InUseLst(hqP)
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHDhmHqPAdd2InUseLst(RgSchDlHqProcCb *hqP)
{
#ifdef LAA_DBG
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHDhmHqPDelFrmFreeLst
-(
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHDhmHqPDelFrmFreeLst(hqP)
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHDhmHqPDelFrmFreeLst(RgSchDlHqProcCb *hqP)
{
#ifdef LAA_DBG
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHDhmHqPDelFrmInUseLst
-(
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHDhmHqPDelFrmInUseLst(hqP)
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHDhmHqPDelFrmInUseLst(RgSchDlHqProcCb *hqP)
{
#ifdef LAA_DBG
* added*
* @return
*/
-#ifdef ANSI
-Void rgSCHDrxTtiInd
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHDrxTtiInd (cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHDrxTtiInd(RgSchCellCb *cell)
{
uint16_t dlIndex;
uint16_t ulIndex;
* @return ROK/RFAILED
*/
-#ifdef ANSI
-static S16 rgSCHDrxTtiHdlOnDur
-(
-RgSchCellCb* cell,
-uint16_t dlIndex,
-uint16_t ulIndex
-)
-#else
-static S16 rgSCHDrxTtiHdlOnDur(cell, dlIndex, ulIndex)
-RgSchCellCb* cell;
-uint16_t dlIndex;
-uint16_t ulIndex;
-#endif
+static S16 rgSCHDrxTtiHdlOnDur(RgSchCellCb *cell,uint16_t dlIndex,uint16_t ulIndex)
{
#if ( ERRCLASS & ERRCLS_INT_PAR )
* @return ROK/RFAILED
*/
-#ifdef ANSI
-S16 rgSCHDrxTtiHdlInActv
-(
-RgSchCellCb *cell,
-uint16_t dlIndex,
-uint16_t ulIndex
-)
-#else
-S16 rgSCHDrxTtiHdlInActv(cell, dlIndex, ulIndex)
-RgSchCellCb *cell;
-uint16_t dlIndex;
-uint16_t ulIndex;
-#endif
+S16 rgSCHDrxTtiHdlInActv(RgSchCellCb *cell,uint16_t dlIndex,uint16_t ulIndex)
{
CmLList *node;
RgSchDRXCellCb *drxCell=NULLP;
* @return ROK/RFAILED
*/
-#ifdef ANSI
-S16 rgSCHDrxTtiHdlShortCycle
-(
-RgSchCellCb *cell,
-uint16_t dlIndex,
-uint16_t ulIndex
-)
-#else
-S16 rgSCHDrxTtiHdlShortCycle (cell, dlIndex, ulIndex)
-RgSchCellCb *cell;
-uint16_t dlIndex;
-uint16_t ulIndex;
-#endif
+S16 rgSCHDrxTtiHdlShortCycle(RgSchCellCb *cell,uint16_t dlIndex,uint16_t ulIndex)
{
CmLList *node;
RgSchDRXCellCb *drxCell=NULLP;
* @return ROK/RFAILED
*/
-#ifdef ANSI
-static S16 rgSCHDrxTtiHdlDlHarq
-(
-RgSchCellCb *cell,
-uint16_t dlIndex,
-uint16_t ulIndex
-)
-#else /* ANSI */
-static S16 rgSCHDrxTtiHdlDlHarq (cell, dlIndex, ulIndex)
-RgSchCellCb *cell;
-uint16_t dlIndex;
-uint16_t ulIndex;
-#endif /* ANSI */
+static S16 rgSCHDrxTtiHdlDlHarq(RgSchCellCb *cell,uint16_t dlIndex,uint16_t ulIndex)
{
#if ( ERRCLASS & ERRCLS_INT_PAR)
* @return Void
*/
-#ifdef ANSI
-Void rgSCHDrxStrtInActvTmr
-(
-RgSchCellCb *cell,
-CmLListCp *ueLst,
-uint8_t direction
-)
-#else
-Void rgSCHDrxStrtInActvTmr(cell, ueLst, direction)
-RgSchCellCb *cell;
-CmLListCp *ueLst;
-uint8_t direction;
-#endif
+Void rgSCHDrxStrtInActvTmr(RgSchCellCb *cell,CmLListCp *ueLst,uint8_t direction)
{
CmLList *node;
CmLList *delNode;
RgSchUeCb *ueCb;
RgSchDrxUeCb *ueDrxCb;
#ifndef LTE_TDD
- uint16_t index1;
+ uint16_t index1;
#endif
- uint16_t inActvTmrExpIndx;
+ uint16_t inActvTmrExpIndx;
#ifndef LTE_TDD
- uint16_t curTimeInSf; /* current time in number of subframes */
+ uint16_t curTimeInSf; /* current time in number of subframes */
#endif
#ifdef LTE_TDD
- uint16_t delta;
+ uint16_t delta;
#endif /*LTE_TDD*/
CmLListCp dlInactvLst; /* list of UE's becoming DL-inactive */
CmLListCp ulInactvLst; /* list of UE's becoming UL-inactive */
* @param uint8_t tbCnt
* @return Void
*/
-#ifdef ANSI
-Void rgSCHDrxStartHarqRTTTmr
-(
-RgSchCellCb *cell,
-RgSchDlHqProcCb *hqP,
-uint8_t tbCnt
-)
-#else
-Void rgSCHDrxStartHarqRTTTmr(cell, hqP, tbCnt)
-RgSchCellCb *cell;
-RgSchDlHqProcCb *hqP;
-uint8_t tbCnt;
-#endif
+Void rgSCHDrxStartHarqRTTTmr(RgSchCellCb *cell,RgSchDlHqProcCb *hqP,uint8_t tbCnt)
{
RgSchDRXCellCb *drxCell =NULLP;
RgSchDrxDlHqProcCb *drxHq =NULLP;
- uint16_t harqRTTExpIndx;
- uint8_t fdbkDelta;
+ uint16_t harqRTTExpIndx;
+ uint8_t fdbkDelta;
#ifdef LTE_TDD
- uint8_t firstDlTxOcassion;
- uint8_t drxRetxTmrStartSf;
+ uint8_t firstDlTxOcassion;
+ uint8_t drxRetxTmrStartSf;
#endif
drxCell = RG_SCH_DRX_GET_CELL(cell);
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rgSCHDrxUeCfg
-(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- RgrUeCfg *ueCfg
- )
-#else
-S16 rgSCHDrxUeCfg (cell, ue, ueCfg)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- RgrUeCfg *ueCfg;
-#endif
+S16 rgSCHDrxUeCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeCfg *ueCfg)
{
S16 ret = ROK;
RgSchDrxUeCb *ueDrxCb;
CmLteTimingInfo nxtOnDur;
- uint16_t onDurIndx;
- uint16_t nxtOnDurTime;
- uint16_t curTime;
- uint8_t cellIdx;
+ uint16_t onDurIndx;
+ uint16_t nxtOnDurTime;
+ uint16_t curTime;
+ uint8_t cellIdx;
#if ( ERRCLASS & ERRCLS_INT_PAR )
* @param uint8_t delta
* @return ROK/RFAILED
*/
-#ifdef ANSI
-static S16 rgSCHDrxGetNxtOnDur
-(
- RgSchCellCb *cell,
- RgSchDrxUeCb *drxCb,
- CmLteTimingInfo *nxtOnDur,
- uint8_t delta
- )
-#else
-static S16 rgSCHDrxGetNxtOnDur (cell, drxCb, nxtOnDur, delta)
- RgSchCellCb *cell;
- RgSchDrxUeCb *drxCb;
- CmLteTimingInfo *nxtOnDur;
- uint8_t delta;
-#endif
+static S16 rgSCHDrxGetNxtOnDur(RgSchCellCb *cell,RgSchDrxUeCb *drxCb,CmLteTimingInfo *nxtOnDur,uint8_t delta)
{
- uint16_t curTime;
- uint16_t curDist;
- uint16_t cycleLen;
- uint32_t numOfCycles;
- uint32_t nxtDist;
+ uint16_t curTime;
+ uint16_t curDist;
+ uint16_t cycleLen;
+ uint32_t numOfCycles;
+ uint32_t nxtDist;
#if ( ERRCLASS & ERRCLS_INT_PAR )
* @param RgrUeDrxCfg *drxCfg
* @return ROK/RFAILED
*/
-#ifdef ANSI
-static S16 rgSCHDrxCpyUeCfg
-(
- RgSchDrxUeCb *ueCb,
- RgrUeDrxCfg *drxCfg
-)
-#else
-static S16 rgSCHDrxCpyUeCfg (ueCb, drxCfg)
- RgSchDrxUeCb *ueCb;
- RgrUeDrxCfg *drxCfg;
-#endif
+static S16 rgSCHDrxCpyUeCfg(RgSchDrxUeCb *ueCb,RgrUeDrxCfg *drxCfg)
{
#if ( ERRCLASS & ERRCLS_INT_PAR )
* @param RgrUeRecfg *ueReCfg
* @return ROK/RFAILED
*/
-#ifdef ANSI
-S16 rgSCHDrxUeReCfg
-(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- RgrUeRecfg *ueReCfg
- )
-#else
-S16 rgSCHDrxUeReCfg (cell, ue, ueReCfg)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- RgrUeRecfg *ueReCfg;
-#endif
+S16 rgSCHDrxUeReCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeRecfg *ueReCfg)
{
/* DRX_INFI_LOOP */
RgSchCmnCell *cellSch = NULLP;
CmLListCp dlInactvLst; /* list of UE's becoming DL-inactive */
-
S16 ret = ROK;
Inst instIdx = cell->instIdx;
RgSchDrxUeCb *ueDrxCb;
CmLteTimingInfo nxtOnDur;
- uint16_t nxtOnDurTime;
- uint16_t onDurIndx;
- uint16_t curTime;
- uint16_t shrtCycleExpIndx;
- uint16_t onDurExpTime;
- uint16_t cycleLen;
- uint16_t curIndx;
- uint8_t cellIdx;
+ uint16_t nxtOnDurTime;
+ uint16_t onDurIndx;
+ uint16_t curTime;
+ uint16_t shrtCycleExpIndx;
+ uint16_t onDurExpTime;
+ uint16_t cycleLen;
+ uint16_t curIndx;
+ uint8_t cellIdx;
/* drx was disabled but now enabled for this ue */
* @param RgSchCellCb *cell
* @return ROK/RFAILED
*/
-#ifdef ANSI
-Void rgSCHDrxUeHqReset
-(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- RgSchDlHqEnt *hqE,
- uint8_t cellIdx
- )
-#else
-Void rgSCHDrxUeHqReset(cell, ue, hqE, cellIdx)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- RgSchDlHqEnt *hqE;
- uint8_t cellIdx;
-#endif
+Void rgSCHDrxUeHqReset(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlHqEnt *hqE,uint8_t cellIdx)
{
RgSchDlHqProcCb *hqP;
RgSchDrxDlHqProcCb *drxHq =NULLP;
- uint8_t i;
+ uint8_t i;
for(i=0; i < hqE->numHqPrcs; i++)
{
* @param RgSchUeCb *ue
* @return ROK/RFAILED
*/
-#ifdef ANSI
-S16 rgSCHDrxUeDel
-(
- RgSchCellCb *cell,
- RgSchUeCb *ue
- )
-#else
-S16 rgSCHDrxUeDel (cell, ue)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
-#endif
+S16 rgSCHDrxUeDel(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchDrxUeCb *ueDrxCb;
RgSchDlHqEnt *hqE = NULLP;
- uint8_t cellIdx;
+ uint8_t cellIdx;
RgSchUeCellInfo *cellInfo = NULLP;
#ifdef EMTC_ENABLE
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
* @param RgrCellCfg *cellCfg
* @return ROK/RFAILED
*/
-#ifdef ANSI
-S16 rgSCHDrxCellCfg
-(
- RgSchCellCb *cell,
- RgrCellCfg *cellCfg
- )
-#else
-S16 rgSCHDrxCellCfg (cell, cellCfg)
- RgSchCellCb *cell;
- RgrCellCfg *cellCfg;
-#endif
+S16 rgSCHDrxCellCfg(RgSchCellCb *cell,RgrCellCfg *cellCfg)
{
S16 ret = ROK;
* @param RgSchCellCb *cell
* @return Void
*/
-#ifdef ANSI
-Void rgSCHDrxCellDel
-(
- RgSchCellCb *cell
- )
-#else
-Void rgSCHDrxCellDel (cell)
- RgSchCellCb *cell;
-#endif
+Void rgSCHDrxCellDel(RgSchCellCb *cell)
{
Inst instIdx = cell->instIdx;
* @param RgSchUeCb *ue
* @return ROK/RFAILED
*/
-#ifdef ANSI
-S16 rgSCHDrxSrInd
-(
- RgSchCellCb *cell,
- RgSchUeCb *ue
- )
-#else
-S16 rgSCHDrxSrInd (cell, ue)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
-#endif
+S16 rgSCHDrxSrInd(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchDrxUeCb *drxCb;
* @param RgSchUeCb *ueCb
* @return Void
*/
-#ifdef ANSI
-Void rgSCHDrxDedRa
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
- )
-#else
-Void rgSCHDrxDedRa (cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif
+Void rgSCHDrxDedRa(RgSchCellCb *cellCb, RgSchUeCb *ueCb)
{
RgSchDrxUeCb *drxCb;
* @param Bool calcFrmOffst
* @return Void
*/
-#ifdef ANSI
-static Void rgSCHDrxMvToNxtOnDurOcc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ueCb,
-uint16_t idx,
-Bool calcFrmOffst
-)
-#else
-static Void rgSCHDrxMvToNxtOnDurOcc (cell, ueCb, idx, calcFrmOffst)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-uint16_t idx;
-Bool calcFrmOffst;
-#endif
+static Void rgSCHDrxMvToNxtOnDurOcc(RgSchCellCb *cell,RgSchUeCb *ueCb,uint16_t idx,Bool calcFrmOffst)
{
- uint16_t nxtOnDurIndex;
- uint16_t curTime;
+ uint16_t nxtOnDurIndex;
+ uint16_t curTime;
RgSchDrxUeCb *drxUe;
RgSchDRXCellCb *drxCell;
- CmLteTimingInfo nxtOnDur; /* to be used when calcFrmOffset is set */
- uint16_t nxtOnDurInSf; /* next On Duration in no of subframes */
+ CmLteTimingInfo nxtOnDur; /* to be used when calcFrmOffset is set */
+ uint16_t nxtOnDurInSf; /* next On Duration in no of subframes */
drxCell = cell->drxCb;
drxUe = ueCb->drxCb;
* @param CmLteTimingInfo *tmrExpryIdx Timer expry (SFN,sf)
* @return ROK/RFAILED
*/
-#ifdef ANSI
-static S16 rgSCHDrxGetNxtTmrExpry
-(
- RgSchCellCb *cell,
- uint16_t curTime,
- uint32_t duration,
- CmLteTimingInfo *tmrExpryIdx
-)
-#else
-static S16 rgSCHDrxGetNxtTmrExpry (cell,curTime,duration,tmrExpryIdx)
- RgSchCellCb *cell;
- uint16_t curTime;
- uint32_t duration;
- CmLteTimingInfo *tmrExpryIdx;
-#endif
+static S16 rgSCHDrxGetNxtTmrExpry(RgSchCellCb *cell, uint16_t curTime, uint32_t duration,CmLteTimingInfo *tmrExpryIdx)
{
- uint32_t dlSfTillNxtSFN; /*!< DL subframes till next SFN */
- uint8_t tddCfgMode; /*!< tdd config mode */
+ uint32_t dlSfTillNxtSFN; /*!< DL subframes till next SFN */
+ uint8_t tddCfgMode; /*!< tdd config mode */
Bool isDwPtsCnted; /*!< is DwPts counted as PDCCH sf */
CmLteTimingInfo crntTime; /*!< current SFN & sf */
* @param S16 *idx
* @return ROK/RFAILED
*/
-#ifdef ANSI
-static Void rgSCHDrxCalcNxtTmrExpry
-(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- uint16_t delta,
- uint32_t tmrLen,
- S16 *distance,
- uint16_t *idx
-)
-#else
-static Void rgSCHDrxCalcNxtTmrExpry (cell,ue,delta,tmrLen,distance,idx)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- uint16_t delta;
- uint32_t tmrLen;
- S16 *distance;
- uint16_t *idx;
-#endif
+static Void rgSCHDrxCalcNxtTmrExpry(RgSchCellCb *cell, RgSchUeCb *ue, uint16_t delta, uint32_t tmrLen, S16 *distance, uint16_t *idx)
{
- uint16_t curTimeInSf; /*current time in no of subframes*/
+ uint16_t curTimeInSf; /*current time in no of subframes*/
CmLteTimingInfo tmrExpry;
- uint16_t tmrExpryInSf; /*timer expry in no of subframes*/
+ uint16_t tmrExpryInSf; /*timer expry in no of subframes*/
curTimeInSf = cell->crntTime.sfn * RGSCH_NUM_SUB_FRAMES_5G +
cell->crntTime.slot;
* File :
*
**********************************************************/
-#ifdef ANSI
-S16 rgSCHCfgVldtTddDrxCycCfg
-(
-RgSchCellCb *cell,
-uint16_t drxCycle,
-uint8_t onDurTmr,
-uint16_t offSet
-)
-#else
-S16 rgSCHCfgVldtTddDrxCycCfg(cell, drxCycle, onDurTmr, offSet)
-RgSchCellCb *cell;
-uint16_t drxCycle;
-uint8_t onDurTmr;
-uint16_t offSet;
-#endif
+S16 rgSCHCfgVldtTddDrxCycCfg(RgSchCellCb *cell,uint16_t drxCycle,uint8_t onDurTmr, uint16_t offSet)
{
- uint16_t startTime;
- uint16_t endTimeInSf;
+ uint16_t startTime;
+ uint16_t endTimeInSf;
CmLteTimingInfo endTime;
startTime = offSet;
* @return Void
*/
-#ifdef ANSI
-static Void rgSCHDrxTtiHdlOnDurUl
-(
-RgSchCellCb *cell,
-uint16_t ulIndex
-)
-#else
-static Void rgSCHDrxTtiHdlOnDurUl(cell, ulIndex)
-RgSchCellCb *cell;
-uint16_t ulIndex;
-#endif
+static Void rgSCHDrxTtiHdlOnDurUl(RgSchCellCb *cell,uint16_t ulIndex)
{
CmLList *node;
RgSchDRXCellCb *drxCell = NULLP;
* @return Void
*/
-#ifdef ANSI
-static Void rgSCHDrxTtiHdlOnDurDl
-(
-RgSchCellCb *cell,
-uint16_t dlIndex
-)
-#else
-static Void rgSCHDrxTtiHdlOnDurDl(cell, dlIndex)
-RgSchCellCb *cell;
-uint16_t dlIndex;
-#endif
+static Void rgSCHDrxTtiHdlOnDurDl(RgSchCellCb *cell,uint16_t dlIndex)
{
CmLList *node;
RgSchDRXCellCb *drxCell = NULLP;
RgSchUeCb *ue = NULLP;
RgSchDrxUeCb *drxUe = NULLP;
RgSchCmnCell *cellSch = NULLP;
- uint16_t expiryIndex;
+ uint16_t expiryIndex;
CmLListCp dlInactvLst; /* list of UE's becoming DL-inactive */
Bool delInUlScan = FALSE;
* @return Void
*/
-#ifdef ANSI
-static Void rgSCHDrxTtiHdlDlHarqRTT
-(
-RgSchCellCb *cell,
-uint16_t dlIndex
-)
-#else /* ANSI */
-static Void rgSCHDrxTtiHdlDlHarqRTT(cell, dlIndex)
-RgSchCellCb *cell;
-uint16_t dlIndex;
-#endif /* ANSI */
+static Void rgSCHDrxTtiHdlDlHarqRTT(RgSchCellCb *cell,uint16_t dlIndex)
{
CmLList *node;
RgSchDrxDlHqProcCb *drxHq;
RgSchDlHqProcCb *dlHq;
RgSchDRXCellCb *drxCell;
RgSchDrxUeCb *drxUe;
- uint16_t reTxExpIndx;
+ uint16_t reTxExpIndx;
Bool delInUlScan;
RgSchUeCb *ue;
CmLListCp dlInactvLst; /* list of UE's becoming DL-inactive */
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- uint8_t cellIdx;
- uint32_t dlInactvMask;
+ uint8_t cellIdx;
+ uint32_t dlInactvMask;
drxCell = cell->drxCb;
delInUlScan = drxCell->delInUlScan;
* @return Void
*/
-#ifdef ANSI
-static Void rgSCHDrxTtiHdlUlHarqRTT
-(
-RgSchCellCb *cell,
-uint16_t ulIndex
-)
-#else /* ANSI */
-static Void rgSCHDrxTtiHdlUlHarqRTT(cell, ulIndex)
-RgSchCellCb *cell;
-uint16_t ulIndex;
-#endif /* ANSI */
+static Void rgSCHDrxTtiHdlUlHarqRTT(RgSchCellCb *cell,uint16_t ulIndex)
{
CmLList *node;
RgSchDrxDlHqProcCb *drxHq;
RgSchDlHqProcCb *dlHq;
RgSchDRXCellCb *drxCell;
RgSchDrxUeCb *drxUe;
- Bool delInUlScan;
- RgSchUeCb *ue;
- CmLListCp ulInactvLst; /* list of UE's becoming DL-inactive */
- RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
- uint8_t cellIdx;
- uint32_t ulInactvMask;
+ Bool delInUlScan;
+ RgSchUeCb *ue;
+ CmLListCp ulInactvLst; /* list of UE's becoming DL-inactive */
+ RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
+ uint8_t cellIdx;
+ uint32_t ulInactvMask;
drxCell = cell->drxCb;
*
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnSpsInit
-(
-)
-#else /* ANSI */
-Void rgSCHCmnSpsInit ()
-#endif /* ANSI */
+Void rgSCHCmnSpsInit()
{
return;
*
* @return Void
**/
-#ifdef ANSI
-S16 rgSCHCmnSpsUeCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeCfg *ueCfg,
-RgSchErrInfo *err
-)
-#else /* ANSI */
-S16 rgSCHCmnSpsUeCfg (cell, ue, ueCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeCfg *ueCfg;
-RgSchErrInfo *err;
-#endif /* ANSI */
+S16 rgSCHCmnSpsUeCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeCfg *ueCfg,RgSchErrInfo *err)
{
return ROK;
*
* @return Void
**/
-#ifdef ANSI
-S16 rgSCHCmnSpsUeRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeRecfg *ueRecfg,
-RgSchErrInfo *err
-)
-#else /* ANSI */
-S16 rgSCHCmnSpsUeRecfg (cell, ue, ueCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-RgSchErrInfo *err;
-#endif /* ANSI */
+S16 rgSCHCmnSpsUeRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeRecfg *ueRecfg,RgSchErrInfo *err)
{
return ROK;
*
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnSpsUeDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else /* ANSI */
-Void rgSCHCmnSpsUeDel (cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif /* ANSI */
+Void rgSCHCmnSpsUeDel(RgSchCellCb *cell,RgSchUeCb *ue)
{
return;
*
* @return Void
**/
-#ifdef ANSI
-S16 rgSCHCmnSpsCellCfg
-(
-RgSchCellCb *cell,
-RgrCellCfg *cellCfg,
-RgSchErrInfo *err
-)
-#else /* ANSI */
-S16 rgSCHCmnSpsCellCfg(cell, cellCfg, err)
-RgSchCellCb *cell;
-RgrCellCfg *cellCfg;
-RgSchErrInfo *err;
-#endif /* ANSI */
+S16 rgSCHCmnSpsCellCfg(RgSchCellCb *cell,RgrCellCfg *cellCfg,RgSchErrInfo *err)
{
return ROK;
*
* @return Void
**/
-#ifdef ANSI
-Void rgSCHCmnSpsCellDel
-(
-RgSchCellCb *cell
-)
-#else /* ANSI */
-Void rgSCHCmnSpsCellDel (cell)
-RgSchCellCb *cell;
-#endif /* ANSI */
+Void rgSCHCmnSpsCellDel(RgSchCellCb *cell)
{
return;
*
* @return Void
**/
-#ifdef ANSI
-S16 rgSCHCmnSpsDlLcCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *dlLc,
-RgrLchCfg *lcCfg,
-RgSchErrInfo *err
-)
-#else /* ANSI */
-S16 rgSCHCmnSpsDlLcCfg(cell, ue, dlLc, lcCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *dlLc;
-RgrLchCfg *lcCfg;
-RgSchErrInfo *err
-#endif /* ANSI */
+S16 rgSCHCmnSpsDlLcCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *dlLc,RgrLchCfg *lcCfg,RgSchErrInfo *err)
{
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 schActvTsk
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
-#else
-S16 schActvTsk(pst, mBuf)
-Pst *pst; /* post structure */
-Buffer *mBuf; /* message buffer */
-#endif
{
switch(pst->srcEnt)
{
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHGomHndlCfg
-(
-Pst *pst,
-RgSchCb *instCb,
-RgrCfgTransId transId,
-RgrCfgReqInfo *cfgReqInfo
-)
-#else
-S16 rgSCHGomHndlCfg(pst, instCb, transId, cfgReqInfo)
-Pst *pst;
-RgSchCb *instCb;
-RgrCfgTransId transId;
-RgrCfgReqInfo *cfgReqInfo;
-#endif
+S16 rgSCHGomHndlCfg(Pst *pst,RgSchCb *instCb,RgrCfgTransId transId,RgrCfgReqInfo *cfgReqInfo)
{
S16 ret;
SpId spId = 0;
CmLteCellId cellId;
RgSchCellCb *cell = NULLP;
- uint8_t cfmStatus = RGR_CFG_CFM_NOK;
+ uint8_t cfmStatus = RGR_CFG_CFM_NOK;
#ifdef DEBUGP
Inst inst = (instCb->rgSchInit.inst );
#endif
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHGomCfgReq
-(
-Region reg,
-Pool pool,
-RgSchCb *instCb,
-RgrCfgTransId transId,
-RgrCfgReqInfo *cfgReqInfo
-)
-#else
-static S16 rgSCHGomCfgReq(reg, pool, instCb, transId, cfgReqInfo)
-Region reg;
-Pool pool;
-RgSchCb *instCb;
-RgrCfgTransId transId;
-RgrCfgReqInfo *cfgReqInfo;
-#endif
+static S16 rgSCHGomCfgReq(Region reg,Pool pool,RgSchCb *instCb,RgrCfgTransId transId,RgrCfgReqInfo *cfgReqInfo)
{
- SpId spId = 0;
- uint8_t cfmStatus = RGR_CFG_CFM_OK;
+ SpId spId = 0;
+ uint8_t cfmStatus = RGR_CFG_CFM_OK;
S16 ret;
RgSchErrInfo errInfo;
#ifdef DEBUGP
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHGomEnqCfgReq
-(
-Region reg,
-Pool pool,
-RgSchCellCb *cell,
-RgrCfgTransId transId,
-RgrCfgReqInfo *rgrCfgReq
-)
-#else
-static S16 rgSCHGomEnqCfgReq(reg, pool, cell, transId, rgrCfgReq)
-Region reg;
-Pool pool;
-RgSchCellCb *cell;
-RgrCfgTransId transId;
-RgrCfgReqInfo *rgrCfgReq;
-#endif
+static S16 rgSCHGomEnqCfgReq(Region reg,Pool pool,RgSchCellCb *cell,RgrCfgTransId transId,RgrCfgReqInfo *rgrCfgReq)
{
S16 ret;
- uint32_t sfDiff;
+ uint32_t sfDiff;
RgSchCfgElem *rgrCfgElem = NULLP;
CmLteTimingInfo actvTime;
Inst inst = cell->instIdx;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHGomTtiHndlr
-(
-RgSchCellCb *cell,
-SpId spId
-)
-#else
-S16 rgSCHGomTtiHndlr(cell, spId)
-RgSchCellCb *cell;
-SpId spId;
-#endif
+S16 rgSCHGomTtiHndlr(RgSchCellCb *cell,SpId spId)
{
RgSchCfgElem *cfgElem;
Inst inst= cell->instIdx;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHGomHndlCfgReq
-(
-RgSchCb *instCb,
-SpId spId,
-RgrCfg *cfg,
-RgSchErrInfo *errInfo
-)
-#else
-static S16 rgSCHGomHndlCfgReq(instCb, spId, cfg, errInfo)
-RgSchCb *instCb;
-SpId spId;
-RgrCfg *cfg;
-RgSchErrInfo *errInfo;
-#endif
+static S16 rgSCHGomHndlCfgReq(RgSchCb *instCb,SpId spId,RgrCfg *cfg,RgSchErrInfo *errInfo)
{
S16 ret;
RgSchCellCb *cell = instCb->rgrSap[spId].cell;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHGomHndlSCellActDeactReq
-(
-RgSchCb *instCb,
-SpId spId,
-RgrSCellActDeactEvnt *sCellActDeactEvnt,
-RgSchErrInfo *errInfo,
-uint8_t action
-)
-#else
-static S16 rgSCHGomHndlSCellActDeactReq(instCb, spId, sCellActDeactEvnt, errInfo, action)
-RgSchCb *instCb;
-SpId spId;
-RgrSCellActDeactEvnt *sCellActDeactEvnt;
-RgSchErrInfo *errInfo;
-uint8_t action;
-#endif
+static S16 rgSCHGomHndlSCellActDeactReq(RgSchCb *instCb,SpId spId,RgrSCellActDeactEvnt *sCellActDeactEvnt,RgSchErrInf *errInfo,uint8_t action)
{
RgSchUeCb *ue = NULLP;
- uint16_t idx = 0;
- uint16_t sCellIdx = 0;
+ uint16_t idx = 0;
+ uint16_t sCellIdx = 0;
RgSchCellCb *cell = instCb->rgrSap[spId].cell;
Inst inst = (instCb->rgSchInit.inst);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHGomHndlRecfgReq
-(
-RgSchCb *instCb,
-SpId spId,
-RgrRecfg *recfg,
-RgSchErrInfo *errInfo
-)
-#else
-static S16 rgSCHGomHndlRecfgReq(instCb, spId, recfg, errInfo)
-RgSchCb *instCb;
-SpId spId;
-RgrRecfg *recfg;
-RgSchErrInfo *errInfo;
-#endif
+static S16 rgSCHGomHndlRecfgReq(RgSchCb *instCb,SpId spId,RgrRecfg *recfg,RgSchErrInfo *errInfo)
{
RgSchUeCb *ue = NULLP;
RgSchDlLcCb *dlLc = NULLP; /* PURIFY_FIX:UMR */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHGomHndlResetReq
-(
-RgSchCb *instCb,
-SpId spId,
-RgrRst *reset,
-RgSchErrInfo *errInfo
-)
-#else
-static S16 rgSCHGomHndlResetReq(instCb, spId, reset, errInfo)
-RgSchCb *instCb;
-SpId spId;
-RgrRst *reset;
-RgSchErrInfo *errInfo;
-#endif
+static S16 rgSCHGomHndlResetReq(RgSchCb *instCb,SpId spId,RgrRst *reset,RgSchErrInfo *errInfo)
{
S16 ret;
RgSchCellCb *cell= instCb->rgrSap[spId].cell;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHGomHndlDelReq
-(
-RgSchCb *instCb,
-SpId spId,
-RgrDel *del,
-RgSchErrInfo *errInfo
-)
-#else
-static S16 rgSCHGomHndlDelReq(instCb, spId, del, errInfo)
-RgSchCb *instCb;
-SpId spId;
-RgrDel *del;
-RgSchErrInfo *errInfo;
-#endif
+static S16 rgSCHGomHndlDelReq(RgSchCb *instCb,SpId spId,RgrDel *del,RgSchErrInfo *errInfo)
{
S16 ret;
* File : rg_sch_gom.c
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHGomGetCellIdFrmCfgReq
-(
-RgrCfgReqInfo *rgrCfgReq,
-CmLteCellId *cellId
-)
-#else
-static S16 rgSCHGomGetCellIdFrmCfgReq(rgrCfgReq, cellId)
-RgrCfgReqInfo *rgrCfgReq;
-CmLteCellId *cellId;
-#endif
+static S16 rgSCHGomGetCellIdFrmCfgReq(RgrCfgReqInfo *rgrCfgReq,CmLteCellId *cellId)
{
/* Extract CellId depending on the action and Config Type in the Request
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHGomHndlSiCfg
-(
-Region reg,
-Pool pool,
-RgSchCb *instCb,
-SpId spId,
-RgrCfgTransId transId,
-RgrSiCfgReqInfo *cfgReqInfo
-)
-#else
-S16 rgSCHGomHndlSiCfg(reg, pool, instCb, spId, transId, cfgReqInfo)
-Region reg;
-Pool pool;
-RgSchCb *instCb;
-SpId spId;
-RgrCfgTransId transId;
-RgrSiCfgReqInfo *cfgReqInfo;
-#endif
+S16 rgSCHGomHndlSiCfg(Region reg,Pool pool,RgSchCb *instCb,SpId spId,RgrCfgTransId transId,RgrSiCfgReqInfo *cfgReqInfo)
{
S16 ret;
RgSchCellCb *cell = instCb->rgrSap[spId].cell;
Inst inst = (instCb->rgSchInit.inst );
- RgSchErrInfo errInfo;
- uint8_t cfmStatus = RGR_CFG_CFM_NOK;
+ RgSchErrInfo errInfo;
+ uint8_t cfmStatus = RGR_CFG_CFM_NOK;
MsgLen msgLen = 0, pduLen;
S32 tbSz = 0;
- uint8_t nPrb = 0;
- uint8_t mcs = 0;
+ uint8_t nPrb = 0;
+ uint8_t mcs = 0;
/* check if cell does not exists */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHGomHndlWarningSiCfg
(
Region reg,
RgrCfgTransId transId,
RgrWarningSiCfgReqInfo *warningSiCfgReqInfo
)
-#else
-S16 rgSCHGomHndlWarningSiCfg(reg, pool, instCb, spId, transId,
-warningSiCfgReqInfo)
-Region reg;
-Pool pool;
-RgSchCb *instCb;
-SpId spId;
-RgrCfgTransId transId;
-RgrWarningSiCfgReqInfo *warningSiCfgReqInfo;
-#endif
{
RgSchCellCb *cell = instCb->rgrSap[spId].cell;
- uint8_t cfmStatus = RGR_CFG_CFM_NOK;
- uint16_t idx;
- uint8_t siId = warningSiCfgReqInfo->siId;
- uint8_t j, mcs=0, nPrb=0;
- RgSchWarningSiSeg *warningSiMsg;
- RgSchWarningSiPdu *pduNode;
- CmLList *node;
- MsgLen msgLen = 0;
- Bool freeNodeFound = FALSE;
- uint16_t siWinSize = 0;
- uint16_t minPeriod = 0;
+ uint8_t cfmStatus = RGR_CFG_CFM_NOK;
+ uint16_t idx;
+ uint8_t siId = warningSiCfgReqInfo->siId;
+ uint8_t j, mcs=0, nPrb=0;
+ RgSchWarningSiSeg *warningSiMsg;
+ RgSchWarningSiPdu *pduNode;
+ CmLList *node;
+ MsgLen msgLen = 0;
+ Bool freeNodeFound = FALSE;
+ uint16_t siWinSize = 0;
+ uint16_t minPeriod = 0;
#ifdef EMTC_ENABLE
- uint8_t isEmtc = warningSiCfgReqInfo->emtcEnable;
+ uint8_t isEmtc = warningSiCfgReqInfo->emtcEnable;
#endif
#ifdef EMTC_ENABLE
* @param[in] SpId siId
* @return void
**/
-#ifdef ANSI
-Void rgSCHGomHndlWarningSiStopReq
-(
-Region reg,
-Pool pool,
-RgSchCb *instCb,
-uint8_t siId,
-RgrCfgTransId transId,
-SpId spId
-)
-#else
-Void rgSCHGomHndlWarningSiStopReq(reg, pool, instCb, siId, transId, spId)
-Region reg;
-Pool pool;
-RgSchCb *instCb;
-uint8_t siId;
-RgrCfgTransId transId;
-SpId spId;
-#endif
+Void rgSCHGomHndlWarningSiStopReq(Region reg,Pool pool,RgSchCb *instCb,uint8_t siId,RgrCfgTransId transId,SpId spId)
{
RgSchCellCb *cell = instCb->rgrSap[spId].cell;
- uint16_t idx;
+ uint16_t idx;
CmLList *node;
RgSchWarningSiPdu *warningSiPdu;
Buffer *pdu;
* @return S16
*
**/
-#ifdef ANSI
-S16 rgSchUpdtRNTPInfo
-(
- RgSchCellCb *cell,
- RgSchDlSf *sf,
- RgrLoadInfReqInfo *loadInfReq
- )
-#else
-static Void rgSchUpdtRNTPInfo(cell, sf)
- RgSchCellCb *cell;
- RgSchDlSf *sf;
- RgrLoadInfReqInfo *loadInfReq;
-
-#endif
+S16 rgSchUpdtRNTPInfo(RgSchCellCb *cell,RgSchDlSf *sf,RgrLoadInfReqInfo *loadInfReq)
{
/* Initialise the variables */
RgSchSFRPoolInfo *sfrCCPool;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHGomHndlLoadInf
-(
- Region reg,
- Pool pool,
- RgSchCb *instCb,
- SpId spId,
- RgrCfgTransId transId,
- RgrLoadInfReqInfo *loadInfReq
- )
-#else
-S16 rgSCHGomHndlLoadInf(reg, pool, instCb, spId, transId, loadInfReq)
- Region reg;
- Pool pool;
- RgSchCb *instCb;
- SpId spId;
- RgrCfgTransId transId;
- RgrLoadInfReqInfo *loadInfReq;
-#endif
+S16 rgSCHGomHndlLoadInf(Region reg,Pool pool,RgSchCb *instCb,SpId spId,RgrCfgTransId transId,RgrLoadInfReqInfo *loadInfReq)
{
S16 ret;
RgSchCellCb *cell = instCb->rgrSap[spId].cell;
* -# RFAILED
*/
-#ifdef ANSI
-S16 rgSCHHdFddUeCfg
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb,
-Bool hdFddEnbl
-)
-#else /* ANSI */
-S16 rgSCHHdFddUeCfg (cellCb, ueCb, hdFddEnbl)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-Bool hdFddEnbl;
-#endif /* ANSI */
+S16 rgSCHHdFddUeCfg(RgSchCellCb *cellCb,RgSchUeCb *ueCb,Bool hdFddEnbl)
{
uint8_t sfi;
* -# ROK
*
*/
-#ifdef ANSI
-S16 rgSCHHdFddUeDel
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else /* ANSI */
-S16 rgSCHHdFddUeDel(cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif /* ANSI */
+S16 rgSCHHdFddUeDel(RgSchCellCb *cellCb,RgSchUeCb *ueCb)
{
RLOG_ARG2(L_DEBUG,DBG_CELLID,cellCb->cellId,
* @return None
*/
-#ifdef ANSI
-Void rgSCHCmnHdFddPtUlMrk
-(
-RgSchCellCb *cellCb
-)
-#else /* ANSI */
-Void rgSCHCmnHdFddPtUlMrk (cellCb)
-RgSchCellCb *cellCb;
-#endif /* ANSI */
+Void rgSCHCmnHdFddPtUlMrk(RgSchCellCb *cellCb)
{
- 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;
- CmLListCp *riLst;
- CmLList *cqiNode;
- CmLList *srsNode;
- CmLList *srNode;
- CmLList *riNode;
- CmLteTimingInfo timeInfo;
- RgSchUePCqiCb *cqiCb = NULLP;
- RgSchUePCqiCb *riCb = NULLP;
+ 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;
+ CmLListCp *riLst;
+ CmLList *cqiNode;
+ CmLList *srsNode;
+ CmLList *srNode;
+ CmLList *riNode;
+ CmLteTimingInfo timeInfo;
+ RgSchUePCqiCb *cqiCb = NULLP;
+ RgSchUePCqiCb *riCb = NULLP;
timeInfo = cellCb->crntTime;
* @return None
*
*/
-#ifdef ANSI
-Void rgSCHCmnHdFddChkUlAllow
-(
- RgSchCellCb *cellCb,
- RgSchUeCb *ueCb,
- uint8_t *allow
-)
-#else /* ANSI */
-Void rgSCHCmnHdFddChkUlAllow ( cellCb, ueCb, allow)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-uint8_t *allow;
-#endif /* ANSI */
+Void rgSCHCmnHdFddChkUlAllow(RgSchCellCb *cellCb,RgSchUeCb *ueCb,uint8_t *allow)
{
- uint16_t sfn;
- uint16_t sfi;
+ uint16_t sfn;
+ uint16_t sfi;
CmLteTimingInfo timeInfo;
RgSchDlSf *sf = NULLP; /* Dl subframe info */
- uint8_t ulOffset
+ uint8_t ulOffset
RLOG_ARG1(L_DEBUG,DBG_CELLID,cellCb->cellId,
" rgSCHCmnHdFddChkUlAllow: ueId=%d ", ueCb->ueId);
* Valdity of this pointer is not done in this function
*
*/
-#ifdef ANSI
Void rgSCHCmnHdFddChkDlAllow
(
RgSchCellCb *cellCb,
RgSchUeCb *ueCb,
Bool *allow /* Valdity of this pointer is not done in this function */
)
-#else /* ANSI */
-Void rgSCHCmnHdFddChkDlAllow ( cellCb, ueCb, allow)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-Bool *allow; /* Valdity of this pointer is not done in this function */
-#endif /* ANSI */
{
uint16_t sfn;
uint16_t sfi;
*
*/
-#ifdef ANSI
-Void rgSCHCmnHdFddChkNackAllow
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb,
-CmLteTimingInfo timeInfo,
-Bool *sndNACK
-)
-#else /* ANSI */
-Void rgSCHCmnHdFddChkNackAllow(cellCb, ueCb, timeInfo, sndNACK)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-CmLteTimingInfo timeInfo;
-Bool *sndNACK;
-#endif /* ANSI */
+Void rgSCHCmnHdFddChkNackAllow(RgSchCellCb *cellCb,RgSchUeCb *ueCb,CmLteTimingInfo timeInfo,Bool *sndNACK)
{
RgSchDlSf *sf;
CmLteTimingInfo tempTimeInfo;
*
* @return None
*/
-#ifdef ANSI
-Void rgSCHCmnHdFddUpdULMark
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else /* ANSI */
-Void rgSCHCmnHdFddUpdULMark ( cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif /* ANSI */
+Void rgSCHCmnHdFddUpdULMark(RgSchCellCb *cellCb,RgSchUeCb *ueCb)
{
uint16_t sfn;
* @return None
*/
-#ifdef ANSI
-Void rgSCHCmnHdFddUpdDLMark
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else /* ANSI */
-Void rgSCHCmnHdFddUpdDLMark (cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif /* ANSI */
+Void rgSCHCmnHdFddUpdDLMark(RgSchCellCb *cellCb,RgSchUeCb *ueCb)
{
uint16_t sfn;
* @return None
*/
-#ifdef ANSI
-Void rgSCHHdFddGetSfn
-(
- uint16_t *sfn,
- CmLteTimingInfo timeInfo,
- S16 offset
-)
-#else /* ANSI */
-Void rgSCHHdFddGetSfn (sfn, timeInfo, offset)
- uint16_t *sfn;
- CmLteTimingInfo timeInfo;
- S16 offset;
-#endif /* ANSI */
+Void rgSCHHdFddGetSfn(uint16_t *sfn,CmLteTimingInfo timeInfo,S16 offset)
{
uint16_t tempSfn;
S16 tempSfCount;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkMacSchUeDelInd
-(
-Pst* pst,
-RgInfUeDelInd* ueDelInd
-)
-#else
-S16 cmPkMacSchUeDelInd(pst, ueDelInd)
-Pst* pst;
-RgInfUeDelInd* ueDelInd;
-#endif
+S16 cmPkMacSchUeDelInd(Pst* pst,RgInfUeDelInd* ueDelInd)
{
Buffer *mBuf = NULLP;
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkMacSchUeDelInd
-(
-UeDelInd func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkMacSchUeDelInd(func, pst, mBuf)
-UeDelInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkMacSchUeDelInd(UeDelInd func,Pst *pst,Buffer *mBuf)
{
RgInfUeDelInd ueDelInd;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkMacSchDedBoUpdtReq
-(
-Pst* pst,
-RgInfDedBoRpt* boRpt
-)
-#else
-S16 cmPkMacSchDedBoUpdtReq(pst, boRpt)
-Pst* pst;
-RgInfDedBoRpt* boRpt;
-#endif
+S16 cmPkMacSchDedBoUpdtReq(Pst* pst,RgInfDedBoRpt* boRpt)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkMacSchDedBoUpdtReq
-(
-DedBoUpdtReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkMacSchDedBoUpdtReq(func, pst, mBuf)
-DedBoUpdtReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkMacSchDedBoUpdtReq(DedBoUpdtReq func,Pst *pst,Buffer *mBuf)
{
RgInfDedBoRpt boRpt;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkMacSchCmnBoUpdtReq
-(
-Pst* pst,
-RgInfCmnBoRpt* boRpt
-)
-#else
-S16 cmPkMacSchCmnBoUpdtReq(pst, boRpt)
-Pst* pst;
-RgInfCmnBoRpt* boRpt;
-#endif
+S16 cmPkMacSchCmnBoUpdtReq(Pst* pst,RgInfCmnBoRpt* boRpt)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkMacSchCmnBoUpdtReq
-(
-CmnBoUpdtReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkMacSchCmnBoUpdtReq(func, pst, mBuf)
-CmnBoUpdtReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkMacSchCmnBoUpdtReq(CmnBoUpdtReq func,Pst *pst,Buffer *mBuf)
{
RgInfCmnBoRpt boRpt;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkMacSchSfRecpInd
-(
-Pst* pst,
-RgInfSfDatInd* datInd
-)
-#else
-S16 cmPkMacSchSfRecpInd(pst, datInd)
-Pst* pst;
-RgInfSfDatInd* datInd;
-#endif
+S16 cmPkMacSchSfRecpInd(Pst* pst,RgInfSfDatInd* datInd)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkMacSchSfRecpInd
-(
-SfRecpInd func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkMacSchSfRecpInd(func, pst, mBuf)
-SfRecpInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkMacSchSfRecpInd(SfRecpInd func,Pst *pst,Buffer *mBuf)
{
RgInfSfDatInd* datInd;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkMacSchSpsRelInd
-(
-Pst* pst,
-RgInfSpsRelInfo* relInfo
-)
-#else
-S16 cmPkMacSchSpsRelInd(pst, relInfo)
-Pst* pst;
-RgInfSpsRelInfo* relInfo;
-#endif
+S16 cmPkMacSchSpsRelInd(Pst* pst,RgInfSpsRelInfo* relInfo)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkMacSchSpsRelInd
-(
-SpsRelInd func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkMacSchSpsRelInd(func, pst, mBuf)
-SpsRelInd func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkMacSchSpsRelInd(SpsRelInd func,Pst *pst,Buffer *mBuf)
{
RgInfSpsRelInfo *relInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkSchMacSfAllocReq
-(
-Pst* pst,
-RgInfSfAlloc* resAllocReq
-)
-#else
-S16 cmPkSchMacSfAllocReq(pst, resAllocReq)
-Pst* pst;
-RgInfSfAlloc* resAllocReq;
-#endif
+S16 cmPkSchMacSfAllocReq(Pst* pst,RgInfSfAlloc* resAllocReq)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkSchMacSfAllocReq
-(
-SfAllocReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkSchMacSfAllocReq(func, pst, mBuf)
-SfAllocReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkSchMacSfAllocReq(SfAllocReq func,Pst *pst,Buffer *mBuf)
{
RgInfSfAlloc* resAllocReq;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkSchMacRstHqEntReq
-(
-Pst* pst,
-RgInfResetHqEnt* hqEntInfo
-)
-#else
-S16 cmPkSchMacRstHqEntReq(pst, sfHqInfo)
-Pst* pst,
-RgInfResetHqEnt* hqEntInfo
-#endif
+S16 cmPkSchMacRstHqEntReq(Pst* pst,RgInfResetHqEnt* hqEntInfo)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkSchMacRstHqEntReq
-(
-RstHqEntReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkSchMacRstHqEntReq(func, pst, mBuf)
-RstHqEntReq func,
-Pst *pst,
-Buffer *mBuf
-#endif
+S16 cmUnpkSchMacRstHqEntReq(RstHqEntReq func,Pst *pst,Buffer *mBuf)
{
RgInfResetHqEnt* hqEntRstInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkSchMacRlsHqReq
-(
-Pst* pst,
-RgInfRlsHqInfo* sfHqInfo
-)
-#else
-S16 cmPkSchMacRlsHqReq(pst, sfHqInfo)
-Pst* pst;
-RgInfRlsHqInfo* sfHqInfo;
-#endif
+S16 cmPkSchMacRlsHqReq(Pst* pst,RgInfRlsHqInfo* sfHqInfo)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkSchMacRlsHqReq
-(
-RlsHqReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkSchMacRlsHqReq(func, pst, mBuf)
-RlsHqReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkSchMacRlsHqReq(RlsHqReq func,Pst *pst,Buffer *mBuf)
{
RgInfRlsHqInfo* sfHqInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkSchMacRlsRntiReq
-(
-Pst* pst,
-RgInfRlsRnti* rlsRnti
-)
-#else
-S16 cmPkSchMacRlsRntiReq(pst, rlsRnti)
-Pst* pst;
-RgInfRlsRnti* rlsRnti;
-#endif
+S16 cmPkSchMacRlsRntiReq(Pst* pst,RgInfRlsRnti* rlsRnti)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkSchMacRlsRntiReq
-(
-RlsRntiReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkSchMacRlsRntiReq(func, pst, mBuf)
-RlsRntiReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkSchMacRlsRntiReq(RlsRntiReq func,Pst *pst,Buffer *mBuf)
{
RgInfRlsRnti rlsRnti;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkSchMacCellRegReq
-(
-Pst* pst,
-RgInfCellReg* regReq
-)
-#else
-S16 cmPkSchMacCellRegReq(pst, regReq)
-Pst* pst;
-RgInfCellReg* regReq;
-#endif
+S16 cmPkSchMacCellRegReq(Pst* pst,RgInfCellReg* regReq)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkSchMacCellRegReq
-(
-CellRegReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkSchMacCellRegReq(func, pst, mBuf)
-CellRegReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkSchMacCellRegReq(CellRegReq func,Pst *pst,Buffer *mBuf)
{
RgInfCellReg regReq;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkSchMacLcgRegReq
-(
-Pst* pst,
-RgInfLcgRegReq *lcgRegReq
-)
-#else
-S16 cmPkSchMacLcgRegReq(pst, lcgRegReq)
-Pst* pst;
-RgInfLcgRegReq *lcgRegReq;
-#endif
+S16 cmPkSchMacLcgRegReq(Pst* pst,RgInfLcgRegReq *lcgRegReq)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkSchMacLcgRegReq
-(
-LcgReg func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkSchMacLcgRegReq(func, pst, mBuf)
-LcgReg func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkSchMacLcgRegReq(LcgReg func,Pst *pst,Buffer *mBuf)
{
RgInfLcgRegReq *lcgRegReq;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkSchMacSpsLcRegReq
-(
-Pst* pst,
-RgInfSpsLcInfo *lcInfo
-)
-#else
-S16 cmPkSchMacSpsLcRegReq(pst, lcInfo)
-Pst* pst;
-RgInfSpsLcInfo *lcInfo;
-#endif
+S16 cmPkSchMacSpsLcRegReq(Pst* pst,RgInfSpsLcInfo *lcInfo)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkSchMacUlSpsResetReq
-(
-Pst* pst,
-RgInfUlSpsReset *ulSpsResetInfo
-)
-#else
-S16 cmPkSchMacUlSpsResetReq(pst, ulSpsResetInfo)
-Pst* pst;
-RgInfUlSpsReset *ulSpsResetInfo;
-#endif
+S16 cmPkSchMacUlSpsResetReq(Pst* pst,RgInfUlSpsReset *ulSpsResetInfo)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkSchMacSpsLcRegReq
-(
-SpsLcReg func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkSchMacSpsLcRegReq(func, pst, mBuf)
-SpsLcReg func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkSchMacSpsLcRegReq(SpsLcReg func,Pst *pst,Buffer *mBuf)
{
RgInfSpsLcInfo *lcInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkSchMacUlSpsResetReq
-(
-UlSpsReset func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkSchMacUlSpsResetReq(func, pst, mBuf)
-UlSpsReset func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkSchMacUlSpsResetReq(UlSpsReset func,Pst *pst,Buffer *mBuf)
{
RgInfUlSpsReset *ulSpsResetInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkSchMacSpsLcDeregReq
-(
-Pst* pst,
-CmLteCellId cellId,
-CmLteRnti crnti
-)
-#else
-S16 cmPkSchMacSpsLcDeregReq(pst, cellId, crnti)
-Pst* pst;
-CmLteCellId cellId;
-CmLteRnti crnti;
-#endif
+S16 cmPkSchMacSpsLcDeregReq(Pst* pst,CmLteCellId cellId,CmLteRnti crnti)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkSchMacSpsLcDeregReq
-(
-SpsLcDereg func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkSchMacSpsLcDeregReq(func, pst, mBuf)
-SpsLcDereg func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkSchMacSpsLcDeregReq(SpsLcDereg func,Pst *pst, Buffer *mBuf)
{
CmLteCellId cellId;
CmLteRnti crnti;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkSchMacL2MeasReq
-(
-Pst* pst,
-RgInfL2MeasReq *measInfo
-)
-#else
-S16 cmPkSchMacL2MeasReq(pst, measInfo)
-Pst* pst;
-RgInfL2MeasReq *measInfo;
-#endif
+S16 cmPkSchMacL2MeasReq(Pst* pst,RgInfL2MeasReq *measInfo)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkSchMacL2MeasStopReq
-(
-Pst* pst,
-RgInfL2MeasStopReq *measInfo
-)
-#else
-S16 cmPkSchMacL2MeasStopReq(pst, measInfo)
-Pst* pst;
-RgInfL2MeasStopReq *measInfo;
-#endif
+S16 cmPkSchMacL2MeasStopReq(Pst* pst,RgInfL2MeasStopReq *measInfo)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkSchMacL2MeasSendReq
-(
-Pst* pst,
-RgInfL2MeasSndReq *measInfo
-)
-#else
-S16 cmPkSchMacL2MeasSendReq(pst, measInfo)
-Pst* pst;
-RgInfL2MeasSndReq *measInfo;
-#endif
+S16 cmPkSchMacL2MeasSendReq(Pst* pst,RgInfL2MeasSndReq *measInfo)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkSchMacL2MeasReq
-(
-L2MeasReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkSchMacL2MeasReq(func, pst, mBuf)
-L2MeasReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkSchMacL2MeasReq(L2MeasReq func,Pst *pst,Buffer *mBuf)
{
RgInfL2MeasReq measInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkSchMacL2MeasStopReq
-(
-L2MeasStopReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkSchMacL2MeasStopReq(func, pst, mBuf)
-L2MeasStopReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkSchMacL2MeasStopReq(L2MeasStopReq func,Pst *pst,Buffer *mBuf)
{
RgInfL2MeasStopReq measInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkSchMacL2MeasSendReq
-(
-L2MeasSendReq func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkSchMacL2MeasSendReq(func, pst, mBuf)
-L2MeasSendReq func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkSchMacL2MeasSendReq(L2MeasSendReq func,Pst *pst,Buffer *mBuf)
{
RgInfL2MeasSndReq measInfo;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkMacSchL2MeasCfm
-(
-Pst* pst,
-RgInfL2MeasCfm *measCfm
-)
-#else
-S16 cmPkMacSchL2MeasCfm(pst, measCfm)
-Pst* pst;
-RgInfL2MeasCfm *measCfm;
-#endif
+S16 cmPkMacSchL2MeasCfm(Pst* pst,RgInfL2MeasCfm *measCfm)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmPkMacSchL2MeasStopCfm
-(
-Pst* pst,
-RgInfL2MeasCfm *measCfm
-)
-#else
-S16 cmPkMacSchL2MeasStopCfm(pst, measCfm)
-Pst* pst;
-RgInfL2MeasCfm *measCfm;
-#endif
+S16 cmPkMacSchL2MeasStopCfm(Pst* pst,RgInfL2MeasCfm *measCfm)
{
Buffer *mBuf = NULLP;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkMacSchL2MeasCfm
-(
-L2MeasCfm func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkMacSchL2MeasCfm(func, pst, mBuf)
-L2MeasCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkMacSchL2MeasCfm(L2MeasCfm func,Pst *pst,Buffer *mBuf)
{
RgInfL2MeasCfm measCfm;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 cmUnpkMacSchL2MeasStopCfm
-(
-L2MeasCfm func,
-Pst *pst,
-Buffer *mBuf
-)
-#else
-S16 cmUnpkMacSchL2MeasStopCfm(func, pst, mBuf)
-L2MeasCfm func;
-Pst *pst;
-Buffer *mBuf;
-#endif
+S16 cmUnpkMacSchL2MeasStopCfm(L2MeasCfm func,Pst *pst,Buffer *mBuf)
{
-RgInfL2MeasCfm measCfm;
+ RgInfL2MeasCfm measCfm;
if(SRemPreMsgMult((Data *)&measCfm, sizeof(RgInfL2MeasCfm), mBuf) != ROK)
{
* @param [in] measTime
* @return Void
*/
-#ifdef ANSI
S16 rgSchFillL2MeasCfm
(
RgSchCellCb *cell,
RgSchL2MeasCb *measCb,
LrgSchMeasCfmInfo *cfm,
-uint32_t measTime
+uint32_t measTime
)
-#else
-S16 rgSchFillL2MeasCfm(cell, measCb, cfm, measTime)
-RgSchCellCb *cell;
-RgSchL2MeasCb *measCb;
-LrgSchMeasCfmInfo *cfm;
-uint32_t measTime;
-#endif
{
- uint8_t idx;
+ uint8_t idx;
LrgSchMeasReqInfo *measInfo;
- uint8_t qciVal = 0;
- uint32_t sampOc = 0;
+ uint8_t qciVal = 0;
+ uint32_t sampOc = 0;
measInfo = &measCb->measReq;
* @param [in] Bool isErr
* @return Void
*/
-#ifdef ANSI
S16 rgSchL2mSndCfm
(
Pst *pst,
LrgSchMeasReqInfo *measInfo,
Bool isErr
)
-#else
-S16 rgSchL2mSndCfm(pst, measCb, measInfo, isErr)
-Pst *pst;
-RgSchL2MeasCb *measCb;
-LrgSchMeasReqInfo *measInfo;
-Bool isErr;
-#endif
{
LrgSchMeasCfmInfo cfm;
* @param [in] LrgSchMeasReqInfo *measInfo
* @return Void
*/
-#ifdef ANSI
Void rgSchL2mFillCfmPst
(
Pst *pst,
Pst *cfmPst,
LrgSchMeasReqInfo *measInfo
)
-#else
-Void rgSchL2mFillCfmPst(pst, cfmPst, measInfo)
-Pst *pst;
-Pst *cfmPst;
-LrgSchMeasReqInfo *measInfo;
-#endif
{
cfmPst->srcEnt = pst->dstEnt;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgSchL2mInsertMeasCb
(
RgSchCellCb *cell,
RgSchL2MeasCb *measCb,
LrgSchMeasReqInfo *measInfo
)
-#else
-static S16 rgSchL2mInsertMeasCb(cell, measCb, measInfo)
-RgSchCellCb *cell;
-RgSchL2MeasCb *measCb;
-LrgSchMeasReqInfo *measInfo;
-#endif
{
CmLList *lnk, *node;
RgSchL2MeasCb *oldMeasCb;
- uint32_t diffTime;
+ uint32_t diffTime;
/*
* 1. Check if l2mList has any entries.
*
* @param [in] RgSchCellCb *cell
*/
-#ifdef ANSI
-static Void rgSchL2CalDlPrbCount
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSchL2CalDlPrbCount(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSchL2CalDlPrbCount(RgSchCellCb *cell)
{
CmLteTimingInfo frm;
RgSchDlSf *sf = NULLP;
#ifdef LTE_TDD
- uint8_t idx;
+ uint8_t idx;
#endif
frm = cell->crntTime;
*
* @param [in] RgSchCellCb *cell
*/
-#ifdef ANSI
-static Void rgSchL2CalUlPrbCount
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSchL2CalUlPrbCount(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSchL2CalUlPrbCount(RgSchCellCb *cell)
{
RgSchUlSf *sf = NULLP;
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
#ifdef LTE_TDD
- uint8_t idx;
+ uint8_t idx;
#endif
#ifdef LTE_TDD
* @param [out] RgSchErrInfo *err
* @return RgSchL2MeasCb *
*/
-#ifdef ANSI
static RgSchL2MeasCb * rgSchL2mAllocMeasCb
(
RgSchCellCb *cell,
LrgSchMeasReqInfo *measInfo,
RgSchErrInfo err
)
-#else
-static RgSchL2MeasCb * rgSchL2mAllocMeasCb(cell, measInfo, err)
-RgSchCellCb *cell;
-LrgSchMeasReqInfo *measInfo;
-RgSchErrInfo err;
-#endif
{
RgSchL2MeasCb *measCb = NULLP;
Inst inst = cell->instIdx;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSchL2mMeasReq
(
RgSchCellCb *cell,
LrgSchMeasReqInfo *measInfo,
RgSchErrInfo err
)
-#else
-S16 rgSchL2mMeasReq(cell, measInfo, err)
-RgSchCellCb *cell;
-LrgSchMeasReqInfo *measInfo;
-RgSchErrInfo err;
-#endif
{
RgSchL2MeasCb *measCb;
- uint8_t idx;
- uint8_t qciVal;
+ uint8_t idx;
+ uint8_t qciVal;
qciVal = 0;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHL2Meas
(
RgSchCellCb *cell,
uint8_t isCalrCrcInd
)
-#else
-S16 rgschL2Meas(cell,isCalrCrcInd)
-RgSchCellCb *cell;
-uint8_t isCalrCrcInd
-#endif
{
CmLList *node = NULLP;
RgSchL2MeasCb *measCb = NULLP;
- uint8_t idx;
+ uint8_t idx;
LrgSchMeasCfmInfo measCfm;
- uint8_t qciVal = 0;
- uint32_t sfDiff;
- uint32_t meas;
+ uint8_t qciVal = 0;
+ uint32_t sfDiff;
+ uint32_t meas;
#ifdef LTE_TDD
- uint8_t sfIdx;
+ uint8_t sfIdx;
Bool isDlDataAllowed;
- uint8_t rem;
- uint32_t numDlSf;
- uint32_t numUlSf;
+ uint8_t rem;
+ uint32_t numDlSf;
+ uint32_t numUlSf;
#endif
node = cell->l2mList.first;
* -# LCM_REASON_NOT_APPL
**/
#ifdef UNUSE_FUN
-#ifdef ANSI
static uint16_t rgSCHLmmSapCfg
(
Inst dInst,
RgCfg *cfg, /* Configuaration information */
-uint8_t sapIdx, /* SAP index */
+uint8_t sapIdx, /* SAP index */
Elmnt sapType /* SAP Type */
)
-#else
-static uint16_t rgSCHLmmSapCfg(dInst, cfg, sapIdx, sapType)
-Inst dInst;
-RgCfg *cfg; /* Configuaration information */
-uint8_t sapIdx; /* SAP index */
-Elmnt sapType; /* SAP Type */
-#endif
{
uint16_t ret = LCM_REASON_NOT_APPL;
RgSchLowSapCfgInfo *lowSapCfg = NULLP;
* File : rg_sch_lmm.c
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHLmmShutdown
-(
-Inst inst
-)
-#else
-static Void rgSCHLmmShutdown(inst)
-Inst inst;
-#endif
+static Void rgSCHLmmShutdown(Inst inst)
{
Inst dInst = inst + SCH_INST_START;
- uint8_t idx;
+ uint8_t idx;
#ifdef LTE_L2_MEAS
CmLList *lnk = NULLP;
RgSchCb *instCb = &rgSchCb[inst];
RgSchCellCb *cell = NULLP;
RgSchL2MeasCb *measCb;
- uint8_t ulAllocIdx;
+ uint8_t ulAllocIdx;
RgSchCmnUlCell *cellUl;
RgSchClcBoRpt *bo = NULL;
#endif
* File : rg_sch_lmm.c
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHLmmGenCntrl
-(
-RgMngmt *cntrl,
-RgMngmt *cfm,
-Pst *cfmPst
-)
-#else
-Void rgSCHLmmGenCntrl(cntrl, cfm, cfmPst)
-RgMngmt *cntrl;
-RgMngmt *cfm;
-Pst *cfmPst;
-#endif
+Void rgSCHLmmGenCntrl(RgMngmt *cntrl,RgMngmt *cfm,Pst *cfmPst)
{
Inst inst = (cfmPst->srcInst - SCH_INST_START); /* Scheduler instance ID */
* File : rg_sch_lmm.c
*
**********************************************************/
-#ifdef ANSI
Void rgSCHLmmSapCntrl
(
RgMngmt *cntrl,
RgMngmt *cfm,
Pst *cfmPst
)
-#else
-Void rgSCHLmmSapCntrl(cntrl, cfm, cfmPst)
-RgMngmt *cntrl;
-RgMngmt *cfm;
-Pst *cfmPst;
-#endif
{
uint8_t idx;
* File : rg_sch_lmm.c
*
**********************************************************/
-#ifdef ANSI
Void SchFillCfmPst
(
Pst *reqPst,
Pst *cfmPst,
RgMngmt *cfm
)
-#else
-Void SchFillCfmPst(reqPst, cfmPst, cfm)
-Pst *reqPst;
-Pst *cfmPst;
-RgMngmt *cfm;
-#endif
{
Inst inst;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgSCHLmmStartTmr
(
-Inst inst,
-S16 tmrEvnt, /* Timer Event */
-uint32_t tmrVal, /* Wait Time */
-PTR cb /* Entry for which Timer Expired */
+Inst inst,
+S16 tmrEvnt, /* Timer Event */
+uint32_t tmrVal, /* Wait Time */
+PTR cb /* Entry for which Timer Expired */
)
-#else
-S16 rgSCHLmmStartTmr(inst, tmrEvnt, tmrVal, cb)
-Inst inst; /* scheduler instance ID */
-S16 tmrEvnt; /* Timer Event */
-uint32_t tmrVal; /* Wait Time */
-PTR cb; /* Entry for which Timer Expired */
-#endif
{
CmTmrArg arg;
/* Inst dInst = inst + SCH_INST_START; */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHLmmStopTmr
(
-Inst inst, /* Scheduler instance */
-S16 tmrEvnt, /* Timer Event */
-PTR cb /* Entry for which Timer Expired */
+Inst inst, /* Scheduler instance */
+S16 tmrEvnt, /* Timer Event */
+PTR cb /* Entry for which Timer Expired */
)
-#else
-S16 rgSCHLmmStopTmr(inst, tmrEvnt, cb)
-Inst inst; /* Scheduler instance */
-S16 tmrEvnt; /* Timer Event */
-PTR cb; /* Entry for which Timer Expired */
-#endif
{
CmTmrArg arg;
- uint8_t i;
+ uint8_t i;
S16 ret;
ret = RFAILED;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgSCHLmmTmrExpiry
(
PTR cb, /* Pointer to timer control block */
S16 tmrEvnt /* Timer Event */
)
-#else
-S16 rgSCHLmmTmrExpiry(cb,tmrEvnt)
-PTR cb; /* Pointer to timer control block */
-S16 tmrEvnt; /* Timer Event */
-#endif
{
S16 ret = ROK;
RgSchLowSapCb *tfuSap = (RgSchLowSapCb *)cb;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgSCHLmmBndCfm
(
Pst *pst, /* Post Structure */
SuId suId, /* Service user ID */
uint8_t status /* Status */
)
-#else
-S16 rgSCHLmmBndCfm(pst,suId,status)
-Pst *pst; /* Post Structure */
-SuId suId; /* Service user Id */
-uint8_t status; /* Status */
-#endif
{
S16 ret = ROK;
RgMngmt cntrlCfm;
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgSCHLmmStaInd
(
Inst inst,
uint16_t cause,
RgUstaDgn *dgn
)
-#else
-S16 rgSCHLmmStaInd(inst, category, event, cause, dgn)
-Inst inst;
-uint16_t category;
-uint16_t event;
-uint16_t cause;
-RgUstaDgn *dgn;
-#endif
{
RgMngmt usta;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 schActvTmr
-(
-Ent ent,
-Inst inst
-)
-#else
-S16 schActvTmr(ent, inst)
-Ent ent;
-Inst inst;
-#endif
+S16 schActvTmr(Ent ent,Inst inst)
{
Inst schInst = (inst - SCH_INST_START);
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHMeasGapANRepUeCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeCfg *ueCfg
-)
-#else
-S16 rgSCHMeasGapANRepUeCfg(cell, ue, ueCfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeCfg *ueCfg;
-#endif
+S16 rgSCHMeasGapANRepUeCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeCfg *ueCfg)
{
ue->measGapCb.isMesGapEnabled = ueCfg->ueMesGapCfg.isMesGapEnabled;
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHMeasGapANRepUeRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeRecfg *ueRecfg
-)
-#else
-S16 rgSCHMeasGapANRepUeRecfg(cell, ue, ueRecfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-#endif
+S16 rgSCHMeasGapANRepUeRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeRecfg *ueRecfg)
{
RgrUeMeasGapCfg *reCfg;
RgSchUeMeasGapCb *ueMeasCb;
* @param
* @return
*/
-#ifdef ANSI
-static S16 rgSCHMeasGapANRepUtlAddUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeMeasGapCfg *cfg
-)
-#else
-static S16 rgSCHMeasGapANRepUtlAddUe (cell, ue, cfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeMeasGapCfg *cfg;
-#endif
+static S16 rgSCHMeasGapANRepUtlAddUe(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeMeasGapCfg *cfg)
{
switch (cfg->gapPrd)
* @param
* @return
*/
-#ifdef ANSI
-static S16 rgSCHMeasGapANRepUtlRmvUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static S16 rgSCHMeasGapANRepUtlRmvUe (cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static S16 rgSCHMeasGapANRepUtlRmvUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
switch (ue->measGapCb.gapPrd)
* -# ROK
**/
-#ifdef ANSI
-Void rgSCHMeasGapANRepUeDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-Bool isUeDel
-)
-#else
-Void rgSCHMeasGapANRepUeDel(cell, ue, isUeDel)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-Bool isUeDel;
-#endif
+Void rgSCHMeasGapANRepUeDel(RgSchCellCb *cell,RgSchUeCb *ue,Bool isUeDel)
{
if (ue->measGapCb.isMesGapEnabled)
* @param
* @return
*/
-#ifdef ANSI
-static S16 rgSchAckNackRepUtlRmvUe
-(
- RgSchCellCb *cell,
- RgSchUeCb *ue
- )
-#else
-static S16 rgSchAckNackRepUtlRmvUe (cell, ue)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
-#endif
+static S16 rgSchAckNackRepUtlRmvUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
- uint8_t hqIdx;
- uint8_t repIdx;
+ uint8_t hqIdx;
+ uint8_t repIdx;
RgSchDlHqProcCb *hqP;
- uint8_t tbCnt;
+ uint8_t tbCnt;
- RgSchDlHqEnt *hqEnt = RG_SCH_CMN_GET_UE_HQE(ue, cell);
+ RgSchDlHqEnt *hqEnt = RG_SCH_CMN_GET_UE_HQE(ue, cell);
for (hqIdx = 0; hqIdx < hqEnt->numHqPrcs; hqIdx++)
{
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHMeasGapANRepTtiHndl
-(
-RgSchCellCb *cell
-)
-#else
-S16 rgSCHMeasGapANRepTtiHndl(cell)
-RgSchCellCb *cell;
-#endif
+S16 rgSCHMeasGapANRepTtiHndl(RgSchCellCb *cell)
{
- uint8_t offset;
+ uint8_t offset;
CmLListCp *queue;
RgSchDlSf *dlSf;
CmLteTimingInfo repTime;
* @param CmLListCp *ackNakRepQ
* @return Void
*/
-#ifdef ANSI
-static Void rgSchAckNackRepUtlHdlTti
-(
-RgSchCellCb *cell,
-CmLListCp *ackNackRepQ
-)
-#else
-static Void rgSchAckNackRepUtlHdlTti (cell, ackNackRepQ)
-RgSchCellCb *cell;
-CmLListCp *ackNackRepQ;
-#endif
+static Void rgSchAckNackRepUtlHdlTti(RgSchCellCb *cell,CmLListCp *ackNackRepQ)
{
CmLList *node;
RgSchUeCb *ue;
* @param
* @return
*/
-#ifdef ANSI
-static Void rgSCHMeasGapANRepUtlHdlTti
-(
-RgSchCellCb *cell,
-CmLListCp *measGapQ
-)
-#else
-static Void rgSCHMeasGapANRepUtlHdlTti (cell, measGapQ)
-RgSchCellCb *cell;
-CmLListCp *measGapQ;
-#endif
+static Void rgSCHMeasGapANRepUtlHdlTti(RgSchCellCb *cell,CmLListCp *measGapQ)
{
CmLList *node;
RgSchUeCb *ue;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHMeasGapANRepGetDlInactvUe
-(
-RgSchCellCb *cell,
-CmLListCp *dlInactvUeLst
-)
-#else
-S16 rgSCHMeasGapANRepGetDlInactvUe(cell, dlInactvUeLst)
-RgSchCellCb *cell;
-CmLListCp *dlInactvUeLst;
-#endif
+S16 rgSCHMeasGapANRepGetDlInactvUe(RgSchCellCb *cell,CmLListCp *dlInactvUeLst)
{
- uint8_t offset;
+ uint8_t offset;
CmLList *node;
CmLList *hqNode;
CmLListCp *queue;
RgSchUeCb *ue;
RgSchDlSf *dlSf;
CmLteTimingInfo ackNakTime;
- uint16_t schedTime;
- uint8_t harqFdbkOffset;
+ uint16_t schedTime;
+ uint8_t harqFdbkOffset;
#ifdef LTE_TDD
- uint8_t repCntr;
+ uint8_t repCntr;
#endif
RgSchDlHqProcCb *hqP;
RgSchDlHqTbCb *tbCb;
- uint32_t i;
+ uint32_t i;
schedTime = cell->crntTime.sfn * RGSCH_NUM_SUB_FRAMES_5G + cell->crntTime.slot + RG_DL_DELTA;
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHMeasGapANRepGetUlInactvUe
-(
-RgSchCellCb *cell,
-CmLListCp *ulInactvUeLst
-)
-#else
-S16 rgSCHMeasGapANRepGetUlInactvUe(cell, ulInactvUeLst)
-RgSchCellCb *cell;
-CmLListCp *ulInactvUeLst;
-#endif
+S16 rgSCHMeasGapANRepGetUlInactvUe(RgSchCellCb *cell,CmLListCp *ulInactvUeLst)
{
- uint8_t offset;
- CmLList *node;
- CmLList *hqNode;
- CmLListCp *queue;
- RgSchUeCb *ue;
- CmLteTimingInfo ackNakTime;
- RgSchDlSf *dlSf;
- uint16_t schedTime;
- uint8_t pdcchToPuschGap;
- uint8_t idx=0;
+ uint8_t offset;
+ CmLList *node;
+ CmLList *hqNode;
+ CmLListCp *queue;
+ RgSchUeCb *ue;
+ CmLteTimingInfo ackNakTime;
+ RgSchDlSf *dlSf;
+ uint16_t schedTime;
+ uint8_t pdcchToPuschGap;
+ uint8_t idx=0;
#ifdef LTE_TDD
- uint8_t repCntr;
+ uint8_t repCntr;
#endif
RgSchDlHqProcCb *hqP;
RgSchDlHqTbCb *tbCb;
- uint32_t i;
+ uint32_t i;
/*ccpu00139481- Meas Gap should be monitored in UL with TFU_ULCNTRL_DLDELTA*/
schedTime = cell->crntTime.sfn * RGSCH_NUM_SUB_FRAMES_5G + cell->crntTime.slot + \
* -# ROK
**/
-#ifdef ANSI
-Void rgSCHMeasGapANRepDlInactvTmrExpry
-(
-RgSchUeCb *ue,
-uint8_t tmrEvnt
-)
-#else
-Void rgSCHMeasGapANRepDlInactvTmrExpry(ue, tmrEvnt)
-RgSchUeCb *ue;
-uint8_t tmrEvnt;
-#endif
+Void rgSCHMeasGapANRepDlInactvTmrExpry(RgSchUeCb *ue,uint8_t tmrEvnt)
{
RgSchCellCb *cell = ue->cell;
* -# ROK
**/
-#ifdef ANSI
-Void rgSCHMeasGapANRepUlInactvTmrExpry
-(
-RgSchUeCb *ue,
-uint8_t tmrEvnt
-)
-#else
-Void rgSCHMeasGapANRepUlInactvTmrExpry(ue, tmrEvnt)
-RgSchUeCb *ue;
-uint8_t tmrEvnt;
-#endif
+Void rgSCHMeasGapANRepUlInactvTmrExpry(RgSchUeCb *ue,uint8_t tmrEvnt)
{
RgSchCellCb *cell = ue->cell;
* -# ROK
**/
-#ifdef ANSI
-Void rgSCHMeasGapANRepTmrExpry
-(
-RgSchUeCb *ue
-)
-#else
-Void rgSCHMeasGapANRepTmrExpry(ue)
-RgSchUeCb *ue;
-#endif
+Void rgSCHMeasGapANRepTmrExpry(RgSchUeCb *ue)
{
ue->measGapCb.isMeasuring = FALSE;
* -# ROK
**/
-#ifdef ANSI
-Void rgSCHAckNakRepTmrExpry
-(
-RgSchUeCb *ue
-)
-#else
-Void rgSCHAckNakRepTmrExpry(ue)
-RgSchUeCb *ue;
-#endif
+Void rgSCHAckNakRepTmrExpry(RgSchUeCb *ue)
{
ue->ackNakRepCb.isAckNakRep = FALSE;
* -# ROK
**/
-#ifdef ANSI
-Void rgSCHAckNakRepAddToQ
-(
-RgSchCellCb *cell,
-RgSchDlSf *crntDlSf
-)
-#else
-Void rgSCHAckNakRepAddToQ(cell, crntDlSf)
-RgSchCellCb *cell;
-RgSchDlSf *crntDlSf;
-#endif
+Void rgSCHAckNakRepAddToQ(RgSchCellCb *cell,RgSchDlSf *crntDlSf)
{
RgSchUeCb *ue;
CmLList *node;
*
**/
-#ifdef ANSI
-static uint8_t rgSCHAckNakRepFindUlDuration
-(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf,
-CmLteTimingInfo repTime,
-uint8_t repCnt
-)
-#else
-static uint8_t rgSCHAckNakRepFindUlDuration(cell, dlSf, repTime, repCnt)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-CmLteTimingInfo repTime;
-uint8_t repCnt;
-#endif
+static uint8_t rgSCHAckNakRepFindUlDuration(RgSchCellCb *cell,RgSchDlSf *dlSf,CmLteTimingInfo repTime,uint8_t repCnt)
{
CmLteTimingInfo ulfrm;
uint8_t noSubfrms = 0;
uint16_t ulDlCfgIdx = cell->ulDlCfgIdx;
- S16 rem = 0;
+ S16 rem = 0;
S16 idx;
- S8 diff;
+ S8 diff;
rgSCHAckNakRepGetUlOffsetFrmDl(dlSf, repTime, &noSubfrms);
RG_SCH_ADD_TO_CRNT_TIME(repTime, ulfrm, noSubfrms);
*
**/
-#ifdef ANSI
-static Void rgSCHAckNakRepGetUlOffsetFrmDl
-(
-RgSchDlSf *dlSf,
-CmLteTimingInfo crntDlTime,
-uint8_t *noSubfrms
-)
-#else
-static Void rgSCHAckNakRepGetUlOffsetFrmDl(dlSf, crntDlTime, noSubfrms)
-RgSchDlSf *dlSf;
-CmLteTimingInfo crntDlTime;
-uint8_t *noSubfrms;
-#endif
- {
+static Void rgSCHAckNakRepGetUlOffsetFrmDl(RgSchDlSf *dlSf,CmLteTimingInfo crntDlTime,uint8_t *noSubfrms )
+{
if(dlSf->dlFdbkInfo.sfnOffset != 0)
{
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacCellReg
-(
-Pst* pst,
-RgInfCellReg* regReq
-)
-#else
-S16 RgSchMacCellReg(pst, regReq)
-Pst* pst;
-RgInfCellReg* regReq;
-#endif
+S16 RgSchMacCellReg(Pst* pst,RgInfCellReg* regReq)
{
return ((*RgSchMacCellRegReqMt[0])(pst, regReq));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgMacSchDedBoUpdt
-(
-Pst* pst,
-RgInfDedBoRpt* boRpt
-)
-#else
-S16 RgMacSchDedBoUpdt(pst, boRpt)
-Pst* pst;
-RgInfDedBoRpt* boRpt;
-#endif
+S16 RgMacSchDedBoUpdt(Pst* pst,RgInfDedBoRpt* boRpt)
{
return ((*RgMacSchDedBoUpdtReqMt[0])(pst, boRpt));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgMacSchCmnBoUpdt
-(
-Pst* pst,
-RgInfCmnBoRpt* boRpt
-)
-#else
-S16 RgMacSchCmnBoUpdt(pst, boRpt)
-Pst* pst;
-RgInfCmnBoRpt* boRpt;
-#endif
+S16 RgMacSchCmnBoUpdt(Pst* pst ,RgInfCmnBoRpt* boRpt)
{
return ((*RgMacSchCmnBoUpdtReqMt[0])(pst, boRpt));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgMacSchUeDel
-(
-Pst* pst,
-RgInfUeDelInd* ueDelInd
-)
-#else
-S16 RgMacSchUeDel(pst, datInd)
-Pst* pst;
-RgInfUeDelInd* ueDelInd;
-#endif
+S16 RgMacSchUeDel(Pst* pst,RgInfUeDelInd* ueDelInd)
{
return ((*RgMacSchUeDelIndMt[0])(pst, ueDelInd));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgMacSchSfRecp
-(
-Pst* pst,
-RgInfSfDatInd* datInd
-)
-#else
-S16 RgMacSchSfRecp(pst, datInd)
-Pst* pst;
-RgInfSfDatInd* datInd;
-#endif
+S16 RgMacSchSfRecp(Pst* pst,RgInfSfDatInd* datInd)
{
return ((*RgMacSchSfRecpIndMt[0])(pst, datInd));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacSfAlloc
-(
-Pst* pst,
-RgInfSfAlloc* resAllocReq
-)
-#else
-S16 RgSchMacSfAlloc(pst, resAllocReq)
-Pst* pst;
-RgInfSfAlloc* resAllocReq;
-#endif
+S16 RgSchMacSfAlloc(Pst* pst,RgInfSfAlloc* resAllocReq)
{
return ((*RgSchMacSfAllocReqMt[0])(pst, resAllocReq));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacRstHqEnt
-(
-Pst* pst,
-RgInfResetHqEnt* hqEntInfo
-)
-#else
-S16 RgSchMacRstHqEnt(pst, hqEntInfo)
-Pst* pst;
-RgInfResetHqEnt* hqEntInfo;
-#endif
+S16 RgSchMacRstHqEnt(Pst* pst,RgInfResetHqEnt* hqEntInfo)
{
return ((*RgSchMacRstHqEntReqMt[0])(pst, hqEntInfo));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacRlsHq
-(
-Pst* pst,
-RgInfRlsHqInfo* sfHqInfo
-)
-#else
-S16 RgSchMacRlsHq(pst, sfHqInfo)
-Pst* pst;
-RgInfRlsHqInfo* sfHqInfo;
-#endif
+S16 RgSchMacRlsHq(Pst* pst,RgInfRlsHqInfo* sfHqInfo)
{
return ((*RgSchMacRlsHqReqMt[0])(pst, sfHqInfo));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacRlsRnti
-(
-Pst* pst,
-RgInfRlsRnti* rlsRnti
-)
-#else
-S16 RgSchMacRlsRnti(pst, rlsRnti)
-Pst* pst;
-RgInfRlsRnti* rlsRnti;
-#endif
+S16 RgSchMacRlsRnti(Pst* pst,RgInfRlsRnti* rlsRnti)
{
return ((*RgSchMacRlsRntiReqMt[0])(pst, rlsRnti));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacLcgReg
-(
-Pst* pst,
-RgInfLcgRegReq *lcgRegReq
-)
-#else
-S16 RgSchMacLcgReg(pst, lcgRegReq)
-Pst* pst;
-RgInfLcgRegReq *lcgRegReq;
-#endif
+S16 RgSchMacLcgReg(Pst* pst,RgInfLcgRegReq *lcgRegReq)
{
return ((*RgSchMacLcgRegReqMt[0])(pst, lcgRegReq));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgMacSchSpsRel
-(
-Pst* pst,
-RgInfSpsRelInfo* relInfo
-)
-#else
-S16 RgMacSchSpsRel(pst, relInfo)
-Pst* pst;
-RgInfSpsRelInfo* relInfo;
-#endif
+S16 RgMacSchSpsRel(Pst* pst,RgInfSpsRelInfo* relInfo)
{
return ((*RgMacSchSpsRelIndMt[0])(pst, relInfo));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacSpsLcReg
-(
-Pst* pst,
-RgInfSpsLcInfo *lcInfo
-)
-#else
-S16 RgSchMacSpsLcReg(pst, lcInfo)
-Pst* pst;
-RgInfSpsLcInfo *lcInfo;
-#endif
+S16 RgSchMacSpsLcReg(Pst* pst,RgInfSpsLcInfo *lcInfo)
{
return ((*RgSchMacSpsLcRegReqMt[0])(pst, lcInfo));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacUlSpsReset
-(
-Pst* pst,
-RgInfUlSpsReset *ulSpsResetInfo
-)
-#else
-S16 RgSchMacUlSpsReset(pst, ulSpsResetInfo)
-Pst* pst;
-RgInfUlSpsReset *ulSpsResetInfo;
-#endif
+S16 RgSchMacUlSpsReset(Pst* pst,RgInfUlSpsReset *ulSpsResetInfo)
{
return ((*RgSchMacUlSpsResetMt[0])(pst, ulSpsResetInfo));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacSpsLcDereg
-(
-Pst* pst,
-CmLteCellId cellId,
-CmLteRnti crnti
-)
-#else
-S16 RgSchMacSpsLcDereg(pst, cellId, crnti)
-Pst* pst;
-CmLteCellId cellId;
-CmLteRnti crnti;
-#endif
+S16 RgSchMacSpsLcDereg(Pst* pst,CmLteCellId cellId,CmLteRnti crnti)
{
return ((*RgSchMacSpsLcDeregReqMt[0])(pst, cellId, crnti));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacL2Meas
-(
-Pst* pst,
-RgInfL2MeasReq *measInfo
-)
-#else
-S16 RgSchMacL2Meas(pst, measInfo)
-Pst* pst;
-RgInfL2MeasReq *measInfo;
-#endif
+S16 RgSchMacL2Meas(Pst* pst,RgInfL2MeasReq *measInfo)
{
return ((*RgSchMacL2MeasReqMt[0])(pst, measInfo));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacL2MeasStop
-(
-Pst* pst,
-RgInfL2MeasStopReq *measInfo
-)
-#else
-S16 RgSchMacL2MeasStop(pst, measInfo)
-Pst* pst;
-RgInfL2MeasStopReq *measInfo;
-#endif
+S16 RgSchMacL2MeasStop(Pst* pst,RgInfL2MeasStopReq *measInfo)
{
return ((*RgSchMacL2MeasStopReqMt[0])(pst, measInfo));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgSchMacL2MeasSend
-(
-Pst* pst,
-RgInfL2MeasSndReq *measInfo
-)
-#else
-S16 RgSchMacL2MeasSend(pst, measInfo)
-Pst* pst;
-RgInfL2MeasSndReq *measInfo;
-#endif
+S16 RgSchMacL2MeasSend(Pst* pst,RgInfL2MeasSndReq *measInfo)
{
return ((*RgSchMacL2MeasSendReqMt[0])(pst, measInfo));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgMacSchL2Meas
-(
-Pst* pst,
-RgInfL2MeasCfm *measInfo
-)
-#else
-S16 RgMacSchL2Meas(pst, measInfo)
-Pst* pst;
-RgInfL2MeasCfm *measInfo;
-#endif
+S16 RgMacSchL2Meas(Pst* pst,RgInfL2MeasCfm *measInfo)
{
return ((*RgMacSchL2MeasCfmMt[0])(pst, measInfo));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 RgMacSchL2MeasStop
-(
-Pst* pst,
-RgInfL2MeasCfm *measInfo
-)
-#else
-S16 RgMacSchL2MeasStop(pst, measInfo)
-Pst* pst;
-RgInfL2MeasCfm *measInfo;
-#endif
+S16 RgMacSchL2MeasStop(Pst* pst,RgInfL2MeasCfm *measInfo)
{
return ((*RgMacSchL2MeasStopCfmMt[0])(pst, measInfo));
*
* @return Void
**/
-#ifdef ANSI
-Void rgSCHPwrInit
-(
-Void
-)
-#else
Void rgSCHPwrInit()
-#endif
{
uint8_t idx;
* File :
*
**********************************************************/
-#ifdef ANSI
-static S8 rgSCHPwrGetCqiPwr
-(
-uint8_t cqi
-)
-#else
-static S8 rgSCHPwrGetCqiPwr(cqi)
-uint8_t cqi;
-#endif
+static S8 rgSCHPwrGetCqiPwr(uint8_t cqi)
{
return (rgSchPwrCqiToPwrTbl[cqi]);
* File :
*
**********************************************************/
-#ifdef ANSI
-static S8 rgSCHPwrGetCqiPwrForUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t cqi
-)
-#else
-static S8 rgSCHPwrGetCqiPwrForUe(cell, ue, cqi)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t cqi;
-#endif
+static S8 rgSCHPwrGetCqiPwrForUe(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t cqi)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static S8 rgSCHPwrCalcEfficncyPwr
-(
-uint32_t eff
-)
-#else
-static S8 rgSCHPwrCalcEfficncyPwr(eff)
-uint32_t eff;
-#endif
+static S8 rgSCHPwrCalcEfficncyPwr(uint32_t eff)
{
F64 ks = 1.25; /* or F64 */
F64 tmp = cmPow(2, ks*eff/1024) - 1;
* @param[in] RgSchUeCb *ue
* @return uint8_t
**/
-#ifdef ANSI
-uint8_t rgSCHPwrPuschTpcForUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-uint8_t rgSCHPwrPuschTpcForUe(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+uint8_t rgSCHPwrPuschTpcForUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue,cell);
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-uint8_t rgSCHPwrGetMaxUlRb
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-uint8_t rgSCHPwrGetMaxUlRb(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+uint8_t rgSCHPwrGetMaxUlRb(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHPwrPuschCntrl
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrPuschCntrl(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrPuschCntrl(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
- RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
+ RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
S8 delta;
#ifdef TFU_UPGRADE
- uint8_t cqi = ueUl->validUlCqi;
- S32 tmp;
+ uint8_t cqi = ueUl->validUlCqi;
+ S32 tmp;
#else
- uint8_t cqi = ueUl->crntUlCqi[0];
+ uint8_t cqi = ueUl->crntUlCqi[0];
#endif
- Bool isAcc = uePwr->isAccumulated;
- uint8_t tpc;
- S8 availPwr;
- uint8_t maxRb;
+ Bool isAcc = uePwr->isAccumulated;
+ uint8_t tpc;
+ S8 availPwr;
+ uint8_t maxRb;
UNUSED(cell);
* @param[in] RgSchUeCb *ue
* @return uint8_t
**/
-#ifdef ANSI
-uint8_t rgSCHPwrPucchTpcForUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-uint8_t rgSCHPwrPucchTpcForUe(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+uint8_t rgSCHPwrPucchTpcForUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static S8 rgSCHPwrGetDelta2FrmCqi
-(
-uint8_t crntCqi,
-uint8_t trgCqi,
-RgSchUeCb *ue,
-RgSchCellCb *cell
-
-)
-#else
-static S8 rgSCHPwrGetDelta2FrmCqi(crntCqi, trgCqi)
-uint8_t crntCqi;
-uint8_t trgCqi;
-RgSchUeCb *ue;
-RgSchCellCb *cell;
-#endif
+static S8 rgSCHPwrGetDelta2FrmCqi(uint8_t crntCqi,uint8_t trgCqi,RgSchUeCb *ue,RgSchCellCb *cell)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrGetPuschTpc
-(
-uint8_t isAcc,
-S8 delta,
-S8 availPwr,
-uint8_t *tpc,
-S8 *tpcDelta
-)
-#else
-static Void rgSCHPwrGetPuschTpc(isAcc, delta, availPwr, tpc, tpcDelta)
-uint8_t isAcc;
-S8 delta;
-S8 availPwr;
-uint8_t *tpc;
-S8 *tpcDelta;
-#endif
+static Void rgSCHPwrGetPuschTpc(uint8_t isAcc,S8 delta,S8 availPwr,uint8_t *tpc,S8 *tpcDelta)
{
delta = RGSCH_MIN(delta, availPwr);
* File :
*
**********************************************************/
-#ifdef ANSI
-static uint8_t rgSCHPwrGetMaxRb
-(
-RgSchCellCb *cell,
-S8 pwr
-)
-#else
-static uint8_t rgSCHPwrGetMaxRb(cell, pwr)
-RgSchCellCb *cell;
-S8 pwr;
-#endif
+static uint8_t rgSCHPwrGetMaxRb(RgSchCellCb *cell,S8 pwr)
{
RgSchCmnUlCell *cellUl;
* File :
*
**********************************************************/
-#ifdef ANSI
-static uint8_t rgSCHPwrRbToPwr
-(
-RgSchCellCb *cell,
-uint8_t numRb
-)
-#else
-static uint8_t rgSCHPwrRbToPwr(cell,numRb)
-RgSchCellCb *cell;
-uint8_t numRb;
-#endif
+static uint8_t rgSCHPwrRbToPwr(RgSchCellCb *cell,uint8_t numRb)
{
#ifndef NO_ERRCLS
RgSchCmnUlCell *cellUl;
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHPwrPucchCntrl
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrPucchCntrl(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrPucchCntrl(RgSchCellCb *cell,RgSchUeCb *ue)
{
S8 delta;
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
* @param[in] RgSchDlSf *dlSf
* @return Void
**/
-#ifdef ANSI
-Void rgSCHPwrGrpCntrlPucch
-(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf
-)
-#else
-Void rgSCHPwrGrpCntrlPucch(cell, dlSf)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-#endif
+Void rgSCHPwrGrpCntrlPucch(RgSchCellCb *cell,RgSchDlSf *dlSf)
{
RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
CmLListCp *lst;
* @param[in] RgSchDlSf *sf
* @return Void
**/
-#ifdef ANSI
-Void rgSCHPwrGrpCntrlPusch
-(
-RgSchCellCb *cell,
-RgSchDlSf *dlSf,
-RgSchUlSf *ulSf
-)
-#else
-Void rgSCHPwrGrpCntrlPusch(cell, dlSf, ulSf)
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-RgSchUlSf *ulSf;
-#endif
+Void rgSCHPwrGrpCntrlPusch(RgSchCellCb *cell,RgSchDlSf *dlSf,RgSchUlSf *ulSf)
{
RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
CmLListCp *lst;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrSchedPucchRnti
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb,
-RgSchPdcch *pdcch,
-RgSchDlSf *dlSf,
-Bool *sched
-)
-#else
-static Void rgSCHPwrSchedPucchRnti(cell, cb, pdcch, dlSf, sched)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-RgSchPdcch *pdcch;
-RgSchDlSf *dlSf;
-Bool *sched;
-#endif
+static Void rgSCHPwrSchedPucchRnti(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb,RgSchPdcch *pdcch,RgSchDlSf *dlSf,Bool *sched)
{
CmLListCp *lst;
CmLList *lnk;
- uint8_t *tpcCmds;
- uint8_t tpc;
- S8 delta;
- Bool atleastOne;
+ uint8_t *tpcCmds;
+ uint8_t tpc;
+ S8 delta;
+ Bool atleastOne;
pdcch->rnti = cb->tpcRnti;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrSchedPuschRnti
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb,
-RgSchPdcch *pdcch,
-RgSchUlSf *ulSf,
-Bool *sched
-)
-#else
-static Void rgSCHPwrSchedPuschRnti(cell, cb, pdcch, ulSf, sched)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-RgSchPdcch *pdcch;
-RgSchUlSf *ulSf;
-Bool *sched;
-#endif
+static Void rgSCHPwrSchedPuschRnti(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb,RgSchPdcch *pdcch,RgSchUlSf *ulSf,Bool *sched)
{
CmLListCp *lst;
CmLList *lnk;
- uint8_t *tpcCmds;
- uint8_t tpc;
- S8 delta;
- Bool atleastOne;
+ uint8_t *tpcCmds;
+ uint8_t tpc;
+ S8 delta;
+ Bool atleastOne;
pdcch->rnti = cb->tpcRnti;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrGetPucchFmt3TpcForUe
-(
-RgSchUeCb *ue,
-uint8_t *tpc,
-S8 *delta
-)
-#else
-static Void rgSCHPwrGetPucchFmt3TpcForUe(ue, tpc, delta)
-RgSchUeCb *ue;
-uint8_t *tpc;
-S8 *delta;
-#endif
+static Void rgSCHPwrGetPucchFmt3TpcForUe(RgSchUeCb *ue,uint8_t *tpc,S8 *delta)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrGetPucchFmt3aTpcForUe
-(
-RgSchUeCb *ue,
-uint8_t *tpc,
-S8 *delta
-)
-#else
-static Void rgSCHPwrGetPucchFmt3aTpcForUe(ue, tpc, delta)
-RgSchUeCb *ue;
-uint8_t *tpc;
-S8 *delta;
-#endif
+static Void rgSCHPwrGetPucchFmt3aTpcForUe(RgSchUeCb *ue,uint8_t *tpc,S8 *delta)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrGetPuschFmt3TpcForUe
-(
-RgSchUeCb *ue,
-uint8_t *tpc,
-S8 *delta
-)
-#else
-static Void rgSCHPwrGetPuschFmt3TpcForUe(ue, tpc, delta)
-RgSchUeCb *ue;
-uint8_t *tpc;
-S8 *delta;
-#endif
+static Void rgSCHPwrGetPuschFmt3TpcForUe(RgSchUeCb *ue,uint8_t *tpc,S8 *delta)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
S8 adj = RGSCH_MIN(uePwr->remPuschPwr, uePwr->phVal);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrGetPuschFmt3aTpcForUe
-(
-RgSchUeCb *ue,
-uint8_t *tpc,
-S8 *delta
-)
-#else
-static Void rgSCHPwrGetPuschFmt3aTpcForUe(ue, tpc, delta)
-RgSchUeCb *ue;
-uint8_t *tpc;
-S8 *delta;
-#endif
+static Void rgSCHPwrGetPuschFmt3aTpcForUe(RgSchUeCb *ue,uint8_t *tpc,S8 *delta)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrGetAcc1bitTpc
-(
-S8 remPwr,
-uint8_t *tpc,
-S8 *delta
-)
-#else
-static Void rgSCHPwrGetAcc1bitTpc(remPwr, tpc, delta)
-S8 remPwr;
-uint8_t *tpc;
-S8 *delta;
-#endif
+static Void rgSCHPwrGetAcc1bitTpc(S8 remPwr,uint8_t *tpc,S8 *delta)
{
/*
* TPC delta
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrGetAcc2bitTpc
-(
-S8 remPwr,
-uint8_t *tpc,
-S8 *delta
-)
-#else
-static Void rgSCHPwrGetAcc2bitTpc(remPwr, tpc, delta)
-S8 remPwr;
-uint8_t *tpc;
-S8 *delta;
-#endif
+static Void rgSCHPwrGetAcc2bitTpc(S8 remPwr,uint8_t *tpc,S8 *delta)
{
/*
* TPC delta
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrGetAbsTpc
-(
-S8 remPwr,
-uint8_t *tpc,
-S8 *delta
-)
-#else
-static Void rgSCHPwrGetAbsTpc(remPwr, tpc, delta)
-S8 remPwr;
-uint8_t *tpc;
-S8 *delta;
-#endif
+static Void rgSCHPwrGetAbsTpc(S8 remPwr,uint8_t *tpc,S8 *delta)
{
/*
* TPC delta
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrOnPucchGrpPwrForUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-S8 delta
-)
-#else
-static Void rgSCHPwrOnPucchGrpPwrForUe(cell, ue, delta)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-S8 delta;
-#endif
+static Void rgSCHPwrOnPucchGrpPwrForUe(RgSchCellCb *cell,RgSchUeCb *ue,S8 delta)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
Bool rmvUe = FALSE;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrOnPuschGrpPwrForUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-S8 delta
-)
-#else
-static Void rgSCHPwrOnPuschGrpPwrForUe(cell, ue, delta)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-S8 delta;
-#endif
+static Void rgSCHPwrOnPuschGrpPwrForUe(RgSchCellCb *cell,RgSchUeCb *ue,S8 delta)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
Bool rmvUe = FALSE;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Bool rgSCHPwrIsDlUeSched
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlSf *sf
-)
-#else
-static Bool rgSCHPwrIsDlUeSched(cell, ue, sf)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlSf *sf;
-#endif
+static Bool rgSCHPwrIsDlUeSched(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlSf *sf)
{
RgSchDlHqEnt *hqEnt = RG_SCH_CMN_GET_UE_HQE(ue, cell);
RgSchDlHqProcCb *proc = rgSCHDhmLastSchedHqProc(hqEnt);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Bool rgSCHPwrIsUlUeSched
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchUlSf *sf
-)
-#else
-static Bool rgSCHPwrIsUlUeSched(cell, ue, sf)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchUlSf *sf;
-#endif
+static Bool rgSCHPwrIsUlUeSched(RgSchCellCb *cell,RgSchUeCb *ue,RgSchUlSf *sf)
{
RgSchCmnUlCell *cmnCell = RG_SCH_CMN_GET_UL_CELL(cell);
RgSchUlHqProcCb *proc = rgSCHUhmGetUlHqProc(cell, ue, cmnCell->schdHqProcIdx);
* @param[in] uint8_t pwrDelta
* @return Void
**/
-#ifdef ANSI
-Void rgSCHPwrPucchDeltaInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-S8 pwrDelta
-)
-#else
-Void rgSCHPwrPucchDeltaInd(cell, ue, pwrDelta)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-S8 pwrDelta;
-#endif
+Void rgSCHPwrPucchDeltaInd(RgSchCellCb *cell,RgSchUeCb *ue,S8 pwrDelta)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
RgSchCmnTpcRntiCb *cb;
* @param[in] S8 delta
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHPwrOnSchedPucchTpc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-S8 delta
-)
-#else
-static Void rgSCHPwrOnSchedPucchTpc(cell, ue, delta)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-S8 delta;
-#endif
+static Void rgSCHPwrOnSchedPucchTpc(RgSchCellCb *cell,RgSchUeCb *ue,S8 delta)
{
/* Similar to rgSCHPwrPucchDeltaInd.. not reusing
* that since we use the fact that UE could only have
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHPwrOnSchedPuschTpc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrOnSchedPuschTpc(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrOnSchedPuschTpc(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
Bool rmvUe = FALSE;
* @param[in] RgSchCmnAllocRecord allocInfo
* @return Void
**/
-#ifdef ANSI
-Void rgSCHPwrUpdExtPhr
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgInfExtPhrCEInfo *extPhr,
-RgSchCmnAllocRecord *allocInfo
-)
-#else
-Void rgSCHPwrUpdExtPhr(cell, ue, extPhr, allocInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgInfExtPhrCEInfo *extPhr;
-RgSchCmnAllocRecord *allocInfo;
-#endif
+Void rgSCHPwrUpdExtPhr(RgSchCellCb *cell,RgSchUeCb *ue,RgInfExtPhrCEInfo *extPhr,RgSchCmnAllocRecord *allocInfo)
{
uint8_t idx;
RgInfExtPhrSCellInfo *servCellPhr;
- S8 pCMax;
+ S8 pCMax;
for (idx = 0; idx < extPhr->numServCells; idx++)
{
* @param[in] uint8_t maxUePwr
* @return Void
**/
-#ifdef ANSI
-Void rgSCHPwrUpdPhr
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t phr,
-RgSchCmnAllocRecord *allocInfo,
-S8 maxUePwr
-)
-#else
-Void rgSCHPwrUpdPhr(cell, ue, phr, allocInfo, maxUePwr)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t phr;
-RgSchCmnAllocRecord *allocInfo;
-S8 maxUePwr;
-#endif
+Void rgSCHPwrUpdPhr(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t phr,RgSchCmnAllocRecord *allocInfo,S8 maxUePwr )
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
- uint8_t rbPwr;
- uint8_t effPwr;
+ uint8_t rbPwr;
+ uint8_t effPwr;
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
uePwr->phVal = rgSCHPwrGetPhValFromPhr(phr);
* @param[in] uint8_t numRb
* @return Void
**/
-#ifdef ANSI
-Void rgSCHPwrUlCqiInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHPwrUlCqiInd(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHPwrUlCqiInd(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
* @param[in] uint8_t numRb
* @return Void
**/
-#ifdef ANSI
-Void rgSCHPwrRecordRbAlloc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t numRb
-)
-#else
-Void rgSCHPwrRecordRbAlloc(cell, ue, numRb)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t numRb;
-#endif
+Void rgSCHPwrRecordRbAlloc(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t numRb)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
UNUSED(cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHPwrCellCfg
-(
-RgSchCellCb *cell,
-RgrCellCfg *cfg
-)
-#else
-S16 rgSCHPwrCellCfg(cell, cfg)
-RgSchCellCb *cell;
-RgrCellCfg *cfg;
-#endif
+S16 rgSCHPwrCellCfg(RgSchCellCb *cell,RgrCellCfg *cfg)
{
RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
CmLteRnti rnti;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHPwrCellRecfg
-(
-RgSchCellCb *cell,
-RgrCellRecfg *recfg
-)
-#else
-S16 rgSCHPwrCellRecfg(cell, recfg)
-RgSchCellCb *cell;
-RgrCellRecfg *recfg;
-#endif
+S16 rgSCHPwrCellRecfg(RgSchCellCb *cell,RgrCellRecfg *recfg)
{
UNUSED(cell);
UNUSED(recfg);
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-Void rgSCHPwrCellDel
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHPwrCellDel(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHPwrCellDel(RgSchCellCb *cell)
{
UNUSED(cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHPwrUeSCellCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeSecCellCfg *sCellInfoCfg
-)
-#else
-S16 rgSCHPwrUeSCellCfg(cell, ue, sCellInfoCfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeSecCellCfg *sCellInfoCfg;
-#endif
+S16 rgSCHPwrUeSCellCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeSecCellCfg *sCellInfoCfg)
{
RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHPwrUeCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeCfg *cfg
-)
-#else
-S16 rgSCHPwrUeCfg(cell, ue, cfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeCfg *cfg;
-#endif
+S16 rgSCHPwrUeCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeCfg *cfg)
{
S16 ret;
RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHPwrUeRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeRecfg *recfg
-)
-#else
-S16 rgSCHPwrUeRecfg(cell, ue, recfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *recfg;
-#endif
+S16 rgSCHPwrUeRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeRecfg *recfg)
{
S16 ret;
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHPwrApplyUePwrCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeUlPwrCfg *pwrCfg
-)
-#else
-static S16 rgSCHPwrApplyUePwrCfg(cell, ue, pwrCfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeUlPwrCfg *pwrCfg;
-#endif
+static S16 rgSCHPwrApplyUePwrCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeUlPwrCfg *pwrCfg)
{
S16 ret;
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
RgSchCmnTpcRntiCb *pucchRntiCb = NULLP;
RgSchCmnTpcRntiCb *puschRntiCb = NULLP;
- uint8_t pucchIdx = 0;
- uint8_t puschIdx = 0;
+ uint8_t pucchIdx = 0;
+ uint8_t puschIdx = 0;
/* Validate Pucch group power control config */
if (pwrCfg->uePucchPwr.pres)
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHPwrUeDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHPwrUeDel(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHPwrUeDel(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHPwrUeReset
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHPwrUeReset(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHPwrUeReset(RgSchCellCb *cell,RgSchUeCb *ue)
{
rgSCHPwrUeResetPucch(cell, ue);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrUeResetPucch
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrUeResetPucch(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrUeResetPucch(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrUeResetPusch
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrUeResetPusch(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrUeResetPusch(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrOnPuschPwrUpd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrOnPuschPwrUpd(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrOnPuschPwrUpd(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, cell);
RgSchCmnTpcRntiCb *cb;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrAddRntiToPucchRntiLst
-(
-RgSchCellCb *cell,
-CmLteRnti rnti,
-Bool isFmt3a
-)
-#else
-static Void rgSCHPwrAddRntiToPucchRntiLst(cell, rnti, isFmt3a)
-RgSchCellCb *cell;
-CmLteRnti rnti;
-Bool isFmt3a;
-#endif
+static Void rgSCHPwrAddRntiToPucchRntiLst(RgSchCellCb *cell,CmLteRnti rnti,Bool isFmt3a)
{
RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrAddRntiToPuschRntiLst
-(
-RgSchCellCb *cell,
-CmLteRnti rnti,
-Bool isFmt3a
-)
-#else
-static Void rgSCHPwrAddRntiToPuschRntiLst(cell, rnti, isFmt3a)
-RgSchCellCb *cell;
-CmLteRnti rnti;
-Bool isFmt3a;
-#endif
+static Void rgSCHPwrAddRntiToPuschRntiLst(RgSchCellCb *cell,CmLteRnti rnti,Bool isFmt3a)
{
RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrInitTpcRntiCb
-(
-RgSchCmnTpcRntiCb *cb,
-CmLteRnti rnti,
-Bool isFmt3a
-)
-#else
-static Void rgSCHPwrInitTpcRntiCb(cb, rnti, isFmt3a)
-RgSchCmnTpcRntiCb *cb;
-CmLteRnti rnti;
-Bool isFmt3a;
-#endif
+static Void rgSCHPwrInitTpcRntiCb(RgSchCmnTpcRntiCb *cb,CmLteRnti rnti,Bool isFmt3a)
{
memset(cb, 0, sizeof(*cb));
* File :
*
**********************************************************/
-#ifdef ANSI
-static RgSchCmnTpcRntiCb* rgSCHPwrGetPucchRntiCb
-(
-RgSchCellCb *cell,
-CmLteRnti tpcRnti
-)
-#else
-static RgSchCmnTpcRntiCb* rgSCHPwrGetPucchRntiCb(cell, tpcRnti)
-RgSchCellCb *cell;
-CmLteRnti tpcRnti;
-#endif
+static RgSchCmnTpcRntiCb* rgSCHPwrGetPucchRntiCb(RgSchCellCb *cell,CmLteRnti tpcRnti)
{
- RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
- uint16_t idx;
+ RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
+ uint16_t idx;
if (!cellPwr->tpcPucchRntiCnt)
{
* File :
*
**********************************************************/
-#ifdef ANSI
-static RgSchCmnTpcRntiCb* rgSCHPwrGetPuschRntiCb
-(
-RgSchCellCb *cell,
-CmLteRnti tpcRnti
-)
-#else
-static RgSchCmnTpcRntiCb* rgSCHPwrGetPuschRntiCb(cell, tpcRnti)
-RgSchCellCb *cell;
-CmLteRnti tpcRnti;
-#endif
+static RgSchCmnTpcRntiCb* rgSCHPwrGetPuschRntiCb(RgSchCellCb *cell,CmLteRnti tpcRnti)
{
- RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
- uint16_t idx;
+ RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
+ uint16_t idx;
if (!cellPwr->tpcPuschRntiCnt)
{
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrAddUeToPucchTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrAddUeToPucchTpcRntiCb(cell, cb, ue)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrAddUeToPucchTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
UNUSED(cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrDelUeFrmPucchTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrDelUeFrmPucchTpcRntiCb(cell, cb, ue)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrDelUeFrmPucchTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrRmvSchdUeFrmPucchTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrRmvSchdUeFrmPucchTpcRntiCb(cell, cb, ue)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrRmvSchdUeFrmPucchTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrRmvSchdUeOnlyFrmPucchTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrRmvSchdUeOnlyFrmPucchTpcRntiCb(cell, cb, ue)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrRmvSchdUeOnlyFrmPucchTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrRmvSchdPucchTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb
-)
-#else
-static Void rgSCHPwrRmvSchdPucchTpcRntiCb(cell, cb)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-#endif
+static Void rgSCHPwrRmvSchdPucchTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb)
{
RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrAddSchdUeToPucchTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrAddSchdUeToPucchTpcRntiCb(cell, cb, ue)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrAddSchdUeToPucchTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrAddSchdPucchTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb
-)
-#else
-static Void rgSCHPwrAddSchdPucchTpcRntiCb(cell, cb)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-#endif
+static Void rgSCHPwrAddSchdPucchTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb)
{
RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrAddUeToPuschTpcRntiCb
-(
-RgSchCmnTpcRntiCb *cb,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrAddUeToPuschTpcRntiCb(cb, ue)
-RgSchCmnTpcRntiCb *cb;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrAddUeToPuschTpcRntiCb(RgSchCmnTpcRntiCb *cb,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrAddSchdUeToPuschTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrAddSchdUeToPuschTpcRntiCb(cell, cb, ue)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrAddSchdUeToPuschTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrDelUeFrmPuschTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrDelUeFrmPuschTpcRntiCb(cell, cb, ue)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrDelUeFrmPuschTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrRmvSchdUeFrmPuschTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrRmvSchdUeFrmPuschTpcRntiCb(cell, cb, ue)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrRmvSchdUeFrmPuschTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrRmvSchdUeOnlyFrmPuschTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHPwrRmvSchdUeOnlyFrmPuschTpcRntiCb(cell, cb, ue)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHPwrRmvSchdUeOnlyFrmPuschTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb,RgSchUeCb *ue)
{
RgSchCmnUeUlPwrCb *uePwr = RG_SCH_PWR_GETUEPWR(ue, ue->cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrAddSchdPuschTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb
-)
-#else
-static Void rgSCHPwrAddSchdPuschTpcRntiCb(cell, cb)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-#endif
+static Void rgSCHPwrAddSchdPuschTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb)
{
RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHPwrRmvSchdPuschTpcRntiCb
-(
-RgSchCellCb *cell,
-RgSchCmnTpcRntiCb *cb
-)
-#else
-static Void rgSCHPwrRmvSchdPuschTpcRntiCb(cell, cb)
-RgSchCellCb *cell;
-RgSchCmnTpcRntiCb *cb;
-#endif
+static Void rgSCHPwrRmvSchdPuschTpcRntiCb(RgSchCellCb *cell,RgSchCmnTpcRntiCb *cb)
{
RgSchCmnUlPwrCb *cellPwr = RG_SCH_PWR_GETCELLPWR(cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHPwrChkPucchTpcRntiIdx
-(
-RgSchCmnTpcRntiCb *cb,
-uint8_t idx
-)
-#else
-static S16 rgSCHPwrChkPucchTpcRntiIdx(cb, idx)
-RgSchCmnTpcRntiCb *cb;
-uint8_t idx;
-#endif
+static S16 rgSCHPwrChkPucchTpcRntiIdx(RgSchCmnTpcRntiCb *cb,uint8_t idx)
{
if (rgSCHPwrChkTpcRntiIdx(cb, idx) != ROK)
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHPwrChkPuschTpcRntiIdx
-(
-RgSchCmnTpcRntiCb *cb,
-uint8_t idx
-)
-#else
-static S16 rgSCHPwrChkPuschTpcRntiIdx(cb, idx)
-RgSchCmnTpcRntiCb *cb;
-uint8_t idx;
-#endif
+static S16 rgSCHPwrChkPuschTpcRntiIdx(RgSchCmnTpcRntiCb *cb,uint8_t idx)
{
if (rgSCHPwrChkTpcRntiIdx(cb, idx) != ROK)
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHPwrChkUniqPucchTpcRntiIdx
-(
-RgSchCmnTpcRntiCb *cb,
-uint8_t idx
-)
-#else
-static S16 rgSCHPwrChkUniqPucchTpcRntiIdx(cb, idx)
-RgSchCmnTpcRntiCb *cb;
-uint8_t idx;
-#endif
+static S16 rgSCHPwrChkUniqPucchTpcRntiIdx(RgSchCmnTpcRntiCb *cb,uint8_t idx)
{
CmLList *lnk;
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHPwrChkUniqPuschTpcRntiIdx
-(
-RgSchCmnTpcRntiCb *cb,
-uint8_t idx
-)
-#else
-static S16 rgSCHPwrChkUniqPuschTpcRntiIdx(cb, idx)
-RgSchCmnTpcRntiCb *cb;
-uint8_t idx;
-#endif
+static S16 rgSCHPwrChkUniqPuschTpcRntiIdx(RgSchCmnTpcRntiCb *cb,uint8_t idx)
{
CmLList *lnk;
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHPwrChkTpcRntiIdx
-(
-RgSchCmnTpcRntiCb *cb,
-uint8_t idx
-)
-#else
-static S16 rgSCHPwrChkTpcRntiIdx(cb, idx)
-RgSchCmnTpcRntiCb *cb;
-uint8_t idx;
-#endif
+static S16 rgSCHPwrChkTpcRntiIdx(RgSchCmnTpcRntiCb *cb,uint8_t idx)
{
if (cb->isFmt3a)
{
* File :
*
**********************************************************/
-#ifdef ANSI
-static S8 rgSCHPwrGetPCMaxValFromPCMax
-(
-uint8_t pCMax
-)
-#else
-static S8 rgSCHPwrGetPCMaxValFromPCMax(pCMax)
-uint8_t pCMax;
-#endif
+static S8 rgSCHPwrGetPCMaxValFromPCMax(uint8_t pCMax)
{
return ((pCMax & 63) - 30);
}
* File :
*
**********************************************************/
-#ifdef ANSI
-static S8 rgSCHPwrGetPhValFromPhr
-(
-uint8_t phr
-)
-#else
-static S8 rgSCHPwrGetPhValFromPhr(phr)
-uint8_t phr;
-#endif
+static S8 rgSCHPwrGetPhValFromPhr(uint8_t phr)
{
return ((phr & 63) - 23);
}
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHRamVldtUeCfg
-(
-RgSchCellCb *cell,
-RgrUeCfg *ueCfg
-)
-#else
-S16 rgSCHRamVldtUeCfg(cell, ueCfg)
-RgSchCellCb *cell;
-RgrUeCfg *ueCfg;
-#endif
+S16 rgSCHRamVldtUeCfg(RgSchCellCb *cell,RgrUeCfg *ueCfg)
{
if (ueCfg->dedPreambleId.pres == PRSNT_NODEF)
{
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHRamProcRaReq
(
-uint8_t raReqCnt,
+uint8_t raReqCnt,
RgSchCellCb *cell,
CmLteRnti raRnti,
TfuRachInfo *raReqInd,
RgSchUeCb *ue,
RgSchErrInfo *err
)
-#else
-S16 rgSCHRamProcRaReq(raReqCnt, cell, raRnti, raReqInd, timingInfo, ue, err)
-uint8_t raReqCnt;
-RgSchCellCb *cell;
-CmLteRnti raRnti;
-TfuRachInfo *raReqInd;
-CmLteTimingInfo timingInfo;
-RgSchUeCb *ue;
-RgSchErrInfo *err;
-#endif
{
RgSchRaReqInfo *raReqInfo;
- uint16_t raIndex;
+ uint16_t raIndex;
#ifdef LTE_TDD
- uint8_t fid;
- uint8_t tid;
+ uint8_t fid;
+ uint8_t tid;
#endif
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHRamCreateRaCb
(
RgSchCellCb *cell,
RgSchRaCb **raCb,
RgSchErrInfo *err
)
-#else
-S16 rgSCHRamCreateRaCb(cell, raCb, err)
-RgSchCellCb *cell;
-RgSchRaCb **raCb;
-RgSchErrInfo *err;
-#endif
{
RgSchRntiLnk *rntiLnk;
Inst inst = cell->instIdx;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHRamRgrUeCfg
(
RgSchCellCb *cell,
RgSchRaCb *raCb,
RgSchErrInfo *err
)
-#else
-S16 rgSCHRamRgrUeCfg(cell, ue, raCb, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchRaCb *raCb;
-RgSchErrInfo *err;
-#endif
{
/* Releasing HARQ processes of old UE when ue
* reconfig with new crnti */
* @return S16
* -# ROK
**/
-#ifdef ANSI
static S16 rgSCHRamContResCrnti
(
RgSchCellCb *cell,
RgSchRaCb *raCb,
RgSchErrInfo *err
)
-#else
-static S16 rgSCHRamContResCrnti(cell, ue, raCb, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchRaCb *raCb;
-RgSchErrInfo *err;
-#endif
{
TfuUlCqiRpt ulCqiRpt;
RgSchCmnCell *cellSch= (RgSchCmnCell *)(cell->sc.sch);
* @return S16
* -# ROK
**/
-#ifdef ANSI
static S16 rgSCHRamContResCcchsdu
(
RgSchCellCb *cell,
RgSchRaCb *raCb
)
-#else
-static S16 rgSCHRamContResCcchsdu(cell, raCb)
-RgSchCellCb *cell;
-RgSchRaCb *raCb;
-#endif
{
#ifdef RGR_V1
CmLteTimingInfo expTime = {0};
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgSCHRamProcMsg3
(
RgSchCellCb *cell,
RgInfUeDatInd *pdu,
RgSchErrInfo *err
)
-#else
-S16 rgSCHRamProcMsg3(cell, ue, raCb, pdu, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchRaCb *raCb;
-RgInfUeDatInd *pdu;
-RgSchErrInfo *err;
-#endif
{
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgSCHRamUpdtBo
(
RgSchCellCb *cell,
RgSchRaCb *raCb,
RgInfCmnBoRpt *staRsp
)
-#else
-S16 rgSCHRamUpdtBo(cell, raCb, staRsp)
-RgSchCellCb *cell;
-RgSchRaCb *raCb;
-RgInfCmnBoRpt *staRsp;
-#endif
{
/* Update Bo in RaCb */
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHRamMsg3DatInd
-(
-RgSchRaCb *raCb
-)
-#else
-S16 rgSCHRamMsg3DatInd(raCb)
-RgSchRaCb *raCb;
-#endif
+S16 rgSCHRamMsg3DatInd(RgSchRaCb *raCb)
{
/* SR_RACH_STATS : MSG3 ACK*/
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHRamMsg3FailureInd
-(
-RgSchRaCb *raCb
-)
-#else
-S16 rgSCHRamMsg3FailureInd(raCb)
-RgSchRaCb *raCb;
-#endif
+S16 rgSCHRamMsg3FailureInd(RgSchRaCb *raCb)
{
/*ccpu00128820 - MOD - Msg3 alloc double delete issue*/
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHRamMsg4FdbkInd
-(
-RgSchRaCb *raCb
-)
-#else
-S16 rgSCHRamMsg4FdbkInd(raCb)
-RgSchRaCb *raCb;
-#endif
+S16 rgSCHRamMsg4FdbkInd(RgSchRaCb *raCb)
{
return ROK;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHRamMsg4Done
-(
-RgSchCellCb *cell,
-RgSchRaCb *raCb
-)
-#else
-S16 rgSCHRamMsg4Done(cell, raCb)
-RgSchCellCb *cell;
-RgSchRaCb *raCb;
-#endif
+S16 rgSCHRamMsg4Done(RgSchCellCb *cell,RgSchRaCb *raCb)
{
RLOG_ARG1(L_DEBUG,DBG_CELLID,cell->cellId,
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHRamDelRaCb
-(
-RgSchCellCb *cell,
-RgSchRaCb *raCb,
-Bool rlsRnti
-)
-#else
-S16 rgSCHRamDelRaCb(cell, raCb, rlsRnti)
-RgSchCellCb *cell;
-RgSchRaCb *raCb;
-Bool rlsRnti;
-#endif
+S16 rgSCHRamDelRaCb(RgSchCellCb *cell,RgSchRaCb *raCb,Bool rlsRnti)
{
- Inst inst = cell->instIdx;
- Bool isEmtc = FALSE;
+ Inst inst = cell->instIdx;
+ Bool isEmtc = FALSE;
/* Delete from all the lists it is enqueued */
cmLListDelFrm(&(cell->raInfo.raCbLst),&(raCb->raCbLnk));
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHRamTtiHndlr
-(
-RgSchCellCb *cell
-)
-#else
-S16 rgSCHRamTtiHndlr(cell)
-RgSchCellCb *cell;
-#endif
+S16 rgSCHRamTtiHndlr(RgSchCellCb *cell)
{
RgSchRaCb *raCb;
- uint16_t raSfn;
- uint16_t crntSfn;
- uint16_t dist; /* Number of frames between raCb's creation and crnt
- frame */
- uint8_t idx;
- uint32_t maxCnt;
+ uint16_t raSfn;
+ uint16_t crntSfn;
+ uint16_t dist; /* Number of frames between raCb's creation and crnt frame */
+ uint8_t idx;
+ uint32_t maxCnt;
#ifndef LTE_TDD
- uint8_t winGap;
- uint8_t raIdx;
+ uint8_t winGap;
+ uint8_t raIdx;
RgSchRaReqInfo *raReqInfo;
#else
CmLteTimingInfo frm;
- uint8_t raIdx;
+ uint8_t raIdx;
#endif
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHRamFreeCell
-(
-RgSchCellCb *cell
-)
-#else
-S16 rgSCHRamFreeCell(cell)
-RgSchCellCb *cell;
-#endif
+S16 rgSCHRamFreeCell(RgSchCellCb *cell)
{
RgSchRaReqInfo *raReqInfo;
RgSchRaCb *raCb;
- uint8_t idx;
- uint8_t raCbCnt;
+ uint8_t idx;
+ uint8_t raCbCnt;
Inst inst = cell->instIdx;
- uint8_t lstSz;
+ uint8_t lstSz;
#ifdef LTE_TDD
- uint8_t maxUlSubframes;
- uint8_t maxDlSubframes;
+ uint8_t maxUlSubframes;
+ uint8_t maxDlSubframes;
#endif
return ROK;
} /* rgSCHRamFreeCell */
#ifdef RGR_V1
-#ifdef ANSI
-static Void rgSCHRamProcContResExp
-(
-RgSchCellCb *cell,
-RgSchRaCb *raCb
-)
-#else
-static Void rgSCHRamProcContResExp (cell, raCb)
-RgSchCellCb *cell;
-RgSchRaCb *raCb;
-#endif
+static Void rgSCHRamProcContResExp(RgSchCellCb *cell,RgSchRaCb *raCb)
{
raCb->expiryTime.sfn = RGSCH_CONTRES_EXP;
/*MSG4 Fix*/
return;
}
-#ifdef ANSI
-static Void rgSCHRamProcContResGrdExp
-(
-RgSchCellCb *cell,
-RgSchRaCb *raCb
-)
-#else
-static Void rgSCHRamProcContResGrdExp (cell, raCb)
-RgSchCellCb *cell;
-RgSchRaCb *raCb;
-#endif
+static Void rgSCHRamProcContResGrdExp(RgSchCellCb *cell,RgSchRaCb *raCb)
{
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static Void rgSCHChkContResTmrExp
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHChkContResTmrExp(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHChkContResTmrExp(RgSchCellCb *cell)
{
- CmLList *chkLnk = NULLP;
- RgSchRaCb *raCb = NULLP;
+ CmLList *chkLnk = NULLP;
+ RgSchRaCb *raCb = NULLP;
chkLnk = cmLListFirst(&(cell->contResTmrLst));
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static Void rgSCHChkContResGrdTmrExp
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHChkContResGrdTmrExp(cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHChkContResGrdTmrExp(RgSchCellCb *cell)
{
- CmLList *chkLnk = NULLP;
- RgSchRaCb *raCb = NULLP;
+ CmLList *chkLnk = NULLP;
+ RgSchRaCb *raCb = NULLP;
chkLnk = cmLListFirst(&(cell->contResGrdTmrLst));
* @return S16
* -# ROK
**/
-#ifdef ANSI
S16 rgSCHRamDelRaReq
(
-RgSchCellCb *cell,
-CmLteTimingInfo timingInfo,
-uint8_t raIdx
+RgSchCellCb *cell,
+CmLteTimingInfo timingInfo,
+uint8_t raIdx
)
-#else
-S16 rgSCHRamDelRaReq(cell, timingInfo, raIdx)
-RgSchCellCb *cell;
-CmLteTimingInfo timingInfo;
-uint8_t raIdx;
-#endif
{
- uint8_t subfrmIdx;
+ uint8_t subfrmIdx;
RgSchTddRachRspLst *rachRsp;
- uint16_t sfnIdx;
+ uint16_t sfnIdx;
S16 calcSfn;
- uint8_t subfrm;
+ uint8_t subfrm;
RgSchRaReqInfo *raReqInfo;
- uint8_t idx;
- uint8_t i;
- uint8_t raRntiIdx;
+ uint8_t idx;
+ uint8_t i;
+ uint8_t raRntiIdx;
CmLteRnti raRnti;
#endif
/*MSG4 Fix Start */
-#ifdef ANSI
-S16 rgSCHRamAddToRaInfoSchdLst
-(
-RgSchCellCb *cell,
-RgSchRaCb *raCb
-)
-#else
-S16 rgSCHRamAddToRaInfoSchdLst(cell, raCb)
-RgSchCellCb *cell;
-RgSchRaCb *raCb;
-#endif
+S16 rgSCHRamAddToRaInfoSchdLst(RgSchCellCb *cell,RgSchRaCb *raCb)
{
CmLteTimingInfo expTime ={0};
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
-#ifdef ANSI
-S16 rgSCHRamRmvFrmRaInfoSchdLst
-(
-RgSchCellCb *cell,
-RgSchRaCb *raCb
-)
-#else
-S16 rgSCHRamRmvFrmRaInfoSchdLst(cell, raCb)
-RgSchCellCb *cell;
-RgSchRaCb *raCb;
-#endif
+S16 rgSCHRamRmvFrmRaInfoSchdLst(RgSchCellCb *cell,RgSchRaCb *raCb)
{
cmLListDelFrm(&(cell->raInfo.toBeSchdLst), &(raCb->schdLnk));
* File :
*
**********************************************************/
-#ifdef ANSI
static Void rgSCHRamUlFreeAllocation
(
RgSchUlSf *sf,
RgSchUlAlloc *alloc,
RgSchCellCb *cell,
Bool isEmtc
-
)
-#else
-static Void rgSCHRamUlFreeAllocation(sf, alloc, cell,isEmtc)
-RgSchUlSf *sf;
-RgSchUlAlloc *alloc;
-RgSchCellCb *cell;
-Bool isEmtc;
-#endif
{
rgSCHUhmFreeProc(alloc->hqProc, cell);
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHSc1DlUeReset
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSc1DlUeReset(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSc1DlUeReset(RgSchCellCb *cell,RgSchUeCb *ue)
{
rgSCHSc1DlSuspendUe(cell, ue);
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHSc1DlActvtUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSc1DlActvtUe(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSc1DlActvtUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
CmLListCp *lst;
CmLList *node;
RgSchDlHqProcCb *hqP;
RgSchDlLcCb *svc;
- uint8_t idx;
+ uint8_t idx;
/* Add UE's HqProcs From UERetxLst to CellRetxLst */
lst = &ueDl->retxHqProcs;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHSc1DlUeRefresh
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSc1DlUeRefresh(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSc1DlUeRefresh(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
/*cell added as part of CA dev*/
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlProcRmvFrmCellRetx
-(
-RgSchCellCb *cell,
-RgSchDlHqProcCb *hqP
-)
-#else
-static Void rgSCHSc1DlProcRmvFrmCellRetx(cell, hqP)
-RgSchCellCb *cell;
-RgSchDlHqProcCb *hqP;
-#endif
+static Void rgSCHSc1DlProcRmvFrmCellRetx(RgSchCellCb *cell,RgSchDlHqProcCb *hqP)
{
RgSchSc1DlCell *cellDl = RG_GET_SC1_CELL_DL(cell);
RgSchCmnDlHqProc *hqProcDl = RG_SCH_CMN_GET_DL_HQP(hqP);
-
if (hqProcDl->retxLnk.node != NULLP)
{
cmLListDelFrm(&cellDl->retxLst[((RgSchSc1DlHqProc *)\
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlProcRmvFrmUeRetx
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlHqProcCb *hqP
-)
-#else
-static Void rgSCHSc1DlProcRmvFrmUeRetx(cell, ue, hqP)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlHqProcCb *hqP;
-#endif
+static Void rgSCHSc1DlProcRmvFrmUeRetx(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlHqProcCb *hqP)
{
RgSchSc1DlUe *sc1Ue = RG_GET_SC1_UE_DL(ue, cell);
RgSchSc1DlHqProc *hqProcDl = RG_GET_SC1_HQP_DL(hqP);
-
if (hqProcDl->retxLnkUe.node != NULLP)
{
cmLListDelFrm(&sc1Ue->retxHqProcs,
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlProcAddToUeRetx
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlHqProcCb *hqP
-)
-#else
-static Void rgSCHSc1DlProcAddToUeRetx(cell, ue, hqP)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlHqProcCb *hqP;
-#endif
+static Void rgSCHSc1DlProcAddToUeRetx(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlHqProcCb *hqP)
{
RgSchSc1DlUe *sc1Ue = RG_GET_SC1_UE_DL(ue, cell);
RgSchSc1DlHqProc *cmnHqDl = RG_GET_SC1_HQP_DL(hqP);
-
cmLListAdd2Tail(&sc1Ue->retxHqProcs,
&(cmnHqDl->retxLnkUe));
cmnHqDl->retxLnkUe.node = (PTR)hqP;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSc1DlProcAddToCellRetx
-(
-RgSchCellCb *cell,
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHSc1DlProcAddToCellRetx(cell, hqP)
-RgSchCellCb *cell;
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHSc1DlProcAddToCellRetx(RgSchCellCb *cell,RgSchDlHqProcCb *hqP)
{
RgSchSc1DlCell *sc1CellDl = RG_GET_SC1_CELL_DL(cell);
RgSchCmnDlHqProc *cmnHqDl = RG_SCH_CMN_GET_DL_HQP(hqP);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlRetxAlloc
-(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHSc1DlRetxAlloc(cell, subFrm, allocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHSc1DlRetxAlloc(RgSchCellCb *cell,RgSchDlSf *subFrm,RgSchCmnDlRbAllocInfo *allocInfo)
{
- uint8_t i;
+ uint8_t i;
CmLListCp *retxLst;
CmLList *node;
RgSchDlHqProcCb *hqP;
#if (defined(LTEMAC_SPS) || (!defined(LTE_TDD)))
CmLteTimingInfo schdTime;
#endif
- uint32_t effBo;
+ uint32_t effBo;
RgSchUeCb *ue = NULLP;
#ifdef LTEMAC_HDFDD
Bool dlAllowed = FALSE;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHSc1RlsHqProc
-(
-RgSchDlHqProcCb *hqProc
-)
-#else
-static Void rgSCHSc1RlsHqProc(hqProc)
-RgSchDlHqProcCb *hqProc;
-#endif
+static Void rgSCHSc1RlsHqProc(RgSchDlHqProcCb *hqProc)
{
rgSCHDhmRlsHqProc(hqProc);
return;
* @return S16
*
**/
-#ifdef ANSI
-static S16 rgSCHSc1DlDedSvcAlloc
-(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchDlLcCb *svc,
-uint32_t bo,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static S16 rgSCHSc1DlDedSvcAlloc(cell, subFrm, svc, bo, allocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchDlLcCb *svc;
-uint32_t bo;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static S16 rgSCHSc1DlDedSvcAlloc(RgSchCellCb *cell,RgSchDlSf *subFrm,RgSchDlLcCb *svc,uint32_t bo,RgSchCmnDlRbAllocInfo *allocInfo)
{
RgSchUeCb *ue;
RgSchDlHqProcCb *proc;
- uint16_t rlcHdrEstmt;
- uint32_t effBo;
+ uint16_t rlcHdrEstmt;
+ uint32_t effBo;
RgSchCmnDlCell *cmnCellDl = RG_SCH_CMN_GET_DL_CELL(cell);
RgSchCmnDlSvc *svcCmn = RG_SCH_CMN_GET_DL_SVC(svc);
RgSchSc1DlSvc *svcSc1;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlAdd2UeSchdSvcs
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-static Void rgSCHSc1DlAdd2UeSchdSvcs(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+static Void rgSCHSc1DlAdd2UeSchdSvcs(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchSc1DlSvc *svcSc1 = RG_GET_SC1_SVC_DL(ue,svc,cell);
RgSchSc1DlUe *ueSc1 = RG_GET_SC1_UE_DL(ue, cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlDedTx
-(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHSc1DlDedTx(cell, subFrm, allocInfo)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHSc1DlDedTx(RgSchCellCb *cell,RgSchDlSf *subFrm,RgSchCmnDlRbAllocInfo *allocInfo)
{
CmLListCp *lst;
CmLList *node;
RgSchUeCb *ue = NULLP;
RgSchDlLcCb *svc;
- uint8_t i;
+ uint8_t i;
RgSchSc1DlSvc *svcSc1;
RgSchSc1DlUe *ueDl;
RgSchSc1DlCell *sc1CellDl = RG_GET_SC1_CELL_DL(cell);
* @param[in] Inst schInst
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHSc1DlPreSchd
-(
- RgSchCellCb *cell
-)
-#else
-Void rgSCHSc1DlPreSchd(cell)
- RgSchCellCb *cell;
-#endif
+static Void rgSCHSc1DlPreSchd( RgSchCellCb *cell)
{
return;
* @param[in] Inst schInst
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHSc1DlPstSchd
-(
- Inst schInst
-)
-#else
-Void rgSCHSc1DlPstSchd(schInst)
- Inst schInst
-#endif
+static Void rgSCHSc1DlPstSchd(Inst schInst)
{
return;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlDedNewTx
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHSc1DlDedNewTx(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHSc1DlDedNewTx(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
RgSchDlSf *subFrm = allocInfo->dedAlloc.dedDlSf;
#ifdef DEBUGP
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlDedRetx
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHSc1DlDedRetx(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHSc1DlDedRetx(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
RgSchDlSf *subFrm = allocInfo->dedAlloc.dedDlSf;
#ifdef DEBUGP
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlSvcAddToSchd
-(
-RgSchCellCb *cell,
-RgSchDlLcCb *svc
-)
-#else
-static Void rgSCHSc1DlSvcAddToSchd(cell, svc)
-RgSchCellCb *cell;
-RgSchDlLcCb *svc;
-#endif
+static Void rgSCHSc1DlSvcAddToSchd(RgSchCellCb *cell,RgSchDlLcCb *svc)
{
CmLListCp *lst;
CmLList *node;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlUeRmvFrmSchd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHSc1DlUeRmvFrmSchd(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHSc1DlUeRmvFrmSchd(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchSc1DlCell *cellDl = RG_GET_SC1_CELL_DL(cell);
RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlSvcRmvFrmUeAmbrLst
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-static Void rgSCHSc1DlSvcRmvFrmUeAmbrLst(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+static Void rgSCHSc1DlSvcRmvFrmUeAmbrLst(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
RgSchSc1DlSvc *svcSc1 = RG_GET_SC1_SVC_DL(ue,svc,cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlSvcAddToUeAmbrLst
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-static Void rgSCHSc1DlSvcAddToUeAmbrLst(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+static Void rgSCHSc1DlSvcAddToUeAmbrLst(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
- RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
- CmLList *node;
- RgSchDlLcCb *lsvc;
- RgSchSc1DlSvc *svcSc1 = RG_GET_SC1_SVC_DL(ue,svc,cell);
- RgSchCmnDlSvc *svcCmn = RG_SCH_CMN_GET_DL_SVC(svc);
+ RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
+ CmLList *node;
+ RgSchDlLcCb *lsvc;
+ RgSchSc1DlSvc *svcSc1 = RG_GET_SC1_SVC_DL(ue,svc,cell);
+ RgSchCmnDlSvc *svcCmn = RG_SCH_CMN_GET_DL_SVC(svc);
/* If svc already present in AMBR List return */
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlSvcRmvFrmSchd
-(
-RgSchCellCb *cell,
-RgSchDlLcCb *svc
-)
-#else
-static Void rgSCHSc1DlSvcRmvFrmSchd(cell, svc)
-RgSchCellCb *cell;
-RgSchDlLcCb *svc;
-#endif
+static Void rgSCHSc1DlSvcRmvFrmSchd(RgSchCellCb *cell,RgSchDlLcCb *svc)
{
RgSchSc1DlCell *cellDl = RG_GET_SC1_CELL_DL(cell);
RgSchSc1DlSvc *svcDl = RG_GET_SC1_SVC_DL(svc->ue,svc,cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlSvcAdd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc,
-RgrDlLchCfg *cfg
-)
-#else
-static Void rgSCHSc1DlSvcAdd(cell, ue, svc, cfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-RgrDlLchCfg *cfg;
-#endif
+static Void rgSCHSc1DlSvcAdd(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc,RgrDlLchCfg *cfg)
{
RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
RgSchSc1DlSvc *svcSc1 = RG_GET_SC1_SVC_DL(ue,svc,cell);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSc1DlLcRmv
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-Void rgSCHSc1DlLcRmv(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+Void rgSCHSc1DlLcRmv(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchSc1DlUe *ueDl;
RgSchSc1DlSvc *svcSc1 = RG_GET_SC1_SVC_DL(ue,svc,cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlSvcMod
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc,
-RgrLchRecfg *recfg
-)
-#else
-static Void rgSCHSc1DlSvcMod(cell,ue,svc, recfg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-RgrLchRecfg *recfg;
-#endif
+static Void rgSCHSc1DlSvcMod(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc,RgrLchRecfg *recfg)
{
RgSchSc1DlSvc *svcSc1 = RG_GET_SC1_SVC_DL(ue,svc,cell);
RgSchCmnDlSvc *svcCmn = RG_SCH_CMN_GET_DL_SVC(svc);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlUeAddToSchd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHSc1DlUeAddToSchd(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHSc1DlUeAddToSchd(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchSc1DlCell *cellDl = RG_GET_SC1_CELL_DL(cell);
RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
RgSchSc1DlUe *lueDl;
CmLList *node;
CmLListCp *lst;
- RgSchUeCb *nodeUe = NULLP;
+ RgSchUeCb *nodeUe = NULLP;
ueDl->prio = ((RgSchCmnDlSvc *)(ueDl->ambrSvc->sch))->prio;
lst = &cellDl->prioLst[ueDl->prio];
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlMngAmbrSvcPosn
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-static Void rgSCHSc1DlMngAmbrSvcPosn(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+static Void rgSCHSc1DlMngAmbrSvcPosn(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
RgSchSc1DlSvc *svcSc1 = RG_GET_SC1_SVC_DL(ue,svc,cell);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSc1DlLcBoUpd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-Void rgSCHSc1DlLcBoUpd(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+Void rgSCHSc1DlLcBoUpd(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchSc1DlSvc *svcSc1 = RG_GET_SC1_SVC_DL(ue,svc,cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlMngPrio0SvcPosn
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-static Void rgSCHSc1DlMngPrio0SvcPosn(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+static Void rgSCHSc1DlMngPrio0SvcPosn(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchSc1DlSvc *svcSc1 = RG_GET_SC1_SVC_DL(ue,svc,cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlMngGbrSvcPosn
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-static Void rgSCHSc1DlMngGbrSvcPosn(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+static Void rgSCHSc1DlMngGbrSvcPosn(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchSc1DlSvc *svcSc1 = RG_GET_SC1_SVC_DL(ue,svc,cell);
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlMngSvcPosn
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-static Void rgSCHSc1DlMngSvcPosn(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+static Void rgSCHSc1DlMngSvcPosn(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchCmnDlSvc *svcCmn = RG_SCH_CMN_GET_DL_SVC(svc);
RgSchSc1DlCell *cellDl = RG_GET_SC1_CELL_DL(cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHSc1RgrDlCellCfg
-(
-RgSchCellCb *cell,
-RgrCellCfg *cellCfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHSc1RgrDlCellCfg(cell, cellCfg, err)
-RgSchCellCb *cell;
-RgrCellCfg *cellCfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHSc1RgrDlCellCfg(RgSchCellCb *cell,RgrCellCfg *cellCfg,RgSchErrInfo *err)
{
S16 ret;
RgSchSc1DlCell *cellDl;
-
if((ret = rgSCHUtlAllocSBuf(cell->instIdx,
(Data**)&(((RgSchCmnCell*)((cell)->sc.sch))->dl.schSpfc), \
(sizeof(RgSchSc1DlCell)))) != ROK)
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHSc1DlDeinitQueues
-(
-RgSchSc1DlCell *cellDl
-)
-#else
-static Void rgSCHSc1DlDeinitQueues(cellDl)
-RgSchSc1DlCell *cellDl;
-#endif
+static Void rgSCHSc1DlDeinitQueues(RgSchSc1DlCell *cellDl)
{
- uint8_t i;
+ uint8_t i;
for (i = 0; i < RG_SC1_DL_NUM_Q; ++i)
{
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1DlCellDel
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHSc1DlCellDel(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHSc1DlCellDel(RgSchCellCb *cell)
{
if (((RgSchSc1DlCell *)((RgSchCmnCell*)((cell)->sc.sch))->dl.schSpfc) \
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHSc1RgrDlUeCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeCfg *ueCfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHSc1RgrDlUeCfg(cell, ue, ueCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeCfg *ueCfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHSc1RgrDlUeCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeCfg *ueCfg,RgSchErrInfo *err)
{
RgSchCmnUe *ueSchCmn = RG_SCH_CMN_GET_UE(ue, cell);
Inst inst = cell->instIdx;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHSc1DlUeHqEntInit
-(
- RgSchCellCb *cell,
- RgSchDlHqEnt *hqEnt
- )
-#else
-S16 rgSCHSc1DlUeHqEntInit(cell, hqEnt)
- RgSchCellCb *cell;
- RgSchDlHqEnt *hqEnt
-#endif
+S16 rgSCHSc1DlUeHqEntInit(RgSchCellCb *cell,RgSchDlHqEnt *hqEnt)
{
RgSchSc1DlHqProc *hqSpcSch;
RgSchDlHqProcCb *hqP;
- uint8_t cnt;
+ uint8_t cnt;
/* making use of hqE->sch for one shot allocation
* of RgSchSc1DlHqProc structures */
if (rgSCHUtlAllocSBuf(cell->instIdx,
* @param[in] RgSchDlHqEnt *hqE
* @return Void
**/
-#ifdef ANSI
-S16 rgSCHSc1DlUeHqEntDeInit
-(
-RgSchCellCb *cell,
-RgSchDlHqEnt *hqE
-)
-#else
-S16 rgSCHSc1DlUeHqEntDeInit(cell, hqE)
-RgSchCellCb *cell;
-RgSchDlHqEnt *hqE;
-#endif
+S16 rgSCHSc1DlUeHqEntDeInit(RgSchCellCb *cell,RgSchDlHqEnt *hqE)
{
if(hqE->sch)
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHSc1RgrDlUeRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeRecfg *ueRecfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHSc1RgrDlUeRecfg(cell, ue, ueRecfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHSc1RgrDlUeRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeRecfg *ueRecfg,RgSchErrInfo *err)
{
RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
RgSchCmnDlUe *ueCmnDl = RG_SCH_CMN_GET_DL_UE(ue,cell);
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHSc1DlRmvUeFrmPrioQs
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHSc1DlRmvUeFrmPrioQs(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHSc1DlRmvUeFrmPrioQs(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchSc1DlUe *sc1Ue;
RgSchDlLcCb *svc;
- uint32_t idx;
+ uint32_t idx;
sc1Ue = RG_GET_SC1_UE_DL(ue, cell);
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHSc1DlInactvtUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHSc1DlInactvtUe(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHSc1DlInactvtUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchSc1DlCell *cellDl = RG_GET_SC1_CELL_DL(cell);
RgSchDlHqProcCb *hqP;
RgSchCmnDlHqProc *hqProcDl;
- uint8_t i;
- RgSchDlHqEnt *hqEnt = RG_SCH_CMN_GET_UE_HQE(ue, cell);
+ uint8_t i;
+ RgSchDlHqEnt *hqEnt = RG_SCH_CMN_GET_UE_HQE(ue, cell);
/* ccpu00130170: UE related HARQ Procs are cleared only
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHSc1DlSuspendUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHSc1DlSuspendUe(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHSc1DlSuspendUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchDlHqProcCb *hqP;
- uint8_t i;
- uint8_t j;
- RgSchDlHqEnt *hqEnt = RG_SCH_CMN_GET_UE_HQE(ue, cell);
+ uint8_t i;
+ uint8_t j;
+ RgSchDlHqEnt *hqEnt = RG_SCH_CMN_GET_UE_HQE(ue, cell);
/* remove all in use HARQ processes from the subframes.
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHSc1DlScanUpdPdbPrio
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHSc1DlScanUpdPdbPrio (cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHSc1DlScanUpdPdbPrio(RgSchCellCb *cell)
{
return;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHSc1DlFillFlowCntrlInfo
-(
-RgSchCellCb *cell,
-RgInfSfAlloc *sfAlloc
-)
-#else
-S16 rgSCHSc1DlFillFlowCntrlInfo(cell,sfAlloc)
-RgSchCellCb *cell;
-RgInfSfAlloc *sfAlloc;
-#endif
+S16 rgSCHSc1DlFillFlowCntrlInfo(RgSchCellCb *cell,RgInfSfAlloc *sfAlloc)
{
return ROK;
}
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1DlUeDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSc1DlUeDel(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSc1DlUeDel(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchDlHqEnt *hqEnt = RG_SCH_CMN_GET_UE_HQE(ue, cell);
RgSchSc1DlUe *sc1DlUe = RG_GET_SC1_UE_DL(ue, cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHSc1RgrLcCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *dlLc,
-RgrLchCfg *lcCfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHSc1RgrLcCfg(cell, ue, dlLc, lcCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *dlLc;
-RgrLchCfg *lcCfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHSc1RgrLcCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *dlLc,RgrLchCfg *lcCfg,RgSchErrInfo *err)
{
S16 ret;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHSc1RgrLcRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *dlLc,
-RgrLchRecfg *lcRecfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHSc1RgrLcRecfg(cell, ue, dlLc, lcRecfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *dlLc;
-RgrLchRecfg *lcRecfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHSc1RgrLcRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *dlLc,RgrLchRecfg *lcRecfg,RgSchErrInfo *err)
{
UNUSED(err);
* @return Void
*
**/
-#ifdef ANSI
-static S16 rgSCHSc1RgrDlCellRecfg
-(
-RgSchCellCb *cell,
-RgrCellRecfg *recfg,
-RgSchErrInfo *err
-)
-#else
-static S16 rgSCHSc1RgrDlCellRecfg(cell, recfg, err)
-RgSchCellCb *cell;
-RgrCellRecfg *recfg;
-RgSchErrInfo *err;
-#endif
+static S16 rgSCHSc1RgrDlCellRecfg(RgSchCellCb *cell,RgrCellRecfg *recfg,RgSchErrInfo *err)
{
return ROK;
}
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlTaCmd
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHSc1DlTaCmd(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHSc1DlTaCmd(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
CmLListCp *lst;
CmLList *node;
RgSchDlHqProcCb *proc;
RgSchUeCb *ue;
- uint32_t effBo;
+ uint32_t effBo;
RgSchCmnDlCell *cellCmnDl = RG_SCH_CMN_GET_DL_CELL(cell);
RgSchCmnDlUe *cmnUeDl;
RgSchSc1DlUe *ueDl;
* @param[out] CmLListCp *inactvLst
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1DlHndlInActUes
-(
-RgSchCellCb *cell,
-CmLListCp *inactvLst
-)
-#else
-Void rgSCHSc1DlHndlInActUes(cell, inactvLst)
-RgSchCellCb *cell;
-CmLListCp *inactvLst;
-#endif
+Void rgSCHSc1DlHndlInActUes(RgSchCellCb *cell,CmLListCp *inactvLst)
{
CmLList *node;
RgSchUeCb *ue;
-
node = inactvLst->first;
while(node)
{
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSc1DlInit
-(
-RgDlSchdApis *rgSchDlApis
-)
-#else
-Void rgSCHSc1DlInit(rgSchDlApis)
-RgDlSchdApis *rgSchDlApis;
-#endif
+Void rgSCHSc1DlInit(RgDlSchdApis *rgSchDlApis)
{
/* Init the function pointers */
rgSchDlApis->rgSCHRgrDlUeCfg = rgSCHSc1RgrDlUeCfg;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHSc1DlInitQueues
-(
-RgSchSc1DlCell *cellDl
-)
-#else
-static Void rgSCHSc1DlInitQueues(cellDl)
-RgSchSc1DlCell *cellDl;
-#endif
+static Void rgSCHSc1DlInitQueues(RgSchSc1DlCell *cellDl)
{
- uint8_t i;
+ uint8_t i;
for (i = 0; i < RG_SC1_DL_NUM_Q; ++i)
{
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlRetxAllocFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHSc1DlRetxAllocFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHSc1DlRetxAllocFnlz(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
CmLList *node;
RgSchUeCb *ue;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHSc1DlSprTxTbDstn
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlHqTbCb *tbInfo,
-uint32_t *effAlloc,
-CmLList **node
-)
-#else
-static Void rgSCHSc1DlSprTxTbDstn(cell, ue, tbInfo, effAlloc, node)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlHqTbCb *tbInfo;
-uint32_t *effAlloc;
-CmLList **node;
-#endif
+static Void rgSCHSc1DlSprTxTbDstn(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlHqTbCb *tbInfo,uint32_t *effAlloc,CmLList **node)
{
RgSchDlLcCb *svc;
RgSchSc1DlSvc *svcSc1;
RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
- uint32_t bytes;
+ uint32_t bytes;
RgSchLchAllocInfo lchSchdData;
- uint32_t effBo;
- uint32_t rlcHdrEstmt;
+ uint32_t effBo;
+ uint32_t rlcHdrEstmt;
while((*node) && (*effAlloc > 0))
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHSc1DlNewTxTbDstn
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlHqTbCb *tbInfo,
-uint32_t *effAlloc,
-CmLList **node
-)
-#else
-static Void rgSCHSc1DlNewTxTbDstn(cell, ue, tbInfo, effAlloc, node)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlHqTbCb *tbInfo;
-uint32_t *effAlloc;
-CmLList **node;
-#endif
+static Void rgSCHSc1DlNewTxTbDstn(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlHqTbCb *tbInfo,uint32_t *effAlloc,CmLList **node)
{
RgSchDlLcCb *svc;
RgSchSc1DlSvc *svcSc1 = NULLP;
RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
- uint32_t bytes;
+ uint32_t bytes;
RgSchLchAllocInfo lchSchdData;
CmLList *prev = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHSc1DlNewTxUeFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHSc1DlNewTxUeFnlz(cell, allocInfo, ue)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHSc1DlNewTxUeFnlz (RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo,RgSchUeCb *ue)
{
CmLList *node;
RgSchSc1DlUe *ueDl = RG_GET_SC1_UE_DL(ue, cell);
/*cell added as part of CA dev*/
/* 3.1 MIMO Distribute data of each TB across services */
RgSchDlRbAlloc *dlAllocCb = RG_SCH_CMN_GET_ALLOCCB_FRM_UE(ue, cell);
- uint32_t remTb1Bytes = dlAllocCb->tbInfo[0].bytesAlloc;
- uint32_t remTb2Bytes = dlAllocCb->tbInfo[1].bytesAlloc;
- uint32_t effAlloc = 0;
+ uint32_t remTb1Bytes = dlAllocCb->tbInfo[0].bytesAlloc;
+ uint32_t remTb2Bytes = dlAllocCb->tbInfo[1].bytesAlloc;
+ uint32_t effAlloc = 0;
/*ccpu00120365-ADD-added to code to check if second TB is utilized */
- uint32_t tb2Bytes = 0;
+ uint32_t tb2Bytes = 0;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlNewTxAllocFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHSc1DlNewTxAllocFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHSc1DlNewTxAllocFnlz (RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
CmLList *node;
RgSchUeCb *ue;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlRetxNewTxAllocFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *cellAllocInfo
-)
-#else
-static Void rgSCHSc1DlRetxNewTxAllocFnlz(cell, cellAllocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *cellAllocInfo;
-#endif
+static Void rgSCHSc1DlRetxNewTxAllocFnlz(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *cellAllocInfo)
{
CmLList *node;
RgSchUeCb *ue;
RgSchSc1DlUe *sc1DlUe;
RgSchDlHqProcCb *hqP;
RgSchDlHqTbCb *newTxTbInfo;
- uint32_t effAlloc;
- uint32_t remTbBytes;
+ uint32_t effAlloc;
+ uint32_t remTbBytes;
RgSchDlRbAlloc *ueAllocInfo;
- RgSchDlRbAlloc *dlAllocCb;
+ RgSchDlRbAlloc *dlAllocCb;
node = cellAllocInfo->dedAlloc.schdTxRetxHqPLst.first;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSc1DlAllocFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnDlRbAllocInfo *allocInfo
-)
-#else
-Void rgSCHSc1DlAllocFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnDlRbAllocInfo *allocInfo;
-#endif
+Void rgSCHSc1DlAllocFnlz(RgSchCellCb *cell,RgSchCmnDlRbAllocInfo *allocInfo)
{
rgSCHSc1DlRetxAllocFnlz(cell, allocInfo);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSc1DlCqiInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-Bool isPucchInfo,
-Void *dlCqi
-)
-#else
-Void rgSCHSc1DlCqiInd(cell, ue, isPucchInfo, dlCqi)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-Bool isPucchInfo;
-Void *dlCqi;
-#endif
+Void rgSCHSc1DlCqiInd(RgSchCellCb *cell,RgSchUeCb *ue,Bool isPucchInfo,Void *dlCqi)
{
return;
}
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlAdd2UeLcsWithData
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-static Void rgSCHSc1DlAdd2UeLcsWithData(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+static Void rgSCHSc1DlAdd2UeLcsWithData(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
CmLListCp *lst;
CmLList *node;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1DlRmFrmUeLcsWithData
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-static Void rgSCHSc1DlRmFrmUeLcsWithData(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+static Void rgSCHSc1DlRmFrmUeLcsWithData(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchSc1DlSvc *sc1DlSvc = RG_GET_SC1_SVC_DL(ue,svc,cell);
RgSchSc1DlUe *sc1DlUe = RG_GET_SC1_UE_DL(ue, cell);
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHSc1UlLchDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteLcId lcId,
-uint8_t lcgId
-)
-#else
-S16 rgSCHRrUlLchDel(cell, ue, lcId, lcgId)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteLcId lcId;
-uint8_t lcgId;
-#endif
+S16 rgSCHSc1UlLchDel(RgSchCellCb *cell,RgSchUeCb *ue,CmLteLcId lcId,uint8_t lcgId)
{
return (ROK);
}
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSc1UlInit
-(
-RgUlSchdApis *rgSchUlApis
-)
-#else
-Void rgSCHSc1UlInit(rgSchUlApis)
-RgUlSchdApis *rgSchUlApis;
-#endif
+Void rgSCHSc1UlInit(RgUlSchdApis *rgSchUlApis)
{
/* Init the function pointers */
rgSchUlApis->rgSCHRgrUlUeCfg = rgSCHSc1RgrUlUeCfg;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHSc1RgrUlUeCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeCfg *ueCfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHSc1RgrUlUeCfg(cell, ue, ueCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeCfg *ueCfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHSc1RgrUlUeCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeCfg *ueCfg,RgSchErrInfo *err)
{
RgSchCmnUe *ueSchCmn = RG_SCH_CMN_GET_UE(ue, cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHSc1RgrUlUeRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeRecfg *ueRecfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHSc1RgrUlUeRecfg(cell, ue, ueRecfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHSc1RgrUlUeRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeRecfg *ueRecfg,RgSchErrInfo *err)
{
return ROK;
} /* rgSCHSc1RgrUeRecfg */
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1UlUeDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSc1UlUeDel(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSc1UlUeDel(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchSc1UlCell *cellUl = RG_GET_SC1_CELL_UL(cell);
RgSchSc1UlUe *ueUl = RG_GET_SC1_UE_UL(ue, cell);
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1UlUeReset
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSc1UlUeReset(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSc1UlUeReset(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchSc1UlCell *cellUl = RG_GET_SC1_CELL_UL(cell);
RgSchSc1UlUe *ueUl = RG_GET_SC1_UE_UL(ue, cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHSc1RgrUlCellCfg
-(
-RgSchCellCb *cell,
-RgrCellCfg *cellCfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHSc1RgrUlCellCfg(cell, cellCfg, err)
-RgSchCellCb *cell;
-RgrCellCfg *cellCfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHSc1RgrUlCellCfg(RgSchCellCb *cell,RgrCellCfg *cellCfg,RgSchErrInfo *err)
{
RgSchSc1UlCell *cellUl;
-
if((rgSCHUtlAllocSBuf(cell->instIdx,
(Data**)&(((RgSchCmnCell*)((cell)->sc.sch))->ul.schSpfc), \
(sizeof(RgSchSc1UlCell))) != ROK))
* @return Void
*
**/
-#ifdef ANSI
-S16 rgSCHSc1RgrUlCellRecfg
-(
-RgSchCellCb *cell,
-RgrCellRecfg *recfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHSc1RgrUlCellRecfg(cell, recfg, err)
-RgSchCellCb *cell;
-RgrCellRecfg *recfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHSc1RgrUlCellRecfg(RgSchCellCb *cell,RgrCellRecfg *recfg,RgSchErrInfo *err)
{
return ROK;
}
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1UlCellDel
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHSc1UlCellDel(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHSc1UlCellDel(RgSchCellCb *cell)
{
RgSchSc1UlCell *cellUl = RG_GET_SC1_CELL_UL(cell);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHSc1RgrLcgCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchLcgCb *lcg,
-RgrLcgCfg *lcgCfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHSc1RgrLcgCfg(cell, ue, lcg, lcgCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchLcgCb *lcg;
-RgrLcgCfg *lcgCfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHSc1RgrLcgCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgSchLcgCb *lcg,RgrLcgCfg *lcgCfg,RgSchErrInfo *err)
{
return ROK;
} /* rgSCHSc1RgrLcgCfg */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHSc1RgrLcgRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchLcgCb *lcg,
-RgrLcgRecfg *reCfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHSc1RgrLcgRecfg(cell, ue, lcg, reCfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchLcgCb *lcg;
-RgrLcgRecfg *reCfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHSc1RgrLcgRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgSchLcgCb *lcg,RgrLcgRecfg *reCfg,RgSchErrInfo *err)
{
return ROK;
} /* rgSCHSc1RgrLcgRecfg */
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHSc1LcgDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchLcgCb *lcg
-)
-#else
-Void rgSCHSc1LcgDel(cell, ue, lcg)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchLcgCb *lcg;
-#endif
+Void rgSCHSc1LcgDel(RgSchCellCb *cell,RgSchUeCb *ue,RgSchLcgCb *lcg)
{
rgSCHSc1UlPosnUeInQ(cell, ue);
return;
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHSc1UlSchdUe
-(
-RgSchUeCb *ue,
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHSc1UlSchdUe(ue,cell)
-RgSchUeCb *ue;
-RgSchCellCb *cell;
-#endif
+static Void rgSCHSc1UlSchdUe(RgSchUeCb *ue,RgSchCellCb *cell)
{
RgSchCmnUlUe *cmnUlUe = RG_SCH_CMN_GET_UL_UE(ue, cell);
/*cell added as part of CA dev*/
* @param[in] uint8_t remUe
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHSc1UlSchdForDataTrans
-(
-RgSchCellCb *cell,
-RgSchCmnUlRbAllocInfo *allocInfo,
-uint8_t remUe
-)
-#else
-static Void rgSCHSc1UlSchdForDataTrans(cell, allocInfo, remUe)
-RgSchCellCb *cell;
-RgSchCmnUlRbAllocInfo *allocInfo;
-uint8_t remUe;
-#endif
+static Void rgSCHSc1UlSchdForDataTrans(RgSchCellCb *cell,RgSchCmnUlRbAllocInfo *allocInfo,uint8_t remUe)
{
RgSchSc1UlCell *sc1UlCell = RG_GET_SC1_CELL_UL(cell);
-
if (remUe == 0)
{
return;
* @param[in] uint8_t *remUe
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHSc1UlSchdUeTxLst
-(
-RgSchCellCb *cell,
-CmLListCp *ueTxLst,
-RgSchCmnUlRbAllocInfo *allocInfo,
-uint8_t *remUe
-)
-#else
-static Void rgSCHSc1UlSchdUeTxLst(cell, ueTxLst, allocInfo, remUe)
-RgSchCellCb *cell;
-CmLListCp *ueTxLst;
-RgSchCmnUlRbAllocInfo *allocInfo;
-uint8_t *remUe;
-#endif
+static Void rgSCHSc1UlSchdUeTxLst(RgSchCellCb *cell,CmLListCp *ueTxLst,RgSchCmnUlRbAllocInfo *allocInfo,uint8_t *remUe)
{
- RgSchUeCb *ue;
- CmLList *node;
+ RgSchUeCb *ue;
+ CmLList *node;
#ifdef LTEMAC_HDFDD
- Bool ulAllowed = FALSE;
+ Bool ulAllowed = FALSE;
#endif
* @param[out] uint8_t *remUe
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHSc1UlSchdForContRes
-(
-RgSchCellCb *cell,
-RgSchCmnUlRbAllocInfo *allocInfo,
-uint8_t *remUe
-)
-#else
-static Void rgSCHSc1UlSchdForContRes(cell, allocInfo, remUe)
-RgSchCellCb *cell;
-RgSchCmnUlRbAllocInfo *allocInfo;
-uint8_t *remUe;
-#endif
+static Void rgSCHSc1UlSchdForContRes(RgSchCellCb *cell,RgSchCmnUlRbAllocInfo *allocInfo,uint8_t *remUe)
{
RgSchSc1UlCell *sc1UlCell = RG_GET_SC1_CELL_UL(cell);
RgSchUeCb *ue;
* @param[out] RgSchCmnUlRbAllocInfo *allocInfo
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHSc1UlNewTx
-(
-RgSchCellCb *cell,
-RgSchCmnUlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHSc1UlNewTx(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnUlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHSc1UlNewTx(RgSchCellCb *cell,RgSchCmnUlRbAllocInfo *allocInfo)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
uint8_t remUe = cellUl->maxUeNewTxPerTti;
* @param[out] RgSchCmnUlRbAllocInfo *allocInfo
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1UlSched
-(
-RgSchCellCb *cell,
-RgSchCmnUlRbAllocInfo *allocInfo
-)
-#else
-Void rgSCHSc1UlSched(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnUlRbAllocInfo *allocInfo;
-#endif
+Void rgSCHSc1UlSched(RgSchCellCb *cell,RgSchCmnUlRbAllocInfo *allocInfo)
{
rgSCHSc1UlNewTx(cell, allocInfo);
return;
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHSc1UlInsUeInQ
-(
-CmLListCp *lst,
-RgSchUeCb *ue,
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHSc1UlInsUeInQ(lst, ue, cell)
-CmLListCp *lst;
-RgSchUeCb *ue;
-RgSchCellCb *cell;
-#endif
+static Void rgSCHSc1UlInsUeInQ(CmLListCp *lst,RgSchUeCb *ue,RgSchCellCb *cell)
{
/*cell added as part of CA dev*/
RgSchSc1UlUe *ueUl = RG_GET_SC1_UE_UL(ue, cell);
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHSc1UlPosnUeInQ
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-static Void rgSCHSc1UlPosnUeInQ(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+static Void rgSCHSc1UlPosnUeInQ(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchSc1UlUe *ueUl = RG_GET_SC1_UE_UL(ue, cell);
/*cell added as part of CA dev*/
* @param[in] uint8_t bsr
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1UpdBsrShort
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchLcgCb *lcg,
-uint8_t bsr
-)
-#else
-Void rgSCHSc1UpdBsrShort(cell, ue, lcg, bsr)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchLcgCb *lcg;
-uint8_t bsr;
-#endif
+Void rgSCHSc1UpdBsrShort(RgSchCellCb *cell,RgSchUeCb *ue,RgSchLcgCb *lcg,uint8_t bsr)
{
rgSCHSc1UlPosnUeInQ(cell, ue);
return;
* @param[in] uint8_t bsr
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1UpdBsrTrunc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchLcgCb *lcg,
-uint8_t bsr
-)
-#else
-Void rgSCHSc1UpdBsrTrunc(cell, ue, lcg, bsr)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchLcgCb *lcg;
-uint8_t bsr;
-#endif
+Void rgSCHSc1UpdBsrTrunc(RgSchCellCb *cell,RgSchUeCb *ue,RgSchLcgCb *lcg,uint8_t bsr)
{
rgSCHSc1UlPosnUeInQ(cell, ue);
return;
* @param[in] uint8_t bsArr[]
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1UpdBsrLong
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t *bsArr
-)
-#else
-Void rgSCHSc1UpdBsrLong(cell, ue, bsArr)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t *bsArr;
-#endif
+Void rgSCHSc1UpdBsrLong(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t *bsArr)
{
rgSCHSc1UlPosnUeInQ(cell, ue);
return;
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1ContResUlGrant
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSc1ContResUlGrant(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSc1ContResUlGrant(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchSc1UlUe *ueUl = RG_GET_SC1_UE_UL(ue, cell);
RgSchSc1UlCell *cellUl = RG_GET_SC1_CELL_UL(cell);
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1SrRcvd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSc1SrRcvd(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSc1SrRcvd(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchSc1UlUe *ulUe = RG_GET_SC1_UE_UL(ue, cell);
RgSchSc1UlCell *ulCell = RG_GET_SC1_CELL_UL(cell);
* @param[in] TfuUlCqiRpt *ulCqiInfo
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1UlCqiInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-TfuUlCqiRpt *ulCqiInfo
-)
-#else
-Void rgSCHSc1UlCqiInd(cell, ue, ulCqiInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-TfuUlCqiRpt *ulCqiInfo;
-#endif
+Void rgSCHSc1UlCqiInd(RgSchCellCb *cell,RgSchUeCb *ue,TfuUlCqiRpt *ulCqiInfo)
{
/* Stack Crash problem for TRACE5 changes. Added the return below */
* @param[in] RgInfUeDatInd *datInd
* @return S16
**/
-#ifdef ANSI
-S16 rgSCHSc1UlLcgUpd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgInfUeDatInd *datInd
-)
-#else
-S16 rgSCHSc1UlLcgUpd(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgInfUeDatInd *datInd;
-#endif
+S16 rgSCHSc1UlLcgUpd(RgSchCellCb *cell,RgSchUeCb *ue,RgInfUeDatInd *datInd)
{
-
return ROK;
}
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHSc1UlUeRefresh
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSc1UlUeRefresh(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSc1UlUeRefresh(RgSchCellCb *cell,RgSchUeCb *ue)
{
rgSCHSc1UlPosnUeInQ(cell, ue);
return;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1UlDatTransAllocFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnUlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHSc1UlDatTransAllocFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnUlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHSc1UlDatTransAllocFnlz(RgSchCellCb *cell,RgSchCmnUlRbAllocInfo *allocInfo)
{
- RgSchSc1UlUe *ueUl;
+ RgSchSc1UlUe *ueUl;
RgSchUeCb *ue;
CmLList *node;
RgSchDrxUeCb *drxUe = NULLP;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSc1UlContResAllocFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnUlRbAllocInfo *allocInfo
-)
-#else
-static Void rgSCHSc1UlContResAllocFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnUlRbAllocInfo *allocInfo;
-#endif
+static Void rgSCHSc1UlContResAllocFnlz(RgSchCellCb *cell,RgSchCmnUlRbAllocInfo *allocInfo)
{
RgSchSc1UlCell *sc1UlCell = RG_GET_SC1_CELL_UL(cell);
RgSchSc1UlUe *ueUl;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSc1UlAllocFnlz
-(
-RgSchCellCb *cell,
-RgSchCmnUlRbAllocInfo *allocInfo
-)
-#else
-Void rgSCHSc1UlAllocFnlz(cell, allocInfo)
-RgSchCellCb *cell;
-RgSchCmnUlRbAllocInfo *allocInfo;
-#endif
+Void rgSCHSc1UlAllocFnlz(RgSchCellCb *cell,RgSchCmnUlRbAllocInfo *allocInfo)
{
rgSCHSc1UlContResAllocFnlz(cell, allocInfo);
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1UlActvtUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSc1UlActvtUe(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSc1UlActvtUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
rgSCHSc1UlPosnUeInQ(cell, ue);
* @param[out] CmLListCp *inactvLst
* @return Void
**/
-#ifdef ANSI
-Void rgSCHSc1UlHndlInActUes
-(
-RgSchCellCb *cell,
-CmLListCp *inactvLst
-)
-#else
-Void rgSCHSc1UlHndlInActUes(cell, inactvLst)
-RgSchCellCb *cell;
-CmLListCp *inactvLst;
-#endif
+Void rgSCHSc1UlHndlInActUes(RgSchCellCb *cell,CmLListCp *inactvLst)
{
- RgSchUeCb *ue;
- RgSchSc1UlUe *ulUe;
- RgSchSc1UlCell *cellUl = RG_GET_SC1_CELL_UL(cell);
- CmLList *node = inactvLst->first;
-
+ RgSchUeCb *ue;
+ RgSchSc1UlUe *ulUe;
+ RgSchSc1UlCell *cellUl = RG_GET_SC1_CELL_UL(cell);
+ CmLList *node = inactvLst->first;
while (node)
{
* @return Void
**/
-#ifdef ANSI
Void rgSCHSc1DlProcRmvFrmRetx(
RgSchCellCb *cell,
RgSchUeCb *ue,
RgSchDlHqProcCb *hqP
)
-#else
-Void rgSCHSc1DlProcRmvFrmRetx(cell, ue, hqP)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlHqProcCb *hqP;
-#endif
{
/* Remove the HqP from retx Queue.
* @return Void
* -# None.
**/
-#ifdef ANSI
-Void rgSCHSCellSchdActDeactCe
-(
-RgSchUeCb *ueCb,
-RgSchDlHqTbCb *tbInfo
-)
-#else
-Void rgSCHSCellSchdActDeactCe(ueCb, tbInfo)
-RgSchUeCb *ueCb;
-RgSchDlHqTbCb *tbInfo;
-#endif
+Void rgSCHSCellSchdActDeactCe(RgSchUeCb *ueCb,RgSchDlHqTbCb *tbInfo)
{
uint8_t bitVal = 0;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSCellAddToActDeactLst
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSCellAddToActDeactLst(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSCellAddToActDeactLst(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnDlCell *cellCmnDl = RG_SCH_CMN_GET_DL_CELL(cell);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSCellRmvFrmActLst
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSCellRmvFrmActLst(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSCellRmvFrmActLst(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnDlCell *cellCmnDl = RG_SCH_CMN_GET_DL_CELL(cell);
if (NULLP != ue->sCellActLnk.node)
* @return ROK/RFAILED
*
**/
-#ifdef ANSI
-Void rgSCHSCellActivation
-(
-RgSchUeCellInfo *sCellInfo
-)
-#else
-Void rgSCHSCellActivation(sCellInfo)
-RgSchUeCellInfo *sCellInfo
-#endif
+Void rgSCHSCellActivation(RgSchUeCellInfo *sCellInfo)
{
RgSchCellCb *sCell = sCellInfo->cell;
RgSchUeCb *ueCb = sCellInfo->ue;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHCellClearScellLstOfCQI
-(
-RgSchUeCellInfo *sCellInfo
-)
-#else
-static Void rgSCHCellClearScellLstOfCQI(sCellInfo)
-RgSchUeCellInfo *sCellInfo;
-#endif
+static Void rgSCHCellClearScellLstOfCQI(RgSchUeCellInfo *sCellInfo)
{
RgSchUePCqiCb *cqiRiCb = NULLP;
* @return ROK/RFAILED
*
**/
-#ifdef ANSI
-static S16 rgSCHSCellDeActivation
-(
-RgSchUeCellInfo *sCellInfo
-)
-#else
-static S16 rgSCHSCellDeActivation(sCellInfo)
-RgSchUeCellInfo *sCellInfo
-#endif
+static S16 rgSCHSCellDeActivation(RgSchUeCellInfo *sCellInfo)
{
return ROK;
RgSchCmnCell *cellSch;
* @return Void
*
**/
-#ifdef ANSI
-static S16 rgSCHSCellTrgMacHqEReset
-(
-Inst inst,
-uint16_t secCellId,
-uint16_t rnti
-)
-#else
-static S16 rgSCHSCellTrgMacHqEReset(inst,secCellId,rnti)
-Inst inst;
-uint16_t secCellId;
-uint16_t rnti;
-#endif
+static S16 rgSCHSCellTrgMacHqEReset(Inst inst,uint16_t secCellId,uint16_ rnti)
{
Pst pst;
RgSchCellCb *secCellCb = NULLP;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSCellHndlFdbkInd
-(
-RgSchDlHqProcCb *hqP,
-uint8_t tbIdx,
-uint8_t fdbk,
-Bool maxHqRetxReached
-)
-#else
-Void rgSCHSCellHndlFdbkInd(hqP, tbIdx, fdbk,maxHqRetxReached)
-RgSchDlHqProcCb *hqP;
-uint8_t tbIdx;
-uint8_t fdbk;
-Bool maxHqRetxReached;
-#endif
+Void rgSCHSCellHndlFdbkInd(RgSchDlHqProcCb *hqP,uint8_t tbIdx,uint8_t fdbk,Bool maxHqRetxReached)
{
RgSchUeCb *ueCb;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSCellDeactTmrExpry
-(
-RgSchUeCellInfo *sCellInfo
-)
-#else
-Void rgSCHSCellDeactTmrExpry(sCellInfo)
-RgSchUeCellInfo *sCellInfo;
-#endif
+Void rgSCHSCellDeactTmrExpry(RgSchUeCellInfo *sCellInfo)
{
if (sCellInfo->ue->isScellExplicitDeAct == TRUE)
* @return ROK/RFAILED
*
**/
-#ifdef ANSI
-S16 rgSCHSCellTrigActDeact
-(
-RgSchCellCb *cell,
-RgSchUeCb *ueCb,
-uint8_t sCellIdx,
-uint8_t action
-)
-#else
-S16 rgSCHSCellTrigActDeact(cell,ueCb,sCellIdx,action)
-RgSchCellCb *cell,
-RgSchUeCb *ueCb;
-uint8_t sCellIdx;
-uint8_t action;
-#endif
+S16 rgSCHSCellTrigActDeact(RgSchCellCb *cell,RgSchUeCb *ueCb,uint8_t sCellIdx,uint8_t action)
{
Inst inst = cell->instIdx;
S16 ret = ROK;
* @return ROK/RFAILED
*
**/
-#ifdef ANSI
-static S16 rgSCHSCellSelectForAct
-(
-RgSchCellCb *cell,
-RgSchUeCb *ueCb,
-uint8_t *sCellIdx
-)
-#else
-static S16 rgSCHSCellSelectForAct(cell, ueCb)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-uint8_t *sCellIdx;
-#endif
+static S16 rgSCHSCellSelectForAct(RgSchCellCb *cell,RgSchUeCb *ueCb,uint8_t *sCellIdx)
{
for((*sCellIdx) = 1; (*sCellIdx) <= RG_SCH_MAX_SCELL; (*sCellIdx)++)
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSCellSelectAndActDeAct
-(
-RgSchCellCb *pCell,
-RgSchUeCb *ueCb,
-uint8_t action
-)
-#else
-Void rgSCHSCellSelectAndActDeAct(pCell, ueCb, action)
-RgSchCellCb *pCell;
-RgSchUeCb *ueCb;
-uint8_t action;
-#endif
+Void rgSCHSCellSelectAndActDeAct(RgSchCellCb *pCell,RgSchUeCb *ueCb,uint8_t action)
{
uint8_t sCellIdx = 0;
S16 ret = ROK;
* @return ROK/RFAILED
*
**/
-#ifdef ANSI
-Void rgSCHSCellDelUeSCell
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb,
-uint8_t sCellIdx
-)
-#else
-Void rgSCHSCellDelUeSCell(cellCb,ueCb,sCellIdx)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-uint8_t sCellIdx;
-#endif
+Void rgSCHSCellDelUeSCell(RgSchCellCb *cellCb,RgSchUeCb *ueCb,uint8_t sCellIdx)
{
RgUeUlHqCb *ulHqEnt;
Inst inst = cellCb->instIdx;
* @return ROK/RFAILED
*
**/
-#ifdef ANSI
-S16 rgSCHSCellDelUe
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else
-S16 rgSCHSCellDelUe(cellCb,ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif
+S16 rgSCHSCellDelUe(RgSchCellCb *cellCb,RgSchUeCb *ueCb)
{
* @return ROK/RFAILED
*
**/
-#ifdef ANSI
S16 rgSCHSCellPCqiCfg
(
RgSchCellCb *priCellCb,
RgSchUeCb *ueCb,
RgrUePrdDlCqiCfg *cqiCfg,
CmLteUeCategory ueCat,
-uint8_t sCellIdx
+uint8_t sCellIdx
)
-#else
-S16 rgSCHSCellPCqiCfg(priCellCb,secCellCb,ueCb,cqiCfg,ueCat,sCellIdx)
-RgSchCellCb *priCellCb;
-RgSchCellCb *secCellCb;
-RgSchUeCb *ueCb;
-RgrUePrdDlCqiCfg *cqiCfg;
-CmLteUeCategory ueCat;
-uint8_t sCellIdx;
-#endif
{
uint8_t j; /*Bandwidth Parts*/
uint8_t temp;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSCellDlUeReset
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHSCellDlUeReset(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHSCellDlUeReset(RgSchCellCb *cell,RgSchUeCb *ue)
{
RgSchCmnCell *cellSch;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSCellDlLcCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-Void rgSCHSCellDlLcCfg(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+Void rgSCHSCellDlLcCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
for(uint8_t idx = 1; idx <= RG_SCH_MAX_SCELL ; idx++)
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSCellDlLcDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-Void rgSCHSCellDlLcDel(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+Void rgSCHSCellDlLcDel(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
for(uint8_t idx = 1; idx <= RG_SCH_MAX_SCELL ; idx++)
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHSCellDlDedBoUpd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-Void rgSCHSCellDlDedBoUpd(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+Void rgSCHSCellDlDedBoUpd(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* @return uint8_t cqiCb cell idx which has the higher priority
*
**/
-#ifdef ANSI
-static uint8_t rgSCHUtlSCellCmpCqiCfg
-(
-RgSchUePCqiCb *cqiCb1,
-RgSchUePCqiCb *cqiCb2
-)
-#else
-static uint8_t rgSCHUtlSCellCmpCqiCfg(cqiCb1, cqiCb2)
-RgSchUePCqiCb *cqiCb1;
-RgSchUePCqiCb *cqiCb2;
-#endif
+static uint8_t rgSCHUtlSCellCmpCqiCfg(RgSchUePCqiCb *cqiCb1,RgSchUePCqiCb *cqiCb2)
{
RgSchUePCqiCb *retCqiCb;
/* Collision rules are defined in TS 36.213,7.2.2 */
* @return ROK/RFAILED
*
**/
-#ifdef ANSI
-S16 rgSCHUtlSCellHndlCqiCollsn
-(
-RgSchUePCqiCb *cqiCb
-)
-#else
-S16 rgSCHUtlSCellHndlCqiCollsn(cqiCb)
-RgSchUePCqiCb *cqiCb;
-#endif
+S16 rgSCHUtlSCellHndlCqiCollsn(RgSchUePCqiCb *cqiCb)
{
uint32_t nPCqiServCellIdx;
uint32_t minPCqiTrIdx;
* @return ROK/RFAILED
*
**/
-#ifdef ANSI
-S16 rgSCHUtlSCellHndlRiCollsn
-(
-RgSchUePCqiCb *cqiCb
-)
-#else
-S16 rgSCHUtlSCellHndlRiCollsn(cqiCb)
-RgSchUePCqiCb *cqiCb;
-#endif
+S16 rgSCHUtlSCellHndlRiCollsn(RgSchUePCqiCb *cqiCb)
{
uint32_t nPRiServCellIdx;
uint32_t minPRiTrIdx;
* @return Void
*
**/
-#ifdef ANSI
-S16 rgSCHSCellIsActive
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-S16 rgSCHSCellIsActive(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+S16 rgSCHSCellIsActive(RgSchCellCb *cell,RgSchUeCb *ue)
{
S16 retVal = RFAILED;
* @return BOOL
* -# TRUE
**/
-#ifdef ANSI
-Bool rgSCHIsActvReqd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Bool rgSCHIsActvReqd(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue
-#endif
+Bool rgSCHIsActvReqd(RgSchCellCb *cell,RgSchUeCb *ue)
{
/* Check if remBoCnt in this UE is greater than ZERO for sufficient number of
* Scheduling TTIs. If yes then We should activate a secondary cell to handle
* @param[in] uint32_t tmrVal
* @return Void
*/
-#ifdef ANSI
-Void rgSCHTmrStartTmr
-(
-RgSchCellCb *cell,
-Ptr cb,
-S16 tmrEvnt,
-uint32_t tmrVal
-)
-#else
-Void rgSCHTmrStartTmr (cell, cb, tmrEvnt, tmrVal)
-RgSchCellCb *cell;
-Ptr cb;
-S16 tmrEvnt;
-uint32_t tmrVal;
-#endif
+Void rgSCHTmrStartTmr(RgSchCellCb *cell,Ptr cb,S16 tmrEvnt,uint32_t tmrVal)
{
CmTmrArg arg;
RgSchUeCb *ue;
* @param[in] Ptr cb
* @return Void
*/
-#ifdef ANSI
-Void rgSCHTmrStopTmr
-(
-RgSchCellCb *cell,
-S16 tmrEvnt,
-Ptr cb
-)
-#else
-Void rgSCHTmrStopTmr (cell, tmrEvnt, cb)
-RgSchCellCb *cell;
-S16 tmrEvnt;
-Ptr cb;
-#endif
+Void rgSCHTmrStopTmr(RgSchCellCb *cell,S16 tmrEvnt,Ptr cb)
{
CmTmrArg arg;
RgSchUeCb *ue;
* @param[in] S16 tmrEvnt
* @return Void
*/
-#ifdef ANSI
-Void rgSCHTmrProcTmr
-(
-Ptr cb,
-S16 tmrEvnt
-)
-#else
-Void rgSCHTmrProcTmr (cb, tmrEvnt)
-Ptr cb;
-S16 tmrEvnt;
-#endif
+Void rgSCHTmrProcTmr(Ptr cb,S16 tmrEvnt)
{
RgSchUeCb *ue = NULLP;
#ifdef LTE_ADV
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHGetDedPrmUe
(
RgSchCellCb *cell,
-uint16_t rapId,
+uint16_t rapId,
CmLteTimingInfo timingInfo,
RgSchUeCb **ue
)
-#else
-S16 rgSCHGetDedPrmUe(cell, rapId, timingInfo, ue)
-RgSchCellCb *cell;
-uint16_t rapId;
-CmLteTimingInfo timingInfo;
-RgSchUeCb **ue;
-#endif
{
RgSchCmnCell *cellSch = (RgSchCmnCell *)(cell->sc.sch);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomRaReqInd
(
RgSchCellCb *cell,
TfuRaReqIndInfo *raReqInd
)
-#else
-S16 rgSCHTomRaReqInd(cell, raReqInd)
-RgSchCellCb *cell;
-TfuRaReqIndInfo *raReqInd;
-#endif
{
- S16 ret;
- uint8_t raRntiCnt;
- uint8_t raReqCnt;
- RgSchErrInfo err;
- Bool isEmtcUe = FALSE;
- uint16_t rapId;
- RgSchUeCb *ue = NULLP;
+ S16 ret;
+ uint8_t raRntiCnt;
+ uint8_t raReqCnt;
+ RgSchErrInfo err;
+ Bool isEmtcUe = FALSE;
+ uint16_t rapId;
+ RgSchUeCb *ue = NULLP;
if(cell->cellId != raReqInd->cellId)
{
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomUlCqiInd
(
RgSchCellCb *cell,
TfuUlCqiIndInfo *ulCqiInd
)
-#else
-S16 rgSCHTomUlCqiInd(cell, ulCqiInd)
-RgSchCellCb *cell;
-TfuUlCqiIndInfo *ulCqiInd;
-#endif
{
RgSchUeCb *ue;
CmLList *node;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomPucchDeltaPwrInd
(
RgSchCellCb *cell,
TfuPucchDeltaPwrIndInfo *pucchDeltaPwr
)
-#else
-S16 rgSCHTomPucchDeltaPwrInd(cell, pucchDeltaPwr)
-RgSchCellCb *cell;
-TfuPucchDeltaPwrIndInfo *pucchDeltaPwr;
-#endif
{
RgSchUeCb *ue;
CmLList *node;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomHarqAckInd
(
RgSchCellCb *cell,
TfuHqIndInfo *harqAckInd
)
-#else
-S16 rgSCHTomHarqAckInd(cell, harqAckInd)
-RgSchCellCb *cell;
-TfuHqIndInfo *harqAckInd;
-#endif
{
RgSchErrInfo err;
RgSchUeCb *ue;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomSrInd
(
RgSchCellCb *cell,
TfuSrIndInfo *srInd
)
-#else
-S16 rgSCHTomSrInd(cell, srInd)
-RgSchCellCb *cell;
-TfuSrIndInfo *srInd;
-#endif
{
S16 ret = RFAILED;
RgSchErrInfo err;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomDoaInd
(
RgSchCellCb *cell,
TfuDoaIndInfo *doaInd
)
-#else
-S16 rgSCHTomDoaInd(cell, doaInd )
-RgSchCellCb *cell;
-TfuDoaIndInfo *doaInd;
-#endif
{
RgSchUeCb *ue;
CmLList *node;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomDlCqiInd
(
RgSchCellCb *cell,
TfuDlCqiIndInfo *dlCqiInd
)
-#else
-S16 rgSCHTomDlCqiInd(cell, dlCqiInd)
-RgSchCellCb *cell;
-TfuDlCqiIndInfo *dlCqiInd;
-#endif
{
RgSchUeCb *ue;
CmLList *node;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgSCHTomUtlMovePcqiNxtOccasion
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- RgSchUePCqiCb *cqiCb
- )
-#else
-static S16 rgSCHTomUtlMovePcqiNxtOccasion(cell, ue, cqiCb)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- RgSchUePCqiCb *cqiCb;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+RgSchUePCqiCb *cqiCb
+)
{
uint16_t cqiIdx = 0;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgSCHTomUtlMovePriNxtOccasion
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- RgSchUePCqiCb *riCb
- )
-#else
-static S16 rgSCHTomUtlMovePriNxtOccasion(cell, ue, riCb)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- RgSchUePCqiCb *riCb;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+RgSchUePCqiCb *riCb
+)
{
uint16_t riIdx;
uint16_t riDist=0;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgSCHTomUtlMoveSrNxtOccasion
(
- RgSchCellCb *cell,
- RgSchUeCb *ue
- )
-#else
-static S16 rgSCHTomUtlMoveSrNxtOccasion(cell, ue)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue
+)
{
uint16_t srIdx = 0;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgSCHTomUtlMoveSrsNxtOccasion
(
- RgSchCellCb *cell,
- RgSchUeCb *ue
- )
-#else
-static S16 rgSCHTomUtlMoveSrsNxtOccasion(cell, ue)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue
+)
{
uint16_t srsIdx;
uint16_t srsDist;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomRawCqiInd
(
- RgSchCellCb *cell,
- TfuRawCqiIndInfo *rawCqiInd
+RgSchCellCb *cell,
+TfuRawCqiIndInfo *rawCqiInd
)
-#else
-S16 rgSCHTomRawCqiInd(cell, rawCqiInd)
- RgSchCellCb *cell;
- TfuRawCqiIndInfo *rawCqiInd;
-#endif
{
RgSchUeCb *ue;
CmLList *node;
TfuRawCqiRpt* rawCqiInfo;
RgSchErrInfo err;
- uint32_t cellIdx;
+ uint32_t cellIdx;
RgInfRlsHqInfo *rlsHqBufs = &(cell->rlsHqArr[cell->crntHqIdx]);
RgSchCellCb *iterCellP;
#if DL_LA
RgSchCmnDlUe *ueDl;
#endif
- uint8_t cqi;
- uint8_t ri;
- uint8_t hqAck;
- Pst pst;
- RgSchRaCb *raCb;
- TfuHqInfo hqInfo;
+ uint8_t cqi;
+ uint8_t ri;
+ uint8_t hqAck;
+ Pst pst;
+ RgSchRaCb *raCb;
+ TfuHqInfo hqInfo;
if(cell->cellId != rawCqiInd->cellId)
{
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomSrsInd
(
- RgSchCellCb *cell,
- TfuSrsIndInfo *srsInd
- )
-#else
-S16 rgSCHTomSrsInd(cell, srsInd)
- RgSchCellCb *cell;
- TfuSrsIndInfo *srsInd;
-#endif
+RgSchCellCb *cell,
+TfuSrsIndInfo *srsInd
+)
{
RgSchUeCb *ue;
CmLList *node;
*
*/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static S16 rgSCHTomUtlGenIndices
(
- uint32_t label,
- uint8_t posM,
- uint8_t valN,
- uint8_t valK,
- TfuSubbandInfo* sbInfo
- )
-#else
-static S16 rgSCHTomUtlGenIndices(label, posM, valN, valK, sbInfo)
- uint32_t label;
- uint8_t posM;
- uint8_t valN;
- uint8_t valK;
- TfuSubbandInfo* sbInfo;
-#endif
+uint32_t label,
+uint8_t posM,
+uint8_t valN,
+uint8_t valK,
+TfuSubbandInfo* sbInfo
+)
{
uint8_t idx, kval, xval, xmin;
uint32_t binCoe;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomCrcInd
(
RgSchCellCb *cell,
TfuCrcIndInfo *crcInd
)
-#else
-S16 rgSCHTomCrcInd(cell, crcInd)
-RgSchCellCb *cell;
-TfuCrcIndInfo *crcInd;
-#endif
{
RgSchUeCb *ue = NULLP;
RgSchRaCb *raCb = NULLP;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomTimingAdvInd
(
RgSchCellCb *cell,
TfuTimingAdvIndInfo *timingAdvInd
- )
-#else
-S16 rgSCHTomTimingAdvInd(cell, timingAdvInd)
-RgSchCellCb *cell;
-TfuTimingAdvIndInfo *timingAdvInd;
-#endif
+)
{
RgSchUeCb *ue;
CmLList *node;
* @param[in] Inst schInst
* @return Void
**/
-#ifdef ANSI
Void rgSCHTomTtiInd
(
SlotIndInfo *slotInd,
Inst schInst
)
-#else
-Void rgSCHTomTtiInd(slotInd, schInst)
-SlotIndInfo *slotInd;
-Inst schInst;
-#endif
{
RgInfSfAlloc *subfrmAlloc;
RgTfuCntrlReqInfo *cntrlInfo = NULLP;
S16 ret = ROK;
- uint8_t i;
- uint8_t nCell = 0;
+ uint8_t i;
+ uint8_t nCell = 0;
RgSchCellCb *cell[CM_LTE_MAX_CELLS];
RgSchCellCb *cellLst[CM_LTE_MAX_CELLS];
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgSCHTomUtlProcUlSf
(
RgSchCellCb *cell,
RgSchErrInfo *err
)
-#else
-static S16 rgSCHTomUtlProcUlSf (cell, err)
-RgSchCellCb *cell;
-RgSchErrInfo *err;
-#endif
{
S16 ret;
TfuRecpReqInfo *recpReqInfo;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgSCHTomUtlPrcUlTddSpclSf
(
-RgSchCellCb *cell,
-RgSchErrInfo *err
+RgSchCellCb *cell,
+RgSchErrInfo *err
)
-#else
-static S16 rgSCHTomUtlPrcUlTddSpclSf (cell, err)
-RgSchCellCb *cell;
-RgSchErrInfo *err;
-#endif
{
S16 ret;
TfuRecpReqInfo *recpReqInfo;
- uint16_t validIdx; /* Index computed from recreq's timing info*/
+ uint16_t validIdx; /* Index computed from recreq's timing info*/
Inst inst = cell->instIdx;
if ((ret = rgSCHUtlAllocEventMem(inst, (Ptr *)&recpReqInfo,
* @param [out] RgSchErrInfo *err
* @return S16
*/
-#ifdef ANSI
static S16 rgSCHTomUtlProcDlSf
(
RgSchDlSf *dlSf,
RgTfuCntrlReqInfo *cntrlInfo,
RgSchErrInfo *err
)
-#else
-static S16 rgSCHTomUtlProcDlSf (dlSf, ulSf, cell, cntrlInfo, err)
-RgSchDlSf *dlSf;
-RgSchDlSf *ulSf;
-RgSchCellCb *cell;
-RgTfuCntrlReqInfo *cntrlInfo;
-RgSchErrInfo *err;
-#endif
{
- Inst inst = cell->instIdx;
- S16 ret;
- uint8_t sfTyp = 1; /* Dl Subframe */
+ Inst inst = cell->instIdx;
+ S16 ret;
+ uint8_t sfTyp = 1; /* Dl Subframe */
cmLListInit(&cntrlInfo->phichLst);
cmLListInit(&cntrlInfo->dlPdcchLst);
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgSCHTomUtlFillPhich
(
RgSchCellCb *cell,
TfuCntrlReqInfo *cntrlInfo,
RgSchDlSf *dlSf,
RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillPhich(cell, cntrlInfo, dlSf, err)
-RgSchCellCb *cell;
-TfuCntrlReqInfo *cntrlInfo;
-RgSchDlSf *dlSf;
-RgSchErrInfo *err;
-#endif
+)
{
S16 ret;
CmLList *node;
* @param[in] CmLteRnti rnti
* @return Void
*/
-#ifdef ANSI
static Void rgSCHTmrRestartScellDeactTmr
(
- RgSchCellCb *cell,
- RgSchUeCb *ueCb
- )
-#else
-static Void rgSCHTmrRestartScellDeactTmr (cell, ueCb)
- RgSchCellCb *cell;
- RgSchUeCb *ueCb;
-
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ueCb
+)
{
RgSchUeCellInfo *sCellInfo = NULLP;
* -# RFAILED
*/
uint32_t numdlSpsRelSentToTf;
-#ifdef ANSI
static S16 rgSCHTomUtlFillDlPdcch
(
RgSchCellCb *cell,
TfuCntrlReqInfo *cntrlInfo,
RgSchDlSf *dlSf,
RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillDlPdcch(cell,cntrlInfo, dlSf, err)
-RgSchCellCb *cell;
-TfuCntrlReqInfo *cntrlInfo;
-RgSchDlSf *dlSf;
-RgSchErrInfo *err;
-#endif
+)
{
S16 ret;
CmLList *node;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgSCHTomUtlFillUlPdcch
(
RgSchCellCb *cell,
TfuCntrlReqInfo *cntrlInfo,
RgSchDlSf *dlSf,
RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillUlPdcch(cntrlInfo, dlSf, err)
-RgSchCellCb *cell;
-TfuCntrlReqInfo *cntrlInfo;
-RgSchDlSf *dlSf;
-RgSchErrInfo *err;
-#endif
+)
{
S16 ret;
CmLList *node;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-static S16 rgSCHTomUtlProcTA
-(
-RgSchCellCb *cell
-)
-#else
-static S16 rgSCHTomUtlProcTA (cell)
-RgSchCellCb *cell;
-#endif
+static S16 rgSCHTomUtlProcTA(RgSchCellCb *cell)
{
CmLList *node;
RgSchUeCb *ue;
* -# RFAILED
*/
#ifdef TFU_UPGRADE
-#ifdef ANSI
S16 rgSCHTomUtlFillHqFdbkInfo
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cell,
- uint16_t validIdx,
- RgSchDlHqProcCb *hqCb,
- RgSchDlSf *nxtDlsf,
- TfuUeRecpReqInfo *pucchRecpInfo,
- RgSchDlHqProcCb *prvHqCb,
- RgSchErrInfo *err
- )
-#else
-S16 rgSCHTomUtlFillHqFdbkInfo (recpReqInfo, cell, validIdx, hqCb, nxtDlsf, pucchRecpInfo, prvHqCb, err)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cell;
- uint16_t validIdx;
- RgSchDlHqProcCb *hqCb;
- RgSchDlSf *nxtDlsf;
- TfuUeRecpReqInfo *pucchRecpInfo;
- RgSchDlHqProcCb *prvHqCb;
- RgSchErrInfo *err;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cell,
+uint16_t validIdx,
+RgSchDlHqProcCb *hqCb,
+RgSchDlSf *nxtDlsf,
+TfuUeRecpReqInfo *pucchRecpInfo,
+RgSchDlHqProcCb *prvHqCb,
+RgSchErrInfo *err
+)
#else
-#ifdef ANSI
S16 rgSCHTomUtlFillHqFdbkInfo
(
TfuRecpReqInfo *recpReqInfo,
RgSchDlHqProcCb *prvHqCb,
RgSchErrInfo *err
)
-#else
-S16 rgSCHTomUtlFillHqFdbkInfo (recpReqInfo, cell, hqCb, nxtDlsf, pucchRecpInfo, prvHqCb, err)
-TfuRecpReqInfo *recpReqInfo;
-RgSchCellCb *cell;
-RgSchDlHqProcCb *hqCb;
-RgSchDlSf *nxtDlsf;
-TfuUeRecpReqInfo *pucchRecpInfo;
-RgSchDlHqProcCb *prvHqCb;
-RgSchErrInfo *err;
-#endif
#endif
{
S16 ret;
RgSchDlHqTbCb *tbCb;
- uint32_t idx;
+ uint32_t idx;
Bool isAddToLst = FALSE;
for (idx = 0 ;idx < 2; idx++)
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgSCHTomUtlFillHqFdbkFor5gtf
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cell,
- uint16_t validIdx,
- RgSchDlHqInfo *dlSfHqInfo,
- RgSchDlSf *dlSf,
- TfuUeRecpReqInfo *pucchRecpInfo,
- RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillHqFdbkFor5gtf (recpReqInfo, cell, validIdx, hqCb, dlSf, pucchRecpInfo, err)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cell;
- uint16_t validIdx;
- RgSchDlHqInfo *dlSfHqInfo;
- RgSchDlSf *dlSf;
- TfuUeRecpReqInfo *pucchRecpInfo;
- RgSchErrInfo *err;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cell,
+uint16_t validIdx,
+RgSchDlHqInfo *dlSfHqInfo,
+RgSchDlSf *dlSf,
+TfuUeRecpReqInfo *pucchRecpInfo,
+RgSchErrInfo *err
+)
{
#ifdef DEBUGP
Inst inst = cell->instIdx;
* -# RFAILED
*/
#ifdef TFU_UPGRADE
-#ifdef ANSI
static S16 rgSCHTomUtlFillHqFdbkForFrmt1B
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cell,
- uint16_t validIdx,
- RgSchDlHqInfo *dlSfHqInfo,
- RgSchDlSf *dlSf,
- TfuUeRecpReqInfo *pucchRecpInfo,
- RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillHqFdbkForFrmt1B (recpReqInfo, cell, validIdx, hqCb, dlSf, pucchRecpInfo, err)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cell;
- uint16_t validIdx;
- RgSchDlHqInfo *dlSfHqInfo;
- RgSchDlSf *dlSf;
- TfuUeRecpReqInfo *pucchRecpInfo;
- RgSchErrInfo *err;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cell,
+uint16_t validIdx,
+RgSchDlHqInfo *dlSfHqInfo,
+RgSchDlSf *dlSf,
+TfuUeRecpReqInfo *pucchRecpInfo,
+RgSchErrInfo *err
+)
#else
-#ifdef ANSI
static S16 rgSCHTomUtlFillHqFdbkForFrmt1B
(
TfuRecpReqInfo *recpReqInfo,
TfuUeRecpReqInfo *pucchRecpInfo,
RgSchErrInfo *err
)
-#else
-static S16 rgSCHTomUtlFillHqFdbkForFrmt1B (recpReqInfo, cell, hqCb, dlSf, pucchRecpInfo, err)
-TfuRecpReqInfo *recpReqInfo;
-RgSchCellCb *cell;
-RgSchDlHqInfo *dlSfHqInfo;
-RgSchDlSf *dlSf;
-TfuUeRecpReqInfo *pucchRecpInfo;
-RgSchErrInfo *err;
-#endif
#endif
{
#ifdef DEBUGP
RgSchUeCb *ue;
TfuUePucchRecpReq *pucchReqInfo = NULLP;
Bool isDatPresOnSecCell = FALSE;
- uint8_t primCellTbCount = 0;
+ uint8_t primCellTbCount = 0;
hqPNode = dlSfHqInfo->hqPLst.first;
ue = (RgSchUeCb*)dlSfHqInfo->dlSfUeLnk.node;
* -# RFAILED
*/
#ifdef TFU_UPGRADE
-#ifdef ANSI
static S16 rgSCHTomUtlFillHqFdbkForFrmt3
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cell,
- uint16_t validIdx,
- RgSchDlHqInfo *dlSfHqInfo,
- RgSchDlSf *dlSf,
- TfuUeRecpReqInfo *pucchRecpInfo,
- RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillHqFdbkForFrmt3 (recpReqInfo, cell, validIdx, hqCb, dlSf, pucchRecpInfo, err)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cell;
- uint16_t validIdx;
- RgSchDlHqInfo *dlSfHqInfo;
- RgSchDlSf *dlSf;
- TfuUeRecpReqInfo *pucchRecpInfo;
- RgSchErrInfo *err;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cell,
+uint16_t validIdx,
+RgSchDlHqInfo *dlSfHqInfo,
+RgSchDlSf *dlSf,
+TfuUeRecpReqInfo *pucchRecpInfo,
+RgSchErrInfo *err
+)
#else
-#ifdef ANSI
static S16 rgSCHTomUtlFillHqFdbkForFrmt3
(
TfuRecpReqInfo *recpReqInfo,
TfuUeRecpReqInfo *pucchRecpInfo,
RgSchErrInfo *err
)
-#else
-static S16 rgSCHTomUtlFillHqFdbkForFrmt3 (recpReqInfo, cell, hqCb, dlSf, pucchRecpInfo, err)
-TfuRecpReqInfo *recpReqInfo;
-RgSchCellCb *cell;
-RgSchDlHqInfo *dlSfHqInfo;
-RgSchDlSf *dlSf;
-TfuUeRecpReqInfo *pucchRecpInfo;
-RgSchErrInfo *err;
-#endif
#endif
{
#ifdef DEBUGP
* -# RFAILED
*/
#ifdef TFU_UPGRADE
-#ifdef ANSI
static S16 rgSCHTomUtlFillHqFdbkRecpReq
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cell,
- uint16_t validIdx,
- RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillHqFdbkRecpReq (recpReqInfo, cell, validIdx, err)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cell;
- uint16_t validIdx;
- RgSchErrInfo *err;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cell,
+uint16_t validIdx,
+RgSchErrInfo *err
+)
#else
-#ifdef ANSI
static S16 rgSCHTomUtlFillHqFdbkRecpReq
(
-TfuRecpReqInfo *recpReqInfo,
-RgSchCellCb *cell,
-RgSchErrInfo *err
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cell,
+RgSchErrInfo *err
)
-#else
-static S16 rgSCHTomUtlFillHqFdbkRecpReq (recpReqInfo, cell, err)
-TfuRecpReqInfo *recpReqInfo;
-RgSchCellCb *cell;
-RgSchErrInfo *err;
-#endif
#endif
{
CmLList *node;
* -# RFAILED
*/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static S16 rgSCHTomUtlFillSrRecpReq
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cell,
- uint16_t validIdx,
- RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillSrRecpReq (recpReqInfo, cell, validIdx, err)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cell;
- uint16_t validIdx;
- RgSchErrInfo *err;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cell,
+uint16_t validIdx,
+RgSchErrInfo *err
+)
{
CmLList *node;
TfuUeRecpReqInfo *pucchRecpInfo;
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgSCHTomUtlWillUeRprtCqiRi
(
- RgSchUeCb *ue,
- Bool *willueRprtCqiRi
- )
-#else
-static S16 rgSCHTomUtlWillUeRprtCqiRi ( ue, willueRprtCqiRi)
- RgSchUeCb *ue;
- Bool *willueRprtCqiRi;
-#endif
+RgSchUeCb *ue,
+Bool *willueRprtCqiRi
+)
{
/* Intialising Reporting probability as TRUE */
*willueRprtCqiRi = TRUE;
* -# RFAILED
*/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static S16 rgSCHTomUtlFillRiRecpReq
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cell,
- uint16_t validIdx,
- RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillRiRecpReq (recpReqInfo, cell, validIdx, err)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cell;
- uint16_t validIdx;
- RgSchErrInfo *err;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cell,
+uint16_t validIdx,
+RgSchErrInfo *err
+)
{
CmLList *node;
TfuUeRecpReqInfo *pucchRecpInfo;
*/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static S16 rgSCHTomUtlFillCqiRiRecpReq
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cell,
- uint16_t validIdx,
- RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillCqiRiRecpReq (recpReqInfo, cell, validIdx, err)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cell;
- uint16_t validIdx;
- RgSchErrInfo *err;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cell,
+uint16_t validIdx,
+RgSchErrInfo *err
+)
{
- TfuUeRecpReqInfo *pucchRecpInfo;
- RgSchUeCb *ue = NULLP;
- uint16_t ret;
+ TfuUeRecpReqInfo *pucchRecpInfo;
+ RgSchUeCb *ue = NULLP;
+ uint16_t ret;
while ((ue = rgSCHDbmGetNextUeCb(cell, ue)) != NULLP)
{
* -# RFAILED
*/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static S16 rgSCHTomUtlFillPcqiRecpReq
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cell,
- uint16_t validIdx,
- RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillPcqiRecpReq (recpReqInfo, cell, validIdx, err)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cell;
- uint16_t validIdx;
- RgSchErrInfo *err;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cell,
+uint16_t validIdx,
+RgSchErrInfo *err
+)
{
CmLList *node;
TfuUeRecpReqInfo *pucchRecpInfo;
S16 ret;
-
RgSchUeCb *ue;
- uint8_t ri; /*RI value*/
- Bool willUeRprtCqi; /* Flag set due to CQI Mask
- and UE Inactive state (DRX)*/
- uint8_t cqiPmiSz;
+ uint8_t ri; /*RI value*/
+ Bool willUeRprtCqi; /* Flag set due to CQI Mask and UE Inactive state (DRX)*/
+ uint8_t cqiPmiSz;
RgSchUePCqiCb *cqiCb = NULLP;
Bool isAddToLst = FALSE;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgSCHTomUtlFillSrsRecpReq
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cell,
- uint16_t validIdx,
- RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillSrsRecpReq (recpReqInfo, cell, validIdx, err)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cell;
- uint16_t validIdx;
- RgSchErrInfo *err;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cell,
+uint16_t validIdx,
+RgSchErrInfo *err
+)
{
CmLList *node;
TfuUeRecpReqInfo *pucchRecpInfo;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgSCHTomUtlFillDatRecpReq
(
TfuRecpReqInfo *recpReqInfo,
RgSchCellCb *cell,
RgSchErrInfo *err
)
-#else
-static S16 rgSCHTomUtlFillDatRecpReq (recpReqInfo, cell, err)
-TfuRecpReqInfo *recpReqInfo;
-RgSchCellCb *cell;
-RgSchErrInfo *err;
-#endif
{
S16 ret;
RgSchUlAlloc *alloc;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
static S16 rgSCHTomUtlFillDatRecpReq
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cell,
- uint16_t validIdx,
- RgSchErrInfo *err
- )
-#else
-static S16 rgSCHTomUtlFillDatRecpReq (recpReqInfo, cell, validIdx, err)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cell;
- uint16_t validIdx;
- RgSchErrInfo *err;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cell,
+uint16_t validIdx,
+RgSchErrInfo *err
+)
{
CmLteTimingInfo dci0Time;
- uint8_t idx;
+ uint8_t idx;
S16 ret;
RgSchUlAlloc *alloc;
TfuUeRecpReqInfo *datRecpInfo;
Bool isAperiodic = FALSE; /*Set when Aperiodic CQI is expected */
- uint8_t numUePerTti = 0;
+ uint8_t numUePerTti = 0;
if((0 == (recpReqInfo->timingInfo.sfn % 30)) && (0 == recpReqInfo->timingInfo.slot))
{
* File :
*
**********************************************************/
-#ifdef ANSI
S16 rgSCHTomUtlFillRiBitWidthInfo
(
- RgSchUeCb *ueCb
- )
-#else
-S16 rgSCHTomUtlFillRiBitWidthInfo(ueCb)
- RgSchUeCb *ueCb;
-#endif
+RgSchUeCb *ueCb
+)
{
RgSchUePCqiCb *riCb = ueCb->nPRiCb;
* File :
*
**********************************************************/
-#ifdef ANSI
uint8_t rgSCHTomUtlFetchPcqiBitSz
(
- RgSchUeCb *ueCb,
- uint8_t numTxAnt,
- uint8_t *ri
- )
-#else
-uint8_t rgSCHTomUtlFetchPcqiBitSz(ueCb, numTxAnt, ri)
- RgSchUeCb *ueCb;
- uint8_t numTxAnt;
- uint8_t *ri;
-#endif
+RgSchUeCb *ueCb,
+uint8_t numTxAnt,
+uint8_t *ri
+)
{
uint8_t confRepMode;
uint8_t pcqiSz;
* File :
*
**********************************************************/
-#ifdef ANSI
S16 rgSCHTomUtlPcqiSbCalcBpIdx
(
- CmLteTimingInfo crntTimInfo,
- RgSchUeCb *ueCb,
- RgSchUePCqiCb *cqiCb
- )
-#else
-S16 rgSCHTomUtlPcqiSbCalcBpIdx(crntTimInfo, ueCb, cqiCb)
- CmLteTimingInfo crntTimInfo;
- RgSchUeCb *ueCb;
- RgSchUePCqiCb *cqiCb;
-#endif
+CmLteTimingInfo crntTimInfo,
+RgSchUeCb *ueCb,
+RgSchUePCqiCb *cqiCb
+)
{
uint16_t tti = (crntTimInfo.sfn * RGSCH_NUM_SUB_FRAMES_5G + crntTimInfo.slot);
uint16_t prdNum = tti/cqiCb->cqiPeri;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomUtlMoveNxtOccasion
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- uint16_t validIdx
- )
-#else
-S16 rgSCHTomUtlMoveNxtOccasion(cell, ue, validIdx)
- RgSchCellCb *cell;
- RgSchUeCb *ue;
- uint16_t validIdx;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+uint16_t validIdx
+)
{
RgSchUePCqiCb *cqiCb = ue->nPCqiCb;
RgSchUePCqiCb *riCb = ue->nPRiCb;
* File :
*
**********************************************************/
-#ifdef ANSI
Void rgSCHTomPrepareAcqiRecp
(
- RgSchUeCb *ueCb,
- RgSchCellCb *cell,
- TfuUePuschCqiRecpInfo *cqiRecpReqInfo,
- uint8_t ccIdx
- )
-#else
- Void rgSCHTomPrepareAcqiRecp(ueCb, cell, cqiRecpReqInfo, ccIdx)
- RgSchUeCb *ueCb;
- RgSchCellCb *cell;
- TfuUePuschCqiRecpInfo *cqiRecpReqInfo;
- uint8_t ccIdx;
-#endif
+RgSchUeCb *ueCb,
+RgSchCellCb *cell,
+TfuUePuschCqiRecpInfo *cqiRecpReqInfo,
+uint8_t ccIdx
+)
{
uint8_t confRepMode;
RgSchCqiRawPuschMode12 *mode12Info;
RgSchCqiRawPuschMode22 *mode22Info;
RgSchCqiRawPuschMode30 *mode30Info;
RgSchCqiRawPuschMode31 *mode31Info;
- uint8_t numTxAnt = cell->numTxAntPorts;
- uint8_t sCellIdx = ueCb->cellIdToCellIdxMap[RG_SCH_CELLINDEX(cell)];
- uint8_t numOfCells = 0;
+ uint8_t numTxAnt = cell->numTxAntPorts;
+ uint8_t sCellIdx = ueCb->cellIdToCellIdxMap[RG_SCH_CELLINDEX(cell)];
+ uint8_t numOfCells = 0;
RgSchUeACqiCb *acqiCb = &ueCb->cellInfo[sCellIdx]->acqiCb;
/* Fill TFU Recp */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomUtlFillDatAperRecpReq
(
- RgSchCellCb *cell,
- uint8_t cqiReq,
- RgSchUlAlloc *alloc,
- TfuUeRecpReqInfo *datRecpInfo,
- CmLteTimingInfo *timeInfo,
- Bool hqPres,
- uint16_t validIdx
- )
-#else
-S16 rgSCHTomUtlFillDatAperRecpReq(cell, cqiReq, alloc, datRecpInfo, timeInfo, hqPres, validIdx)
- RgSchCellCb *cell;
- uint8_t cqiReq;
- RgSchUlAlloc *alloc;
- TfuUeRecpReqInfo *datRecpInfo;
- CmLteTimingInfo *timeInfo;
- Bool hqPres;
- uint16_t validIdx;
-#endif
+RgSchCellCb *cell,
+uint8_t cqiReq,
+RgSchUlAlloc *alloc,
+TfuUeRecpReqInfo *datRecpInfo,
+CmLteTimingInfo *timeInfo,
+Bool hqPres,
+uint16_t validIdx
+)
{
TfuUePuschCqiRecpInfo *cqiRecpReqInfo;
- RgSchUeCb *ueCb = alloc->ue;
+ RgSchUeCb *ueCb = alloc->ue;
#ifdef LTE_ADV
- uint8_t triggerSet = 0;
- uint8_t sIdx = 0;
+ uint8_t triggerSet = 0;
+ uint8_t sIdx = 0;
#endif
/*Fill RI Reception Params*/
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomUtlFillDatPriRecpReq
(
- RgSchCellCb *cell,
- RgSchUlAlloc *alloc,
- TfuUeRecpReqInfo *datRecpInfo,
- CmLteTimingInfo *timeInfo,
- Bool hqPres,
- uint16_t validIdx
- )
-#else
-S16 rgSCHTomUtlFillDatPriRecpReq(cell, alloc, datRecpInfo, timeInfo,
-hqPres, validIdx)
- RgSchCellCb *cell;
- RgSchUlAlloc *alloc;
- TfuUeRecpReqInfo *datRecpInfo;
- CmLteTimingInfo *timeInfo;
- Bool hqPres;
- uint16_t validIdx;
-#endif
+RgSchCellCb *cell,
+RgSchUlAlloc *alloc,
+TfuUeRecpReqInfo *datRecpInfo,
+CmLteTimingInfo *timeInfo,
+Bool hqPres,
+uint16_t validIdx
+)
{
TfuUePuschCqiRecpInfo *cqiRecpReqInfo;
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomUtlFillDatPCqiRecpReq
(
- RgSchCellCb *cell,
- RgSchUlAlloc *alloc,
- TfuUeRecpReqInfo *datRecpInfo,
- CmLteTimingInfo *timeInfo,
- Bool hqPres,
- uint16_t validIdx
- )
-#else
-S16 rgSCHTomUtlFillDatPCqiRecpReq(cell, alloc, datRecpInfo,
- timeInfo, hqPres, validIdx)
- RgSchCellCb *cell;
- RgSchUlAlloc *alloc;
- TfuUeRecpReqInfo *datRecpInfo;
- CmLteTimingInfo *timeInfo;
- Bool hqPres;
- uint16_t validIdx;
-#endif
+RgSchCellCb *cell,
+RgSchUlAlloc *alloc,
+TfuUeRecpReqInfo *datRecpInfo,
+CmLteTimingInfo *timeInfo,
+Bool hqPres,
+uint16_t validIdx
+)
{
TfuUePuschCqiRecpInfo *cqiRecpReqInfo;
- uint8_t cqiPmiSz; /*Raw CQI/PMI Size*/
- uint8_t ri;
+ uint8_t cqiPmiSz; /*Raw CQI/PMI Size*/
+ uint8_t ri;
/*Fill CQI Reception Params*/
cqiRecpReqInfo = &datRecpInfo->t.puschRecpReq.cqiRiInfo;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomUtlFillDatSrsRecpReq
(
- RgSchCellCb *cell,
- RgSchUlAlloc *alloc,
- TfuUeRecpReqInfo *datRecpInfo,
- CmLteTimingInfo *timeInfo,
- Bool hqPres
- )
-#else
-S16 rgSCHTomUtlFillDatSrsRecpReq(cell, alloc, datRecpInfo, timeInfo,
- hqPres)
- RgSchCellCb *cell;
- RgSchUlAlloc *alloc;
- TfuUeRecpReqInfo *datRecpInfo;
- CmLteTimingInfo *timeInfo;
- Bool hqPres;
-#endif
+RgSchCellCb *cell,
+RgSchUlAlloc *alloc,
+TfuUeRecpReqInfo *datRecpInfo,
+CmLteTimingInfo *timeInfo,
+Bool hqPres
+)
{
datRecpInfo->rnti = alloc->rnti;
rgSCHTomFillOnlySrsRecpReq(cell,alloc, datRecpInfo);
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
S16 rgSCHTomFillOnlySrsRecpReq
(
- RgSchCellCb *cell,
- RgSchUlAlloc *alloc,
- TfuUeRecpReqInfo *datRecpInfo
- )
-#else
-S16 rgSCHTomFillOnlySrsRecpReq(cell, alloc, datRecpInfo)
- RgSchCellCb *cell;
- RgSchUlAlloc *alloc;
- TfuUeRecpReqInfo *datRecpInfo;
-#endif
+RgSchCellCb *cell,
+RgSchUlAlloc *alloc,
+TfuUeRecpReqInfo *datRecpInfo
+)
{
TfuUePuschSrsRecpInfo *srsRecpReqInfo;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
static S16 rgSCHTomUtlFillCqiSrSrsWithHq
(
- RgSchCellCb *cell,
- TfuRecpReqInfo *recpReqInfo,
- RgSchUeCb *ue,
- TfuUeRecpReqInfo *pucchRecpInfo,
- uint16_t validIdx,
- Bool isDatPresOnSecCell
- )
-#else
-static S16 rgSCHTomUtlFillCqiSrSrsWithHq(cell, recpReqInfo, ue,
- pucchRecpInfo, validIdx,isDatPresOnSecCell)
-RgSchCellCb *cell;
-TfuRecpReqInfo *recpReqInfo;
-RgSchUeCb *ue;
-TfuUeRecpReqInfo *pucchRecpInfo;
-uint16_t validIdx;
-Bool isDatPresOnSecCell;
-#endif
+RgSchCellCb *cell,
+TfuRecpReqInfo *recpReqInfo,
+RgSchUeCb *ue,
+TfuUeRecpReqInfo *pucchRecpInfo,
+uint16_t validIdx,
+Bool isDatPresOnSecCell
+)
{
RgSchUePCqiCb *cqiCb;
RgSchUePCqiCb *riCb;
- uint8_t ri; /*To fetch RI value*/
- Bool willUeRprtCqi; /* Flag set due to CQI Mask and
- UE Inactive state (DRX)*/
- Bool willUeRprtSr = TRUE;
- TfuAckNackMode hqFdbkMode;
- uint8_t numCqiBit;
- uint8_t totalPucchBits;
- Bool dropCqi = FALSE;
+ uint8_t ri; /*To fetch RI value*/
+ Bool willUeRprtCqi; /* Flag set due to CQI Mask and UE Inactive state (DRX)*/
+ Bool willUeRprtSr = TRUE;
+ TfuAckNackMode hqFdbkMode;
+ uint8_t numCqiBit;
+ uint8_t totalPucchBits;
+ Bool dropCqi = FALSE;
#ifdef LTEMAC_SPS
RgSchCmnUlUeSpsInfo *ulSpsUe = NULL;
#endif
* -# RFAILED
**/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static S16 rgSCHTomUtlFillCqiSrsWithSr
(
- RgSchCellCb *cell,
- RgSchUeCb *ue,
- TfuRecpReqInfo *recpReqInfo,
- TfuUeRecpReqInfo *pucchRecpInfo,
- uint16_t validIdx
- )
-#else
-static S16 rgSCHTomUtlFillCqiSrsWithSr(cell, ue, recpReqInfo,
- pucchRecpInfo, validIdx)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-TfuRecpReqInfo *recpReqInfo;
-TfuUeRecpReqInfo *pucchRecpInfo;
-uint16_t validIdx;
-#endif
+RgSchCellCb *cell,
+RgSchUeCb *ue,
+TfuRecpReqInfo *recpReqInfo,
+TfuUeRecpReqInfo *pucchRecpInfo,
+uint16_t validIdx
+)
{
- RgSchUePCqiCb *cqiCb;
- RgSchUePCqiCb *riCb;
- uint8_t ri; /*To fetch RI value*/
- Bool willUeRprtCqi; /* Flag set due to CQI Mask and
+ RgSchUePCqiCb *cqiCb;
+ RgSchUePCqiCb *riCb;
+ uint8_t ri; /*To fetch RI value*/
+ Bool willUeRprtCqi; /* Flag set due to CQI Mask and
UE Inactive state (DRX)*/
riCb = ue->nPRiCb;
cqiCb = ue->nPCqiCb;
* -# RFAILED
*/
#ifdef TFU_UPGRADE
-#ifdef ANSI
static S16 rgSCHTomUtlFillSfRepHqFdbk
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cellCb,
- RgSchErrInfo *err,
- RgSchDlSf *dlSf,
- uint8_t noFdbks,
- CmMemListCp *memCp,
- uint8_t elemIdx,
- RgSchDlSf *nxtDlsf,
- uint16_t validIdx
- )
-#else
-static S16 rgSCHTomUtlFillSfRepHqFdbk (recpReqInfo, cellCb, err, dlSf,
-noFdbks, memCp, elemIdx, nxtDlsf, validIdx)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cellCb;
- RgSchErrInfo *err;
- RgSchDlSf *dlSf;
- uint8_t noFdbks;
- CmMemListCp *memCp;
- uint8_t elemIdx;
- RgSchDlSf *nxtDlsf;
- uint16_t validIdx;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cellCb,
+RgSchErrInfo *err,
+RgSchDlSf *dlSf,
+uint8_t noFdbks,
+CmMemListCp *memCp,
+uint8_t elemIdx,
+RgSchDlSf *nxtDlsf,
+uint16_t validIdx
+)
#else
-#ifdef ANSI
static S16 rgSCHTomUtlFillSfRepHqFdbk
(
-TfuRecpReqInfo *recpReqInfo,
-RgSchCellCb *cellCb,
-RgSchErrInfo *err,
-RgSchDlSf *dlSf,
-uint8_t noFdbks,
-CmMemListCp *memCp,
-uint8_t elemIdx,
-RgSchDlSf *nxtDlsf
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cellCb,
+RgSchErrInfo *err,
+RgSchDlSf *dlSf,
+uint8_t noFdbks,
+CmMemListCp *memCp,
+uint8_t elemIdx,
+RgSchDlSf *nxtDlsf
)
-#else
-static S16 rgSCHTomUtlFillSfRepHqFdbk (recpReqInfo, cellCb, err, dlSf,
-noFdbks, memCp, elemIdx, nxtDlsf)
- TfuRecpReqInfo *recpReqInfo;
- RgSchCellCb *cellCb;
- RgSchErrInfo *err;
- RgSchDlSf *dlSf;
- uint8_t noFdbks;
- CmMemListCp *memCp;
- uint8_t elemIdx;
- RgSchDlSf *nxtDlsf;
-#endif
#endif
{
RgSchDlHqProcCb *hqCb;
* -# RFAILED
*/
#ifdef TFU_UPGRADE
-#ifdef ANSI
static S16 rgSCHTomUtlFillSfHqFdbkInfo
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cellCb,
- RgSchErrInfo *err,
- RgSchDlSf *dlSf,
- uint8_t noFdbks,
- CmMemListCp *memCp,
- uint8_t elemIdx,
- RgSchDlSf *nxtDlsf,
- uint16_t validIdx,
- RgSchDlHqProcCb *hqCb,
- RgSchUePucchRecpInfo *pucchInfo,
- Bool alloc,
- RgSchDlHqProcCb *prvHqCb
- )
-#else
-static S16 rgSCHTomUtlFillSfHqFdbkInfo (recpReqInfo, cellCb, err, dlSf,
- noFdbks, memCp, elemIdx, nxtDlsf, validIdx, hqCb, pucchInfo, alloc, prvHqCb)
-TfuRecpReqInfo *recpReqInfo;
-RgSchCellCb *cellCb;
-RgSchErrInfo *err;
-RgSchDlSf *dlSf;
-uint8_t noFdbks;
-CmMemListCp *memCp;
-uint8_t elemIdx;
-RgSchDlSf *nxtDlsf;
-uint16_t validIdx;
-RgSchDlHqProcCb *hqCb;
-RgSchUePucchRecpInfo *pucchInfo;
-Bool alloc;
-RgSchDlHqProcCb *prvHqCb;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cellCb,
+RgSchErrInfo *err,
+RgSchDlSf *dlSf,
+uint8_t noFdbks,
+CmMemListCp *memCp,
+uint8_t elemIdx,
+RgSchDlSf *nxtDlsf,
+uint16_t validIdx,
+RgSchDlHqProcCb *hqCb,
+RgSchUePucchRecpInfo *pucchInfo,
+Bool alloc,
+RgSchDlHqProcCb *prvHqCb
+)
#else
-#ifdef ANSI
static S16 rgSCHTomUtlFillSfHqFdbkInfo
(
- TfuRecpReqInfo *recpReqInfo,
- RgSchCellCb *cellCb,
- RgSchErrInfo *err,
- RgSchDlSf *dlSf,
- uint8_t noFdbks,
- CmMemListCp *memCp,
- uint8_t elemIdx,
- RgSchDlSf *nxtDlsf,
- RgSchDlHqProcCb *hqCb,
- RgSchUePucchRecpInfo *pucchInfo,
- Bool alloc,
- RgSchDlHqProcCb *prvHqCb
- )
-#else
-static S16 rgSCHTomUtlFillSfHqFdbkInfo (recpReqInfo, cellCb, err, dlSf,
- noFdbks, memCp, elemIdx, nxtDlsf, hqCb, pucchInfo, alloc, prvHqCb)
-TfuRecpReqInfo *recpReqInfo;
-RgSchCellCb *cellCb;
-RgSchErrInfo *err;
-RgSchDlSf *dlSf;
-uint8_t noFdbks;
-CmMemListCp *memCp;
-uint8_t elemIdx;
-RgSchDlSf *nxtDlsf;
-RgSchDlHqProcCb *hqCb;
-RgSchUePucchRecpInfo *pucchInfo;
-Bool alloc;
-RgSchDlHqProcCb *prvHqCb;
-#endif
+TfuRecpReqInfo *recpReqInfo,
+RgSchCellCb *cellCb,
+RgSchErrInfo *err,
+RgSchDlSf *dlSf,
+uint8_t noFdbks,
+CmMemListCp *memCp,
+uint8_t elemIdx,
+RgSchDlSf *nxtDlsf,
+RgSchDlHqProcCb *hqCb,
+RgSchUePucchRecpInfo *pucchInfo,
+Bool alloc,
+RgSchDlHqProcCb *prvHqCb
+)
#endif
{
S16 ret;
* @param [out]uint16_t *hqRes
* @return void
*/
-#ifdef ANSI
static Void rgSCHTomUtlGethqRes
(
-uint8_t noFdbks,
-RgSchDlSf *dlSf,
-RgSchPdcch *pdcch,
-RgSchCellCb *cellCb,
-uint16_t *hqRes
+uint8_t noFdbks,
+RgSchDlSf *dlSf,
+RgSchPdcch *pdcch,
+RgSchCellCb *cellCb,
+uint16_t *hqRes
)
-#else
-static Void rgSCHTomUtlGethqRes(noFdbks,dlSf,pdcch,cellCb,hqRes)
-uint8_t noFdbks;
-RgSchDlSf *dlSf;
-RgSchPdcch *pdcch;
-RgSchCellCb *cellCb;
-uint16_t *hqRes;
-#endif
{
- uint8_t M;
- uint8_t P;
- uint8_t m;
- uint8_t nP;
- uint8_t nPlusOne;
- uint8_t nCce;
+ uint8_t M;
+ uint8_t P;
+ uint8_t m;
+ uint8_t nP;
+ uint8_t nPlusOne;
+ uint8_t nCce;
M = noFdbks;
m = dlSf->dlFdbkInfo.m;
* @param [in] RgSchCellCb *cellCb
* @return void
*/
-#ifdef ANSI
static Void rgSCHTomUtlFillSfHqFdbkForFrmt1BCSForM1
(
- RgSchDlHqProcCb *hqCb,
- TfuUePucchRecpReq *hqRecpReq,
- uint8_t noFdbks,
- RgSchDlSf *dlSf,
- RgSchPdcch *pdcch,
- RgSchCellCb *cellCb
+RgSchDlHqProcCb *hqCb,
+TfuUePucchRecpReq *hqRecpReq,
+uint8_t noFdbks,
+RgSchDlSf *dlSf,
+RgSchPdcch *pdcch,
+RgSchCellCb *cellCb
)
-#else
-static Void rgSCHTomUtlFillSfHqFdbkForFrmt1BCSForM1(hqCb, hqRecpReq,
- noFdbks,dlSf,pdcch,cellCb)
- RgSchDlHqProcCb *hqCb;
- TfuUePucchRecpReq *hqRecpReq;
- uint8_t noFdbks;
- RgSchDlSf *dlSf;
- RgSchPdcch *pdcch;
- RgSchCellCb *cellCb;
-#endif
{
- RgSchUeCb *ue = NULLP;
- Bool isCellSec = FALSE;
- uint16_t hqRes;
+ RgSchUeCb *ue = NULLP;
+ Bool isCellSec = FALSE;
+ uint16_t hqRes;
/*ccpu00147920: UeCb is NULL for SPS activation*/
if(pdcch && pdcch->ue)
* @param [in] uint8_t elemIdx
* @return void
*/
-#ifdef ANSI
static Void rgSCHTomUtlFillSfHqFdbkForFrmt1BCSForM234
(
- RgSchDlHqProcCb *hqCb,
- TfuUePucchRecpReq *hqRecpReq,
- uint8_t noFdbks,
- RgSchDlSf *dlSf,
- RgSchPdcch *pdcch,
- RgSchCellCb *cellCb,
- uint8_t elemIdx
+RgSchDlHqProcCb *hqCb,
+TfuUePucchRecpReq *hqRecpReq,
+uint8_t noFdbks,
+RgSchDlSf *dlSf,
+RgSchPdcch *pdcch,
+RgSchCellCb *cellCb,
+uint8_t elemIdx
)
-#else
-static Void rgSCHTomUtlFillSfHqFdbkForFrmt1BCSForM234(
- hqCb,hqRecpReq,noFdbks,dlSf,pdcch,cellCb,elemIdx)
- RgSchDlHqProcCb *hqCb;
- TfuUePucchRecpReq *hqRecpReq;
- uint8_t noFdbks;
- RgSchDlSf *dlSf;
- RgSchPdcch *pdcch;
- RgSchCellCb *cellCb;
- uint8_t elemIdx;
-#endif
{
- RgSchUeCb *ue;
- Bool isCellSec = FALSE;
- uint16_t hqRes = 0;
- uint8_t servCellIdx;
+ RgSchUeCb *ue;
+ Bool isCellSec = FALSE;
+ uint16_t hqRes = 0;
+ uint8_t servCellIdx;
if(pdcch)
{/* SPS Release pdcch or dynamic data */
* @param [out]TfuUePucchRecpReq *hqRecpReq
* @return S16
*/
-#ifdef ANSI
static S16 rgSCHTomUtlFillSfHqFdbkForFrmt1BCS
(
- RgSchDlHqProcCb *hqCb,
- TfuUePucchRecpReq *hqRecpReq,
- uint8_t noFdbks,
- RgSchDlSf *dlSf,
- RgSchPdcch *pdcch,
- uint8_t elemIdx,
- RgSchCellCb *cellCb
+RgSchDlHqProcCb *hqCb,
+TfuUePucchRecpReq *hqRecpReq,
+uint8_t noFdbks,
+RgSchDlSf *dlSf,
+RgSchPdcch *pdcch,
+uint8_t elemIdx,
+RgSchCellCb *cellCb
)
-#else
-static S16 rgSCHTomUtlFillSfHqFdbkForFrmt1BCS(hqCb,hqRecpReq,noFdbks,dlSf,pdcch,
- n1PucchTkn,elemIdx,cellCb)
- RgSchDlHqProcCb *hqCb;
- TfuUePucchRecpReq *hqRecpReq;
- uint8_t noFdbks;
- RgSchDlSf *dlSf;
- RgSchPdcch *pdcch;
- uint8_t elemIdx;
- RgSchCellCb *cellCb;
-#endif
{
/* Update teh fdbk mode if something different is present
* in L1 API file for F1BS *//* 1 --> F1BCS */
* File :
*
**********************************************************/
-#ifdef ANSI
static S16 rgSCHTomUtlFillSfHqFdbkForOneUe
(
RgSchDlHqProcCb *hqCb,
RgSchCellCb *cellCb,
RgSchErrInfo *err,
RgSchDlSf *dlSf,
-uint8_t noFdbks,
+uint8_t noFdbks,
CmMemListCp *memCp,
-uint8_t elemIdx,
+uint8_t elemIdx,
RgSchDlSf *nxtDlsf,
CmLteRnti rnti,
RgrTddAckNackMode ackNackMode,
RgSchUePucchRecpInfo **pucchInfoRef,
RgSchPdcch *pdcch,
-TknUInt16 n1PucchTkn,
+TknUInt16 n1PucchTkn,
Bool *allocRef,
-uint8_t hqSz
+uint8_t hqSz
)
-#else
-static S16 rgSCHTomUtlFillSfHqFdbkForOneUe(hqCb,recpReqInfo, cellCb, err, dlSf,
- noFdbks, memCp, elemIdx, nxtDlsf, rnti, ackNackMode, pucchInfoRef,
- pdcch, n1PucchTkn, allocRef, hqSz)
-RgSchDlHqProcCb *hqCb;
-TfuRecpReqInfo *recpReqInfo;
-RgSchCellCb *cellCb;
-RgSchErrInfo *err;
-RgSchDlSf *dlSf;
-uint8_t noFdbks;
-CmMemListCp *memCp;
-uint8_t elemIdx;
-RgSchDlSf *nxtDlsf;
-CmLteRnti rnti;
-RgrTddAckNackMode ackNackMode;
-RgSchUePucchRecpInfo **pucchInfoRef;
-RgSchPdcch *pdcch;
-TknUInt16 n1PucchTkn;
-Bool *allocRef;
-uint8_t hqSz;
-#endif
{
RgSchUePucchRecpInfo *pucchInfo = *pucchInfoRef;
Bool alloc = FALSE;
S16 ret;
TfuUePucchRecpReq *hqRecpReq;
#ifdef TFU_UPGRADE
- uint8_t M;
- uint8_t P;
- uint8_t m;
- uint8_t nP;
- uint8_t nPlusOne;
- uint16_t pucchRes;
- uint8_t resIdx;
- uint8_t nCce;
- uint8_t prevHqSize;
+ uint8_t M;
+ uint8_t P;
+ uint8_t m;
+ uint8_t nP;
+ uint8_t nPlusOne;
+ uint16_t pucchRes;
+ uint8_t resIdx;
+ uint8_t nCce;
+ uint8_t prevHqSize;
#else
- uint8_t multCnt;
+ uint8_t multCnt;
#endif
#ifdef LTEMAC_SPS
Bool isFirstFdbk = FALSE;
* @param [out] RgSchErrInfo *err
* @return S16
*/
-#ifdef ANSI
static S16 rgSCHTomUtlProcDlSfAtCrc
(
RgSchDlSf *ulSf,
TfuCntrlReqInfo *cntrlInfo,
RgSchErrInfo *err
)
-#else
-static S16 rgSCHTomUtlProcDlSfAtCrc (ulSf, crntUlFrm, cell, cntrlInfo, err)
-RgSchDlSf *ulSf;
-CmLteTimingInfo crntUlFrm;
-RgSchCellCb *cell;
-TfuCntrlReqInfo *cntrlInfo;
-RgSchErrInfo *err;
-#endif
{
Inst inst = cell->instIdx;
S16 ret;
*
* @param [in] RgSchCellCb *cell
*/
-#ifdef ANSI
static Void rgSCHTomUtlSendSfnTick
(
RgSchCellCb *cell
)
-#else
-static Void rgSCHTomUtlSendSfnTick (cell)
-RgSchCellCb *cell;
-#endif
{
RgrTtiIndInfo *rgrTtiInd;
* @return None
*/
#ifdef UNUSED_FUNC
-#ifdef ANSI
-static Void rgSCHDynTDDMrkCrntSfIdx
-(
-Inst schInst
-)
-#else /* ANSI */
-static Void rgSCHDynTDDMrkCrntSfIdx(schInst)
-Inst schInst;
-#endif /* ANSI */
+static Void rgSCHDynTDDMrkCrntSfIdx(Inst schInst)
{
RgSchDynTddCb *rgSchDynTddInfo = &(rgSchCb[schInst].rgSchDynTdd);
*
*/
#ifdef UNUSED_FUNC
-#ifdef ANSI
static Void rgSchTomFillCellTtiInfo
(
TfuTtiIndInfo *ttiInd,
Inst schInst,
-uint8_t *nCell,
+uint8_t *nCell,
RgSchCellCb *cells[]
)
-#else
-static Void rgSchTomFillCellTtiInfo (ttiInd, schInst, nCell, cells)
-TfuTtiIndInfo *ttiInd;
-Inst schInst;
-uint8_t *nCell;
-RgSchCellCb *cells[];
-#endif
{
- uint8_t i = 0;
- uint8_t strtCellId;
- TfuTtiCellInfo *cellInfo;
- RgSchCellCb *cell;
- uint32_t Idx1;
+ uint8_t i = 0;
+ uint8_t strtCellId;
+ TfuTtiCellInfo *cellInfo;
+ RgSchCellCb *cell;
+ uint32_t Idx1;
CmLteTimingInfo frm;
* Returns: Void
*
*/
-#ifdef ANSI
static Void rgSchTomTtiUlAndDlCmnChSch
(
RgSchCellCb *cell
)
-#else
-static Void rgSchTomTtiUlAndDlCmnChSch (cell)
-RgSchCellCb *cell;
-#endif
{
cell->rlsHqArr[cell->crntHqIdx].numUes = 0;
* Returns: Void
*
*/
-#ifdef ANSI
static Void rgSchTomTtiMiscFunctions
(
-RgSchCellCb *cell
+RgSchCellCb *cell
)
-#else
-static Void rgSchTomTtiMiscFunctions (cell)
-RgSchCellCb *cell;
-#endif
{
uint8_t suId = cell->tfuSap->sapCfg.suId;
* Returns: Void
*
*/
-#ifdef ANSI
static Void rgSchTomTtiDlSch
(
-RgSchCellCb *cell
+RgSchCellCb *cell
)
-#else
-static Void rgSchTomTtiDlSch (cell)
-RgSchCellCb *cell;
-#endif
{
if (cell->isDlDataAllwd && (cell->stopDlSch == FALSE))
* Returns: Void
*
*/
-#ifdef ANSI
static Void rgSchTomTtiCnsldtSfAlloc
(
-RgSchCellCb *cell
+RgSchCellCb *cell
)
-#else
-static Void rgSchTomTtiCnsldtSfAlloc (cell)
-RgSchCellCb *cell;
-#endif
{
RgSchDlSf *dlSf;
RgSchCmnCell *cellSch = RG_SCH_CMN_GET_CELL(cell);
* Returns: Void
*
*/
-#ifdef ANSI
static Void rgSchTomTtiL1DlAndUlCfg
(
RgSchCellCb *cell,
RgTfuCntrlReqInfo *cntrlInfo
)
-#else
-static Void rgSchTomTtiL1DlAndUlCfg (cell, cntrlInfo)
-RgSchCellCb *cell;
-RgTfuCntrlReqInfo *cntrlInfo;
-#endif
{
RgSchDlSf *dlSf = rgSCHUtlSubFrmGet (cell, cell->dlDciTime);
RgSchDlSf *ulSf = rgSCHUtlSubFrmGet (cell, cell->hiDci0Time);
* Returns: Void
*
*/
-#ifdef ANSI
static Void rgSchTomUtlTddRlsSfAndHarq
(
-RgSchCellCb *cell
+RgSchCellCb *cell
)
-#else
-static Void rgSchTomUtlTddRlsSfAndHarq (cell)
-RgSchCellCb *cell;
-#endif
{
/* ccpu00132341-MOD- rgSchTddRlsDlSubfrmTbl is dependent on DELTA(=2).
* Returns: Void
*
*/
-#ifdef ANSI
-static Void rgSCHTomUtlProcTddUlSf
-(
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHTomUtlProcTddUlSf (cell)
-RgSchCellCb *cell;
-#endif
+static Void rgSCHTomUtlProcTddUlSf(RgSchCellCb *cell)
{
RgSchErrInfo err;
* @return Void
**/
#ifndef MAC_SCH_STATS
-#ifdef ANSI
-Void rgSCHUhmProcDatInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteTimingInfo frm
-)
-#else
-Void rgSCHUhmProcDatInd(cell, ue, frm)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo frm;
-#endif
+Void rgSCHUhmProcDatInd(RgSchCellCb *cell,RgSchUeCb *ue,CmLteTimingInfo frm)
#else /* MAC_SCH_STATS */
-#ifdef ANSI
-Void rgSCHUhmProcDatInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteTimingInfo frm,
-uint8_t cqi
-)
-#else
-Void rgSCHUhmProcDatInd(cell, ue, frm, cqi)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo frm;
-uint8_t cqi;
-#endif
+Void rgSCHUhmProcDatInd(RgSchCellCb *cell,RgSchUeCb *ue,CmLteTimingInfo frm,uint8_t cqi)
#endif /* MAC_SCH_STATS */
{
RgSchUlHqProcCb *hqProc;
#ifdef UL_LA
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
S32 iTbs;
- uint8_t maxiTbs = rgSchCmnUlCqiToTbsTbl[cell->isCpUlExtend]
+ uint8_t maxiTbs = rgSchCmnUlCqiToTbsTbl[cell->isCpUlExtend]
[ueUl->maxUlCqi];
#endif
* @param[in,out] *hqProc
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUhmProcMsg3DatInd
-(
-RgSchUlHqProcCb *hqProc
-)
-#else
-Void rgSCHUhmProcMsg3DatInd(hqProc)
-RgSchUlHqProcCb *hqProc;
-#endif
+Void rgSCHUhmProcMsg3DatInd(RgSchUlHqProcCb *hqProc)
{
hqProc->rcvdCrcInd = TRUE;
hqProc->remTx = 0; /*Reseting the value of rem Tx*/
* @param[in,out] *hqProc
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUhmProcMsg3Failure
-(
-RgSchUlHqProcCb *hqProc
-)
-#else
-Void rgSCHUhmProcMsg3Failure(hqProc)
-RgSchUlHqProcCb *hqProc;
-#endif
+Void rgSCHUhmProcMsg3Failure(RgSchUlHqProcCb *hqProc)
{
#ifdef EMTC_ENABLE
RG_SCH_EMTC_IS_CRCIND_RCVD_CHK_RACB(hqProc);
* @return Void
**/
#ifndef MAC_SCH_STATS
-#ifdef ANSI
-Void rgSCHUhmProcHqFailure
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteTimingInfo frm,
-TknUInt8 rv
-)
-#else
-Void rgSCHUhmProcHqFailure(cell, ue, frm, rv)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo frm;
-TknUInt8 rv;
-#endif
+Void rgSCHUhmProcHqFailure(RgSchCellCb *cell,RgSchUeCb *ue,CmLteTimingInfo frm,TknUInt8 rv)
#else /* MAC_SCH_STATS */
-#ifdef ANSI
-Void rgSCHUhmProcHqFailure
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteTimingInfo frm,
-TknUInt8 rv,
-uint8_t cqi
-)
-#else
-Void rgSCHUhmProcHqFailure(cell, ue, frm, rv, cqi)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo frm;
-TknUInt8 rv;
-uint8_t cqi;
-#endif
+Void rgSCHUhmProcHqFailure(RgSchCellCb *cell,RgSchUeCb *ue,CmLteTimingInfo frm,TknUInt8 rv,uint8_t cqi)
#endif /* MAC_SCH_STATS */
{
RgSchUlHqProcCb *hqProc;
* -# Pointer to harq process corresponding to index
* -# NULL
**/
-#ifdef ANSI
-RgSchUlHqProcCb* rgSCHUhmGetUlHqProc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t idx
-)
-#else
-RgSchUlHqProcCb* rgSCHUhmGetUlHqProc(cell, ue, idx)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t idx;
-#endif
+RgSchUlHqProcCb* rgSCHUhmGetUlHqProc(RgSchCellCb *cell,RgSchUeCb *ue, uint8_t idx)
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
* @param[in] *alloc
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUhmNewTx
-(
-RgSchUlHqProcCb *hqProc,
-uint8_t maxHqRetx,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHUhmNewTx(hqProc, maxHqRetx, alloc)
-RgSchUlHqProcCb *hqProc;
-uint8_t maxHqRetx;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHUhmNewTx(RgSchUlHqProcCb *hqProc,uint8_t maxHqRetx,RgSchUlAlloc *alloc)
{
hqProc->ndi ^= 1;
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUhmFreeProc
-(
-RgSchUlHqProcCb *hqProc,
-RgSchCellCb *cell
-)
-#else
-Void rgSCHUhmFreeProc(hqProc, cell)
-RgSchUlHqProcCb *hqProc;
-RgSchCellCb *cell;
-#endif
+Void rgSCHUhmFreeProc(RgSchUlHqProcCb *hqProc,RgSchCellCb *cell)
{
#ifdef LTE_L2_MEAS
RgSchUeCb *ueCb;
* @param[in,out] *hqProc
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUhmRetx
-(
-RgSchUlHqProcCb *hqProc,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHUhmRetx(hqProc, alloc)
-RgSchUlHqProcCb *hqProc;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHUhmRetx(RgSchUlHqProcCb *hqProc,RgSchUlAlloc *alloc)
{
hqProc->alloc = alloc;
* @param[out] *err
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUhmRgrUeCfg
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb,
-RgrUeCfg *ueCfg
-)
-#else
-Void rgSCHUhmRgrUeCfg(cellCb, ueCb, ueCfg)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-RgrUeCfg *ueCfg;
-#endif
+Void rgSCHUhmRgrUeCfg(RgSchCellCb *cellCb,RgSchUeCb *ueCb,RgrUeCfg *ueCfg)
{
uint8_t i;
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ueCb, cellCb);
* @param[out] *err
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUhmRgrUeRecfg
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb,
-RgrUeRecfg *ueRecfg
-)
-#else
-Void rgSCHUhmRgrUeRecfg(cellCb, ueCb, ueRecfg)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-RgrUeRecfg *ueRecfg;
-#endif
+Void rgSCHUhmRgrUeRecfg(RgSchCellCb *cellCb,RgSchUeCb *ueCb,RgrUeRecfg *ueRecfg)
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ueCb, cellCb);
* @param[in,out] *ueCb
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUhmFreeUe
-(
-RgSchCellCb *cellCb,
-RgUeUlHqCb *hqEnt
-)
-#else
-Void rgSCHUhmFreeUe(cellCb, hqEnt)
-RgSchCellCb *cellCb;
-RgUeUlHqCb *hqEnt;
-#endif
+Void rgSCHUhmFreeUe(RgSchCellCb *cellCb,RgUeUlHqCb *hqEnt)
{
#ifdef LTE_TDD
/* ccpu00117052 - MOD - Passing double pointer
* @param[in] idx
* @return Void
*/
-#ifdef ANSI
-S16 rgSCHUhmAppendPhich
-(
-RgSchCellCb *cellCb,
-CmLteTimingInfo frm,
-uint8_t idx
-)
-#else
-S16 rgSCHUhmAppendPhich (cellCb, frm, idx)
-RgSchCellCb *cellCb;
-CmLteTimingInfo frm;
-uint8_t idx;
-#endif
+S16 rgSCHUhmAppendPhich(RgSchCellCb *cellCb,CmLteTimingInfo frm,uint8_t idx)
{
- uint8_t nDmrs;
- uint8_t rbStart;
+ uint8_t nDmrs;
+ uint8_t rbStart;
#ifdef LTE_TDD
- uint8_t iPhich;
+ uint8_t iPhich;
#endif
RgSchUlAlloc *ulAlloc;
#ifdef LTEMAC_HDFDD
* -# RFAILED
*
**/
-#ifdef ANSI
-S16 rgSCHUhmHqEntInit
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else
-S16 rgSCHUhmHqEntInit(cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif
+S16 rgSCHUhmHqEntInit(RgSchCellCb *cellCb,RgSchUeCb *ueCb)
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ueCb, cellCb);
#ifdef LTE_TDD
* -#RFAILED otherwise
*
**/
-#ifdef ANSI
-S16 rgSCHUhmGetAvlHqProc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchUlHqProcCb **hqP
-)
-#else
-S16 rgSCHUhmGetAvlHqProc (cell, ue, hqP)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchUlHqProcCb **hqP;
-#endif
+S16 rgSCHUhmGetAvlHqProc(RgSchCellCb *cell,RgSchUeCb *ue,RgSchUlHqProcCb **hqP)
{
RgSchCmnUlCell *cellUl = RG_SCH_CMN_GET_UL_CELL(cell);
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
* -# Pointer to harq process corresponding to index
* -# NULL
**/
-#ifdef ANSI
-RgSchUlHqProcCb* rgSCHUhmGetUlProcByTime
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteTimingInfo frm
-)
-#else
-RgSchUlHqProcCb* rgSCHUhmGetUlProcByTime(cell, ue, frm)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo frm;
-#endif
+RgSchUlHqProcCb* rgSCHUhmGetUlProcByTime(RgSchCellCb *cell,RgSchUeCb *ue, CmLteTimingInfo frm)
{
RgSchCmnUlUe *ueUl = RG_SCH_CMN_GET_UL_UE(ue, cell);
CmLListCp *lst = &ueUl->hqEnt.inUse;
* File: rg_sch_utl.c
*
*/
-#ifdef ANSI
-F64 rgSCHUtlPower
-(
-F64 x,
-F64 n
-)
-#else
-F64 rgSCHUtlPower(x, n)
-F64 x;
-F64 n;
-#endif
+F64 rgSCHUtlPower(F64 x,F64 n)
{
if( n==0 )
{
* File: rg_sch_utl.c
*
*/
-#ifdef ANSI
-uint32_t rgSCHUtlParse
-(
-uint8_t *buff,
-uint8_t startPos,
-uint8_t endPos,
-uint8_t buffSize
-)
-#else
-uint32_t rgSCHUtlParse(buff, startPos, endPos, buffSize)
-uint8_t *buff;
-uint8_t startPos;
-uint8_t endPos;
-uint8_t buffSize;
-#endif
+uint32_t rgSCHUtlParse(uint8_t *buff,uint8_t startPos,uint8_t endPos,uint8_t buffSize)
{
uint8_t pointToChar,pointToEnd, loop;
uint8_t size = endPos - startPos;
* File: rg_sch_utl.c
*
*/
-#ifdef ANSI
-uint8_t rgSCHUtlFindDist
-(
-uint16_t crntTime,
-uint16_t tempIdx
-)
-#else
-uint8_t rgSCHUtlFindDist(crntTime, tempIdx)
-uint16_t crntTime;
-uint16_t tempIdx;
-#endif
+uint8_t rgSCHUtlFindDist(uint16_t crntTime,uint16_t tempIdx)
{
uint8_t dist =0;
/* ccpu00137113- Distance is not estimated properly if the periodicity is
* -# FALSE otherwise
*
**/
-#ifdef ANSI
Bool rgSCHUtlPdcchAvail
(
-RgSchCellCb *cell,
-RgSchPdcchInfo *pdcchInfo,
-CmLteAggrLvl aggrLvl,
-RgSchPdcch **pdcch
+RgSchCellCb *cell,
+RgSchPdcchInfo *pdcchInfo,
+CmLteAggrLvl aggrLvl,
+RgSchPdcch **pdcch
)
-#else
-Bool rgSCHUtlPdcchAvail(cell, pdcchInfo, aggrLvl, pdcch)
-RgSchCellCb *cell;
-RgSchPdcchInfo *pdcchInfo;
-CmLteAggrLvl aggrLvl;
-RgSchPdcch **pdcch;
-#endif
{
uint8_t *byte;
uint16_t offset;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlPdcchPut
-(
-RgSchCellCb *cell,
-RgSchPdcchInfo *pdcchInfo,
-RgSchPdcch *pdcch
-)
-#else
-Void rgSCHUtlPdcchPut(cell, pdcchInfo, pdcch)
-RgSchCellCb *cell;
-RgSchPdcchInfo *pdcchInfo;
-RgSchPdcch *pdcch;
-#endif
+Void rgSCHUtlPdcchPut(RgSchCellCb *cell,RgSchPdcchInfo *pdcchInfo,RgSchPdcch *pdcch)
{
uint8_t *byte;
uint8_t offset;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlPdcchInit
-(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm,
-uint16_t nCce
-)
-#else
-Void rgSCHUtlPdcchInit(cell, subFrm, nCce)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-uint16_t nCce;
-#endif
+Void rgSCHUtlPdcchInit(RgSchCellCb *cell,RgSchDlSf *subFrm,uint16_t nCce)
{
RgSchPdcchInfo *pdcchInfo;
RgSchPdcch *pdcch;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSchSFRTotalPoolFree
-(
- RgSchSFRTotalPoolInfo *sfrTotalPoolInfo,
- RgSchCellCb *cell
- )
-#else
-Void rgSchSFRTotalPoolFree(sfrTotalPoolInfo, cell)
- RgSchSFRTotalPoolInfo *sfrTotalPoolInfo;
- RgSchCellCb *cell;
-#endif
+Void rgSchSFRTotalPoolFree(RgSchSFRTotalPoolInfo *sfrTotalPoolInfo,RgSchCellCb *cell)
{
CmLListCp *l;
CmLList *n;
* @return Void
*
**/
-#ifdef ANSI
-S16 rgSchSFRTotalPoolInit
-(
- RgSchCellCb *cell,
- RgSchDlSf *sf
- )
-#else
-static Void rgSchSFRTotalPoolInit(cell, sf)
- RgSchCellCb *cell;
- RgSchDlSf *sf;
-#endif
+S16 rgSchSFRTotalPoolInit(RgSchCellCb *cell,RgSchDlSf *sf)
{
/* Initialise the variables */
RgSchSFRPoolInfo *sfrCCPool;
* @return S16
*
**/
-#ifdef ANSI
-S16 rgSchDSFRRntpInfoInit
-(
- TknStrOSXL *rntpPtr,
- RgSchCellCb *cell,
- uint16_t bw
- )
-#else
-static Void rgSchDSFRRntpInfoInit(rntpPtr, cell, bw)
- TknStrOSXL *rntpPtr;
- RgSchCellCb *cell;
- uint16_t bw;
-#endif
+S16 rgSchDSFRRntpInfoInit(TknStrOSXL *rntpPtr,RgSchCellCb *cell,uint16_t bw)
{
Inst inst = cell->instIdx;
uint16_t len;
* @return S16
*
**/
-#ifdef ANSI
-S16 rgSchDSFRRntpInfoFree
-(
- TknStrOSXL *rntpPtr,
- RgSchCellCb *cell,
- uint16_t bw
- )
-#else
-static Void rgSchDSFRRntpInfoFree(rntpPtr, cell, bw)
- TknStrOSXL *rntpPtr;
- RgSchCellCb *cell;
- uint16_t bw;
-#endif
+S16 rgSchDSFRRntpInfoFree(TknStrOSXL *rntpPtr,RgSchCellCb *cell,uint16_t bw)
{
Inst inst = cell->instIdx;
uint16_t len;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSchSFRResetPoolVariables
-(
- RgSchCellCb *cell,
- RgSchSFRPoolInfo *pool
- )
-#else
-static Void rgSchSFRResetPoolVariables(cell, pool)
- RgSchCellCb *cell;
- RgSchSFRPoolInfo *pool;
-#endif
+static Void rgSchSFRResetPoolVariables(RgSchCellCb *cell,RgSchSFRPoolInfo *pool)
{
pool->bwAlloced = 0;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHSFRUtlTotalPoolReset
-(
- RgSchCellCb *cell,
- RgSchDlSf *subFrm
- )
-#else
-static Void rgSCHSFRUtlTotalPoolReset(cell, subFrm)
- RgSchCellCb *cell;
- RgSchDlSf *subFrm;
-#endif
+static Void rgSCHSFRUtlTotalPoolReset(RgSchCellCb *cell,RgSchDlSf *subFrm)
{
RgSchSFRTotalPoolInfo *totalPoolInfo = &subFrm->sfrTotalPoolInfo;
CmLListCp *ccPool = &totalPoolInfo->ccPool;
* -# RFAILED
**/
#ifdef LTE_TDD
-#ifdef ANSI
S16 rgSCHUtlAddPhich
(
-RgSchCellCb *cell,
-CmLteTimingInfo frm,
-uint8_t hqFeedBack,
-uint8_t nDmrs,
-uint8_t rbStart,
-uint8_t iPhich
+RgSchCellCb *cell,
+CmLteTimingInfo frm,
+uint8_t hqFeedBack,
+uint8_t nDmrs,
+uint8_t rbStart,
+uint8_t iPhich
)
#else
-S16 rgSCHUtlAddPhich(cell, frm, hqFeedBack, nDmrs, rbStart, iPhich)
-RgSchCellCb *cell;
-CmLteTimingInfo frm;
-uint8_t hqFeedBack;
-uint8_t nDmrs;
-uint8_t rbStart;
-uint8_t iPhich;
-#endif
-#else
-#ifdef ANSI
S16 rgSCHUtlAddPhich
(
-RgSchCellCb *cell,
-CmLteTimingInfo frm,
-uint8_t hqFeedBack,
-uint8_t nDmrs,
-uint8_t rbStart,
-Bool isForMsg3
+RgSchCellCb *cell,
+CmLteTimingInfo frm,
+uint8_t hqFeedBack,
+uint8_t nDmrs,
+uint8_t rbStart,
+Bool isForMsg3
)
-#else
-S16 rgSCHUtlAddPhich(cell, frm, hqFeedBack, nDmrs, rbStart, isForMsg3)
-RgSchCellCb *cell;
-CmLteTimingInfo frm;
-uint8_t hqFeedBack;
-uint8_t nDmrs;
-uint8_t rbStart;
-Bool isForMsg3;
-#endif
#endif
{
S16 ret;
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHUtlPhichReset
-(
-RgSchCellCb *cell,
-RgSchDlSf *subFrm
-)
-#else
-static Void rgSCHUtlPhichReset(cell, subFrm)
-RgSchCellCb *cell;
-RgSchDlSf *subFrm;
-#endif
+static Void rgSCHUtlPhichReset(RgSchCellCb *cell,RgSchDlSf *subFrm)
{
RgSchPhichInfo *phichInfo;
RgSchPhich *phich;
* @return Void
*
**/
-#ifdef ANSI
-RgSchDlSf* rgSCHUtlSubFrmGet
-(
-RgSchCellCb *cell,
-CmLteTimingInfo frm
-)
-#else
-RgSchDlSf* rgSCHUtlSubFrmGet(cell, frm)
-RgSchCellCb *cell;
-CmLteTimingInfo frm;
-#endif
+RgSchDlSf* rgSCHUtlSubFrmGet(RgSchCellCb *cell,CmLteTimingInfo frm)
{
RgSchDlSf *sf;
uint8_t dlIdx;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlSubFrmPut
-(
-RgSchCellCb *cell,
-RgSchDlSf *sf
-)
-#else
-Void rgSCHUtlSubFrmPut(cell, sf)
-RgSchCellCb *cell;
-RgSchDlSf *sf;
-#endif
+Void rgSCHUtlSubFrmPut(RgSchCellCb *cell,RgSchDlSf *sf)
{
uint8_t i;
uint8_t noRaRsps;
* @return uint8_t
*
**/
-#ifdef ANSI
-uint8_t rgSCHUtlLog32bitNbase2
-(
-uint32_t n
-)
-#else
-uint8_t rgSCHUtlLog32bitNbase2(n)
-uint32_t n;
-#endif
+uint8_t rgSCHUtlLog32bitNbase2(uint32_t n)
{
- uint32_t b[] = {0x2, 0xc, 0xf0, 0xff00, 0xffff0000};
- uint32_t s[] = {1, 2, 4, 8, 16};
- S16 i;
- uint8_t ret = 0;
+ uint32_t b[] = {0x2, 0xc, 0xf0, 0xff00, 0xffff0000};
+ uint32_t s[] = {1, 2, 4, 8, 16};
+ S16 i;
+ uint8_t ret = 0;
for (i=4; i >= 0; i--)
{
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlDlRelPdcchFbk
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t isAck
-)
-#else
-Void rgSCHUtlDlRelPdcchFbk(cell, ue, isAck)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t isAck;
-#endif
+Void rgSCHUtlDlRelPdcchFbk(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t isAck)
{
cell->sc.apis->rgSCHDlRelPdcchFbk(cell, ue, isAck);
return;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlDlProcAck
-(
-RgSchCellCb *cell,
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHUtlDlProcAck(cell, hqP)
-RgSchCellCb *cell;
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHUtlDlProcAck(RgSchCellCb *cell,RgSchDlHqProcCb *hqP)
{
cell->sc.apis->rgSCHDlProcAck(cell, hqP);
return;
* @param[out] RgSchErrInfo *err
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlHdlCrntiCE
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHUtlHdlCrntiCE(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHUtlHdlCrntiCE(RgSchCellCb *cell,RgSchUeCb *ue)
{
cell->sc.apis->rgSCHHdlCrntiCE(cell, ue);
* File :
*
**********************************************************/
-#ifdef ANSI
-static uint16_t rgSCHUtlCalcTotalRegs
-(
-uint8_t bw,
-uint8_t cfi,
-uint8_t numAntna,
-Bool isEcp
-)
-#else
-static uint16_t rgSCHUtlCalcTotalRegs(bw, cfi, numAntna, isEcp)
-uint8_t bw;
-uint8_t cfi;
-uint8_t numAntna;
-Bool isEcp;
-#endif
+static uint16_t rgSCHUtlCalcTotalRegs(uint8_t bw,uint8_t cfi,uint8_t numAntna,Bool isEcp)
{
uint16_t regs = 0;
* File :
*
**********************************************************/
-#ifdef ANSI
-static uint16_t rgSCHUtlCalcPhichRegs
-(
-uint8_t bw,
-uint8_t ng6
-)
-#else
-static uint16_t rgSCHUtlCalcPhichRegs(bw, ng6)
-uint8_t bw;
-uint8_t ng6;
-#endif
+static uint16_t rgSCHUtlCalcPhichRegs(uint8_t bw,uint8_t ng6)
{
/* ccpu00115330: Corrected the calculation for number of PHICH groups*/
return (RGSCH_CEIL((bw * ng6) ,(8 * 6)) * RGSCH_NUM_REG_PER_PHICH_GRP);
* @return N_cce (uint8_t)
*
**/
-#ifdef ANSI
-uint8_t rgSCHUtlCalcNCce
-(
-uint8_t bw,
-RgrPhichNg ng,
-uint8_t cfi,
-uint8_t mPhich,
-uint8_t numAntna,
-Bool isEcp
-)
-#else
-uint8_t rgSCHUtlCalcNCce(bw, ng, cfi, mPhich, numAntna, isEcp)
-uint8_t bw;
-RgrPhichNg ng;
-uint8_t cfi;
-uint8_t mPhich;
-uint8_t numAntna;
-Bool isEcp;
-#endif
+uint8_t rgSCHUtlCalcNCce(uint8_t bw,RgrPhichNg ng,uint8_t cfi,uint8_t mPhich,uint8_t numAntna,Bool isEcp)
{
- uint16_t totalRegs;
- uint16_t phichRegs;
- uint16_t cceRegs;
- uint8_t ng6;
+ uint16_t totalRegs;
+ uint16_t phichRegs;
+ uint16_t cceRegs;
+ uint8_t ng6;
/*ccpu00116757- removed check for (ERRCLASS & ERRCLS_DEBUG)*/
* @return N_cce (uint8_t)
*
**/
-#ifdef ANSI
-uint8_t rgSCHUtlCalcNCce
-(
-uint8_t bw,
-RgrPhichNg ng,
-uint8_t cfi,
-uint8_t numAntna,
-Bool isEcp
-)
-#else
-uint8_t rgSCHUtlCalcNCce(bw, ng, cfi, numAntna, isEcp)
-uint8_t bw;
-RgrPhichNg ng;
-uint8_t cfi;
-uint8_t numAntna;
-Bool isEcp;
-#endif
+uint8_t rgSCHUtlCalcNCce(uint8_t bw,RgrPhichNg ng,uint8_t cfi,uint8_t numAntna,Bool isEcp)
{
- uint16_t totalRegs;
- uint16_t phichRegs;
- uint16_t cceRegs;
- uint8_t ng6;
+ uint16_t totalRegs;
+ uint16_t phichRegs;
+ uint16_t cceRegs;
+ uint8_t ng6;
/*ccpu00116757- removed check for (ERRCLASS & ERRCLS_DEBUG)*/
* @return S16
**/
#ifdef LTE_TDD
-#ifdef ANSI
-S16 rgSCHUtlGetPhichInfo
-(
-RgSchUlHqProcCb *hqProc,
-uint8_t *rbStartRef,
-uint8_t *nDmrsRef,
-uint8_t *iPhich
-)
-#else
-S16 rgSCHUtlGetPhichInfo(hqProc, rbStartRef, nDmrsRef, iPhich)
-RgSchUlHqProcCb *hqProc;
-uint8_t *rbStartRef;
-uint8_t *nDmrsRef;
-uint8_t *iPhich;
-#endif
-#else
-#ifdef ANSI
-S16 rgSCHUtlGetPhichInfo
-(
-RgSchUlHqProcCb *hqProc,
-uint8_t *rbStartRef,
-uint8_t *nDmrsRef
-)
+S16 rgSCHUtlGetPhichInfo(RgSchUlHqProcCb *hqProc,uint8_t *rbStartRef,uint8_t *nDmrsRef,uint8_t *iPhich)
#else
-S16 rgSCHUtlGetPhichInfo(hqProc, rbStartRef, nDmrsRef)
-RgSchUlHqProcCb *hqProc;
-uint8_t *rbStartRef;
-uint8_t *nDmrsRef;
-#endif
+S16 rgSCHUtlGetPhichInfo(RgSchUlHqProcCb *hqProc,uint8_t *rbStartRef,uint8_t *nDmrsRef)
#endif
{
/* ACC-TDD */
* @param[out] uint8_t *hqPId
* @return S16
**/
-#ifdef ANSI
S16 rgSCHUtlAllocRcptInfo
(
RgSchUlAlloc *alloc,
Bool *ndi,
uint8_t *hqPId
)
-#else
-S16 rgSCHUtlAllocRcptInfo(alloc, rnti, iMcsRef, rbStartRef, numRbRef,
- rvRef, size, modType, isRtx, nDmrs, ndi,
- hqPId)
-RgSchUlAlloc *alloc;
-CmLteRnti *rnti;
-uint8_t *iMcsRef;
-uint8_t *rbStartRef;
-uint8_t *numRbRef;
-uint8_t *rvRef;
-uint16_t *size;
-TfuModScheme *modType;
-Bool *isRtx;
-uint8_t *nDmrs;
-Bool *ndi;
-uint8_t *hqPId;
-#endif
{
/* Modulation order for 16qam UEs would be
* min(4,modulation order in grant). Please refer to 36.213-8.6.1*/
* @param[out] TfuModScheme *modType
* @return S16
**/
-#ifdef ANSI
-S16 rgSCHUtlAllocRcptInfo
-(
-RgSchCellCb *cell,
-RgSchUlAlloc *alloc,
-CmLteTimingInfo *timeInfo,
-TfuUeUlSchRecpInfo *recpReq
-)
-#else
-S16 rgSCHUtlAllocRcptInfo(cell, alloc, timeInfo, recpReq)
-RgSchCellCb *cell;
-RgSchUlAlloc *alloc;
-CmLteTimingInfo *timeInfo;
-TfuUeUlSchRecpInfo *recpReq;
-#endif
+S16 rgSCHUtlAllocRcptInfo(RgSchCellCb *cell,RgSchUlAlloc *alloc,CmLteTimingInfo *timeInfo,TfuUeUlSchRecpInfo *recpReq)
{
#if (ERRCLASS & ERRCLS_DEBUG)
if ((alloc == NULLP) || (alloc->hqProc == NULLP))
* @return Void
*
**/
-#ifdef ANSI
-static Void rgSCHUtlUpdPrachOcc
-(
-RgSchCellCb *cell,
-RgrTddPrachInfo *cellCfg
-)
-#else
-static Void rgSCHUtlUpdPrachOcc(cell, cellCfg)
-RgSchCellCb *cell;
-RgrTddPrachInfo *cellCfg;
-#endif
+static Void rgSCHUtlUpdPrachOcc(RgSchCellCb *cell,RgrTddPrachInfo *cellCfg)
{
uint8_t idx;
uint8_t count = 0;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlPrachCfgInit
-(
-RgSchCellCb *cell,
-RgrCellCfg *cellCfg
-)
-#else
-Void rgSCHUtlPrachCfgInit(cell, cellCfg)
-RgSchCellCb *cell;
-RgrCellCfg *cellCfg;
-#endif
+Void rgSCHUtlPrachCfgInit(RgSchCellCb *cell,RgrCellCfg *cellCfg)
{
uint8_t idx;
uint8_t subfrmIdx;
* @return Void
*
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrCellCfg
-(
-RgSchCellCb *cell,
-RgrCellCfg *cellCfg,
-RgSchErrInfo *errInfo
-)
-#else
-S16 rgSCHUtlRgrCellCfg(cell, cellCfg, errInfo)
-RgSchCellCb *cell;
-RgrCellCfg *cellCfg;
-RgSchErrInfo *errInfo;
-#endif
+S16 rgSCHUtlRgrCellCfg(RgSchCellCb *cell,RgrCellCfg *cellCfg,RgSchErrInfo *errInfo)
{
uint8_t i;
uint8_t sfn=0;
* @return Void
*
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrCellCfg
-(
-RgSchCellCb *cell,
-RgrCellCfg *cellCfg,
-RgSchErrInfo *errInfo
-)
-#else
-S16 rgSCHUtlRgrCellCfg(cell, cellCfg, errInfo)
-RgSchCellCb *cell;
-RgrCellCfg *cellCfg;
-RgSchErrInfo *errInfo;
-#endif
+S16 rgSCHUtlRgrCellCfg(RgSchCellCb *cell,RgrCellCfg *cellCfg,RgSchErrInfo *errInfo)
{
uint8_t i;
RgSchDlSf *sf;
* @return Void
*
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrCellRecfg
-(
-RgSchCellCb *cell,
-RgrCellRecfg *recfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHUtlRgrCellRecfg(cell, recfg, err)
-RgSchCellCb *cell;
-RgrCellRecfg *recfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHUtlRgrCellRecfg(RgSchCellCb *cell,RgrCellRecfg *recfg,RgSchErrInfo *err)
{
return (cell->sc.apis->rgSCHRgrCellRecfg(cell, recfg, err));
}
* @return Void
*
**/
-#ifdef ANSI
-S16 rgSCHUtlFreeCell
-(
-RgSchCellCb *cell
-)
-#else
-S16 rgSCHUtlFreeCell(cell)
-RgSchCellCb *cell;
-#endif
+S16 rgSCHUtlFreeCell(RgSchCellCb *cell)
{
uint8_t i;
CmLListCp *lst;
* @return S16
*
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrUeCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeCfg *cfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHUtlRgrUeCfg(cell, ue, cfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeCfg *cfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHUtlRgrUeCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeCfg *cfg,RgSchErrInfo *err)
{
/* Assign TM 1 as UE's default TM */
* @return S16
*
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrLcCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *dlLc,
-RgrLchCfg *cfg,
-RgSchErrInfo *errInfo
-)
-#else
-S16 rgSCHUtlRgrLcCfg(cell, ue, dlLc, cfg, errInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *dlLc;
-RgrLchCfg *cfg;
-RgSchErrInfo *errInfo;
-#endif
+S16 rgSCHUtlRgrLcCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *dlLc,RgrLchCfg *cfg,RgSchErrInfo *errInfo)
{
return (cell->sc.apis->rgSCHRgrLchCfg(cell, ue, dlLc, cfg, errInfo));
}
* @return S16
*
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrLcRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *dlLc,
-RgrLchRecfg *recfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHUtlRgrLcRecfg(cell, ue, dlLc, recfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *dlLc;
-RgrLchRecfg *recfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHUtlRgrLcRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *dlLc,RgrLchRecfg *recfg,RgSchErrInfo *err)
{
return (cell->sc.apis->rgSCHRgrLchRecfg(cell, ue, dlLc, recfg, err));
}
* @return S16
*
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrLcDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteLcId lcId,
-uint8_t lcgId
-)
-#else
-S16 rgSCHUtlRgrLcDel(cell, ue, lcId, lcgId)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteLcId lcId;
-uint8_t lcgId;
-#endif
+S16 rgSCHUtlRgrLcDel(RgSchCellCb *cell,RgSchUeCb *ue,CmLteLcId lcId,uint8_t lcgId)
{
cell->sc.apis->rgSCHRgrLchDel(cell, ue, lcId, lcgId);
* @return S16
*
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrLcgCfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrLcgCfg *cfg,
-RgSchErrInfo *errInfo
-)
-#else
-S16 rgSCHUtlRgrLcgCfg(cell, ue, cfg, errInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrLcgCfg *cfg;
-RgSchErrInfo *errInfo;
-#endif
+S16 rgSCHUtlRgrLcgCfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrLcgCfg *cfg,RgSchErrInfo *errInfo)
{
return (cell->sc.apis->rgSCHRgrLcgCfg(cell, ue, &(ue->ul.lcgArr[cfg->ulInfo.lcgId]), cfg, errInfo));
}
* @return S16
*
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrLcgRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrLcgRecfg *recfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHUtlRgrLcgRecfg(cell, ue, recfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrLcgRecfg *recfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHUtlRgrLcgRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrLcgRecfg *recfg,RgSchErrInfo *err)
{
return (cell->sc.apis->rgSCHRgrLcgRecfg(cell, ue, &(ue->ul.lcgArr[recfg->ulRecfg.lcgId]), recfg, err));
} /* rgSCHUtlRgrLcRecfg */
* @return S16
*
**/
-#ifdef ANSI
-Void rgSCHUtlRgrLcgDel
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t lcgId
-)
-#else
-Void rgSCHUtlRgrLcgDel(cell, ue, lcgId)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t lcgId;
-#endif
+Void rgSCHUtlRgrLcgDel(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t lcgId)
{
cell->sc.apis->rgSCHFreeLcg(cell, ue, &ue->ul.lcgArr[lcgId]);
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlDoaInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-TfuDoaRpt *doaRpt
-)
-#else
-Void rgSCHUtlDoaInd(cell, ue, doaRpt)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-TfuDoaRpt *doaRpt;
-#endif
+Void rgSCHUtlDoaInd(RgSchCellCb *cell,RgSchUeCb *ue,TfuDoaRpt *doaRpt)
{
ue->mimoInfo.doa.pres = PRSNT_NODEF;
ue->mimoInfo.doa.val = doaRpt->doa;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlDlCqiInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-TfuDlCqiRpt *dlCqiRpt,
-CmLteTimingInfo timingInfo
-)
-#else
-Void rgSCHUtlDlCqiInd(cell, ue, dlCqiRpt, timingInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-TfuDlCqiRpt *dlCqiRpt;
-CmLteTimingInfo timingInfo;
-#endif
+Void rgSCHUtlDlCqiInd(RgSchCellCb *cell,RgSchUeCb *ue,TfuDlCqiRpt *dlCqiRpt,CmLteTimingInfo timingInfo)
{
RgSchCellCb *sCellCb = NULLP;
if (dlCqiRpt->isPucchInfo)
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlSrsInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-TfuSrsRpt *srsRpt,
-CmLteTimingInfo timingInfo
-)
-#else
-Void rgSCHUtlSrsInd(cell, ue, srsRpt, timingInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-TfuSrsRpt *srsRpt;
-CmLteTimingInfo timingInfo;
-#endif
+Void rgSCHUtlSrsInd(RgSchCellCb *cell,RgSchUeCb *ue,TfuSrsRpt *srsRpt,CmLteTimingInfo timingInfo)
{
cell->sc.apis->rgSCHSrsInd(cell, ue, srsRpt, timingInfo);
return;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlDlTARpt
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHUtlDlTARpt(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHUtlDlTARpt(RgSchCellCb *cell,RgSchUeCb *ue)
{
cell->sc.apis->rgSCHDlTARpt(cell, ue);
return;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlDlRlsSubFrm
-(
-RgSchCellCb *cell,
-CmLteTimingInfo subFrm
-)
-#else
-Void rgSCHUtlDlRlsSubFrm(cell, subFrm)
-RgSchCellCb *cell;
-CmLteTimingInfo subFrm;
-#endif
+Void rgSCHUtlDlRlsSubFrm(RgSchCellCb *cell,CmLteTimingInfo subFrm)
{
cell->sc.apis->rgSCHDlRlsSubFrm(cell, subFrm);
return;
*
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlUpdACqiTrigWt
-(
-RgSchUeCb *ue,
-RgSchUeCellInfo *cellInfo,
-uint8_t isAck
-)
-#else
-Void rgSCHUtlUpdACqiTrigWt(ue,cellInfo, isAck)
-RgSchUeCb *ue;
-RgSchUeCellInfo *cellInfo;
-uint8_t isAck;
-#endif
+Void rgSCHUtlUpdACqiTrigWt(RgSchUeCb *ue,RgSchUeCellInfo *cellInfo,uint8_t isAck )
{
#ifdef LTE_ADV
uint8_t triggerSet = 0;
*
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlHdlUlTransInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteTimingInfo timingInfo
-)
-#else
-Void rgSCHUtlHdlUlTransInd(cell, ue, timingInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo timingInfo;
-#endif
+Void rgSCHUtlHdlUlTransInd(RgSchCellCb *cell,RgSchUeCb *ue,CmLteTimingInfo timingInfo)
{
cell->sc.apis->rgSCHHdlUlTransInd(cell, ue, timingInfo);
return;
*
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlHdlCrcInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteTimingInfo timingInfo
-)
-#else
-Void rgSCHUtlHdlCrcInd(cell, ue, timingInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo timingInfo;
-#endif
+Void rgSCHUtlHdlCrcInd(RgSchCellCb *cell,RgSchUeCb *ue,CmLteTimingInfo timingInfo)
{
cell->sc.apis->rgSCHUlCrcInd(cell, ue, timingInfo);
return;
*
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlHdlCrcFailInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteTimingInfo timingInfo
-)
-#else
-Void rgSCHUtlHdlCrcFailInd(cell, ue, timingInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo timingInfo;
-#endif
+Void rgSCHUtlHdlCrcFailInd(RgSchCellCb *cell,RgSchUeCb *ue,CmLteTimingInfo timingInfo)
{
cell->sc.apis->rgSCHUlCrcFailInd(cell, ue, timingInfo);
return;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlDlProcAddToRetx
-(
-RgSchCellCb *cell,
-RgSchDlHqProcCb *hqP
-)
-#else
-Void rgSCHUtlDlProcAddToRetx(cell, hqP)
-RgSchCellCb *cell;
-RgSchDlHqProcCb *hqP;
-#endif
+Void rgSCHUtlDlProcAddToRetx(RgSchCellCb *cell,RgSchDlHqProcCb *hqP)
{
cell->sc.apis->rgSCHDlProcAddToRetx(cell, hqP);
return;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlDlHqPTbAddToTx
-(
-RgSchDlSf *subFrm,
-RgSchDlHqProcCb *hqP,
-uint8_t tbIdx
-)
-#else
-Void rgSCHUtlDlHqPTbAddToTx(subFrm, hqP, tbIdx)
-RgSchDlSf *subFrm;
-RgSchDlHqProcCb *hqP;
-uint8_t tbIdx;
-#endif
+Void rgSCHUtlDlHqPTbAddToTx(RgSchDlSf *subFrm,RgSchDlHqProcCb *hqP,uint8_t tbIdx)
{
RgSchUeCb *ue = NULLP;
RgSchCellCb *cell = hqP->hqE->cell;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlDlHqPTbRmvFrmTx
-(
-RgSchDlSf *subFrm,
-RgSchDlHqProcCb *hqP,
-uint8_t tbIdx,
-Bool isRepeting
-)
-#else
-Void rgSCHUtlDlHqPTbRmvFrmTx(subFrm, hqP, tbIdx, isRepeting)
-RgSchDlSf *subFrm;
-RgSchDlHqProcCb *hqP;
-uint8_t tbIdx;
-Bool isRepeting;
-#endif
+Void rgSCHUtlDlHqPTbRmvFrmTx(RgSchDlSf *subFrm,RgSchDlHqProcCb *hqP,uint8_t tbIdx,Bool isRepeting)
{
RgSchCellCb *cell = NULLP;
/* Check with TDD */
* @param[in] ueId
* @return RgSchUeCb*
**/
-#ifdef ANSI
-RgSchCellCb* rgSchUtlGetCellCb
-(
- Inst inst,
- uint16_t cellId
-)
-#else
-RgSchCellCb* rgSchUtlGetCellCb(inst, cellId)
- Inst inst;
- uint16_t cellId;
-#endif
+RgSchCellCb* rgSchUtlGetCellCb(Inst inst,uint16_t cellId)
{
- RgSchCellCb *cellCb = NULLP;
- uint8_t strtCellId;
-
+ RgSchCellCb *cellCb = NULLP;
+ uint8_t strtCellId;
strtCellId = rgSchCb[inst].genCfg.startCellId;
cellCb = rgSchCb[inst].cells[cellId - strtCellId];
* @param[in] RgSchUeCb *ue
* @return uint8_t servCellIdx
**/
-#ifdef ANSI
-uint8_t rgSchUtlGetServCellIdx
-(
- Inst inst,
- uint16_t cellId,
- RgSchUeCb *ue
-)
-#else
-uint8_t rgSchUtlGetServCellIdx(inst,cellId,ue)
- Inst inst;
- uint16_t cellId;
- RgSchUeCb *ue;
-#endif
+uint8_t rgSchUtlGetServCellIdx(Inst inst, uint16_t cellId, RgSchUeCb *ue)
{
uint8_t servCellIdx;
uint16_t strtCellId;
strtCellId = rgSchCb[inst].genCfg.startCellId;
-
servCellIdx = ue->cellIdToCellIdxMap[cellId - strtCellId];
-
return (servCellIdx);
} /* rgSchUtlGetCellCb */
* @param[in] ueId
* @return RgSchUeCb*
**/
-#ifdef ANSI
-S16 rgSchUtlVldtCellId
-(
- Inst inst,
- uint16_t cellId
-)
-#else
-S16 rgSchUtlVldtCellId(inst, cellId)
- Inst inst;
- uint16_t cellId;
-#endif
+S16 rgSchUtlVldtCellId(Inst inst,uint16_t cellId)
{
uint8_t strtCellId;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrUeRecfg
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeRecfg *ueRecfg,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHUtlRgrUeRecfg(cell, ue, ueRecfg, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeRecfg *ueRecfg;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHUtlRgrUeRecfg(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeRecfg *ueRecfg,RgSchErrInfo *err)
{
/* Changes for UE Category Reconfiguration feature addition */
RgSchCmnUe *ueSch = RG_SCH_CMN_GET_UE(ue, cell);
* @param[in] RgSchDlLcCb* svc
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlFreeDlLc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *svc
-)
-#else
-Void rgSCHUtlFreeDlLc(cell, ue, svc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *svc;
-#endif
+Void rgSCHUtlFreeDlLc(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *svc)
{
cell->sc.apis->rgSCHFreeDlLc(cell, ue, svc);
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlFreeUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHUtlFreeUe(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHUtlFreeUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
#ifdef LTE_TDD
rgSCHUtlDelUeANFdbkInfo(ue,RGSCH_PCELL_INDEX);
* @param[in] RgSchDlLcCb* lc
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlDlDedBoUpd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchDlLcCb *lc
-)
-#else
-Void rgSCHUtlDlDedBoUpd(cell, ue, lc)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchDlLcCb *lc;
-#endif
+Void rgSCHUtlDlDedBoUpd(RgSchCellCb *cell,RgSchUeCb *ue,RgSchDlLcCb *lc)
{
cell->sc.apis->rgSCHDlDedBoUpd(cell, ue, lc);
return;
* @param[in] RgSchRaCb *raCb
*
**/
-#ifdef ANSI
-Void rgSCHUtlRecMsg3Alloc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchRaCb *raCb
-)
-#else
-Void rgSCHUtlRecMsg3Alloc(cell, ue, raCb)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchRaCb *raCb;
-#endif
+Void rgSCHUtlRecMsg3Alloc(RgSchCellCb *cell,RgSchUeCb *ue,RgSchRaCb *raCb)
{
cell->sc.apis->rgSCHUlRecMsg3Alloc(cell, ue, raCb);
return;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlUpdUlHqProc
-(
-RgSchCellCb *cell,
-RgSchUlHqProcCb *curProc,
-RgSchUlHqProcCb *oldProc
-)
-#else
-S16 rgSCHUtlUpdUlHqProc(cell, curProc, oldProc)
-RgSchCellCb *cell;
-RgSchUlHqProcCb *curProc;
-RgSchUlHqProcCb *oldProc;
-#endif
+S16 rgSCHUtlUpdUlHqProc(RgSchCellCb *cell,RgSchUlHqProcCb *curProc,RgSchUlHqProcCb *oldProc)
{
return (cell->sc.apis->rgSCHUpdUlHqProc(cell, curProc, oldProc));
} /* rgSCHUtlUpdUlHqProc */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlContResUlGrant
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHUtlContResUlGrant(cell, ue, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHUtlContResUlGrant(RgSchCellCb *cell,RgSchUeCb *ue,RgSchErrInfo *err)
{
ue->isMsg4PdcchWithCrnti = TRUE;
-
return (cell->sc.apis->rgSCHContResUlGrant(cell, ue, err));
} /* rgSCHUtlContResUlGrant */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlSrRcvd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-CmLteTimingInfo frm,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHUtlSrRcvd(cell, ue, frm, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-CmLteTimingInfo frm;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHUtlSrRcvd(RgSchCellCb *cell,RgSchUeCb *ue,CmLteTimingInfo frm,RgSchErrInfo *err)
{
return (cell->sc.apis->rgSCHSrRcvd(cell, ue, frm, err));
} /* rgSCHUtlSrRcvd */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-Void rgSCHUtlUpdBsrShort
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t lcgId,
-uint8_t bsr,
-RgSchErrInfo *err
-)
-#else
-Void rgSCHUtlUpdBsrShort(cell, ue, lcgId, bsr, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t lcgId;
-uint8_t bsr;
-RgSchErrInfo *err;
-#endif
+Void rgSCHUtlUpdBsrShort(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t lcgId,uint8_t bsr,RgSchErrInfo *err)
{
cell->sc.apis->rgSCHUpdBsrShort(cell, ue, &ue->ul.lcgArr[lcgId], bsr, err);
return;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-Void rgSCHUtlUpdBsrTrunc
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t lcgId,
-uint8_t bsr,
-RgSchErrInfo *err
-)
-#else
-Void rgSCHUtlUpdBsrTrunc(cell, ue, lcgId, bsr, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t lcgId;
-uint8_t bsr;
-RgSchErrInfo *err;
-#endif
+Void rgSCHUtlUpdBsrTrunc(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t lcgId,uint8_t bsr,RgSchErrInfo *err)
{
cell->sc.apis->rgSCHUpdBsrTrunc(cell, ue, &ue->ul.lcgArr[lcgId], bsr, err);
return;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-Void rgSCHUtlUpdBsrLong
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t bsr0,
-uint8_t bsr1,
-uint8_t bsr2,
-uint8_t bsr3,
-RgSchErrInfo *err
-)
-#else
-Void rgSCHUtlUpdBsrLong(cell, ue, bsr0, bsr1, bsr2, bsr3, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t bsr0;
-uint8_t bsr1;
-uint8_t bsr2;
-uint8_t bsr3;
-RgSchErrInfo *err;
-#endif
+Void rgSCHUtlUpdBsrLong(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t bsr0,uint8_t bsr1,uint8_t bsr2,uint8_t bsr3,RgSchErrInfo *err)
{
uint8_t bsArr[4];
-
bsArr[0] = bsr0;
bsArr[1] = bsr1;
bsArr[2] = bsr2;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlUpdExtPhr
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgInfExtPhrCEInfo * extPhr,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHUtlUpdExtPhr(cell, ue, extPhr, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgInfExtPhrCEInfo * extPhr;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHUtlUpdExtPhr(RgSchCellCb *cell,RgSchUeCb *ue,RgInfExtPhrCEInfo *extPhr,RgSchErrInfo *err)
{
return (cell->sc.apis->rgSCHUpdExtPhr(cell, ue, extPhr, err));
} /* rgSCHUtlUpdExtPhr */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlUpdPhr
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint8_t phr,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHUtlUpdPhr(cell, ue, phr, err)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint8_t phr;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHUtlUpdPhr(RgSchCellCb *cell,RgSchUeCb *ue,uint8_t phr,RgSchErrInfo *err)
{
return (cell->sc.apis->rgSCHUpdPhr(cell, ue, phr, err));
} /* rgSCHUtlUpdPhr */
* @param[in] TfuUlCqiRpt *ulCqiInfo
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlUlCqiInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-TfuUlCqiRpt *ulCqiInfo
-)
-#else
-Void rgSCHUtlUlCqiInd(cell, ue, ulCqiInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-TfuUlCqiRpt *ulCqiInfo;
-#endif
+Void rgSCHUtlUlCqiInd(RgSchCellCb *cell,RgSchUeCb *ue,TfuUlCqiRpt *ulCqiInfo)
{
cell->sc.apis->rgSCHUlCqiInd(cell, ue, ulCqiInfo);
return;
* @param[in] uint8_t delta
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlPucchDeltaPwrInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-S8 delta
-)
-#else
-Void rgSCHUtlPucchDeltaPwrInd(cell, ue, delta)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-S8 delta;
-#endif
+Void rgSCHUtlPucchDeltaPwrInd(RgSchCellCb *cell,RgSchUeCb *ue,S8 delta)
{
cell->sc.apis->rgSCHPucchDeltaPwrInd(cell, ue, delta);
return;
* @param[in] RgSchUeCb *ue
* @return S16
**/
-#ifdef ANSI
-Void rgSCHUtlUeReset
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-Void rgSCHUtlUeReset(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+Void rgSCHUtlUeReset(RgSchCellCb *cell,RgSchUeCb *ue)
{
ue->remBoCnt = 0;
cell->sc.apis->rgSCHUeReset(cell, ue);
* @param[out] RgSchUlHqProcCb **procRef
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlUlHqProcForUe
-(
-RgSchCellCb *cell,
-CmLteTimingInfo frm,
-RgSchUeCb *ue,
-RgSchUlHqProcCb **procRef
-)
-#else
-Void rgSCHUtlUlHqProcForUe(cell, frm, ue, procRef)
-RgSchCellCb *cell;
-CmLteTimingInfo frm;
-RgSchUeCb *ue;
-RgSchUlHqProcCb **procRef;
-#endif
+Void rgSCHUtlUlHqProcForUe(RgSchCellCb *cell,CmLteTimingInfo frm,RgSchUeCb *ue,RgSchUlHqProcCb **procRef)
{
cell->sc.apis->rgSCHUlHqProcForUe(cell, frm, ue, procRef);
* @param[in] RgSchCellCb *cell
* @return RgSchUlAlloc*
**/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlFirstRcptnReq
-(
-RgSchCellCb *cell
-)
-#else
-RgSchUlAlloc *rgSCHUtlFirstRcptnReq(cell)
-RgSchCellCb *cell;
-#endif
+RgSchUlAlloc *rgSCHUtlFirstRcptnReq(RgSchCellCb *cell)
{
return (cell->sc.apis->rgSCHFirstRcptnReq(cell));
}
* @param[in] RgSchCellCb *cell
* @return RgSchUlAlloc*
**/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlNextRcptnReq
-(
-RgSchCellCb *cell,
-RgSchUlAlloc *alloc
-)
-#else
-RgSchUlAlloc *rgSCHUtlNextRcptnReq(cell, alloc)
-RgSchCellCb *cell;
-RgSchUlAlloc *alloc;
-#endif
+RgSchUlAlloc *rgSCHUtlNextRcptnReq(RgSchCellCb *cell,RgSchUlAlloc *alloc)
{
return (cell->sc.apis->rgSCHNextRcptnReq(cell, alloc));
}
* @param[in] uint8_t idx
* @return RgSchUlAlloc*
**/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlFirstHqFdbkAlloc
-(
-RgSchCellCb *cell,
-uint8_t idx
-)
-#else
-RgSchUlAlloc *rgSCHUtlFirstHqFdbkAlloc(cell, idx)
-RgSchCellCb *cell;
-uint8_t idx;
-#endif
+RgSchUlAlloc *rgSCHUtlFirstHqFdbkAlloc(RgSchCellCb *cell,uint8_t idx)
{
return (cell->sc.apis->rgSCHFirstHqFdbkAlloc(cell, idx));
}
* @param[in] RgSchCellCb *cell
* @return RgSchUlAlloc*
**/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlNextHqFdbkAlloc
-(
-RgSchCellCb *cell,
-RgSchUlAlloc *alloc,
-uint8_t idx
-)
-#else
-RgSchUlAlloc *rgSCHUtlNextHqFdbkAlloc(cell, alloc, idx)
-RgSchCellCb *cell;
-RgSchUlAlloc *alloc;
-uint8_t idx;
-#endif
+RgSchUlAlloc *rgSCHUtlNextHqFdbkAlloc(RgSchCellCb *cell,RgSchUlAlloc *alloc,uint8_t idx)
{
return (cell->sc.apis->rgSCHNextHqFdbkAlloc(cell, alloc, idx));
}
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-S16 rgSCHUtlResetSfAlloc
-(
-RgInfSfAlloc *sfAlloc,
-Bool resetCmnLcInfo,
-Bool restAlloc
-)
-#else
-S16 rgSCHUtlResetSfAlloc(sfAlloc,resetCmnLcInfo,restAlloc)
-RgInfSfAlloc *sfAlloc;
-Bool resetCmnLcInfo;
-Bool restAlloc;
-#endif
+S16 rgSCHUtlResetSfAlloc(RgInfSfAlloc *sfAlloc,Bool resetCmnLcInfo,Bool restAlloc)
{
if(TRUE == restAlloc)
{
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-S16 rgSCHUtlGetRlsHqAlloc
-(
-RgSchCellCb *cell
-)
-#else
-S16 rgSCHUtlGetRlsHqAlloc(cell)
-RgSchCellCb *cell;
-#endif
+S16 rgSCHUtlGetRlsHqAlloc(RgSchCellCb *cell)
{
uint8_t idx = 0;
Inst inst = cell->instIdx;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-S16 rgSCHUtlPutRlsHqAlloc
-(
-RgSchCellCb *cell
-)
-#else
-S16 rgSCHUtlPutRlsHqAlloc(cell)
-RgSchCellCb *cell;
-#endif
+S16 rgSCHUtlPutRlsHqAlloc(RgSchCellCb *cell)
{
uint8_t idx = 0;
Inst inst = cell->instIdx;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-S16 rgSCHUtlGetSfAlloc
-(
-RgSchCellCb *cell
-)
-#else
-S16 rgSCHUtlGetSfAlloc(cell)
-RgSchCellCb *cell;
-#endif
+S16 rgSCHUtlGetSfAlloc(RgSchCellCb *cell)
{
uint8_t idx;
uint8_t indx;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-S16 rgSCHUtlPutSfAlloc
-(
-RgSchCellCb *cell
-)
-#else
-S16 rgSCHUtlPutSfAlloc(cell)
-RgSchCellCb *cell;
-#endif
+S16 rgSCHUtlPutSfAlloc(RgSchCellCb *cell)
{
uint8_t idx;
uint8_t indx;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
S16 rgSCHUtlAllocSBuf
(
Inst inst, /* Instance of the invoking scheduler */
Data **pData, /* Pointer of the data to be returned */
Size size /* size */
)
-#else
-S16 rgSCHUtlAllocSBuf(inst, pData, size)
-Inst inst; /* Instance of the invoking scheduler */
-Data **pData; /* Pointer of the data to be returned */
-Size size; /* size */
-#endif
{
/* Moving alarm diagnostics to available scope */
* Notes: None
* File: rg_utl.c
*/
-#ifdef ANSI
Void rgSCHUtlFreeSBuf
(
Inst inst, /* Instance of the invoking scheduler */
Data **data, /* pointer to data */
Size size /* size */
)
-#else
-Void rgSCHUtlFreeSBuf(inst, data, size)
-Inst inst; /* Instance of the invoking scheduler */
-Data **data; /* pointer to data */
-Size size; /* size */
-#endif
{
S16 ret;
*
* File: rg_utl.c
*/
-#ifdef ANSI
-Void rgSCHUtlFreeWarningSiSeg
-(
-Region reg,
-Pool pool,
-CmLListCp *siPduLst
-)
-#else
-Void rgSCHUtlFreeWarningSiSeg(reg, pool, siPduLst)
-Region reg;
-Pool pool;
-CmLListCp *siPduLst;
-#endif
+Void rgSCHUtlFreeWarningSiSeg(Region reg,Pool pool,CmLListCp *siPduLst)
{
CmLList *node;
Buffer *pdu;
- while (siPduLst->first != NULLP)
- {
- node = siPduLst->first;
- pdu = (Buffer *)node->node;
- cmLListDelFrm(siPduLst, node);
- RGSCH_FREE_MSG(pdu);
- SPutSBuf(reg, pool, (Data *)node,sizeof(CmLList));
- node = NULLP;
- }
+ while (siPduLst->first != NULLP)
+ {
+ node = siPduLst->first;
+ pdu = (Buffer *)node->node;
+ cmLListDelFrm(siPduLst, node);
+ RGSCH_FREE_MSG(pdu);
+ SPutSBuf(reg, pool, (Data *)node,sizeof(CmLList));
+ node = NULLP;
+ }
return;
} /* end of rgSCHUtlFreeWarningSiSeg */
*
* File: rg_utl.c
*/
-#ifdef ANSI
-Void rgSCHUtlFreeWarningSiPdu
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHUtlFreeWarningSiPdu(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHUtlFreeWarningSiPdu(RgSchCellCb *cell)
{
CmLList *node;
Buffer *pdu;
*
* File: rg_utl.c
*/
-#ifdef ANSI
-Buffer *rgSCHUtlGetWarningSiPdu
-(
-RgSchCellCb *cell
-)
-#else
-Buffer *rgSCHUtlGetWarningSiPdu(cell)
-RgSchCellCb *cell;
-#endif
+Buffer *rgSCHUtlGetWarningSiPdu(RgSchCellCb *cell)
{
RgSchWarningSiInfo *warningSi;
RgSchWarningSiPdu *warningSiPdu;
*
* File: rg_utl.c
*/
-#ifdef ANSI
-S16 rgSCHUtlGetMcsAndNPrb
-(
-RgSchCellCb *cell,
-uint8_t *nPrb,
-uint8_t *mcs,
-MsgLen *msgLen
-)
-#else
-S16 rgSCHUtlGetMcsAndNPrb(cell, nPrb, mcs, msgLen)
-RgSchCellCb *cell;
-uint8_t *nPrb;
-uint8_t *mcs;
-MsgLen *msgLen;
-#endif
+S16 rgSCHUtlGetMcsAndNPrb(RgSchCellCb *cell,uint8_t *nPrb,uint8_t *mcs,MsgLen *msgLen)
{
RgSchWarningSiInfo *warningSi;
RgSchWarningSiPdu *warningSiPdu;
*
* File: rg_utl.c
*/
-#ifdef ANSI
-S16 rgSCHUtlCalMcsAndNPrb
-(
-RgSchCellCb *cell,
-uint8_t cfgType,
-MsgLen msgLen,
-uint8_t siId
-)
-#else
-S16 rgSCHUtlCalMcsAndNPrb(cell, nPrb, mcs, msgLen)
-RgSchCellCb *cell;
-uint8_t cfgType;
-MsgLen msgLen;
-uint8_t siId;
-#endif
+S16 rgSCHUtlCalMcsAndNPrb(RgSchCellCb *cell,uint8_t cfgType,MsgLen msgLen,uint8_t siId)
{
uint8_t mcs = 0;
uint8_t nPrb = 0;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlFillDgnParams
-(
-Inst inst,
-RgUstaDgn *dgn,
-uint8_t dgnType
-)
-#else
-Void rgSCHUtlFillDgnParams(inst, dgn, dgnType)
-Inst inst;
-RgUstaDgn *dgn;
-uint8_t dgnType;
-#endif
+Void rgSCHUtlFillDgnParams(Inst inst,RgUstaDgn *dgn,uint8_t dgnType)
{
switch(dgnType)
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlGetPstToLyr
-(
-Pst *pst,
-RgSchCb *schCb,
-Inst macInst
-)
-#else
-Void rgSCHUtlGetPstToLyr (pst, schCb, macInst)
-Pst *pst;
-RgSchCb *schCb;
-Inst macInst;
-#endif
+Void rgSCHUtlGetPstToLyr(Pst *pst,RgSchCb *schCb,Inst macInst)
{
/* Only the needed params are filled */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rgSCHUtlFillRgInfCmnLcInfo
-(
-RgSchDlSf *sf,
-RgInfSfAlloc *sfAlloc,
-CmLteLcId lcId,
-Bool sendInd
-)
-#else
-S16 rgSCHUtlFillRgInfCmnLcInfo(sf, sfAlloc, lcId, sendInd)
-RgSchDlSf *sf;
-RgInfSfAlloc *sfAlloc;
-CmLteLcId lcId;
-Bool sendInd;
-#endif
+S16 rgSCHUtlFillRgInfCmnLcInfo(RgSchDlSf *sf,RgInfSfAlloc *sfAlloc,CmLteLcId lcId,Bool sendInd)
{
if((sf->bch.tbSize)&&
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rgSCHUtlFillRgInfRarInfo
-(
-RgSchDlSf *sf,
-RgInfSfAlloc *sfAlloc,
-RgSchCellCb *cell
-)
-#else
-S16 rgSCHUtlFillRgInfRarInfo(sf, sfAlloc, cell)
-RgSchDlSf *sf;
-RgInfSfAlloc *sfAlloc;
-RgSchCellCb *cell;
-#endif
+S16 rgSCHUtlFillRgInfRarInfo(RgSchDlSf *sf,RgInfSfAlloc *sfAlloc,RgSchCellCb *cell)
{
- uint8_t idx;
+ uint8_t idx;
CmLListCp *lnkLst;
CmLList *tmp;
RgSchRaCb *raCb;
RgSchUeCb *ue;
RgInfRaRntiInfo *raRntiAlloc;
- uint8_t noRaRsps;
+ uint8_t noRaRsps;
RgSchCmnDlCell *cellDl = RG_SCH_CMN_GET_DL_CELL(cell);
#ifdef LTE_TDD
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rgSCHUtlFillPdschDciInfo
-(
-TfuPdschDciInfo *pdsch,
-TfuDciInfo *pdcchDci
-)
-#else
-S16 rgSCHUtlFillPdschDciInfo(pdsch, pdcchDci)
-TfuPdschDciInfo *pdsch;
-TfuDciInfo *pdcchDci;
-#endif
+S16 rgSCHUtlFillPdschDciInfo(TfuPdschDciInfo *pdsch,TfuDciInfo *pdcchDci)
{
#ifdef EMTC_ENABLE
* @return Void
*
**/
-#ifdef ANSI
-Void rgSchDSFRPwrCheck
-(
- RgSchDlSf *sf,
- Bool *isAllUePwrHigh
- )
-#else
-static Void rgSchDSFRPwrCheck(sf, isAllUePwrHigh)
- RgSchDlSf *sf;
- Bool *isAllUePwrHigh;
-
-#endif
+Void rgSchDSFRPwrCheck(RgSchDlSf *sf,Bool *isAllUePwrHigh)
{
RgSchSFRPoolInfo *sfrCCPool;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHUtlFillRgInfTbInfo
-(
-RgSchDlHqProcCb *hqP,
-RgInfUeAlloc *allocInfo,
-RgSchCellCb *cell
-)
-#else
-static Void rgSCHUtlFillRgInfTbInfo (hqP, allocInfo, cell)
-RgSchDlHqProcCb *hqP;
-RgInfUeAlloc *allocInfo;
-RgSchCellCb *cell;
-#endif
+static Void rgSCHUtlFillRgInfTbInfo(RgSchDlHqProcCb *hqP,RgInfUeAlloc *allocInfo,RgSchCellCb *cell)
{
RgSchDlSf *sf;
- uint8_t idx;
+ uint8_t idx;
RgInfUeTbInfo *tbInfo;
- uint8_t tbCnt;
+ uint8_t tbCnt;
/* LTE_ADV_FLAG_REMOVED_START */
#ifdef TFU_UPGRADE
- static uint32_t tmpCnt = 0;
+ static uint32_t tmpCnt = 0;
Bool isAllUePwrHigh = FALSE;
#endif
/* LTE_ADV_FLAG_REMOVED_END */
RgSchDlLcCb *dlLcCb = NULLP;
- uint16_t rlcHdrEstmt;
- uint8_t lcId;
+ uint16_t rlcHdrEstmt;
+ uint8_t lcId;
/* RRM_RBC_X */
#ifdef LTE_L2_MEAS
- uint8_t prbUsed = 0;
+ uint8_t prbUsed = 0;
#endif
/* RRM_RBC_Y */
*
**********************************************************/
/* CA dev Start */
-#ifdef ANSI
-Void rgSCHUtlFillRgInfUeInfo
-(
-RgSchDlSf *sf,
-RgSchCellCb *cell,
-CmLListCp *dlDrxInactvTmrLst,
-CmLListCp *dlInActvLst,
-CmLListCp *ulInActvLst
-)
-#else
-Void rgSCHUtlFillRgInfUeInfo (sf,cell, dlDrxInactvTmrLst, dlInActvLst, ulInActvLst)
-{
-RgSchDlSf *sf;
-RgSchCellCb *cell;
-CmLListCp *dlDrxInactvTmrLst;
-CmLListCp *dlInActvLst;
-CmLListCp *ulInActvLst;
-#endif
+Void rgSCHUtlFillRgInfUeInfo(RgSchDlSf *sf,RgSchCellCb *cell,CmLListCp *dlDrxInactvTmrLst,CmLListCp *dlInActvLst,CmLListCp *ulInActvLst)
{
RgInfSfAlloc *sfAlloc;
CmLListCp *lnkLst; /* lnkLst assignment */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rgSCHUtlUpdSch
-(
-RgInfSfDatInd *subfrmInfo,
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb,
-RgInfUeDatInd *pdu,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHUtlUpdSch (subfrmInfo, cellCb, ueCb, pdu, err)
-RgInfSfDatInd *subfrmInfo;
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-RgInfUeDatInd *pdu;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHUtlUpdSch(RgInfSfDatInd *subfrmInfo,RgSchCellCb *cellCb,RgSchUeCb *ueCb,RgInfUeDatInd *pdu,RgSchErrInfo *err)
{
S16 ret;
-
#ifdef LTEMAC_SPS
if (RGSCH_UL_SPS_ACT_PRSENT & pdu->ceInfo.bitMask)
{
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHUtlAddUeToCcchSduLst
-(
-RgSchCellCb *cell,
-RgSchUeCb *ueCb
-)
-#else
-S16 rgSCHUtlAddUeToCcchSduLst(cell, ueCb)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-#endif
+S16 rgSCHUtlAddUeToCcchSduLst(RgSchCellCb *cell,RgSchUeCb *ueCb)
{
RgSchCmnDlUe *ueDl = RG_SCH_CMN_GET_DL_UE(ueCb, cell);
RgSchDlHqProcCb *hqP = (RgSchDlHqProcCb *)ueDl->proc;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHUtlUpdtBo
-(
-RgSchCellCb *cell,
-RgInfCmnBoRpt *staRsp
-)
-#else
-S16 rgSCHUtlUpdtBo(cell, staRsp)
-RgSchCellCb *cell;
-RgInfCmnBoRpt *staRsp;
-#endif
+S16 rgSCHUtlUpdtBo(RgSchCellCb *cell,RgInfCmnBoRpt *staRsp)
{
RgSchUeCb *ueCb;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlHndlCcchBoUpdt
-(
-RgSchCellCb *cell,
-RgInfCmnBoRpt *boRpt
-)
-#else
-S16 rgSCHUtlHndlCcchBoUpdt(cell, boRpt)
-RgSchCellCb *cell;
-RgInfCmnBoRpt *boRpt;
-#endif
+S16 rgSCHUtlHndlCcchBoUpdt(RgSchCellCb *cell,RgInfCmnBoRpt *boRpt)
{
RgSchRaCb *raCb;
RgSchUeCb *ueCb;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S32 rgSCHUtlGetAllwdCchTbSz
-(
-uint32_t bo,
-uint8_t *nPrb,
-uint8_t *mcs
-)
-#else
-S32 rgSCHUtlGetAllwdCchTbSz(bo, nPrb, mcs)
-uint32_t bo;
-uint8_t *nPrb;
-uint8_t *mcs;
-#endif
+S32 rgSCHUtlGetAllwdCchTbSz(uint32_t bo,uint8_t *nPrb,uint8_t *mcs)
{
S32 lt;
S32 cn;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlHndlBcchPcchBoUpdt
-(
-RgSchCellCb *cell,
-RgInfCmnBoRpt *boUpdt
-)
-#else
-S16 rgSCHUtlHndlBcchPcchBoUpdt(cell, boUpdt)
-RgSchCellCb *cell;
-RgInfCmnBoRpt *boUpdt;
-#endif
+S16 rgSCHUtlHndlBcchPcchBoUpdt(RgSchCellCb *cell,RgInfCmnBoRpt *boUpdt)
{
RgSchClcDlLcCb *dlLc;
RgSchClcBoRpt *boRpt;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrBndCfm
-(
-Inst instId,
-SuId suId,
-uint8_t status
-)
-#else
-S16 rgSCHUtlRgrBndCfm(instId, suId, status)
-Inst instId;
-SuId suId;
-uint8_t status;
-#endif
+S16 rgSCHUtlRgrBndCfm(Inst instId,SuId suId,uint8_t status)
{
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlRgmBndCfm
-(
-Inst instId,
-SuId suId,
-uint8_t status
-)
-#else
-S16 rgSCHUtlRgmBndCfm(instId, suId, status)
-Inst instId;
-SuId suId;
-uint8_t status;
-#endif
+S16 rgSCHUtlRgmBndCfm(Inst instId,SuId suId,uint8_t status)
{
S16 ret = ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 schSendCfgCfm
-(
-Region reg,
-Pool pool,
-RgrCfgTransId transId,
-uint8_t status
-)
-#else
-S16 schSendCfgCfm(reg, pool, transId, status)
-Region reg;
-Pool pool;
-RgrCfgTransId transId;
-uint8_t status;
-#endif
+S16 schSendCfgCfm(Region reg,Pool pool,RgrCfgTransId transId,uint8_t status)
{
Pst cfmPst;
Inst inst = 0;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrTtiInd
-(
-RgSchCellCb *cell,
-RgrTtiIndInfo *rgrTti
-)
-#else
-S16 rgSCHUtlRgrTtiInd(cell, rgrTti)
-RgSchCellCb *cell;
-RgrTtiIndInfo *rgrTti;
-#endif
+S16 rgSCHUtlRgrTtiInd(RgSchCellCb *cell,RgrTtiIndInfo *rgrTti)
{
S16 ret = ROK;
RgSchUpSapCb *rgrSap; /*!< RGR SAP Control Block */
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
S16 rgSCHUtlProcMsg3
(
RgInfSfDatInd *subfrmInfo,
CmLteRnti rnti,
RgInfUeDatInd *pdu,
RgSchErrInfo *err
- )
-#else
-S16 rgSCHUtlProcMsg3 (subfrmInfo, cellCb, ueCb, rnti, pdu, err)
-RgInfSfDatInd *subfrmInfo;
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-CmLteRnti rnti;
-RgInfUeDatInd *pdu;
-RgSchErrInfo *err;
-#endif
+)
{
S16 ret;
RgSchRaCb *raCb;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rgSCHUtlSpsRelInd
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb,
-Bool isExplRel
-)
-#else
-S16 rgSCHUtlSpsRelInd (cellCb, ueCb, isExplRel)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-Bool isExplRel;
-#endif
+S16 rgSCHUtlSpsRelInd(RgSchCellCb *cellCb,RgSchUeCb *ueCb,Bool isExplRel)
{
cellCb->sc.apis->rgSCHUlSpsRelInd(cellCb, ueCb, isExplRel);
return ROK;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rgSCHUtlSpsActInd
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb,
-uint16_t spsSduSize
-)
-#else
-S16 rgSCHUtlSpsActInd (cellCb, ueCb, spsSduSize)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-uint16_t spsSduSize;
-#endif
+S16 rgSCHUtlSpsActInd(RgSchCellCb *cellCb,RgSchUeCb *ueCb,uint16_t spsSduSize)
{
cellCb->sc.apis->rgSCHUlSpsActInd(cellCb, ueCb, spsSduSize);
return ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlTfuGrpPwrCntrlReq
-(
-Inst inst,
-S16 sapId,
-TfuGrpPwrCntrlReqInfo *grpPwrCntrlReq
-)
-#else
-S16 rgSCHUtlTfuGrpPwrCntrlReq(inst, sapId, grpPwrCntrlReq)
-Inst inst;
-S16 sapId;
-TfuGrpPwrCntrlReqInfo *grpPwrCntrlReq;
-#endif
+S16 rgSCHUtlTfuGrpPwrCntrlReq(Inst inst,S16 sapId,TfuGrpPwrCntrlReqInfo *grpPwrCntrlReq)
{
S16 ret;
RgSchLowSapCb *tfuSap;
Pst pst;
-
/* Get the lower SAP control block from the layer control block. */
tfuSap = &(rgSchCb[inst].tfuSap[sapId]);
if (tfuSap->sapSta.sapState != LRG_BND)
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlDlActvtUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-S16 rgSCHUtlDlActvtUe(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+S16 rgSCHUtlDlActvtUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
cell->sc.apis->rgSCHActvtDlUe(cell, ue);
return ROK;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlUlActvtUe
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue
-)
-#else
-S16 rgSCHUtlUlActvtUe(cell, ue)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-#endif
+S16 rgSCHUtlUlActvtUe(RgSchCellCb *cell,RgSchUeCb *ue)
{
cell->sc.apis->rgSCHActvtUlUe(cell, ue);
return ROK;
* -# ROK
* -# RFAILED
*/
-#ifdef ANSI
-S16 rgSCHUtlValidateTfuSap
-(
-Inst inst,
-SuId suId
-)
-#else
-S16 rgSCHUtlValidateTfuSap(inst, suId)
-Inst inst;
-SuId suId;
-#endif
+S16 rgSCHUtlValidateTfuSap(Inst inst,SuId suId)
{
RgSchLowSapCb *tfuSap;
* File: rg_utl.c
*
*/
-#ifdef ANSI
-S16 rgSCHUtlAllocEventMem
-(
-Inst inst,
-Ptr *memPtr,
-Size memSize
-)
-#else
-S16 rgSCHUtlAllocEventMem(inst, memPtr, memSize)
-Inst inst;
-Ptr *memPtr;
-Size memSize;
-#endif
+S16 rgSCHUtlAllocEventMem(Inst inst,Ptr *memPtr,Size memSize)
{
- Mem sMem;
- volatile uint32_t startTime=0;
+ Mem sMem;
+ volatile uint32_t startTime=0;
sMem.region = rgSchCb[inst].rgSchInit.region;
* File: rg_utl.c
*
*/
-#ifdef ANSI
-S16 rgSCHUtlGetEventMem
-(
-Ptr *ptr,
-Size len,
-Ptr memCp
-)
-#else
-S16 rgSCHUtlGetEventMem(ptr, len, memCp)
-Ptr *ptr;
-Size len;
-Ptr memCp;
-#endif
+S16 rgSCHUtlGetEventMem(Ptr *ptr,Size len,Ptr memCp)
{
S16 ret;
* @param[in] RgSchUeCb *ue
* @return S16
**/
-#ifdef ANSI
-S16 rgSCHUtlAllocUeANFdbkInfo
-(
-RgSchUeCb *ue,
-uint8_t servCellIdx
-)
-#else
-S16 rgSCHUtlAllocUeANFdbkInfo(ue,servCellIdx)
-RgSchUeCb *ue;
-uint8_t servCellIdx;
-#endif
+S16 rgSCHUtlAllocUeANFdbkInfo(RgSchUeCb *ue,uint8_t servCellIdx)
{
uint8_t idx;
if (rgSCHUtlAllocSBuf(ue->cell->instIdx,
(Data **) &(ue->cellInfo[servCellIdx]->anInfo), sizeof(RgSchTddANInfo) * \
- ue->cell->ackNackFdbkArrSize) != ROK)
+ ue->cell->ackNackFdbkArrSize) != ROK)
{
return RFAILED;
}
* @param[in] RgSchUeCb *ue
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlDelUeANFdbkInfo
-(
-RgSchUeCb *ue,
-uint8_t servCellIdx
-)
-#else
-Void rgSCHUtlDelUeANFdbkInfo(ue,servCellIdx)
-RgSchUeCb *ue;
-uint8_t servCellIdx;
-#endif
+Void rgSCHUtlDelUeANFdbkInfo(RgSchUeCb *ue,uint8_t servCellIdx)
{
/* ccpu00117052 - MOD - Passing double pointer
* @param[in] RgSchTddANInfo *anFdInfo
* @return S16
**/
-#ifdef ANSI
-S16 rgSCHUtlInitUeANFdbkInfo
-(
-RgSchTddANInfo *anFdInfo
-)
-#else
-S16 rgSCHUtlInitUeANFdbkInfo(anFdInfo)
-RgSchTddANInfo *anFdInfo;
-#endif
+S16 rgSCHUtlInitUeANFdbkInfo(RgSchTddANInfo *anFdInfo)
{
anFdInfo->sfn = RGSCH_MAX_SFN+1; /* defensively setting invalid sfn */
* @param[in] CmLteTimingInfo *time
* @return RgSchTddANInfo*
**/
-#ifdef ANSI
-RgSchTddANInfo* rgSCHUtlGetUeANFdbkInfo
-(
-RgSchUeCb *ueCb,
-CmLteTimingInfo *timeInfo,
-uint8_t servCellIdx
-)
-#else
-RgSchTddANInfo* rgSCHUtlGetUeANFdbkInfo(ueCb, timeInfo,servCellIdx)
-RgSchUeCb *ueCb;
-CmLteTimingInfo *timeInfo;
-uint8_t servCellIdx;
-#endif
+RgSchTddANInfo* rgSCHUtlGetUeANFdbkInfo(RgSchUeCb *ueCb,CmLteTimingInfo *timeInfo,uint8_t servCellIdx)
{
uint8_t idx;
* @return uint8_t
*
**/
-#ifdef ANSI
-uint8_t rgSCHUtlGetDlSfIdx
-(
-RgSchCellCb *cell,
-CmLteTimingInfo *timeInfo
-)
-#else
-uint8_t rgSCHUtlGetDlSfIdx(cell, timeInfo)
-RgSchCellCb *cell;
-CmLteTimingInfo *timeInfo;
-#endif
+uint8_t rgSCHUtlGetDlSfIdx(RgSchCellCb *cell,CmLteTimingInfo *timeInfo)
{
uint16_t idx = 0;
* @return uint8_t
*
**/
-#ifdef ANSI
-Void rgSCHUtlGetNxtDlSfInfo
-(
-CmLteTimingInfo curDlTime,
-RgSchCellCb *cell,
-RgSchDlSf *dlSf,
-RgSchDlSf **nxtDlsf,
-CmLteTimingInfo *nxtDlTime
-)
-#else
-Void rgSCHUtlGetNxtDlSfInfo(curDlTime, cell, dlSf, nxtDlsf, nxtDlTime)
-CmLteTimingInfo curDlTime;
-RgSchCellCb *cell;
-RgSchDlSf *dlSf;
-RgSchDlSf **nxtDlsf;
-CmLteTimingInfo *nxtDlTime;
-#endif
+Void rgSCHUtlGetNxtDlSfInfo(CmLteTimingInfo curDlTime,RgSchCellCb *cell,RgSchDlSf *dlSf,RgSchDlSf **nxtDlsf,CmLteTimingInfo *nxtDlTime)
{
uint16_t idx = curDlTime.slot;
uint8_t count = 0;
* @return uint8_t
*
**/
-#ifdef ANSI
-Void rgSCHUtlGetPrevDlSfInfo
-(
-RgSchCellCb *cell,
-CmLteTimingInfo curDlTime,
-CmLteTimingInfo *prevDlTime,
-uint8_t *numSubfrm
-)
-#else
-Void rgSCHUtlGetPrevDlSfInfo(cell, curDlTime, prevDlTime, numSubfrm)
-RgSchCellCb *cell;
-CmLteTimingInfo curDlTime;
-CmLteTimingInfo *prevDlTime;
-uint8_t *numSubfrm;
-#endif
+Void rgSCHUtlGetPrevDlSfInfo(RgSchCellCb *cell,CmLteTimingInfo curDlTime,CmLteTimingInfo *prevDlTime,uint8_t *numSubfrm)
{
S16 idx = curDlTime.slot;
uint8_t count = 0;
* File :
*
**********************************************************/
-#ifdef ANSI
-S16 rgSCHUtlUlSfInit
-(
-RgSchCellCb *cell,
-RgSchUlSf *sf,
-uint8_t idx,
-uint8_t maxUePerSf
-)
-#else
-S16 rgSCHUtlUlSfInit(cell, sf, idx, maxUePerSf)
-RgSchCellCb *cell;
-RgSchUlSf *sf;
-uint8_t idx;
-uint8_t maxUePerSf;
-#endif
+S16 rgSCHUtlUlSfInit(RgSchCellCb *cell,RgSchUlSf *sf,uint8_t idx,uint8_t maxUePerSf)
{
S16 ret=ROK;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlSfDeinit
-(
-RgSchCellCb *cell,
-RgSchUlSf *sf
-)
-#else
-Void rgSCHUtlUlSfDeinit(cell, sf)
-RgSchCellCb *cell;
-RgSchUlSf *sf;
-#endif
+Void rgSCHUtlUlSfDeinit(RgSchCellCb *cell,RgSchUlSf *sf)
{
if (sf->allocDb)
{
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHUtlUlAllocDbInit
-(
-RgSchCellCb *cell,
-RgSchUlAllocDb *allocDb,
-uint8_t maxAllocs
-)
-#else
-static S16 rgSCHUtlUlAllocDbInit(cell, allocDb, maxAllocs)
-RgSchCellCb *cell;
-RgSchUlAllocDb *allocDb;
-uint8_t maxAllocs;
-#endif
+static S16 rgSCHUtlUlAllocDbInit(RgSchCellCb *cell,RgSchUlAllocDb *allocDb,uint8_t maxAllocs)
{
S16 ret = rgSCHUtlUlAllocMemInit(cell, &allocDb->mem, maxAllocs);
if (ret != ROK)
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHUtlUlAllocDbDeinit
-(
-RgSchCellCb *cell,
-RgSchUlAllocDb *allocDb
-)
-#else
-static Void rgSCHUtlUlAllocDbDeinit(cell, allocDb)
-RgSchCellCb *cell;
-RgSchUlAllocDb *allocDb;
-#endif
+static Void rgSCHUtlUlAllocDbDeinit(RgSchCellCb *cell,RgSchUlAllocDb *allocDb)
{
rgSCHUtlUlAllocMemDeinit(cell, &allocDb->mem);
allocDb->count = 0;
* File :
*
**********************************************************/
-#ifdef ANSI
-static S16 rgSCHUtlUlHoleDbInit
-(
-RgSchCellCb *cell,
-RgSchUlHoleDb *holeDb,
-uint8_t maxHoles,
-uint8_t start,
-uint8_t num
-)
-#else
-static S16 rgSCHUtlUlHoleDbInit(cell, holeDb, maxHoles, start, num)
-RgSchCellCb *cell;
-RgSchUlHoleDb *holeDb;
-uint8_t maxHoles;
-uint8_t start;
-uint8_t num;
-#endif
+static S16 rgSCHUtlUlHoleDbInit(RgSchCellCb *cell,RgSchUlHoleDb *holeDb,uint8_t maxHoles,uint8_t start,uint8_t num)
{
S16 ret;
RgSchUlHole *hole = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
-static Void rgSCHUtlUlHoleDbDeinit
-(
-RgSchCellCb *cell,
-RgSchUlHoleDb *holeDb
-)
-#else
-static Void rgSCHUtlUlHoleDbDeinit(cell, holeDb)
-RgSchCellCb *cell;
-RgSchUlHoleDb *holeDb;
-#endif
+static Void rgSCHUtlUlHoleDbDeinit(RgSchCellCb *cell,RgSchUlHoleDb *holeDb)
{
rgSCHUtlUlHoleMemDeinit(cell, &holeDb->mem);
holeDb->count = 0;
* File :
*
**********************************************************/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlUlAllocGetHole
-(
-RgSchUlSf *sf,
-uint8_t numSb,
-RgSchUlHole *hole
-)
-#else
-RgSchUlAlloc *rgSCHUtlUlAllocGetHole(sf, numSb, hole)
-RgSchUlSf *sf;
-uint8_t numSb;
-RgSchUlHole *hole;
-#endif
+RgSchUlAlloc *rgSCHUtlUlAllocGetHole(RgSchUlSf *sf,uint8_t numSb,RgSchUlHole *hole)
{
if (numSb < hole->num)
{
* File :
*
**********************************************************/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlUlAllocGetCompHole
-(
-RgSchUlSf *sf,
-RgSchUlHole *hole
-)
-#else
-RgSchUlAlloc *rgSCHUtlUlAllocGetCompHole(sf, hole)
-RgSchUlSf *sf;
-RgSchUlHole *hole;
-#endif
+RgSchUlAlloc *rgSCHUtlUlAllocGetCompHole(RgSchUlSf *sf,RgSchUlHole *hole)
{
RgSchUlAlloc *alloc;
/* alloc = rgSCHUtlUlAllocGetAndIns(sf->allocDb, hole->prvAlloc, hole->nxtAlloc); */
* File :
*
**********************************************************/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlUlAllocGetPartHole
-(
-RgSchUlSf *sf,
-uint8_t numSb,
-RgSchUlHole *hole
-)
-#else
-RgSchUlAlloc *rgSCHUtlUlAllocGetPartHole(sf, numSb, hole)
-RgSchUlSf *sf;
-uint8_t numSb;
-RgSchUlHole *hole;
-#endif
+RgSchUlAlloc *rgSCHUtlUlAllocGetPartHole(RgSchUlSf *sf,uint8_t numSb,RgSchUlHole *hole)
{
RgSchUlAlloc *alloc;
/* alloc = rgSCHUtlUlAllocGetAndIns(sf->allocDb, hole->prvAlloc, hole->nxtAlloc); */
* File :
*
**********************************************************/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlUlAllocFirst
-(
-RgSchUlSf *sf
-)
-#else
-RgSchUlAlloc *rgSCHUtlUlAllocFirst(sf)
-RgSchUlSf *sf;
-#endif
+RgSchUlAlloc *rgSCHUtlUlAllocFirst(RgSchUlSf *sf)
{
return (sf->allocDb->first);
}
* File :
*
**********************************************************/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlUlAllocNxt
-(
-RgSchUlSf *sf,
-RgSchUlAlloc *alloc
-)
-#else
-RgSchUlAlloc *rgSCHUtlUlAllocNxt(sf, alloc)
-RgSchUlSf *sf;
-RgSchUlAlloc *alloc;
-#endif
+RgSchUlAlloc *rgSCHUtlUlAllocNxt(RgSchUlSf *sf,RgSchUlAlloc *alloc)
{
UNUSED(sf);
return (alloc->nxt);
* File :
*
**********************************************************/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlUlAllocGetAdjNxt
-(
-RgSchUlAllocDb *db,
-RgSchUlAlloc *prv
-)
-#else
-RgSchUlAlloc *rgSCHUtlUlAllocGetAdjNxt(db, prv)
-RgSchUlAllocDb *db;
-RgSchUlAlloc *prv;
-#endif
+RgSchUlAlloc *rgSCHUtlUlAllocGetAdjNxt(RgSchUlAllocDb *db,RgSchUlAlloc *prv)
{
RgSchUlAlloc *alloc = rgSCHUtlUlAllocMemGet(&db->mem);
RgSchUlAlloc *nxt = prv->nxt;
* File :
*
**********************************************************/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlUlAllocGetFirst
-(
-RgSchUlAllocDb *db
-)
-#else
-RgSchUlAlloc *rgSCHUtlUlAllocGetFirst(db)
-RgSchUlAllocDb *db;
-#endif
+RgSchUlAlloc *rgSCHUtlUlAllocGetFirst(RgSchUlAllocDb *db)
{
RgSchUlAlloc *alloc = rgSCHUtlUlAllocMemGet(&db->mem);
RgSchUlAlloc *nxt = db->first;
*
* File :
*
- **********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleAddAllocation
-(
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHUtlUlHoleAddAllocation(alloc)
-RgSchUlAlloc *alloc;
-#endif
+ **********************************************************/
+Void rgSCHUtlUlHoleAddAllocation(RgSchUlAlloc *alloc)
{
/* Note: rgSchCmnUlHoleUpdAllocLnks function that is used should not exist as
* one, if such excessive branching is done (AllocNone, AllocNoPrv etc).
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlAllocRelease
-(
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHUtlUlAllocRelease(alloc)
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHUtlUlAllocRelease(RgSchUlAlloc *alloc)
{
RgSchUlAllocDb *allocDb = alloc->allocDbRef;
RgSchUlAlloc *prv = alloc->prv;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlAllocRls
-(
-RgSchUlSf *sf,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHUtlUlAllocRls(sf, alloc)
-RgSchUlSf *sf;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHUtlUlAllocRls(RgSchUlSf *sf,RgSchUlAlloc *alloc)
{
RgSchUlAllocDb *allocDb = sf->allocDb;
RgSchUlAlloc *prv = alloc->prv;
* File :
*
**********************************************************/
-#ifdef ANSI
-RgSchUlHole *rgSCHUtlUlHoleFirst
-(
-RgSchUlSf *sf
-)
-#else
-RgSchUlHole *rgSCHUtlUlHoleFirst(sf)
-RgSchUlSf *sf;
-#endif
+RgSchUlHole *rgSCHUtlUlHoleFirst(RgSchUlSf *sf)
{
return (sf->holeDb->first);
}
* File :
*
**********************************************************/
-#ifdef ANSI
-RgSchUlHole *rgSCHUtlUlHoleNxt
-(
-RgSchUlSf *sf,
-RgSchUlHole *hole
-)
-#else
-RgSchUlHole *rgSCHUtlUlHoleNxt(sf, hole)
-RgSchUlSf *sf;
-RgSchUlHole *hole;
-#endif
+RgSchUlHole *rgSCHUtlUlHoleNxt(RgSchUlSf *sf,RgSchUlHole *hole)
{
UNUSED(sf);
return (hole->nxt);
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleAddAlloc
-(
-RgSchUlSf *sf,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHUtlUlHoleAddAlloc(sf, alloc)
-RgSchUlSf *sf;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHUtlUlHoleAddAlloc(RgSchUlSf *sf,RgSchUlAlloc *alloc)
{
/* Note: rgSchCmnUlHoleUpdAllocLnks function that is used should not exist as
* one, if such excessive branching is done (AllocNone, AllocNoPrv etc).
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleJoin
-(
-RgSchUlHoleDb *db,
-RgSchUlHole *prv,
-RgSchUlHole *nxt,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHUtlUlHoleJoin(db, prv, nxt, alloc)
-RgSchUlHoleDb *db;
-RgSchUlHole *prv;
-RgSchUlHole *nxt;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHUtlUlHoleJoin(RgSchUlHoleDb *db,RgSchUlHole *prv,RgSchUlHole *nxt,RgSchUlAlloc *alloc)
{
prv->num += alloc->numSb + nxt->num;
rgSCHUtlUlHoleRls(db, nxt);
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleExtndRight
-(
-RgSchUlHoleDb *db,
-RgSchUlHole *prv,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHUtlUlHoleExtndRight(db, prv, alloc)
-RgSchUlHoleDb *db;
-RgSchUlHole *prv;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHUtlUlHoleExtndRight(RgSchUlHoleDb *db,RgSchUlHole *prv,RgSchUlAlloc *alloc)
{
prv->num += alloc->numSb;
rgSCHUtlUlHoleIncr(db, prv);
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleExtndLeft
-(
-RgSchUlHoleDb *db,
-RgSchUlHole *nxt,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHUtlUlHoleExtndLeft(db, nxt, alloc)
-RgSchUlHoleDb *db;
-RgSchUlHole *nxt;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHUtlUlHoleExtndLeft(RgSchUlHoleDb *db,RgSchUlHole *nxt,RgSchUlAlloc *alloc)
{
nxt->num += alloc->numSb;
nxt->start = alloc->sbStart;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleNew
-(
-RgSchUlHoleDb *db,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHUtlUlHoleNew(db, alloc)
-RgSchUlHoleDb *db;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHUtlUlHoleNew(RgSchUlHoleDb *db,RgSchUlAlloc *alloc)
{
RgSchUlHole *hole = rgSCHUtlUlHoleMemGet(&db->mem);
#if (ERRCLASS & ERRCLS_DEBUG)
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleUpdAllocLnks
-(
-RgSchUlHole *hole,
-RgSchUlAlloc *prvAlloc,
-RgSchUlAlloc *nxtAlloc
-)
-#else
-Void rgSCHUtlUlHoleUpdAllocLnks(hole, prvAlloc, nxtAlloc)
-RgSchUlHole *hole;
-RgSchUlAlloc *prvAlloc;
-RgSchUlAlloc *nxtAlloc;
-#endif
+Void rgSCHUtlUlHoleUpdAllocLnks(RgSchUlHole *hole,RgSchUlAlloc *prvAlloc,RgSchUlAlloc *nxtAlloc)
{
if (prvAlloc)
{
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleIns
-(
-RgSchUlHoleDb *db,
-RgSchUlHole *hole
-)
-#else
-Void rgSCHUtlUlHoleIns(db, hole)
-RgSchUlHoleDb *db;
-RgSchUlHole *hole;
-#endif
+Void rgSCHUtlUlHoleIns(RgSchUlHoleDb *db,RgSchUlHole *hole)
{
RgSchUlHole *cur;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleIncr
-(
-RgSchUlHoleDb *db,
-RgSchUlHole *hole
-)
-#else
-Void rgSCHUtlUlHoleIncr(db, hole)
-RgSchUlHoleDb *db;
-RgSchUlHole *hole;
-#endif
+Void rgSCHUtlUlHoleIncr(RgSchUlHoleDb *db,RgSchUlHole *hole)
{
RgSchUlHole *cur;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleDecr
-(
-RgSchUlHoleDb *db,
-RgSchUlHole *hole
-)
-#else
-Void rgSCHUtlUlHoleDecr(db, hole)
-RgSchUlHoleDb *db;
-RgSchUlHole *hole;
-#endif
+Void rgSCHUtlUlHoleDecr(RgSchUlHoleDb *db,RgSchUlHole *hole)
{
RgSchUlHole *cur;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleRls
-(
-RgSchUlHoleDb *db,
-RgSchUlHole *hole
-)
-#else
-Void rgSCHUtlUlHoleRls(db, hole)
-RgSchUlHoleDb *db;
-RgSchUlHole *hole;
-#endif
+Void rgSCHUtlUlHoleRls(RgSchUlHoleDb *db,RgSchUlHole *hole)
{
RgSchUlHole *prv = hole->prv;
RgSchUlHole *nxt = hole->nxt;
* File :
*
**********************************************************/
-#ifdef ANSI
-S16 rgSCHUtlUlAllocMemInit
-(
-RgSchCellCb *cell,
-RgSchUlAllocMem *mem,
-uint8_t maxAllocs
-)
-#else
-S16 rgSCHUtlUlAllocMemInit(cell, mem, maxAllocs)
-RgSchCellCb *cell;
-RgSchUlAllocMem *mem;
-uint8_t maxAllocs;
-#endif
+S16 rgSCHUtlUlAllocMemInit(RgSchCellCb *cell,RgSchUlAllocMem *mem,uint8_t maxAllocs)
{
S16 ret;
RgSchUlAlloc *allocs;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlAllocMemDeinit
-(
-RgSchCellCb *cell,
-RgSchUlAllocMem *mem
-)
-#else
-Void rgSCHUtlUlAllocMemDeinit(cell, mem)
-RgSchCellCb *cell;
-RgSchUlAllocMem *mem;
-#endif
+Void rgSCHUtlUlAllocMemDeinit(RgSchCellCb *cell,RgSchUlAllocMem *mem)
{
/* ccpu00117052 - MOD - Passing double pointer
for proper NULLP assignment*/
* File :
*
**********************************************************/
-#ifdef ANSI
-S16 rgSCHUtlUlHoleMemInit
-(
-RgSchCellCb *cell,
-RgSchUlHoleMem *mem,
-uint8_t maxHoles,
-RgSchUlHole **holeRef
-)
-#else
-S16 rgSCHUtlUlHoleMemInit(cell, mem, maxHoles, holeRef)
-RgSchCellCb *cell;
-RgSchUlHoleMem *mem;
-uint8_t maxHoles;
-RgSchUlHole **holeRef;
-#endif
+S16 rgSCHUtlUlHoleMemInit(RgSchCellCb *cell,RgSchUlHoleMem *mem,uint8_t maxHoles,RgSchUlHole **holeRef)
{
S16 ret;
RgSchUlHole *holes;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleMemDeinit
-(
-RgSchCellCb *cell,
-RgSchUlHoleMem *mem
-)
-#else
-Void rgSCHUtlUlHoleMemDeinit(cell, mem)
-RgSchCellCb *cell;
-RgSchUlHoleMem *mem;
-#endif
+Void rgSCHUtlUlHoleMemDeinit(RgSchCellCb *cell,RgSchUlHoleMem *mem)
{
/* ccpu00117052 - MOD - Passing double pointer
for proper NULLP assignment*/
* File :
*
**********************************************************/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlUlAllocMemGet
-(
-RgSchUlAllocMem *mem
-)
-#else
-RgSchUlAlloc *rgSCHUtlUlAllocMemGet(mem)
-RgSchUlAllocMem *mem;
-#endif
+RgSchUlAlloc *rgSCHUtlUlAllocMemGet(RgSchUlAllocMem *mem)
{
RgSchUlAlloc *alloc;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlAllocMemRls
-(
-RgSchUlAllocMem *mem,
-RgSchUlAlloc *alloc
-)
-#else
-Void rgSCHUtlUlAllocMemRls(mem, alloc)
-RgSchUlAllocMem *mem;
-RgSchUlAlloc *alloc;
-#endif
+Void rgSCHUtlUlAllocMemRls(RgSchUlAllocMem *mem,RgSchUlAlloc *alloc)
{
alloc->prv = NULLP;
* File :
*
**********************************************************/
-#ifdef ANSI
-RgSchUlHole *rgSCHUtlUlHoleMemGet
-(
-RgSchUlHoleMem *mem
-)
-#else
-RgSchUlHole *rgSCHUtlUlHoleMemGet(mem)
-RgSchUlHoleMem *mem;
-#endif
+RgSchUlHole *rgSCHUtlUlHoleMemGet(RgSchUlHoleMem *mem)
{
RgSchUlHole *hole;
* File :
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlUlHoleMemRls
-(
-RgSchUlHoleMem *mem,
-RgSchUlHole *hole
-)
-#else
-Void rgSCHUtlUlHoleMemRls(mem, hole)
-RgSchUlHoleMem *mem;
-RgSchUlHole *hole;
-#endif
+Void rgSCHUtlUlHoleMemRls(RgSchUlHoleMem *mem,RgSchUlHole *hole)
{
hole->prv = NULLP;
* @param[in] uint8_t numSb
* @return RgSchUlAlloc*
**/
-#ifdef ANSI
-RgSchUlAlloc *rgSCHUtlUlGetSpfcAlloc
-(
-RgSchUlSf *sf,
-uint8_t startSb,
-uint8_t numSb
-)
-#else
-RgSchUlAlloc *rgSCHUtlUlGetSpfcAlloc(sf, startSb, numSb)
-RgSchUlSf *sf;
-uint8_t startSb;
-uint8_t numSb;
-#endif
+RgSchUlAlloc *rgSCHUtlUlGetSpfcAlloc(RgSchUlSf *sf,uint8_t startSb,uint8_t numSb)
{
RgSchUlHole *hole, *nxtHole;
RgSchUlAlloc *alloc = NULLP;
* ROK
* RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHUtlValidateQci
-(
-RgSchCellCb *cellCb,
-uint8_t numQci,
-uint8_t *qci
-)
-#else
-static S16 rgSCHUtlValidateQci(cellCb, numQci, qci)
-RgSchCellCb *cellCb;
-uint8_t numQci;
-uint8_t *qci;
-#endif
+static S16 rgSCHUtlValidateQci(RgSchCellCb *cellCb,uint8_t numQci,uint8_t *qci)
{
uint8_t qciIdx;
uint8_t qciVal;
-
for(qciIdx = 0; qciIdx < numQci; qciIdx++)
{
qciVal = qci[qciIdx];
* @param[out] RgSchErrInfo *err
* @return RgSchUlAlloc*
**/
-#ifdef ANSI
-S16 rgSCHUtlValidateMeasReq
-(
-RgSchCellCb *cellCb,
-LrgSchMeasReqInfo *schL2MeasInfo,
-RgSchErrInfo *err
-)
-#else
-S16 rgSCHUtlValidateMeasReq(cellCb, schL2MeasInfo, err)
-RgSchCellCb *cellCb;
-LrgSchMeasReqInfo *schL2MeasInfo;
-RgSchErrInfo *err;
-#endif
+S16 rgSCHUtlValidateMeasReq(RgSchCellCb *cellCb, LrgSchMeasReqInfo *schL2MeasInfo,RgSchErrInfo *err)
{
uint16_t measType;
S16 ret;
-
measType = schL2MeasInfo->measType;
-
if((measType == 0) ||
measType > 2047)
{
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrSiCfgCfm
-(
-Inst instId,
-SpId spId,
-RgrCfgTransId transId,
-uint8_t status
-)
-#else
-S16 rgSCHUtlRgrSiCfgCfm(instId, spId, transId, status)
-Inst instId;
-SpId spId;
-RgrCfgTransId transId;
-uint8_t status;
-#endif
+S16 rgSCHUtlRgrSiCfgCfm(Inst instId,SpId spId,RgrCfgTransId transId,uint8_t status)
{
uint8_t prntTrans[RGR_CFG_TRANSID_SIZE+1];
-
memcpy(prntTrans, transId.trans, RGR_CFG_TRANSID_SIZE);
prntTrans[RGR_CFG_TRANSID_SIZE] = '\0';
-
-
if(RgUiRgrSiCfgCfm(&rgSchCb[instId].rgrSap[spId].sapCfg.sapPst,
rgSchCb[instId].rgrSap[spId].sapCfg.suId,
transId, status) != ROK)
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrWarningSiCfgCfm
-(
-Inst instId,
-SpId spId,
-uint8_t siId,
-RgrCfgTransId transId,
-uint8_t status
-)
-#else
-S16 rgSCHUtlRgrWarningSiCfgCfm(instId, spId, siId, transId, status)
-Inst instId;
-SpId spId;
-uint8_t siId;
-RgrCfgTransId transId;
-uint8_t status;
-#endif
+S16 rgSCHUtlRgrWarningSiCfgCfm(Inst instId,SpId spId,uint8_t siId,RgrCfgTransId transId,uint8_t status)
{
uint8_t prntTrans[RGR_CFG_TRANSID_SIZE+1];
-
memcpy(prntTrans, transId.trans, RGR_CFG_TRANSID_SIZE);
prntTrans[RGR_CFG_TRANSID_SIZE] = '\0';
-
-
+
if(RgUiRgrWarningSiCfgCfm(&rgSchCb[instId].rgrSap[spId].sapCfg.sapPst,
rgSchCb[instId].rgrSap[spId].sapCfg.suId,
transId, siId, status) != ROK)
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
-Void rgSCHUtlPutSiInfo
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHUtlPutSiInfo(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHUtlPutSiInfo(RgSchCellCb *cell)
{
uint8_t idx = 0;
uint32_t sizeOfSiInfo = 0;
* File : rg_utl.c
*
**********************************************************/
-#ifdef ANSI
S16 rgSCHUtlGetDrxSchdUesInDl
(
RgSchCellCb *cellCb,
CmLListCp *dlInActvLst,
CmLListCp *ulInActvLst
)
-#else
-S16 rgSCHUtlGetDrxSchdUesInDl(cellCb, ueCb, dlHq, allocInfo, dlDrxInactvTmrLst, dlInActvLst, ulInActvLst)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-RgSchDlHqProcCb *dlHq;
-RgInfUeAlloc *allocInfo;
-CmLListCp *dlDrxInactvTmrLst;
-CmLListCp *dlInActvLst;
-CmLListCp *ulInActvLst;
-#endif
{
Bool isNewTx = FALSE;
uint8_t idx;
* @return Void
*
**/
-#ifdef ANSI
-S16 rgSCHUtlFillSndStaInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrStaIndInfo *staInfo,
-uint8_t numCqiRept
-)
-#else
-S16 rgSCHUtlFillSndStaInd(cell, ue, staInfo, numCqiRept)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrStaIndInfo *staInfo;
-uint8_t numCqiRept;
-#endif
+S16 rgSCHUtlFillSndStaInd(RgSchCellCb *cell,RgSchUeCb *ue,RgrStaIndInfo *staInfo,uint8_t numCqiRept)
{
uint8_t idxStart;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrStaInd
-(
-RgSchCellCb *cell,
-RgrStaIndInfo *rgrSta
-)
-#else
-S16 rgSCHUtlRgrStaInd(cell, rgrSta)
-RgSchCellCb *cell;
-RgrStaIndInfo *rgrSta;
-#endif
+S16 rgSCHUtlRgrStaInd(RgSchCellCb *cell,RgrStaIndInfo *rgrSta)
{
S16 ret = ROK;
RgSchUpSapCb *rgrSap; /*!< RGR SAP Control Block */
-
-
-
+
rgrSap = cell->rgrSap;
if (rgrSap->sapSta.sapState != LRG_BND)
{
* @return Void
* -# ROK
**/
-#ifdef ANSI
-Void rgSCHUtlIndRntiRls2Mac
-(
-RgSchCellCb *cell,
-CmLteRnti rnti,
-Bool ueIdChng,
-CmLteRnti newRnti
-)
-#else
-Void rgSCHUtlIndRntiRls2Mac(cell, rnti, ueIdChng, newRnti)
-RgSchCellCb *cell;
-CmLteRnti rnti;
-Bool ueIdChng;
-CmLteRnti newRnti;
-#endif
+Void rgSCHUtlIndRntiRls2Mac(RgSchCellCb *cell,CmLteRnti rnti,Bool ueIdChng,CmLteRnti newRnti)
{
Pst pst;
Inst inst = cell->instIdx;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrLoadInfInd
-(
- RgSchCellCb *cell,
- RgrLoadInfIndInfo *rgrLoadInf
- )
-#else
-S16 rgSCHUtlRgrLoadInfInd(cell, rgrLoadInf)
- RgSchCellCb *cell;
- RgrLoadInfIndInfo *rgrLoadInf;
-#endif
+S16 rgSCHUtlRgrLoadInfInd(RgSchCellCb *cell,RgrLoadInfIndInfo *rgrLoadInf)
{
S16 ret = ROK;
RgSchUpSapCb *rgrSap; /*!< RGR SAP Control Block */
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlRlsRnti
-(
-RgSchCellCb *cell,
-RgSchRntiLnk *rntiLnk,
-Bool ueIdChngd,
-CmLteRnti newRnti
-)
-#else
-Void rgSCHUtlRlsRnti(cell, rntiLnk, ueIdChngd, newRnti)
-RgSchCellCb *cell;
-RgSchRntiLnk *rntiLnk;
-Bool ueIdChngd;
-CmLteRnti newRnti;
-#endif
+Void rgSCHUtlRlsRnti(RgSchCellCb *cell,RgSchRntiLnk *rntiLnk,Bool ueIdChngd,CmLteRnti newRnti)
{
uint8_t isLegacy = 0;
* @return Void
*
**/
-#ifdef ANSI
-S16 rgSCHUtlFillSndUeStaInd
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-RgrUeStaIndInfo *ueStaInfo
-)
-#else
-S16 rgSCHUtlFillSndUeStaInd(cell, ue, ueStaInfo)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-RgrUeStaIndInfo *ueStaInfo;
-#endif
+S16 rgSCHUtlFillSndUeStaInd(RgSchCellCb *cell,RgSchUeCb *ue,RgrUeStaIndInfo *ueStaInfo)
{
ueStaInfo->cellId = cell->cellId;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlRgrUeStaInd
-(
-RgSchCellCb *cell,
-RgrUeStaIndInfo *rgrUeSta
-)
-#else
-S16 rgSCHUtlRgrUeStaInd(cell, rgrUeSta)
-RgSchCellCb *cell;
-RgrUeStaIndInfo *rgrUeSta;
-#endif
+S16 rgSCHUtlRgrUeStaInd(RgSchCellCb *cell,RgrUeStaIndInfo *rgrUeSta)
{
S16 ret = ROK;
RgSchUpSapCb *rgrSap; /*!< RGR SAP Control Block */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlUpdAvgPrbUsage
-(
-RgSchCellCb *cell
-)
-#else
-S16 rgSCHUtlUpdAvgPrbUsage(cell)
-RgSchCellCb *cell;
-#endif
+S16 rgSCHUtlUpdAvgPrbUsage(RgSchCellCb *cell)
{
CmLteTimingInfo frm;
RgmPrbRprtInd *prbRprtInd;
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlReTxTa
-(
-RgSchCellCb *cellCb,
-RgSchUeCb *ueCb
-)
-#else
-Void rgSCHUtlReTxTa(cellCb, ueCb)
-RgSchCellCb *cellCb;
-RgSchUeCb *ueCb;
-#endif
+Void rgSCHUtlReTxTa(RgSchCellCb *cellCb,RgSchUeCb *ueCb)
{
/* If TA Timer is running. Stop it */
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-static S16 rgSCHChkBoUpdate
-(
-RgSchCellCb *cell,
-RgInfCmnBoRpt *boUpdt
-)
-#else
-static S16 rgSCHChkBoUpdate (cell, boUpdt)
-RgSchCellCb *cell;
-RgInfCmnBoRpt *boUpdt;
-#endif
+static S16 rgSCHChkBoUpdate(RgSchCellCb *cell,RgInfCmnBoRpt *boUpdt)
{
uint32_t crntTimeInSubFrms = 0;
* @param[in] uint8_t hqFdbkIdx
* @return uint8_t
**/
-#ifdef ANSI
-uint8_t rgSchUtlCfg0ReTxIdx
-(
-RgSchCellCb *cell,
-CmLteTimingInfo phichTime,
-uint8_t hqFdbkIdx
-)
-#else
-uint8_t rgSchUtlCfg0ReTxIdx (cell, phichTime, hqFdbkIdx)
-RgSchCellCb *cell;
-CmLteTimingInfo phichTime;
-uint8_t hqFdbkIdx;
-#endif
+uint8_t rgSchUtlCfg0ReTxIdx(RgSchCellCb *cell,CmLteTimingInfo phichTime,uint8_t hqFdbkIdx)
{
uint8_t reTxIdx = RGSCH_INVALID_INFO;
uint8_t iPhich = 0;
* @param[out] uint32_t *prbReqrd
* @return Void
**/
-#ifdef ANSI
-Void rgSchUtlDlCalc1CwPrb
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *prbReqrd
-)
-#else
-Void rgSchUtlDlCalc1CwPrb(cell, ue, bo, prbReqrd)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *prbReqrd;
-#endif
+Void rgSchUtlDlCalc1CwPrb(RgSchCellCb *cell,RgSchUeCb *ue,uint32_t bo,uint32_t *prbReqrd)
{
RgSchCmnDlCell *dlCell = RG_SCH_CMN_GET_DL_CELL(cell);
RgSchCmnDlUe *dlUe = RG_SCH_CMN_GET_DL_UE(ue, cell);
- uint32_t eff;
- uint32_t noRes;
- uint8_t iTbs;
- uint8_t cfi = dlCell->currCfi;
+ uint32_t eff;
+ uint32_t noRes;
+ uint8_t iTbs;
+ uint8_t cfi = dlCell->currCfi;
iTbs = dlUe->mimoInfo.cwInfo[0].iTbs[0];
eff = (*(RgSchCmnTbSzEff *)(dlCell->cqiToEffTbl[0][cfi]))[iTbs];
* @param[out] uint32_t *prbReqrd
* @return Void
**/
-#ifdef ANSI
-Void rgSchUtlDlCalc2CwPrb
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *prbReqrd
-)
-#else
-Void rgSchUtlDlCalc2CwPrb(cell, ue, bo, prbReqrd)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *prbReqrd;
-#endif
+Void rgSchUtlDlCalc2CwPrb(RgSchCellCb *cell,RgSchUeCb *ue,uint32_t bo,uint32_t *prbReqrd)
{
RgSchCmnDlCell *dlCell = RG_SCH_CMN_GET_DL_CELL(cell);
RgSchCmnDlUe *dlUe = RG_SCH_CMN_GET_DL_UE(ue, cell);
* @param[out] uint32_t *prbReqrd
* @return Void
**/
-#ifdef ANSI
-Void rgSchUtlCalcTotalPrbReq
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint32_t bo,
-uint32_t *prbReqrd
-)
-#else
-Void rgSchUtlCalcTotalPrbReq(cell, ue, bo, prbReqrd)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint32_t bo;
-uint32_t *prbReqrd;
-#endif
+Void rgSchUtlCalcTotalPrbReq(RgSchCellCb *cell,RgSchUeCb *ue,uint32_t bo,uint32_t *prbReqrd)
{
/* Call TM specific Prb calculation routine */
(dlCalcPrbFunc[ue->mimoInfo.txMode - 1])(cell, ue, bo, prbReqrd);
* File :
*
**********************************************************/
-#ifdef ANSI
-static uint8_t rgSCHUtlFetchPcqiBitSz
-(
- RgSchCellCb *cell,
- RgSchUeCb *ueCb,
- uint8_t numTxAnt
- )
-#else
-static uint8_t rgSCHUtlFetchPcqiBitSz (cell, ueCb, numTxAnt)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-uint8_t numTxAnt;
-#endif
+static uint8_t rgSCHUtlFetchPcqiBitSz(RgSchCellCb *cell, RgSchUeCb *ueCb,uint8_t numTxAnt)
{
uint8_t confRepMode;
uint8_t pcqiSz;
* @param[in] uint32_t *numSbs
* @return uint8_t
**/
-#ifdef ANSI
-uint8_t rgSchUtlGetNumSbs
-(
-RgSchCellCb *cell,
-RgSchUeCb *ue,
-uint32_t *numSbs
-)
-#else
-uint8_t rgSchUtlGetNumSbs (cell, ue, numSbs)
-RgSchCellCb *cell;
-RgSchUeCb *ue;
-uint32_t *numSbs;
-#endif
+uint8_t rgSchUtlGetNumSbs(RgSchCellCb *cell,RgSchUeCb *ue,uint32_t *numSbs)
{
- uint32_t nPrb;
+ uint32_t nPrb;
//Currently hardcoding MAX prb for each UE
nPrb = ue->ue5gtfCb.maxPrb;
(*numSbs) = RGSCH_CEIL(nPrb, MAX_5GTF_VRBG_SIZE);
* @param[in] RgSchUeCb *ue
* @return uint8_t
**/
-#ifdef ANSI
-uint8_t rgSchUtlSortInsUeLst
-(
-RgSchCellCb *cell,
-CmLListCp *ueLst,
-CmLList *node,
-uint8_t vrbgRequired
-)
-#else
-uint8_t rgSchUtlSortInsUeLst (cell, ueLst, node, vrbgRequired)
-RgSchCellCb *cell;
-CmLListCp *ueLst;
-CmLList *node;
-uint8_t vrbgRequired;
-#endif
+uint8_t rgSchUtlSortInsUeLst(RgSchCellCb *cell,CmLListCp *ueLst,CmLList *node,uint8_t vrbgRequired)
{
CmLList *ueInLst;
CmLList *firstUeInLst;
* @return S16
* -# ROK
**/
-#ifdef ANSI
-S16 rgSCHUtlBuildNSendLcgReg
-(
-RgSchCellCb *cell,
-CmLteRnti crnti,
-uint8_t lcgId,
-Bool isGbr
-)
-#else
-S16 rgSCHUtlBuildNSendLcgReg(cell, crnti, lcgId, isGbr)
-RgSchCellCb *cell;
-CmLteRnti crnti;
-uint8_t lcgId;
-Bool isGbr;
-#endif
+S16 rgSCHUtlBuildNSendLcgReg(RgSchCellCb *cell,CmLteRnti crnti,uint8_t lcgId,Bool isGbr)
{
Pst pst;
RgInfLcgRegReq lcgRegReq;
* @return TfuAckNackMode
* -# ROK
**/
-#ifdef ANSI
-TfuAckNackMode rgSchUtlGetFdbkMode
-(
-RgrSchFrmt1b3TypEnum fdbkType
-)
-#else
-TfuAckNackMode rgSchUtlGetFdbkMode(fdbkType)
-RgrSchFrmt1b3TypEnum fdbkType;
-#endif
+TfuAckNackMode rgSchUtlGetFdbkMode(RgrSchFrmt1b3TypEnum fdbkType)
{
TfuAckNackMode mode = TFU_UCI_FORMAT_1A_1B;
* @return Void
* -# ROK
**/
-#ifdef ANSI
-Void rgSCHUtlSndUeSCellDel2Mac
-(
-RgSchCellCb *cell,
-CmLteRnti rnti
-)
-#else
-Void rgSCHUtlSndUeSCellDel2Mac(cell, rnti)
-RgSchCellCb *cell;
-CmLteRnti rnti;
-#endif
+Void rgSCHUtlSndUeSCellDel2Mac(RgSchCellCb *cell,CmLteRnti rnti)
{
Pst pst;
Inst inst = cell->instIdx;
* @return uint8_t maxTbCount;
* -# ROK
**/
-#ifdef ANSI
-uint8_t rgSCHUtlGetMaxTbSupp
-(
-RgrTxMode txMode
-)
-#else
-uint8_t rgSCHUtlGetMaxTbSupp(txMode)
-RgrTxMode txMode
-#endif
+uint8_t rgSCHUtlGetMaxTbSupp(RgrTxMode txMode)
{
uint8_t maxTbCount;
* @return Void
* -# ROK
**/
-#ifdef ANSI
-Void rgSCHTomUtlGetTrigSet
-(
- RgSchCellCb *cell,
- RgSchUeCb *ueCb,
- uint8_t cqiReq,
- uint8_t *triggerSet
- )
-#else
-static S16 rgSCHTomUtlGetTrigSet(cell, ueCb, cqiReq, triggerSet)
- RgSchCellCb *cell;
- RgSchUeCb *ueCb;
- uint8_t cqiReq;
- uint8_t *triggerSet;
-#endif
+Void rgSCHTomUtlGetTrigSet(RgSchCellCb *cell,RgSchUeCb *ueCb,uint8_t cqiReq,uint8_t *triggerSet)
{
RgSchUeCellInfo *pCellInfo = RG_SCH_CMN_GET_PCELL_INFO(ueCb);
switch(cqiReq)
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlUpdUeDciSize
-(
-RgSchCellCb *cell,
-RgSchUeCb *ueCb,
-Bool isCsi2Bit
-)
-#else
-Void rgSCHUtlUpdUeDciSize(cell, ueCb, isCsi2Bit)
-RgSchCellCb *cell;
-RgSchUeCb *ueCb;
-Bool isCsi2Bit;
-#endif
+Void rgSCHUtlUpdUeDciSize(RgSchCellCb *cell,RgSchUeCb *ueCb,Bool isCsi2Bit)
{
uint8_t dci01aCmnSize = cell->dciSize.baseSize[TFU_DCI_FORMAT_0];
uint8_t dci01aDedSize = cell->dciSize.baseSize[TFU_DCI_FORMAT_0];
* @return Void
*
**/
-#ifdef ANSI
-Void rgSCHUtlCalcDciSizes
-(
-RgSchCellCb *cell
-)
-#else
-Void rgSCHUtlCalcDciSizes(cell)
-RgSchCellCb *cell;
-#endif
+Void rgSCHUtlCalcDciSizes(RgSchCellCb *cell)
{
uint8_t dciSize = 0;
uint8_t dci01aSize = 0;
* @param[in] RgSchCellCb *cell
* @return Void
**/
-#ifdef ANSI
-Void rgSCHUtlCpuOvrLdAdjItbsCap
-(
- RgSchCellCb *cell
-)
-#else
-Void rgSCHUtlCpuOvrLdAdjItbsCap(cell)
- RgSchCellCb *cell
-#endif
+Void rgSCHUtlCpuOvrLdAdjItbsCap( RgSchCellCb *cell)
{
uint32_t tptDelta;
* @param[in] uint8_t cnrtCpuOvrLdIns
* @return Void
**/
-#ifdef ANSI
-static Void rgSCHUtlChkAndUpdNumUePerTtiCpuOvInstr
-(
- RgSchCellCb *cell,
- uint8_t crntCpuOvrLdIns
-)
-#else
-static S16 rgSCHUtlChkAndUpdNumUePerTtiCpuOvInstr(cell, crntCpuOvrLdIns)
- RgSchCellCb *cell;
- uint8_t crntCpuOvrLdIns;
-#endif
+static Void rgSCHUtlChkAndUpdNumUePerTtiCpuOvInstr(RgSchCellCb *cell,uint8_t crntCpuOvrLdIns)
{
RgSchCpuOvrLdCntrlCb *cpuInstr = &(cell->cpuOvrLdCntrl);
RgSchCmnCell *cellSch;
* -# ROK
* -# RFAILED
**/
-#ifdef ANSI
-S16 rgSCHUtlResetCpuOvrLdState
-(
- RgSchCellCb *cell,
- uint8_t crntCpuOvrLdIns
-)
-#else
-S16 rgSCHUtlResetCpuOvrLdState(cell, crntCpuOvrLdIns)
- RgSchCellCb *cell;
- uint8_t crntCpuOvrLdIns;
-#endif
+S16 rgSCHUtlResetCpuOvrLdState(RgSchCellCb *cell,uint8_t crntCpuOvrLdIns)
{
- uint8_t crntDlCpuOL=0;
- uint8_t crntUlCpuOL=0;
- RgSchCmnCell *schCmnCell = (RgSchCmnCell *)(cell->sc.sch);
+ uint8_t crntDlCpuOL=0;
+ uint8_t crntUlCpuOL=0;
+ RgSchCmnCell *schCmnCell = (RgSchCmnCell *)(cell->sc.sch);
uint8_t idx;
#ifdef CPU_OL_DBG_PRINTS
* File: rr_clist.c
*
*/
-#ifdef ANSI
Void rgSCHRrCListInit
(
RgSchRrCListCp *lCp /* list control point */
)
-#else
-Void rgSCHRrCListInit(lCp)
-RgSchRrCListCp *lCp; /* list control point */
-#endif
{
lCp->first = (RgSchRrCList *)NULLP;
*
* File: rr_clist.c
*/
-#ifdef ANSI
Void rgSCHRrCListAdd2Crnt
(
- RgSchRrCListCp *lCp, /* list control point */
- RgSchRrCList *node /* node to be added */
- )
-#else
-Void rgSCHRrCListAdd2Crnt(lCp, node)
- RgSchRrCListCp *lCp; /* list control point */
- RgSchRrCList *node; /* node to be added */
-#endif
+RgSchRrCListCp *lCp, /* list control point */
+RgSchRrCList *node /* node to be added */
+)
{
#ifdef ERRCHK
if (lCp == (RgSchRrCListCp *)NULLP)
* File: rr_clist.c
*
*/
-#ifdef ANSI
Void rgSCHRrCListAdd2Tail
(
RgSchRrCListCp *lCp, /* list control point */
RgSchRrCList *node /* node to be added */
)
-#else
-Void rgSCHRrCListAdd2Tail(lCp, node)
-RgSchRrCListCp *lCp; /* list control point */
-RgSchRrCList *node; /* node to be added */
-#endif
{
#ifdef ERRCHK
* File: rr_clist.c
*
*/
-#ifdef ANSI
RgSchRrCList *rgSCHRrCListDelFrm
(
RgSchRrCListCp *lCp, /* list control pointer */
RgSchRrCList *node /* node to be removed */
)
-#else
-RgSchRrCList *rgSCHRrCListDelFrm(lCp, node)
-RgSchRrCListCp *lCp; /* list control pointer */
-RgSchRrCList *node; /* node to be removed */
-#endif
{
#ifdef ERRCHK
* File: rr_clist.c
*
*/
-#ifdef ANSI
Void rgSCHRrCListInsrtAtCrnt
(
RgSchRrCListCp *lCp, /* list control pointer */
RgSchRrCList *node /* node to be removed */
)
-#else
-Void rgSCHRrCListInsrtAtCrnt(lCp, node)
-RgSchRrCListCp *lCp; /* list control pointer */
-RgSchRrCList *node; /* node to be inserted */
-#endif
{
RgSchRrCList *crnt;
void dump_external(void);
-#ifdef ANSI
-static Void mtDelSigals
-(
-Void
-)
-#else
-static Void mtDelSignals()
-#endif
+static Void mtDelSigals(Void)
{
struct sigaction sa;
* File: mt_ss.c
*
*/
-#ifdef ANSI
int main
(
int argc, /* argument count */
char **argv /* argument vector */
)
-#else
-int main(argc, argv)
-int argc; /* argument count */
-char **argv; /* argument vector */
-#endif
{
#ifdef XEON_MULTIPLE_CELL_CHANGES
* File: mt_ss.c
*
*/
-#ifdef ANSI
int ssMain
(
int argc, /* argument count */
char **argv /* argument vector */
)
-#else
-int ssMain(argc, argv)
-int argc; /* argument count */
-char **argv; /* argument vector */
-#endif
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 ssdInitGen
-(
-void
-)
-#else
-S16 ssdInitGen()
-#endif
+S16 ssdInitGen(void)
{
struct sigaction act;
sigset_t set;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-Void ssdDeinitGen
-(
-void
-)
-#else
-Void ssdDeinitGen()
-#endif
+Void ssdDeinitGen(void)
{
* File: cm_mem.c
*
*/
-#ifdef ANSI
S16 ssPutDynMemBlkSet
(
uint8_t bktIdx, /* Index to bucket list */
CmMmBlkSetElement *dynMemSetElem /* Memory set element which is needs to be
added to global region */
)
-#else
-S16 ssPutDynMemBlkSet(bktIdx, dynMemSetElem)
-uint8_t bktIdx; /* Index to bucket list */
-CmMmBlkSetElement *dynMemSetElem; /* Memory set element which is needs to be
- added to global region */
-#endif
{
CmMmGlobRegCb *globReg;
CmMmGlobalBktCb *bktCb;
* File: cm_mem.c
*
*/
-#ifdef ANSI
S16 ssGetDynMemBlkSet
(
uint8_t bktIdx, /* Index to bucket list */
CmMmBlkSetElement *dynMemSetElem /* Memory set element which is updated
with new set values */
)
-#else
-S16 ssGetDynMemBlkSet(bktIdx, dynMemSetElem)
-uint8_t bktIdx; /* Index to bucket list */
-CmMmBlkSetElement *dynMemSetElem; /* Memory set element which is updated
- with new set values */
-#endif
{
CmMmGlobRegCb *globReg;
* File: cm_mem.c
*
*/
-#ifdef ANSI
S16 ssPutDynMemBlkSet
(
-uint8_t bktIdx, /* Index to bucket list */
+uint8_t bktIdx, /* Index to bucket list */
CmMmBlkSetElement *dynMemSetElem, /* Memory set element which is needs to be
added to global region */
-uint32_t doNotBlockForLock /* Boolean whether to block for lock or not */
+uint32_t doNotBlockForLock /* Boolean whether to block for lock or not */
)
-#else
-S16 ssPutDynMemBlkSet(bktIdx, dynMemSetElem)
-uint8_t bktIdx; /* Index to bucket list */
-CmMmBlkSetElement *dynMemSetElem; /* Memory set element which is needs to be
- added to global region */
-uint32_t doNotBlockForLock; /* Boolean whether to block for lock or not */
-#endif
{
CmMmGlobRegCb *globReg;
CmMmGlobalBktCb *bktCb;
* File: cm_mem.c
*
*/
-#ifdef ANSI
S16 ssGetDynMemBlkSet
(
uint8_t bktIdx, /* Index to bucket list */
with new set values */
uint32_t doNotBlockForLock /* Boolean whether to block for lock or not */
)
-#else
-S16 ssGetDynMemBlkSet(bktIdx, dynMemSetElem)
-uint8_t bktIdx; /* Index to bucket list */
-CmMmBlkSetElement *dynMemSetElem; /* Memory set element which is updated
- with new set values */
-uint32_t doNotBlockForLock; /* Boolean whether to block for lock or not */
-#endif
{
CmMmGlobRegCb *globReg;
CmMmGlobalBktCb *bktCb;
uint32_t gDynMemAlrm[4];
static uint32_t memoryCheckCounter;
-#ifdef ANSI
-uint32_t isMemThreshReached(
-Region reg
-)
-#else
-uint32_t isMemThreshReached(reg)
-Region reg;
-#endif
+uint32_t isMemThreshReached(Region reg)
{
CmMmGlobRegCb *globReg;
CmMmGlobalBktCb *bktCb;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-Void * ssGetIccHdl
-(
-Region region
-)
-#else
-Void * ssGetIccHdl()
-Region region;
-#endif
+Void * ssGetIccHdl(Region region)
{
CmMmDynRegCb *dynRegCb;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 ssdInitMem
-(
-void
-)
-#else
-S16 ssdInitMem()
-#endif
+S16 ssdInitMem(void)
{
/* mt018.201 - added local variable */
uint8_t i;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-Void ssdDeinitMem
-(
-void
-)
-#else
-Void ssdDeinitMem()
-#endif
+Void ssdDeinitMem(void)
{
/* mt018.201 - added local variables */
uint8_t i;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 ssdInitTsk
-(
-void
-)
-#else
-S16 ssdInitTsk()
-#endif
+S16 ssdInitTsk(void)
{
/* mt001.301 : Additions */
/*mt013.301 :Added SS_AFFINITY_SUPPORT */
* File: mt_ss.c
*
*/
-#ifdef ANSI
-Void ssdDeinitTsk
-(
-void
-)
-#else
-Void ssdDeinitTsk()
-#endif
+Void ssdDeinitTsk(void)
{
return;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 ssdInitDrvr
-(
-void
-)
-#else
-S16 ssdInitDrvr()
-#endif
+S16 ssdInitDrvr(void)
{
S16 i;
#ifndef L2_L3_SPLIT
* File: mt_ss.c
*
*/
-#ifdef ANSI
-Void ssdDeinitDrvr
-(
-void
-)
-#else
-Void ssdDeinitDrvr()
-#endif
+Void ssdDeinitDrvr(void)
{
/* mt008.301: Terminate the Driver Task on exit */
while(pthread_cancel(osCp.dep.isTskHdlrTID));
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 ssdInitTmr
-(
-void
-)
-#else
-S16 ssdInitTmr()
-#endif
+S16 ssdInitTmr(void)
{
pthread_attr_t attr;
struct sched_param param_sched;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-Void ssdDeinitTmr
-(
-void
-)
-#else
-Void ssdDeinitTmr()
-#endif
+Void ssdDeinitTmr(void)
{
#ifdef SS_MULTICORE_SUPPORT
SsSTskEntry *sTsk;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 ssdInitLog
-(
-void
-)
-#else
-S16 ssdInitLog()
-#endif
+S16 ssdInitLog(void)
{
/* mt027.201 - Modification to fix warnings with no STDIN and STDOUT */
#ifdef CONAVL
*
*/
/* mt008.301: ssdDeinitFinal changed to ssdDeinitLog */
-#ifdef ANSI
-Void ssdDeinitLog
-(
-void
-)
-#else
-Void ssdDeinitLog()
-#endif
+Void ssdDeinitLog(void)
{
/* mt008.301: ssdDeinitFinal changed to ssdDeinitLog */
#ifdef CONAVL
#ifdef SS_WATCHDOG
-#ifdef ANSI
-S16 ssdInitWatchDog
-(
-uint16_t port
-)
-#else
-S16 ssdInitWatchDog(port)
-uint16_t port;
-#endif
+S16 ssdInitWatchDog(uint16_t port)
{
uint8_t idx;
Txt prntBuf[PRNTSZE];
return ROK;
}
-#ifdef ANSI
-S16 ssdInitWatchDgPst
-(
-Pst *pst
-)
-#else
-S16 ssdInitWatchDgPst(pst)
-Pst *pst;
-#endif
+S16 ssdInitWatchDgPst(Pst *pst)
{
pst->selector = SS_LOOSE_COUPLING;
}
#ifdef SS_MULTIPLE_PROCS
-#ifdef ANSI
S16 ssdWatchDgActvTmr
(
ProcId proc,
Inst inst
)
#else
-S16 ssdWatchDgActvTmr(proc, ent, inst)
-#endif
-#else
-#ifdef ANSI
-S16 ssdWatchDgActvTmr
-(
-Void
-)
-#else
-S16 ssdWatchDgActvTmr()
-#endif
+S16 ssdWatchDgActvTmr(Void)
#endif /* SS_MULTIPLE_PROCS */
{
return ROK;
}
-#ifdef ANSI
Void ssdWatchDgTmrEvt
(
PTR cb, /* control block */
S16 event /* timer number */
)
-#else
-Void ssdWatchDgTmrEvt(cb, event)
-PTR cb; /* control block */
-S16 event; /* timer number */
-#endif
{
/* mt003.301 Fixed warings */
#ifdef DEBUGP
}
-#ifdef ANSI
Void ssdStartWatchDgTmr
(
-void *cb,
-S16 event,
-uint16_t wait
+void *cb,
+S16 event,
+uint16_t wait
)
-#else
-Void ssdStartWatchDgTmr(cb, event, wait)
-void *cb;
-S16 event;
-uint16_t wait;
-#endif
{
CmTmrArg arg;
int i;
return;
}
-#ifdef ANSI
Void ssdStopWatchDgTmr
(
-void *cb,
-S16 event
+void *cb,
+S16 event
)
-#else
-Void ssdStopWatchDgTmr(cb, event)
-void *cb;
-S16 event;
-#endif
{
CmTmrArg arg;
#ifdef DEBUGP
return;
}
-#ifdef ANSI
S16 ssdSndHrtBtMsg
(
-Bool restart,
-uint32_t type
+Bool restart,
+uint32_t type
)
-#else
-S16 ssdSndHrtBtMsg(restart, type)
-Bool restart;
-uint32_t type;
-#endif
{
S16 ret = ROK;
#ifdef DEBUGP
* File: mt_ss.c
*
*/
-#ifdef ANSI
-static Void mtGetOpts
-(
-void
-)
-#else
-static Void mtGetOpts()
-#endif
+static Void mtGetOpts(void)
{
S32 argc;
S8 **argv;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SGetOpt
(
int argc, /* argument count */
char **argv, /* argument value */
char *opts /* options */
)
-#else
-S16 SGetOpt(argc, argv, opts)
-int argc; /* argument count */
-char **argv; /* argument value */
-char *opts; /* options */
-#endif
{
/* mt020.201 - Removed for no command line */
#ifndef NOCMDLINE
* File: mt_ss.c
*
*/
-#ifdef ANSI
-Void ssdStart
-(
-void
-)
-#else
-Void ssdStart()
-#endif
+Void ssdStart(void)
{
S16 i;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 ssdAttachTTsk
(
SsTTskEntry *tTsk /* pointer to TAPA task entry */
)
-#else
-S16 ssdAttachTTsk(tTsk)
-SsTTskEntry *tTsk; /* pointer to TAPA task entry */
-#endif
{
Buffer *mBuf;
SsMsgInfo *mInfo;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 ssdDetachTTsk
(
SsTTskEntry *tTsk /* pointer to TAPA task entry */
)
-#else
-S16 ssdDetachTTsk(tTsk)
-SsTTskEntry *tTsk; /* pointer to TAPA task entry */
-#endif
{
return ROK;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 ssdCreateSTsk
(
SsSTskEntry *sTsk /* pointer to system task entry */
)
-#else
-S16 ssdCreateSTsk(sTsk)
-SsSTskEntry *sTsk; /* pointer to system task entry */
-#endif
{
S16 ret;
pthread_attr_t attr;
}
-#ifdef ANSI
int SCreatePThread
(
pthread_t* tid,
void *(*start_routine) (void *),
void* arg
)
-#else
-int SCreatePThread(tid, attr, start_routine, arg)
-pthread_t* tid;
-pthread_attr_t* attr;
-void *(*start_routine) (void *);
-void* arg;
-#endif
{
int retVal = 0;
#ifdef SS_THR_REG_MAP
*
*/
-#ifdef ANSI
static S16 ssdSetPthreadAttr
(
S32 tskPrior,
pthread_attr_t *attr
)
-#else
-static S16 ssdSetPthreadAttr(sTsk, attr)
-S32 tskPrior,
-pthread_attr_t *attr
-#endif
{
struct sched_param param;
* File: ss_task.c
*
*/
-#ifdef ANSI
S16 ssdGetAffinity
(
SSTskId *tskId, /* filled in with system task ID */
uint32_t *coreId /* the core/processor id to which the affinity is set */
)
-#else
-S16 ssdGetAffinity(tskId, coreId)
-SSTskId *tskId; /* filled in with system task ID */
-uint32_t *coreId; /* the core/processor id to which the affinity is set */
-#endif
{
uint32_t tskInd;
* File: ss_task.c
*
*/
-#ifdef ANSI
S16 ssdSetAffinity
(
SSTskId *tskId, /* filled in with system task ID */
uint32_t coreId /* the core/processor id to which the affinity has to be set */
)
-#else
-S16 ssdSetAffinity(tskId, coreId)
-SSTskId *tskId; /* filled in with system task ID */
-uint32_t coreId; /* the core/processor id to which the affinity has to be set */
-#endif
{
uint32_t tskInd = 0;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 ssdDestroySTsk
(
SsSTskEntry *sTsk /* pointer to system task entry */
)
-#else
-S16 ssdDestroySTsk(sTsk)
-SsSTskEntry *sTsk; /* pointer to system task entry */
-#endif
{
Buffer *mBuf;
SsMsgInfo *mInfo;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 SThreadYield
-(
-void
-)
-#else
-S16 SThreadYield()
-#endif
+S16 SThreadYield(void)
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 ssdRegTmr
(
SsTmrEntry *tmr /* pointer to timer entry */
)
-#else
-S16 ssdRegTmr(tmr)
-SsTmrEntry *tmr; /* pointer to timer entry */
-#endif
{
CmTmrArg arg;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 ssdDeregTmr
(
SsTmrEntry *tmr /* pointer to timer entry */
)
-#else
-S16 ssdDeregTmr(tmr)
-SsTmrEntry *tmr; /* pointer to timer entry */
-#endif
{
CmTmrArg arg;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 ssdError
(
Seq seq, /* sequence number */
Reason reason /* reset reason */
)
-#else
-S16 ssdError(seq, reason)
-Seq seq; /* sequence number */
-Reason reason; /* reset reason */
-#endif
{
S16 i;
pthread_t tId;
* File: mt_ss.c
*
*/
-#ifdef ANSI
Void ssdLogError
(
Ent ent, /* Calling layer's entity id */
ErrVal errVal, /* error value */
Txt *errDesc /* description of error */
)
-#else
-Void ssdLogError(ent, inst, procId, file, line,
- errCls, errCode, errVal, errDesc)
-Ent ent; /* Calling layer's entity id */
-Inst inst; /* Calling layer's instance id */
-ProcId procId; /* Calling layer's processor id */
-Txt *file; /* file name where error occured */
-S32 line; /* line in file where error occured */
-ErrCls errCls; /* error class */
-ErrCode errCode; /* layer unique error code */
-ErrVal errVal; /* error value */
-Txt *errDesc; /* description of error */
-#endif
{
#ifndef DEBUGNOEXIT
S16 i;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 ssdRegDrvrTsk
(
SsDrvrTskEntry *drvrTsk /* driver task entry */
)
-#else
-S16 ssdRegDrvrTsk(drvrTsk)
-SsDrvrTskEntry *drvrTsk; /* driver task entry */
-#endif
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 ssdDeregDrvrTsk
(
SsDrvrTskEntry *drvrTsk /* driver task entry */
)
-#else
-S16 ssdDeregDrvrTsk(drvrTsk)
-SsDrvrTskEntry *drvrTsk; /* driver task entry */
-#endif
{
* mt003.301 Additions - SDeRegTTsk fix
*/
#ifdef SS_MULTIPLE_PROCS
-#ifdef ANSI
S16 ssdProcTTskTerm
(
ProcId procIdx,
SsTTskEntry *tTsk,
SsIdx idx
)
-#else
-S16 ssdProcTTskTerm(procIdx, tTsk, idx)
-ProcId procIdx;
-SsTTskEntry *tTsk;
-SsIdx idx;
-#endif
#else /*SS_MULTIPLE_PROCS*/
-#ifdef ANSI
S16 ssdProcTTskTerm
(
SsTTskEntry *tTsk,
SsIdx idx
)
-#else
-S16 ssdProcTTskTerm(tTsk, idx)
-SsTTskEntry *tTsk;
-SsIdx idx;
-#endif
#endif /*SS_MULTIPLE_PROCS*/
{
#ifdef SS_MULTIPLE_PROCS
Void ysMtTskHdlr(Void);
Void ysMtPollPhyMsg(uint8_t region);
Void ysMtRcvPhyMsg(Void);
-#ifdef ANSI
Void *mtTskHdlrT2kL2
(
Ptr tskPtr /* pointer to task entry */
)
-#else
-Void *mtTskHdlrT2kL2(tskPtr)
-Ptr tskPtr; /* pointer to task entry */
-#endif
{
S16 ret;
#else
Void ysMtTskHdlr(Void);
Void YsPhyRecvMsg();
-#ifdef ANSI
Void *mtTskHdlrT2kL2
(
Ptr tskPtr /* pointer to task entry */
)
-#else
-Void *mtTskHdlrT2kL2(tskPtr)
-Ptr tskPtr; /* pointer to task entry */
-#endif
{
S16 ret;
SsSTskEntry *sTsk;
#endif /* TENB_T2K3K_SPECIFIC_CHANGES */
#endif
-#ifdef ANSI
-void *pthreadCreateHdlr
-(
-void * arg
-)
-#else
-void *pthreadCreateHdlr(pthreadCreateArg)
-void *arg;
-#endif
+void *pthreadCreateHdlr(void * arg)
{
S16 ret;
SPThreadCreateArg* pthreadCreateArg = (SPThreadCreateArg*)arg;
* File: mt_ss.c
*
*/
-#ifdef ANSI
Void *mtTskHdlr
(
Ptr tskPtr /* pointer to task entry */
)
-#else
-Void *mtTskHdlr(tskPtr)
-Ptr tskPtr; /* pointer to task entry */
-#endif
{
S16 ret;
SsSTskEntry *sTsk;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 mtTskHdlMsg
(
SsSTskEntry *sTsk
)
-#else
-S16 mtTskHdlMsg(sTsk)
-SsSTskEntry *sTsk
-#endif
{
S16 i;
S16 ret;
/*
* Fun: mtTmrHdlrPublic
*/
-#ifdef ANSI
-Void mtTmrHdlrPublic
-(
-)
-#else
Void mtTmrHdlrPublic()
-#endif
{
if (SLock(&osCp.tmrTblLock) != ROK)
{
*
*/
/*mt041.201 Modified SSI tick handling in mtTmrHdlr() */
-#ifdef ANSI
static Void *mtTmrHdlr
(
void *parm /* unused */
)
-#else
- /* mt009.21: addition */
-static Void *mtTmrHdlr(parm)
-void *parm; /* unused */
-#endif
{
/*mt004.301-addede new region*/
/* mt010.301 Removed SS_FAP portion and
* File: mt_ss.c
*
*/
-#ifdef ANSI
Void mtTimeout
(
PTR tCb, /* control block */
S16 evnt /* event */
)
-#else
-Void mtTimeout(tCb, evnt)
-PTR tCb; /* control block */
-S16 evnt; /* event */
-#endif
{
Buffer *mBuf;
SsMsgInfo *mInfo;
* File: mt_ss.c
*
*/
-#ifdef ANSI
static Void *mtConHdlr
(
Ptr parm /* unused */
)
-#else
- /* mt009.21: addition */
-static Void *mtConHdlr(parm)
-Ptr parm; /* unused */
-#endif
{
int fd;
Data data;
* File: mt_ss.c
*
*/
-#ifdef ANSI
/* mt009.21: addition */
static Void *mtIsTskHdlr
(
Ptr tskPtr /* pointer to task entry */
)
-#else
- /* mt009.21: addition */
-static Void *mtIsTskHdlr(tskPtr)
-Ptr tskPtr; /* pointer to task entry */
-#endif
{
#if (ERRCLASS & ERRCLS_DEBUG)
int ret;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-Void mtIntSigHndlr
-(
-int arg
-)
-#else
-Void mtIntSigHndlr(arg)
-int arg;
-#endif
+Void mtIntSigHndlr(int arg)
{
osCp.dep.sigEvnt=TRUE;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-Void mtExitClnup
-(
-void
-)
-#else
-Void mtExitClnup()
-#endif
+Void mtExitClnup(void)
{
Ticks ticks;
S8 buf[128];
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SDisplay
(
S16 chan, /* channel */
Txt *buf /* buffer */
)
-#else
-S16 SDisplay(chan, buf)
-S16 chan; /* channel */
-Txt *buf; /* buffer */
-#endif
{
/* mt020.201 - Fixed typo */
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 SFini
-(
-void
-)
-#else
-S16 SFini()
-#endif
+S16 SFini(void)
{
/* mt030.201 added under compilet time flag SS_LINUX and SLES9_PLUS
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SSetDateTime
(
REG1 DateTime *dt /* date and time */
)
-#else
-S16 SSetDateTime(dt)
-REG1 DateTime *dt; /* date and time */
-#endif
{
UNUSED(dt);
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SGetDateTime
(
REG1 DateTime *dt /* date and time */
)
-#else
-S16 SGetDateTime(dt)
-REG1 DateTime *dt; /* date and time */
-#endif
{
/*-- mt035.201 : SSI enhancements for micro second in datetime struct --*/
/* time_t tt; --*/
* File: mt_ss.c
*/
/* mt003.301 Modifications */
-#ifdef ANSI
S16 SGetEpcTime
(
EpcTime *et /* date and time */
)
-#else
-S16 SGetEpcTime(et)
-EpcTime *et; /* date and time */
-#endif
{
/* mt003.301 Modifications */
static uint64_t now;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SGetSysTime
(
Ticks *sysTime /* system time */
)
-#else
-S16 SGetSysTime(sysTime)
-Ticks *sysTime; /* system time */
-#endif
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SGetRefTime
(
uint32_t refTime, /* reference time */
uint32_t *sec,
uint32_t *usec
)
-#else
-S16 SGetRefTime(refTime, sec, usec)
-uint32_t refTime; /* reference time */
-uint32_t *sec;
-uint32_t *usec;
-#endif
{
#ifndef SS_LINUX
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SRandom
(
Random *value /* random number */
)
-#else
-S16 SRandom(value)
-Random *value; /* random number */
-#endif
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 SExitTsk
-(
-void
-)
-#else
-S16 SExitTsk()
-#endif
+S16 SExitTsk(void)
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 SExitInt
-(
-void
-)
-#else
-S16 SExitInt()
-#endif
+S16 SExitInt(void)
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 SHoldInt
-(
-void
-)
-#else
-S16 SHoldInt()
-#endif
+S16 SHoldInt(void)
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 SRelInt
-(
-void
-)
-#else
-S16 SRelInt()
-#endif
+S16 SRelInt(void)
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
-inline S16 SEnbInt
-(
-void
-)
-#else
-inline S16 SEnbInt()
-#endif
+inline S16 SEnbInt(void)
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
-inline S16 SDisInt
-(
-void
-)
-#else
-inline S16 SDisInt()
-#endif
+inline S16 SDisInt(void)
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SGetVect
(
VectNmb vectNmb, /* vector number */
PIF *vectFnct /* vector function */
)
-#else
-S16 SGetVect(vectNmb, vectFnct)
-VectNmb vectNmb; /* vector number */
-PIF *vectFnct; /* vector function */
-#endif
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SPutVect
(
VectNmb vectNmb, /* vector number */
PIF vectFnct /* vector function */
)
-#else
-S16 SPutVect(vectNmb, vectFnct)
-VectNmb vectNmb; /* vector number */
-PIF vectFnct; /* vector function */
-#endif
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SGetEntInst
(
Ent *ent, /* entity */
Inst *inst /* instance */
)
-#else
-S16 SGetEntInst(ent, inst)
-Ent *ent; /* entity */
-Inst *inst; /* instance */
-#endif
{
S16 i;
S16 ret;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SSetEntInst
(
Ent ent, /* entity */
Inst inst /* instance */
)
-#else
-S16 SSetEntInst(ent, inst)
-Ent ent; /* entity */
-Inst inst; /* instance */
-#endif
{
S16 i;
S16 ret;
* File: mt_ss.c
*
*/
-#ifdef ANSI
inline S16 SSetIntPend
(
uint16_t id, /* driver task identifier */
Bool flag /* flag */
)
-#else
-inline S16 SSetIntPend(id, flag)
-uint16_t id; /* driver task identifier */
-Bool flag; /* flag */
-#endif
{
MtIsFlag isFlag;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 SGlobMemInfoShow
-(
-Void
-)
-#else
-S16 SGlobMemInfoShow()
-#endif
+S16 SGlobMemInfoShow(Void)
{
uint16_t idx;
Txt prntBuf[100];
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SRegInfoShow
(
Region region,
uint32_t *availmem
)
-#else
-S16 SRegInfoShow(region, availmem)
-Region region;
-uint32_t *availmem;
-#endif
{
uint16_t idx;
Txt prntBuf[100];
uint32_t SMemMidThreshold[SSI_MAX_REG_THRESHOLD][SSI_MAX_BKT_THRESHOLD] = {{0}};
uint32_t SMemLowThreshold[SSI_MAX_REG_THRESHOLD][SSI_MAX_BKT_THRESHOLD] = {{0}};
-#ifdef ANSI
static Void SInitMemThreshold
(
Region region,
uint8_t maxBkt
)
-#else
-static Void SInitMemThreshold(region, maxBkt)
-Region region;
-uint8_t maxBkt;
-#endif
{
uint8_t idx = 0;
for (idx = 0; (idx < maxBkt && idx < mtCMMRegCb[region]->numBkts); idx++)
}
}
-#ifdef ANSI
S16 SRegReachedMemThreshold
(
Region region,
uint8_t maxBkt
)
-#else
-S16 SRegReachedMemThreshold(region, maxBkt)
-Region region;
-uint8_t maxBkt;
-#endif
{
uint8_t idx = 0;
uint8_t memStatus = 3;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SGetRegInfo
(
Region region,
SsMemDbgInfo *dbgInfo
)
-#else
-S16 SGetRegInfo(region, dbgInfo)
-Region region;
-SsMemDbgInfo *dbgInfo;
-#endif
{
uint32_t idx;
return ROK;
}
-#ifdef ANSI
S16 SGetRegPoolInfo
(
uint8_t *numRegion,
uint8_t *numPool
)
-#else
-S16 SGetRegPoolInfo(numRegion, numPool)
-uint8_t *numRegion;
-uint8_t *numPool;
-#endif
{
/* Send number of Region available */
*numRegion = mtMemoCfg.numRegions;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SPrintRegMemStatusInfo
(
Region region,
uint8_t typeFlag
)
-#else
-S16 SPrintRegMemStatusInfo(region, typeFlag)
-Region region;
-uint8_t typeFlag;
-#endif
{
Txt prntBuf[150];
uint32_t idx;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-static S16 SPrintRegMemStats
-(
-Region region
-)
-#else
-static S16 SPrintRegMemStats(region)
-Region region;
-#endif
+static S16 SPrintRegMemStats(Region region)
{
CmMmHashListCp *hashListCp;
Txt prntBuf[150];
* File: mt_ss.c
*
*/
-#ifdef ANSI
Void SRegMemErrHdlr
(
Region region,
Data *ptr,
S16 errCode
)
-#else
-Void SRegMemErrHdlr(region, ptr, errCode)
-Region region;
-Data *ptr;
-S16 errCode;
-#endif
{
Txt prntBuf[150];
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SPrintRegMemProfile
(
Region region
)
-#else
-S16 SPrintRegMemProfile(region)
-Region region;
-#endif
{
CmMmHeapCb *heapCb;
CmMmRegCb *regCb;
* File: mt_ss.c
*
--*/
-#ifdef ANSI
S16 SGetTimeStamp
(
S8 *ts
)
-#else
-S16 SGetTimeStamp(ts)
-S8 *ts;
-#endif
{
#ifndef SS_LINUX
* File: mt_ss.c
*
--*/
-#ifdef ANSI
-uint32_t SGetSystemTsk
-(
-Void
-)
-#else
-uint32_t SGetSystemTsk()
-#endif
+uint32_t SGetSystemTsk(Void)
{
return (pthread_self());
* File: mt_ss.c
*
--*/
-#ifdef ANSI
static SsSTskEntry* ssdAddTmrSTsk(Void)
-#else
-static SsSTskEntry* ssdAddTmrSTsk()
-#endif
{
SsSTskEntry *sTsk;
S16 ret;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 ssdInitLockNew
-(
-SLockInfo *lockId,
-uint8_t lockType
-)
-#else
-S16 ssdInitLockNew(lockId, lockType)
-SLockInfo *lockId;
-uint8_t lockType;
-#endif
+S16 ssdInitLockNew(SLockInfo *lockId,uint8_t lockType)
{
#ifdef SS_REC_LOCK_SUPPORT
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 ssdLockNew
-(
-SLockInfo *lockId,
-uint8_t lockType
-)
-#else
-S16 ssdLockNew(lockId, lockType)
-SLockInfo *lockId;
-uint8_t lockType;
-#endif
+S16 ssdLockNew(SLockInfo *lockId,uint8_t lockType)
{
Txt prntBuf[PRNTSZE];
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 ssdUnlockNew
-(
-SLockInfo *lockId,
-uint8_t lockType
-)
-#else
-S16 ssdUnlockNew(lockId, lockType)
-SLockInfo *lockId;
-uint8_t lockType;
-#endif
+S16 ssdUnlockNew(SLockInfo *lockId,uint8_t lockType)
{
Txt prntBuf[PRNTSZE];
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 ssdDestroyLockNew
-(
-SLockInfo *lockId,
-uint8_t lockType
-)
-#else
-S16 ssdDestroyLockNew(lockId, lockType)
-SLockInfo *lockId;
-uint8_t lockType;
-#endif
+S16 ssdDestroyLockNew(SLockInfo *lockId,uint8_t lockType)
{
Txt prntBuf[PRNTSZE];
S16 retVal = ROK;
* File:
*
**/
-#ifdef ANSI
-S16 ssInitRcvWork
-(
- void
- )
-#else
-S16 ssInitRcvWork()
-#endif
+S16 ssInitRcvWork(void)
{
pthread_attr_t attr;
pthread_t thread;
*
**/
-#ifdef ANSI
-static void *workRcvTsk
-(
- Ptr ptr
- )
-#else
-static void *workRcvTsk (ptr)
- Ptr ptr;
-#endif
+static void *workRcvTsk(Ptr ptr)
{
cvmx_wqe_t *workPtr;
* File: pt_ss.c
*
*/
-#ifdef ANSI
S16 SStartTask
(
volatile uint32_t *startTime,
uint32_t taskId
)
-#else
-S16 SStartTask(startTime, taskId)
-volatile uint32_t *startTime;
-uint32_t taskId;
-#endif
{
#ifdef MSPD_MLOG_NEW
*startTime = GetTIMETICK();
* File: pt_ss.c
*
*/
-#ifdef ANSI
S16 SStopTask
(
volatile uint32_t startTime,
uint32_t taskId
)
-#else
-S16 SStopTask(startTime, taskId)
-volatile uint32_t startTime;
-uint32_t taskId;
-#endif
{
/*uint32_t stopTime;*/
switch(taskId)
return ROK;
}
#else
-#ifdef ANSI
S16 SStartTask
(
-volatile uint32_t * startTime,
-uint32_t taskId
+volatile uint32_t * startTime,
+uint32_t taskId
)
-#else
-S16 SStartTask(startTime, taskId)
-volatile uint32_t * startTime;
-uint32_t taskId;
-#endif
{
*startTime = 0;
return ROK;
}
-#ifdef ANSI
S16 SStopTask
(
-volatile uint32_t startTime,
-uint32_t taskId
+volatile uint32_t startTime,
+uint32_t taskId
)
-#else
-S16 SStopTask(startTime, taskId)
-volatile uint32_t startTime;
-uint32_t taskId;
-#endif
{
return ROK;
}
*
* @return Void - function is always success
*/
-#ifdef ANSI
Void UpdateSocCpuInfo
(
CmCpuStatsInfo *cpuInfo,
uint8_t idx
)
-#else
-Void UpdateSocCpuInfo(*cpuInfo, idx)
-CmCpuStatsInfo *cpuInfo;
-uint8_t idx;
-#endif
{
FILE *mipsFd;
S8 mipsStr[MIPS_STRING_LEN];
* File: mt_ss.c
*
--*/
-#ifdef ANSI
static SsSTskEntry* ssdReAddTmrSTsk(
uint8_t idx
)
-#else
-static SsSTskEntry* ssdReAddTmrSTsk(idx)
-uint8_t idx;
-#endif
{
SsSTskEntry *sTsk;
S16 ret;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 ssdReInitTmr
-(
-void
-)
-#else
-S16 ssdReInitTmr()
-#endif
+S16 ssdReInitTmr(void)
{
pthread_attr_t attr;
struct sched_param param_sched;
* File: ss_drvr.c
*
*/
-#ifdef ANSI
S16 SRegDrvrTsk
(
Inst channel, /* channel instance */
ActvTsk actvTsk, /* activation function */
ISTsk isTsk /* interrupt service function */
)
-#else
-S16 SRegDrvrTsk(channel, low, high, actvTsk, isTsk)
-Inst channel; /* channel instance */
-ProcId low; /* processor ID -- low */
-ProcId high; /* processor ID -- high */
-ActvTsk actvTsk; /* activation function */
-ISTsk isTsk; /* interrupt service function */
-#endif
{
S16 ret;
#if (ERRCLASS & ERRCLS_INT_PAR)
* File: ss_drvr.c
*
*/
-#ifdef ANSI
S16 SDeregDrvrTsk
(
Inst channel /* channel instance */
)
-#else
-S16 SDeregDrvrTsk(channel)
-Inst channel;
-#endif
{
/* ss002.301 Modifications */
* File: ss_gen.c
*
*/
-#ifdef ANSI
-S16 SInit
-(
-void
-)
-#else
-S16 SInit()
-#endif
+S16 SInit(void)
{
S16 ret;
REG1 S16 i;
* File: ss_gen.c
*
*/
-#ifdef ANSI
-S16 SDeInit
-(
-void
-)
-#else
-S16 SDeInit()
-#endif
+S16 SDeInit(void)
{
/* ss007.301 */
uint16_t regCnt;
}
/* ss001.301: additions */
#ifdef SS_LOGGER_SUPPORT
-#ifdef ANSI
S16 SWrtLogBuf
(
Txt *buf /* buffer */
)
-#else
-S16 SWrtLogBuf(buf)
-Txt *buf; /* buffer */
-#endif
{
S16 bufSz;
/* buffer synchronisation*/
* File: ss_gen.c
*
*/
-#ifdef ANSI
S16 SPrint
(
Txt *buf /* buffer */
)
-#else
-S16 SPrint(buf)
-Txt *buf; /* buffer */
-#endif
{
/* ss001.301: additions */
* File: ss_gen.c
*
*/
-#ifdef ANSI
S16 SError
(
Seq seq, /* sequence */
Reason reason /* reason */
)
-#else
-S16 SError(seq, reason)
-Seq seq; /* sequence */
-Reason reason; /* reason */
-#endif
{
S16 ret;
DateTime dt;
* File: ss_gen.c
*
*/
-#ifdef ANSI
Void SLogError
(
Ent ent, /* Calling layer's entity id */
ErrVal errVal, /* error value */
Txt *errDesc /* description of error */
)
-#else
-Void SLogError(ent, inst, procId, file, line,
- errCls, errCode, errVal, errDesc)
-Ent ent; /* Calling layer's entity id */
-Inst inst; /* Calling layer's instance id */
-ProcId procId; /* Calling layer's processor id */
-Txt *file; /* file name where error occured */
-S32 line; /* line in file where error occured */
-ErrCls errCls; /* error class */
-ErrCode errCode; /* layer unique error code */
-ErrVal errVal; /* error value */
-Txt *errDesc; /* description of error */
-#endif
{
DateTime dt;
Txt errBuf[512];
* File: ss_gen.c
*
*/
-#ifdef ANSI
-ProcId SFndProcId
-(
-void
-)
-#else
-ProcId SFndProcId()
-#endif
+ProcId SFndProcId(void)
{
return (osCp.procId);
* File: ss_gen.c
*
*/
-#ifdef ANSI
-Void SSetProcId
-(
-ProcId procId
-)
-#else
-Void SSetProcId(procId)
-ProcId procId;
-#endif
+Void SSetProcId(ProcId procId)
{
osCp.procId = procId;
* File: ss_gen.c
*
*/
-#ifdef ANSI
-uint16_t SGetProcIdIdx
-(
-ProcId proc
-)
-#else
-uint16_t SGetProcIdIdx(proc)
-ProcId proc;
-#endif
+uint16_t SGetProcIdIdx(ProcId proc)
{
uint16_t i;
uint16_t idx;
* File: ss_gen.c
*
*/
-#ifdef ANSI
-static S16 SInsProcId
-(
-ProcId proc
-)
-#else
-static S16 SInsProcId(proc)
-ProcId proc;
-#endif
+static S16 SInsProcId(ProcId proc)
{
uint16_t i;
uint16_t idx;
* File: ss_gen.c
*
*/
-#ifdef ANSI
-static S16 SRemProcId
-(
-ProcId proc
-)
-#else
-static S16 SRemProcId(proc)
-ProcId proc;
-#endif
+static S16 SRemProcId(ProcId proc)
{
uint16_t i;
uint16_t idx;
* File: ss_gen.c
*
*/
-#ifdef ANSI
-static S16 SLockOsCp
-(
-Void
-)
-#else
-static S16 SLockOsCp(Void)
-#endif
+static S16 SLockOsCp(void)
{
S16 ret;
* File: ss_gen.c
*
*/
-#ifdef ANSI
-static S16 SULockOsCp
-(
-Void
-)
-#else
static S16 SULockOsCp(Void)
-#endif
{
/* unlock the table */
* File: ss_gen.c
*
*/
-#ifdef ANSI
-S16 SAddProcIdLst
-(
-uint16_t numPIds,
-ProcId *pIdLst
-)
-#else
-S16 SAddProcIdLst(numPIds, pIdLst)
-uint16_t numPIds;
-ProcId *pIdLst;
-#endif
+S16 SAddProcIdLst(uint16_t numPIds,ProcId *pIdLst)
{
uint16_t i;
S16 ret;
* File: ss_gen.c
*
*/
-#ifdef ANSI
-S16 SRemProcIdLst
-(
-uint16_t numPIds,
-ProcId *pIdLst
-)
-#else
-S16 SRemProcIdLst(numPIds, pIdLst)
-uint16_t numPIds;
-ProcId *pIdLst;
-#endif
+S16 SRemProcIdLst(uint16_t numPIds,ProcId *pIdLst)
{
uint16_t i;
* File: ss_gen.c
*
*/
-#ifdef ANSI
-S16 SGetProcIdLst
-(
-uint16_t *numPIds,
-ProcId *pIdLst
-)
-#else
-S16 SGetProcIdLst(numPIds, pIdLst)
-uint16_t *numPIds;
-ProcId *pIdLst;
-#endif
+S16 SGetProcIdLst(uint16_t *numPIds,ProcId *pIdLst)
{
uint16_t i;
uint16_t count = 0;
* File: ss_gen.c
*
*/
-#ifdef ANSI
S16 SGetXxCb
(
ProcId proc,
Inst inst,
Void **xxCb
)
-#else
-S16 SGetXxCb(proc, ent, inst, xxCb)
-ProcId proc;
-Ent ent;
-Inst inst;
-Void **xxCb;
-#endif
{
uint16_t procIdIdx;
SsIdx idx;
* File: ss_gen.c
*
*/
-#ifdef ANSI
-S16 SFillEntIds
-(
-Void
-)
-#else
S16 SFillEntIds(Void)
-#endif
{
uint8_t entInfo[26][26] = {
*
*
*/
-#ifdef ANSI
-S16 SGetEntInd
-(
-Ent *entId,
-uint8_t *fileName
-)
-#else
-S16 SGetEntInd(entId, fileName)
-Ent *entId;
-uint8_t *fileName;
-#endif
+S16 SGetEntInd(Ent *entId,uint8_t *fileName)
{
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 SLockNew
-(
-SLockInfo *lockId,
-uint8_t lockType
-
-)
-#else
-S16 SLockNew(lockId, lockType)
-SLockInfo *lockId;
-uint8_t lockType;
-#endif
+S16 SLockNew(SLockInfo *lockId,uint8_t lockType)
{
S16 retVal = ROK;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 SInitLockNew
-(
-SLockInfo *lockId,
-uint8_t lockType
-)
-#else
-S16 SInitLockNew(lockId, lockType)
-SLockInfo *lockId;
-uint8_t lockType;
-#endif
+S16 SInitLockNew(SLockInfo *lockId,uint8_t lockType)
{
S16 retVal = ROK;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 SUnlockNew
-(
-SLockInfo *lockId,
-uint8_t lockType
-)
-#else
-S16 SUnlockNew(lockId, lockType)
-SLockInfo *lockId;
-uint8_t lockType;
-#endif
+S16 SUnlockNew(SLockInfo *lockId,uint8_t lockType)
{
S16 retVal = ROK;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 SDestroyLockNew
-(
-SLockInfo *lockId,
-uint8_t lockType
-)
-#else
-S16 SDestroyLockNew(lockId, lockType)
-SLockInfo *lockId;
-uint8_t lockType;
-#endif
+S16 SDestroyLockNew(SLockInfo *lockId,uint8_t lockType)
{
S16 retVal = ROK;
* File: mt_ss.c
*
*/
-#ifdef ANSI
-S16 SReInitTmr
-(
-void
-)
-#else
-S16 SReInitTmr()
-#endif
+S16 SReInitTmr(void)
{
uint8_t ret = ROK;
Txt prntBuf[PRNTSZE];
* File: ss_mem.c
*
*/
-#ifdef ANSI
S16 SRegDynRegion
(
Region region, /* region ID */
SRegInfo *regInfo /* information about the region */
)
-#else
-S16 SRegDynRegion(region, regInfo)
-Region region; /* region ID */
-SRegInfo *regInfo; /* information about the region */
-#endif
{
S16 ret;
* File: ss_mem.c
*
*/
-#ifdef ANSI
S16 SRegRegion
(
Region region, /* region ID */
SRegInfo *regInfo /* information about the region */
)
-#else
-S16 SRegRegion(region, regInfo)
-Region region; /* region ID */
-SRegInfo *regInfo; /* information about the region */
-#endif
{
S16 ret;
* File: ss_mem.c
*
*/
-#ifdef ANSI
S16 SDeregRegion
(
Region region /* region ID */
)
-#else
-S16 SDeregRegion(region)
-Region region; /* region ID */
-#endif
{
S16 ret;
#ifndef SS_FAP
/* ss001.301: Additions */
#ifdef SS_HISTOGRAM_SUPPORT
-#ifdef ANSI
S16 SAlloc
(
Region region, /* region ID */
uint8_t entId
)
#else
-S16 SAlloc(region, size, flags, ptr, line, fileName, entId)
-Region region; /* region ID */
-Size *size; /* size of block required/allocated */
-uint32_t flags; /* allocation flags */
-Data **ptr; /* filled with pointer to block */
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-#endif
-#else
#ifdef T2K_MEM_LEAK_DBG
S16 SAllocNew
(
uint32_t line
)
#else
-#ifdef ANSI
S16 SAlloc
(
Region region, /* region ID */
uint32_t flags, /* allocation flags */
Data **ptr /* filled with pointer to block */
)
-#else
-S16 SAlloc(region, size, flags, ptr)
-Region region; /* region ID */
-Size *size; /* size of block required/allocated */
-uint32_t flags; /* allocation flags */
-Data **ptr; /* filled with pointer to block */
-#endif
#endif
#endif
{
*/
/* ss001.301: Additions */
#ifdef SS_HISTOGRAM_SUPPORT
-#ifdef ANSI
S16 SFree
(
Region region, /* region ID */
uint8_t entId
)
#else
-S16 SFree(region, ptr, size, line, fileName, entId)
-Region region; /* region ID */
-Data *ptr; /* pointer to the allocated block */
-Size size; /* size of block */
-uint32_t line;
-uint8_t *fileName;
-uint8_t entId;
-#endif
-#else
-#ifdef ANSI
#ifdef T2K_MEM_LEAK_DBG
S16 SFreeNew
(
Size size /* size of block */
)
#endif
-#else
-S16 SFree(region, ptr, size)
-Region region; /* region ID */
-Data *ptr; /* pointer to the allocated block */
-Size size; /* size of block */
-#endif
#endif
{
S16 ret;
* File: mt_ss.c
*
*/
-#ifdef ANSI
S16 SHstGrmInfoShow
(
Ent *entId
)
-#else
-S16 SHstGrmInfoShow(entId)
-Ent *entId;
-#endif
{
/*ss012.301 : Increased Buffer size to fix segmentation fault*/
Txt prntBuf[511]; /* Buffer to print on the console */
uint32_t line
)
#else
-#ifdef ANSI
S16 ssGetDBufOfSize
(
Region region,
Size size,
Buffer **dBuf
)
-#else
-S16 ssGetDBufOfSize(region, size, dBuf)
-Region region;
-Size size;
-Buffer **dBuf;
-#endif
#endif
{
Size mdsize;
*/
/* ss001.301: additions */
#ifdef SS_HISTOGRAM_SUPPORT
-#ifdef ANSI
S16 SGetMsgNew
(
Region region, /* region id */
uint32_t line,
uint8_t *fileName
)
-#else
-S16 SGetMsgNew(region, pool, mBuf, line, fileName)
-Region region; /* region id */
-Pool pool; /* pool id */
-Buffer **mBuf; /* pointer to message buffer */
-uint32_t line;
-uint8_t *fileName;
-#endif
#else /* SS_HISTOGRAM_SUPPORT */
#ifdef T2K_MEM_LEAK_DBG
S16 SGetMsgNew
uint32_t line
)
#else
-#ifdef ANSI
S16 SGetMsg
(
Region region, /* region id */
Pool pool, /* pool id */
Buffer **mBuf /* pointer to message buffer */
)
-#else
-S16 SGetMsg(region, pool, mBuf)
-Region region; /* region id */
-Pool pool; /* pool id */
-Buffer **mBuf; /* pointer to message buffer */
-#endif
#endif
#endif /* SS_HISTOGRAM_SUPPORT */
{
*/
/* ss001.301: additions */
#ifdef SS_HISTOGRAM_SUPPORT
-#ifdef ANSI
S16 SPutMsgNew
(
Buffer *mBuf,
uint32_t line,
uint8_t *fileName
)
-#else
-S16 SPutMsgNew(mBuf, line, fileName)
-Buffer *mBuf;
-uint32_t line;
-uint8_t *fileName;
-#endif
#else /* SS_HISTOGRAM_SUPPORT */
#ifdef T2K_MEM_LEAK_DBG
S16 SPutMsgNew
uint32_t line
)
#else
-#ifdef ANSI
S16 SPutMsg
(
Buffer *mBuf
)
-#else
-S16 SPutMsg(mBuf)
-Buffer *mBuf;
-#endif
#endif
#endif /* SS_HISTOGRAM_SUPPORT */
{
uint32_t line
)
#else
-#ifdef ANSI
S16 SPutStaticBuffer
(
Region region, /* region ID */
Size size, /* size */
uint8_t memType /* memory type used if shareable or not */
)
-#else
-S16 SPutStaticBuffer(region, pool, ptr, size)
-Region region; /* region ID */
-Pool pool; /* pool ID */
-Data *ptr; /* pointer to buffer */
-Size size; /* size */
-uint8_t memType; /* memory type used if shareable or not */
-#endif
#endif
{
S16 ret = RFAILED;
uint32_t line
)
#else
-#ifdef ANSI
S16 SGetStaticBuffer
(
Region region, /* region ID */
Size size, /* size requested */
uint8_t memType /* memory type used if shareable or not */
)
-#else
-S16 SGetStaticBuffer(region, pool, ptr, size)
-Region region; /* region ID */
-Pool pool; /* pool ID */
-Data **ptr; /* pointer to buffer */
-Size size; /* size requested */
-uint8_t memType; /* memory type used if shareable or not */
-#endif
#endif
{
S16 ret = RFAILED;
#ifdef INTEL_WLS_MEM
#ifndef SS_LOCKLESS_MEMORY
-#ifdef ANSI
S16 SGetStaticBuffer
(
Region region, /* region ID */
Size size, /* size requested */
uint8_t memType /* memory type used if shareable or not */
)
-#else
-S16 SGetStaticBuffer(region, pool, ptr, size)
-Region region; /* region ID */
-Pool pool; /* pool ID */
-Data **ptr; /* pointer to buffer */
-Size size; /* size requested */
-uint8_t memType; /* memory type used if shareable or not */
-#endif
{
S16 ret;
}
-#ifdef ANSI
S16 SPutStaticBuffer
(
Region region, /* region ID */
Size size, /* size */
uint8_t memType /* memory type used if shareable or not */
)
-#else
-S16 SPutStaticBuffer(region, pool, ptr, size)
-Region region; /* region ID */
-Pool pool; /* pool ID */
-Data *ptr; /* pointer to buffer */
-Size size; /* size */
-uint8_t memType; /* memory type used if shareable or not */
-#endif
{
S16 ret;
*/
/* ss001.301: additions */
#ifdef SS_HISTOGRAM_SUPPORT
-#ifdef ANSI
S16 SGetSBufNew
(
Region region, /* region ID */
uint32_t line,
uint8_t *fileName
)
-#else
-S16 SGetSBufNew(region, pool, ptr, size, line, fileName)
-Region region; /* region ID */
-Pool pool; /* pool ID */
-Data **ptr; /* pointer to buffer */
-Size size; /* size requested */
-uint32_t line;
-uint8_t *fileName;
-#endif
#else /* SS_HISTOGRAM_SUPPORT */
#if (defined(SSI_STATIC_MEM_LEAK_DETECTION) || defined(T2K_MEM_LEAK_DBG))
-#ifdef ANSI
S16 SGetSBuf1
(
Region region, /* region ID */
uint32_t line
)
#else
-S16 SGetSBuf1(region, pool, ptr, size, file, line)
-Region region; /* region ID */
-Pool pool; /* pool ID */
-Data **ptr; /* pointer to buffer */
-Size size; /* size requested */
-char* file;
-uint32_t line;
-#endif
-#else
-#ifdef ANSI
S16 SGetSBuf
(
Region region, /* region ID */
Data **ptr, /* pointer to buffer */
Size size /* size requested */
)
-#else
-S16 SGetSBuf(region, pool, ptr, size)
-Region region; /* region ID */
-Pool pool; /* pool ID */
-Data **ptr; /* pointer to buffer */
-Size size; /* size requested */
-#endif
#endif
#endif /* SS_HISTOGRAM_SUPPORT */
{
*/
/* ss001.301: additions */
#ifdef SS_HISTOGRAM_SUPPORT
-#ifdef ANSI
S16 SPutSBufNew
(
Region region, /* region ID */
uint32_t line,
uint8_t *fileName
)
-#else
-S16 SPutSBufNew(region, pool, ptr, size, line, fileName)
-Region region; /* region ID */
-Pool pool; /* pool ID */
-Data *ptr; /* pointer to buffer */
-Size size; /* size */
-uint32_t line;
-uint8_t *fileName;
-#endif
#else /* SS_HISTOGRAM_SUPPORT */
#if (defined(SSI_STATIC_MEM_LEAK_DETECTION) || defined(T2K_MEM_LEAK_DBG))
-#ifdef ANSI
S16 SPutSBuf1
(
Region region, /* region ID */
uint32_t line
)
#else
-S16 SPutSBuf1(region, pool, ptr, size, file, line)
-Region region; /* region ID */
-Pool pool; /* pool ID */
-Data *ptr; /* pointer to buffer */
-Size size; /* size */
-char* file;
-uint32_t line;
-#endif
-#else
-#ifdef ANSI
S16 SPutSBuf
(
Region region, /* region ID */
Data *ptr, /* pointer to buffer */
Size size /* size */
)
-#else
-S16 SPutSBuf(region, pool, ptr, size)
-Region region; /* region ID */
-Pool pool; /* pool ID */
-Data *ptr; /* pointer to buffer */
-Size size; /* size */
-#endif
#endif
#endif /* SS_HISTOGRAM_SUPPORT */
{
*
*/
-#ifdef ANSI
-S16 SInitMsg
-(
-Buffer *mBuf
-)
-#else
-S16 SInitMsg(mBuf)
-Buffer *mBuf;
-#endif
+S16 SInitMsg(Buffer *mBuf)
{
SsMsgInfo *minfo;
Buffer *tmp;
* File: ss_msg.c
*
*/
-#ifdef ANSI
S16 SAddPreMsgMultInOrder
(
- Data *src,
- MsgLen cnt,
- Buffer *mBuf
- )
-#else
-S16 SAddPreMsgMultInOrder(src, cnt, mBuf)
- Data *src;
- MsgLen cnt;
- Buffer *mBuf;
-#endif
+Data *src,
+MsgLen cnt,
+Buffer *mBuf
+)
{
SsMsgInfo *minfo; /* Message info */
Buffer *tmp;
*/
-#ifdef ANSI
S16 SAddPreMsg
(
Data data,
Buffer *mBuf
)
-#else
-S16 SAddPreMsg (data, mBuf)
-Data data;
-Buffer *mBuf;
-#endif
{
SsMsgInfo *minfo;
Buffer *tmp;
*/
-#ifdef ANSI
S16 SAddPstMsg
(
Data data,
Buffer *mBuf
)
-#else
-S16 SAddPstMsg (data, mBuf)
-Data data;
-Buffer *mBuf;
-#endif
{
SsMsgInfo *minfo;
Buffer *tmp;
)
#else
-#ifdef ANSI
S16 SAddPreMsgMult
(
Data *src,
MsgLen cnt,
Buffer *mBuf
)
-#else
-S16 SAddPreMsgMult(src, cnt, mBuf)
-Data *src;
-MsgLen cnt;
-Buffer *mBuf;
-#endif
#endif
{
SsMsgInfo *minfo; /* Message info */
uint32_t line
)
#else
-#ifdef ANSI
S16 SAddPstMsgMult
(
Data *src,
MsgLen cnt,
Buffer *mBuf
)
-#else
-S16 SAddPstMsgMult(src, cnt, mBuf)
-Data *src;
-MsgLen cnt;
-Buffer *mBuf;
-#endif
#endif
{
SsMsgInfo *minfo;
*/
-#ifdef ANSI
S16 SRemPreMsg
(
Data *dataPtr,
Buffer *mBuf
)
-#else
-S16 SRemPreMsg(dataPtr, mBuf)
-Data *dataPtr;
-Buffer *mBuf;
-#endif
{
SsMsgInfo *minfo;
Buffer *tmp;
*/
-#ifdef ANSI
S16 SRemPstMsg
(
Data *dataPtr, /* pointer to data */
Buffer *mBuf
)
-#else
-S16 SRemPstMsg(dataPtr, mBuf)
-Data *dataPtr; /* pointer to data */
-Buffer *mBuf; /* message buffer */
-#endif
{
SsMsgInfo *minfo;
Buffer *tmp;
*
*/
-#ifdef ANSI
S16 SRemPreMsgMult
(
Data *dst, /* destination */
MsgLen cnt, /* count */
Buffer *mBuf
)
-#else
-S16 SRemPreMsgMult(dst, cnt, mBuf)
-Data *dst; /* destination */
-MsgLen cnt; /* count */
-Buffer *mBuf; /* message buffer */
-#endif
{
SsMsgInfo *minfo;
Buffer *tmp;
*
*/
-#ifdef ANSI
S16 SRemPstMsgMult
(
Data *dst, /* destination */
MsgLen cnt, /* count */
Buffer *mBuf
)
-#else
-S16 SRemPstMsgMult(dst, cnt, mBuf)
-Data *dst; /* destination */
-MsgLen cnt; /* count */
-Buffer *mBuf; /* message buffer */
-#endif
{
SsMsgInfo *minfo;
Buffer *tmp;
*/
-#ifdef ANSI
S16 SExamMsg
(
Data *dataPtr, /* pointer to data */
Buffer *mBuf, /* message buffer */
MsgLen idx
)
-#else
-S16 SExamMsg(dataPtr, mBuf, idx)
-Data *dataPtr; /* pointer to data */
-Buffer *mBuf; /* message buffer */
-MsgLen idx; /* index */
-#endif
{
SsMsgInfo *minfo;
Buffer *tmp;
*/
-#ifdef ANSI
S16 SGetDataFrmMsg
(
Buffer *mBuf, /* message buffer */
MsgLen idx,
MsgLen dataLen
)
-#else
-S16 SGetDataFrmMsg(mBuf, dataPtr, idx, dataLen)
-Buffer *mBuf; /* message buffer */
-Data *dataPtr; /* pointer to data */
-MsgLen idx; /* index */
-MsgLen dataLen;
-#endif
{
SsMsgInfo *minfo;
Buffer *tmp;
*/
-#ifdef ANSI
S16 SFndLenMsg
(
REG1 Buffer *mBuf, /* message buffer */
MsgLen *lngPtr
)
-#else
-S16 SFndLenMsg(mBuf, lngPtr)
-REG1 Buffer *mBuf; /* message buffer */
-MsgLen *lngPtr; /* pointer to length */
-#endif
{
SsMsgInfo *minfo;
uint32_t line
)
#else
-#ifdef ANSI
S16 SSegMsg
(
Buffer *mBuf1, /* message 1 */
MsgLen idx, /* index */
Buffer **mBuf2
)
-#else
-S16 SSegMsg(mBuf1, idx, mBuf2)
-Buffer *mBuf1; /* message 1 */
-MsgLen idx; /* index */
-Buffer **mBuf2; /* message 2 */
-#endif
#endif
{
SsMsgInfo *minfo1;
*
*/
-#ifdef ANSI
S16 SCpyFixMsg
(
Data *srcBuf, /* source buffer */
MsgLen cnt, /* count */
MsgLen *cCnt
)
-#else
-S16 SCpyFixMsg(srcBuf, dstMbuf, dstIdx, cnt, cCnt)
-Data *srcBuf; /* source buffer */
-Buffer *dstMbuf; /* destination message buffer */
-MsgLen dstIdx; /* destination index */
-MsgLen cnt; /* count */
-MsgLen *cCnt; /* copied count */
-#endif
{
S16 ret;
SsMsgInfo *minfo;
*
*/
-#ifdef ANSI
S16 SCpyMsgFix
(
Buffer *srcMbuf, /* source message buffer */
Data *dstBuf, /* destination buffer */
MsgLen *cCnt
)
-#else
-S16 SCpyMsgFix(srcMbuf, srcIdx, cnt, dstBuf, cCnt)
-Buffer *srcMbuf; /* source message buffer */
-MsgLen srcIdx; /* source index */
-MsgLen cnt; /* count */
-Data *dstBuf; /* destination buffer */
-MsgLen *cCnt; /* copied count */
-#endif
{
Data *cptr;
Buffer *tmp;
uint32_t line
)
#else
-#ifdef ANSI
S16 SCpyMsgMsg
(
Buffer *srcBuf,
Pool dstPool,
Buffer **dstBuf
)
-#else
-S16 SCpyMsgMsg(srcBuf, dstRegion, dstPool, dstBuf)
-Buffer *srcBuf;
-Region dstRegion;
-Pool dstPool;
-Buffer **dstBuf;
-#endif
#endif
{
SsMsgInfo *minfo1;
uint32_t line
)
#else
-#ifdef ANSI
S16 SAddMsgRef
(
Buffer *srcBuf,
Pool dstPool,
Buffer **dstBuf
)
-#else
-S16 SAddMsgRef(srcBuf, dstRegion, dstPool, dstBuf)
-Buffer *srcBuf;
-Region dstRegion;
-Pool dstPool;
-Buffer **dstBuf;
-#endif
#endif
{
SsMsgInfo *minfo1;
uint32_t line
)
#else
-#ifdef ANSI
static Buffer *DupMsg
(
Region region, /* region id */
Buffer *mp /* message block */
)
-#else
-static Buffer *DupMsg(region, mp)
-Region region; /* region id */
-Buffer *mp; /* message block */
-#endif
#endif
{
Buffer *bp; /* mblk for iteration */
uint32_t line
)
#else
-#ifdef ANSI
S16 SGetDBuf
(
Region region, /* region id */
Pool pool, /* pool id */
Buffer **bufPtr
)
-#else
-S16 SGetDBuf(region, pool, bufPtr)
-Region region; /* region id */
-Pool pool; /* pool id */
-Buffer **bufPtr; /* pointer to buffer */
-#endif
#endif
{
Size size;
uint32_t line
)
#else
-#ifdef ANSI
S16 SPutDBuf
(
Region region,
Pool pool,
Buffer *buf
)
-#else
-S16 SPutDBuf(region, pool, buf)
-Region region;
-Pool pool;
-Buffer *buf;
-#endif
#endif
{
register SsDblk *dptr;
*/
-#ifdef ANSI
S16 SCatMsg
(
Buffer *mBuf1, /* message 1 */
Buffer *mBuf2, /* message 2 */
Order order
)
-#else
-S16 SCatMsg(mBuf1, mBuf2, order)
-Buffer *mBuf1; /* message 1 */
-Buffer *mBuf2; /* message 2 */
-Order order; /* order */
-#endif
{
SsMsgInfo *minfo1;
SsMsgInfo *minfo2;
*/
-#ifdef ANSI
S16 SRepMsg
(
Data data, /* data */
Buffer *mBuf, /* message buffer */
MsgLen idx
)
-#else
-S16 SRepMsg(data, mBuf, idx)
-Data data; /* data */
-Buffer *mBuf; /* message buffer */
-MsgLen idx; /* index */
-#endif
{
SsMsgInfo *minfo;
Buffer *tmp;
*/
-#ifdef ANSI
S16 SUpdMsg
(
Buffer *mBuf, /* message buffer */
Buffer *dBuf, /* data buffer */
MsgLen dLen
)
-#else
-S16 SUpdMsg(mBuf, dBuf, dLen)
-Buffer *mBuf; /* message buffer */
-Buffer *dBuf; /* data buffer */
-MsgLen dLen; /* data length */
-#endif
{
SsMsgInfo *minfo;
*/
-#ifdef ANSI
S16 SAddDBufPst
(
Buffer *mBuf, /* message buffer */
Buffer *dBuf
)
-#else
-S16 SAddDBufPst(mBuf, dBuf)
-Buffer *mBuf; /* message buffer */
-Buffer *dBuf; /* data buffer */
-#endif
{
SsMsgInfo *minfo;
*/
-#ifdef ANSI
S16 SAddDBufPre
(
Buffer *mBuf, /* message buffer */
Buffer *dBuf
)
-#else
-S16 SAddDBufPre(mBuf, dBuf)
-Buffer *mBuf; /* message buffer */
-Buffer *dBuf; /* data buffer */
-#endif
{
SsMsgInfo *minfo;
Buffer *tmp;
*/
-#ifdef ANSI
S16 SRemDBufPre
(
Buffer *mBuf, /* message buffer */
Buffer **dBufPtr
)
-#else
-S16 SRemDBufPre(mBuf, dBufPtr)
-Buffer *mBuf; /* message buffer */
-Buffer **dBufPtr; /* pointer to data buffer */
-#endif
{
SsMsgInfo *minfo;
*/
-#ifdef ANSI
S16 SRemDBufPst
(
Buffer *mBuf, /* message buffer */
Buffer **dBufPtr
)
-#else
-S16 SRemDBufPst(mBuf, dBufPtr)
-Buffer *mBuf; /* message buffer */
-Buffer **dBufPtr; /* pointer to data buffer */
-#endif
{
SsMsgInfo *minfo;
Buffer *tmp;
*/
-#ifdef ANSI
S16 SInitNxtDBuf
(
Buffer *mBuf
)
-#else
-S16 SInitNxtDBuf(mBuf)
-Buffer *mBuf; /* message buffer */
-#endif
{
SsMsgInfo *minfo;
*/
-#ifdef ANSI
S16 SGetNxtDBuf
(
Buffer *mBuf, /* message buffer */
Buffer **dBuf
)
-#else
-S16 SGetNxtDBuf(mBuf, dBuf)
-Buffer *mBuf; /* message buffer */
-Buffer **dBuf; /* data buffer return */
-#endif
{
SsMsgInfo *minfo;
*
*/
-#ifdef ANSI
S16 SChkNxtDBuf
(
Buffer *mBuf
)
-#else
-S16 SChkNxtDBuf(mBuf)
-Buffer *mBuf; /* message buffer */
-#endif
{
SsMsgInfo *minfo;
*/
-#ifdef ANSI
S16 SGetDataRx
(
Buffer *dBuf, /* data buffer */
Data **retDatPtr, /* return data pointer */
MsgLen *retDatLen
)
-#else
-S16 SGetDataRx(dBuf, pad, retDatPtr, retDatLen)
-Buffer *dBuf; /* data buffer */
-MsgLen pad; /* pad */
-Data **retDatPtr; /* return data pointer */
-MsgLen *retDatLen; /* return data length */
-#endif
{
#if (ERRCLASS & ERRCLS_INT_PAR)
*/
-#ifdef ANSI
S16 SGetDataTx
(
Buffer *dBuf, /* data buffer */
Data **retDatPtr, /* return data pointer */
MsgLen *retDatLen /* return data length */
)
-#else
-S16 SGetDataTx(dBuf, retDatPtr, retDatLen)
-Buffer *dBuf; /* data buffer */
-Data **retDatPtr; /* return data pointer */
-MsgLen *retDatLen; /* return data length */
-#endif
{
#if (ERRCLASS & ERRCLS_INT_PAR)
* File: ss_msg.c
*
*/
-#ifdef ANSI
S16 SGetBufRegionPool
(
Buffer *mBuf, /* message buffer */
Region *region, /* region */
Pool *pool /* pool */
)
-#else
-S16 SGetBufRegionPool(mBuf, region, pool)
-Buffer *mBuf; /* message buffer */
-Region *region; /* region */
-Pool *pool; /* pool */
-#endif
{
SsMsgInfo *mInfo; /* message info pointer */
*/
-#ifdef ANSI
S16 SCompressMsg
(
Buffer *mBuf
)
-#else
-S16 SCompressMsg(mBuf)
-Buffer *mBuf; /* message buffer */
-#endif
{
SsMsgInfo *minfo;
MsgLen numBytes;
*
*/
-#ifdef ANSI
S16 SPrntMsg
(
Buffer *mBuf, /* message buffer */
S16 src, /* source id */
S16 dst /* destination id */
)
-#else
-S16 SPrntMsg(mBuf, src, dst)
-Buffer *mBuf; /* message buffer */
-S16 src; /* source id */
-S16 dst; /* destination id */
-#endif
{
QLen qlen; /* queue length */
MsgLen mlen; /* message length */
* File: ss_msg.c
*
*/
-#ifdef ANSI
S16 SGetPstMsgMult
(
MsgLen cnt, /* count */
Buffer *mBuf /* message buffer */
)
-#else
-S16 SGetPstMsgMult(cnt, mBuf)
-MsgLen cnt; /* count */
-Buffer *mBuf; /* message buffer */
-#endif
{
Buffer *tmp;
Buffer *newb;
* File: ss_msg.c
*
*/
-#ifdef ANSI
S16 SChkMsg
(
Buffer *mBuf
)
-#else
-S16 SChkMsg(mBuf)
-Buffer *mBuf;
-#endif
{
SsMsgInfo *minfo;
Buffer *tmp;
* File: ss_msg.c
*
*/
-#ifdef ANSI
S16 SAlignDBufEven
(
Buffer *dBuf /* data buffer */
)
-#else
-S16 SAlignDBufEven(dBuf)
-Buffer *dBuf; /* data buffer */
-#endif
{
MsgLen len;
Data *src;
* File: ss_msg.c
*
*/
-#ifdef ANSI
S16 SAlignDBuf
(
Buffer *dBuf, /* data buffer */
uint32_t align /* alignemnt required */
)
-#else
-S16 SAlignDBuf(dBuf, align)
-Buffer *dBuf; /* data buffer */
-uint32_t align; /* alignemnt required */
-#endif
{
MsgLen len;
Data *src;
* File: ss_msg.c
*
*/
-#ifdef ANSI
S16 SGetSMem
(
Region region, /* region ID */
Size size, /* size */
Pool *pool /* pointer to pool ID */
)
-#else
-S16 SGetSMem(region, size, pool)
-Region region; /* region ID */
-Size size; /* size */
-Pool *pool; /* pointer to pool ID */
-#endif
{
UNUSED(size);
* File: ss_msg.c
*
*/
-#ifdef ANSI
S16 SPutSMem
(
Region region, /* region ID */
Pool pool /* pool ID */
)
-#else
-S16 SPutSMem(region, pool)
-Region region; /* region ID */
-Pool pool; /* pool ID */
-#endif
{
/* ss021.103 - Addition of return value */
#if (ERRCLASS & ERRCLS_INT_PAR)
* File: ss_msg.c
*
*/
-#ifdef ANSI
S16 SChkRes
(
Region region, /* region ID */
Pool pool, /* pool ID */
Status *status /* pointer to status */
)
-#else
-S16 SChkRes(region, pool, status)
-Region region; /* region ID */
-Pool pool; /* pool ID */
-Status *status; /* pointer to status */
-#endif
{
S16 ret;
SMemCtl mctl;
*/
-#ifdef ANSI
S16 SSwapMsg
(
Buffer *mBuf1, /* message 1 */
Buffer *mBuf2 /* message 2 */
)
-#else
-S16 SSwapMsg(mBuf1, mBuf2)
-Buffer *mBuf1; /* message 1 */
-Buffer *mBuf2; /* message 2 */
-#endif
{
SsMsgInfo *minfop;
SsMsgInfo minfo;
* File: ss_msg.c
*
*/
-#ifdef ANSI
S16 SConvPtrPhy
(
Buffer **mBuf
)
-#else
-S16 SConvPtrPhy (mBuf)
- Buffer **mBuf;
-#endif
{
Buffer *curPtr;
* File: ss_msg.c
*
*/
-#ifdef ANSI
S16 SConvPhyPtr
(
- Buffer **workPtr
- )
-#else
-S16 SConvPhyPtr (workPtr)
- Buffer **workPtr;
-#endif
+Buffer **workPtr
+)
{
Buffer *curPtr;
* File:
*
*/
-#ifdef ANSI
S16 SCpyFpaMsg
(
- Buffer *srcBuf,
- Region dstRegion,
- Pool dstPool,
- Buffer **dstBuf
- )
-#else
-S16 SCpyFpaMsg (srcBuf, dstRegion, dstPool, dstBuf)
- Buffer *srcBuf;
- Region dstRegion;
- Pool dstPool;
- Buffer **dstBuf;
-#endif
+Buffer *srcBuf,
+Region dstRegion,
+Pool dstPool,
+Buffer **dstBuf
+)
{
Size numBytes;
* File:
*
*/
-#ifdef ANSI
S16 SCpyMsgFpa
(
- Buffer *srcBuf,
- Buffer **dstBuf
- )
-#else
-S16 SCpyMsgFpa (srcBuf, dstBuf)
- Buffer *srcBuf;
- Buffer **dstBuf;
-#endif
+Buffer *srcBuf,
+Buffer **dstBuf
+)
{
Buffer *curPtr = NULLP;
* File:
*
*/
-#ifdef ANSI
S16 SPutFpaMsg
(
- Buffer *fpaBuf
+Buffer *fpaBuf
)
-#else
-S16 SPutFpaMsg(fpaBuf)
-Buffer *fpaBuf;
-#endif
{
uint16_t size;
Buffer *curBlk;
*
*/
-#ifdef ANSI
S16 SCpyPartMsg
(
Buffer *srcBuf,
MsgLen cnt,
Buffer *dstBuf
)
-#else
-S16 SCpyPartMsg(srcBuf, idx, cnt, dstBuf)
-Buffer *srcBuf;
-MsgLen idx;
-MsgLen cnt;
-Buffer *dstBuf;
-#endif
{
SsMsgInfo *sMinfo;
SsMsgInfo *dMinfo;
*
*/
-#ifdef ANSI
S16 SRepPartMsg
(
Buffer *srcBuf,
MsgLen cnt,
Buffer *dstBuf
)
-#else
-S16 SRepPartMsg(srcBuf, idx, cnt, dstBuf)
-Buffer *srcBuf;
-MsgLen idx;
-MsgLen cnt;
-Buffer *dstBuf;
-#endif
{
SsMsgInfo *sMinfo;
SsMsgInfo *dMinfo;
*/
-#ifdef ANSI
S16 SMovPartMsg
(
Buffer *srcBuf, /* message 1 */
MsgLen idx, /* index */
Buffer *dstBuf /* message 2 */
)
-#else
-S16 SMovPartMsg(srcBuf, idx, dstBuf)
-Buffer *srcBuf; /* message 1 */
-MsgLen idx; /* index */
-Buffer *dstBuf; /* message 2 */
-#endif
{
MsgLen dCnt;
MsgLen sCnt;
*
*/
-#ifdef ANSI
S16 SPkMsgMult
(
Data *src,
MsgLen cnt,
Buffer *mBuf
)
-#else
-S16 SPkMsgMult(src, cnt, mBuf)
-Data *src;
-MsgLen cnt;
-Buffer *mBuf;
-#endif
{
SsMsgInfo *minfo; /* Message info */
Buffer *tmp;
* File: ss_msg.c
*
*/
-#ifdef ANSI
S16 SGetReadPtr
(
- Buffer *mBuf,
- uint8_t** data,
- MsgLen *len
+Buffer *mBuf,
+uint8_t** data,
+MsgLen *len
)
-#else
-S16 SGetReadPtr (mBuf, data, len)
-Buffer *mBuf;
-uint8_t** data;
-MsgLen *len;
-#endif
{
/* Buffer *tmp; */
uint32_t line
)
#else
-#ifdef ANSI
S16 SAttachPtrToBuf
(
Region region,
MsgLen totalLen,
Buffer** mBuf
)
-#else
-S16 SAttachPtrToBuf(region, pool, ptr, totalLen, mBuf)
-Region region;
-Pool pool;
-Data *ptr;
-MsgLen totalLen;
-Buffer** mBuf;
-#endif
#endif
{
SsMsgInfo *minfo; /* Message info */
uint32_t line
)
#else
-#ifdef ANSI
static S16 SPutZbcDBuf
(
Region region,
Buffer *buf
)
-#else
-static S16 SPutZbcDBuf(region, buf)
-Region region;
-Buffer *buf;
-#endif
#endif
{
register SsDblk *dptr;
uint32_t line
)
#else
-#ifdef ANSI
S16 SAttachPtrToMBuf
(
Region region,
MsgLen ptrLen,
Buffer** mBuf
)
-#else
-S16 SAttachPtrToMBuf(region, pool, ptr, totalLen, ptrLen, mBuf)
-Region region;
-Pool pool;
-Data *ptr;
-MsgLen totalLen;
-MsgLen ptrLen;
-Buffer** mBuf;
-#endif
#endif
{
SsMsgInfo *minfo; /* Message info */
uint32_t line
)
#else
-#ifdef ANSI
S16 SAttachWlsPtrToMBuf
(
Region region,
MsgLen ptrLen,
Buffer** mBuf
)
-#else
-S16 SAttachWlsPtrToMBuf(region, pool, ptr, readPtr, totalLen, ptrLen, mBuf)
-Region region;
-Pool pool;
-Data *ptr;
-Data *readPtr;
-MsgLen totalLen;
-MsgLen ptrLen;
-Buffer** mBuf;
-#endif
#endif
{
SsMsgInfo *minfo; /* Message info */
}
-#ifdef ANSI
S16 SAttachDpdkPtrToMBuf
(
Region region,
MsgLen totalLen,
Buffer** mBuf
)
-#else
-S16 SAttachDpdkPtrToMBuf(region, pool, ptr, readPtr, msgLen, totalLen, mBuf)
-Region region;
-Pool pool;
-Data *ptr;
-Data *readPtr;
-MsgLen msgLen;
-MsgLen totalLen;
-Buffer** mBuf;
-#endif
{
SsDblk *dptr;
*
*/
-#ifdef ANSI
S16 SPkS8
(
S8 val, /* value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 SPkS8(val, mBuf)
-S8 val; /* value */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 ret; /* return code */
ret = SAddPreMsg((Data) val, mBuf);
*
*/
-#ifdef ANSI
S16 oduUnpackUInt8
(
uint8_t val, /* value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 oduUnpackUInt8(val, mBuf)
-uint8_t val; /* value */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 ret; /* return code */
ret = SAddPreMsg((Data) val, mBuf);
*
*/
-#ifdef ANSI
S16 SPkS16
(
S16 val, /* value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 SPkS16(val, mBuf)
-S16 val; /* value */
-Buffer *mBuf; /* message buffer */
-#endif
{
Data pkArray[2]; /* array for packing */
S16 ret; /* return code */
*
*/
-#ifdef ANSI
S16 oduUnpackUInt16
(
uint16_t val, /* value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 oduUnpackUInt16(val, mBuf)
-uint16_t val; /* value */
-Buffer *mBuf; /* message buffer */
-#endif
{
Data pkArray[2]; /* array for packing */
S16 ret; /* return code */
*
*/
-#ifdef ANSI
S16 SPkS32
(
S32 val, /* value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 SPkS32(val, mBuf)
-S32 val; /* value */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t tmp; /* temporary value */
Data pkArray[4]; /* packing array */
*
*/
-#ifdef ANSI
S16 oduUnpackUInt32
(
uint32_t val, /* value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 oduUnpackUInt32(val, mBuf)
-uint32_t val; /* value */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t tmp; /* temporary value */
Data pkArray[4]; /* packing array */
*
*/
-#ifdef ANSI
S16 SPkF32
(
F32 val, /* value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 SPkF32(val, mBuf)
-F32 val; /* value */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 ret; /* return code */
S8 tmpArray[15]; /* temporary array */
*
*/
-#ifdef ANSI
S16 SPkF64
(
F64 val, /* value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 SPkF64(val, mBuf)
-F64 val; /* value */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 ret; /* return code */
*
*/
-#ifdef ANSI
S16 SUnpkS8
(
S8 *val, /* pointer to value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 SUnpkS8(val, mBuf)
-S8 *val; /* pointer to value */
-Buffer *mBuf; /* message buffer */
-#endif
{
Data tmp; /* temporary value */
S16 ret; /* return code */
*
*/
-#ifdef ANSI
S16 oduPackUInt8
(
uint8_t *val, /* pointer to value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 oduPackUInt8(val, mBuf)
-uint8_t *val; /* pointer to value */
-Buffer *mBuf; /* message buffer */
-#endif
{
Data tmp; /* temporary value */
S16 ret; /* return code */
*
*/
-#ifdef ANSI
S16 SUnpkS16
(
S16 *val, /* pointer to value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 SUnpkS16(val, mBuf)
-S16 *val; /* pointer to value */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t tmp16; /* temporary value */
Data unpkArray[2]; /* unpacking array */
*
*/
-#ifdef ANSI
S16 oduPackUInt16
(
uint16_t *val, /* pointer to value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 oduPackUInt16(val, mBuf)
-uint16_t *val; /* pointer to value */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t tmp16; /* temporary value */
Data unpkArray[2]; /* unpacking array */
*
*/
-#ifdef ANSI
S16 SUnpkS32
(
S32 *val, /* pointer to value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 SUnpkS32(val, mBuf)
-S32 *val; /* pointer to value */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t tmp16; /* temporary value */
uint32_t tmp32; /* temporary value */
*
*/
-#ifdef ANSI
S16 oduPackUInt32
(
uint32_t *val, /* pointer to value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 oduPackUInt32(val, mBuf)
-uint32_t *val; /* pointer to value */
-Buffer *mBuf; /* message buffer */
-#endif
{
uint16_t tmp16; /* temporary value */
uint32_t tmp32; /* temporary value */
*
*/
-#ifdef ANSI
S16 SUnpkF32
(
F32 *val, /* pointer to value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 SUnpkF32(val, mBuf)
-F32 *val; /* pointer to value */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 ret; /* return code */
S8 tmpArray[15]; /* temporary array */
*
*/
-#ifdef ANSI
S16 SUnpkF64
(
F64 *val, /* pointer to value */
Buffer *mBuf /* message buffer */
)
-#else
-S16 SUnpkF64(val, mBuf)
-F64 *val; /* pointer to value */
-Buffer *mBuf; /* message buffer */
-#endif
{
S16 ret; /* return code */
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 SInitQueue
(
Queue *q /* queue */
)
-#else
-S16 SInitQueue(q)
-Queue *q; /* queue */
-#endif
{
#if (ERRCLASS & ERRCLS_INT_PAR)
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 SFlushQueue
(
Queue *q /* queue */
)
-#else
-S16 SFlushQueue(q)
-Queue *q; /* queue */
-#endif
{
Buffer *tBuf;
Buffer *mBuf;
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 SCatQueue
(
Queue *q1, /* queue 1 */
Queue *q2, /* queue 2 */
Order order /* order */
)
-#else
-S16 SCatQueue(q1, q2, order)
-Queue *q1; /* queue 1 */
-Queue *q2; /* queue 2 */
-Order order; /* order */
-#endif
{
#if (ERRCLASS & ERRCLS_INT_PAR)
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 SFndLenQueue
(
Queue *q, /* queue */
QLen *lngPtr /* pointer to length */
)
-#else
-S16 SFndLenQueue(q, lngPtr)
-Queue *q; /* queue */
-QLen *lngPtr; /* pointer to length */
-#endif
{
#if (ERRCLASS & ERRCLS_INT_PAR)
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 SExamQueue
(
Buffer **bufPtr, /* pointer to buffer */
Queue *q, /* queue */
QLen idx /* index */
)
-#else
-S16 SExamQueue(bufPtr, q, idx)
-Buffer **bufPtr; /* pointer to buffer */
-Queue *q; /* queue */
-QLen idx; /* index */
-#endif
{
Buffer *tmpBuf;
QLen i;
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 SAddQueue
(
Buffer *mBuf, /* buffer */
Queue *q, /* queue */
QLen idx /* index */
)
-#else
-S16 SAddQueue(mBuf, q, idx)
-Buffer *mBuf; /* buffer */
-Queue *q; /* queue */
-QLen idx; /* index */
-#endif
{
Buffer *tBuf;
QLen i;
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 SRemQueue
(
Buffer **bufPtr, /* pointer to buffer */
Queue *q, /* queue */
QLen idx /* index */
)
-#else
-S16 SRemQueue(bufPtr, q, idx)
-Buffer **bufPtr; /* pointer to buffer */
-Queue *q; /* queue */
-QLen idx; /* index */
-#endif
{
Buffer *tBuf;
QLen i;
* File: ss_queue.c
*
*/
-#ifdef ANSI
inline S16 SQueueFirst
(
Buffer *buf, /* buffer */
Queue *q /* queue */
)
-#else
-inline S16 SQueueFirst(buf, q)
-Buffer *buf; /* buffer */
-Queue *q; /* queue */
-#endif
{
return (SAddQueue(buf, q, 0));
* File: ss_queue.c
*
*/
-#ifdef ANSI
inline S16 SDequeueFirst
(
Buffer **bufPtr, /* pointer to buffer */
Queue *q /* queue */
)
-#else
-inline S16 SDequeueFirst(bufPtr, q)
-Buffer **bufPtr; /* pointer to buffer */
-Queue *q; /* queue */
-#endif
{
return (SRemQueue(bufPtr, q, 0));
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 SQueueLast
(
Buffer *buf, /* buffer */
Queue *q /* queue */
)
-#else
-S16 SQueueLast(buf, q)
-Buffer *buf; /* buffer */
-Queue *q; /* queue */
-#endif
{
#if (ERRCLASS & ERRCLS_INT_PAR)
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 SDequeueLast
(
Buffer **bufPtr, /* pointer to buffer */
Queue *q /* queue */
)
-#else
-S16 SDequeueLast(bufPtr, q)
-Buffer **bufPtr; /* pointer to buffer */
-Queue *q; /* queue */
-#endif
{
S16 ret;
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 ssInitDmndQ
(
SsDmndQ *dQueue /* Demand Queue */
)
-#else
-S16 ssInitDmndQ(dQueue)
-SsDmndQ *dQueue; /* Demand Queue */
-#endif
{
uint8_t i;
S16 ret;
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 ssDestroyDmndQ
(
SsDmndQ *dQueue /* demand Queue */
)
-#else
-S16 ssDestroyDmndQ(dQueue)
-SsDmndQ *dQueue; /* demand Queue */
-#endif
{
uint8_t i;
Buffer *tBuf;
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 ssDmndQPut
(
SsDmndQ *dQueue, /* demand Queue */
Prior priority, /* priority */
Order order /* position */
)
-#else
-S16 ssDmndQPut(dQueue, mBuf, priority, order)
-SsDmndQ *dQueue; /* demand Queue */
-Buffer *mBuf; /* message buffer */
-Prior priority; /* priority */
-Order order; /* position */
-#endif
{
#ifndef TENB_RTLIN_CHANGES
uint8_t maskIndex; /* mask Index */
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 ssDmndQWait
(
SsDmndQ *dQueue /* demand queue */
)
-#else
-S16 ssDmndQWait(dQueue)
-SsDmndQ *dQueue; /* demand queue */
-#endif
{
S16 ret;
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 ssDmndQGet
(
SsDmndQ *dQueue, /* demand queue */
Buffer **mBuf, /* message buffer */
Order order /* position */
)
-#else
-S16 ssDmndQGet(dQueue, mBuf, order)
-SsDmndQ *dQueue; /* demand queue */
-Buffer **mBuf; /* message buffer */
-Order order; /* position */
-#endif
{
Queue *queue;
S16 ret;
* File: ss_queue.c
*
*/
-#ifdef ANSI
S16 ssFndLenDmndQ
(
SsDmndQ *dQueue, /* demand queue */
Prior priority, /* priority */
QLen *len /* queue length */
)
-#else
-S16 ssFndLenDmndQ(dQueue, priority, len)
-SsDmndQ *dQueue; /* demand queue */
-Prior priority; /* priority */
-QLen *len; /* queue length */
-#endif
{
S16 ret; /* return value */
Ring Structure is allocated from given
Region and Pool
*/
-#ifdef ANSI
S16 SCreateSRngBuf
(
uint32_t id,
uint32_t elmSize,
uint32_t rngSize
)
-#else
-S16 SCreateSRngBuf (id, region, pool, elmSize, rngSize)
-uint32_t id;
-Region region;
-Pool pool;
-uint32_t elmSize;
-uint32_t rngSize;
-#endif
{
SsRngBuf* ring;
Desc: Attach the calling Entity to a ring buffer
as consumer(Rx) or producer (Tx)
*/
-#ifdef ANSI
S16 SAttachSRngBuf
(
uint32_t id,
uint32_t ent,
uint32_t txRx
)
-#else
-S16 SAttachSRngBuf (id, ent, txRx)
-uint32_t id;
-uint32_t ent;
-uint32_t txRx;
-#endif
{
/* Retrive Buffer from Global Info Table */
if( id >= SS_RNG_BUF_MAX)
Desc: Establish a pipe between producer and consumer
*/
-#ifdef ANSI
S16 SConnectSRngBuf
(
uint32_t id,
uint32_t rxEnt
)
-#else
-S16 SConnectSRngBuf (id, rxEnt)
-uint32_t id;
-uint32_t rxEnt;
-#endif
{
/* Send to Reciever ENT*/
return ROK;
Func: SEnqSRngBuf
Desc: Perform Queue operation on Ring bufer
*/
-#ifdef ANSI
S16 SEnqSRngBuf
(
uint32_t id,
Void* elem
)
-#else
-S16 SEnqSRngBuf(id,elem)
-uint32_t id;
-Void* elem;
-#endif
{
uint8_t* w_ptr;
uint8_t i=0;
return ROK;
}
-#ifdef ANSI
-S16 SGetNumElemInRng
-(
-uint32_t id
-)
-#else
-S16 SGetNumElemInRng (id)
-uint32_t id;
-#endif
+S16 SGetNumElemInRng(uint32_t id)
{
S16 freeDist = (SsRngInfoTbl[id].n_write- SsRngInfoTbl[id].n_read);
Func: SDeqSRngBuf
Desc: Perform DeQueue operation on Ring bufer
*/
-#ifdef ANSI
-S16 SDeqSRngBuf
-(
-uint32_t id,
-Void *elem
-)
-#else
-S16 SDeqSRngBuf (id,elem)
-uint8_t id;
-Void *elem;
-#endif
+S16 SDeqSRngBuf(uint32_t id,Void *elem)
{
uint8_t* r_ptr;
uint8_t i=0;
return ROK;
}
-#ifdef ANSI
S16 SDestroySRngBuf
(
uint32_t id,
Region region,
Pool pool
)
-#else
-S16 SDestroySRngBuf(id, region, pool)
-uint32_t id;
-Region region;
-Pool pool;
-#endif
{
/* Retrive Buffer from Id */
SsRngBuf* ring = SsRngInfoTbl[id].r_addr;
return ROK;
}
-#ifdef ANSI
-S16 SPrintSRngStats
-(
-Void
-)
-#else
-S16 SPrintSRngStats ()
-Void;
-#endif
+S16 SPrintSRngStats(Void)
{
uint32_t i;
return ROK;
}
-#ifdef ANSI
-Void* SRngGetWIndx
-(
-uint32_t rngId
-)
-#else
-Void* SRngGetWIndx (rngId)
-uint32_t rngId;
-#endif
+Void* SRngGetWIndx(uint32_t rngId)
{
/* Retrive Buffer from Id*/
SsRngBuf* ring = SsRngInfoTbl[rngId].r_addr;
}
}
-#ifdef ANSI
-Void* SRngGetRIndx
-(
-uint32_t rngId
-)
-#else
-Void* SRngGetRIndx (rngId)
-uint32_t rngId;
-#endif
+Void* SRngGetRIndx(uint32_t rngId)
{
/* Retrive Buffer from Id*/
SsRngBuf* ring = SsRngInfoTbl[rngId].r_addr;
}
}
-#ifdef ANSI
-Void SRngIncrWIndx
-(
-uint32_t rngId
-)
-#else
-Void SRngIncrWIndx (rngId)
-uint32_t rngId;
-#endif
+Void SRngIncrWIndx(uint32_t rngId)
{
uint32_t wrIndex;
/* Retrive Buffer from Id*/
SsRngInfoTbl[rngId].n_write++;
}
-#ifdef ANSI
-Void SRngIncrRIndx
-(
-uint32_t rngId
-)
-#else
-Void SRngIncrRIndx (rngId)
-uint32_t rngId;
-#endif
+Void SRngIncrRIndx(uint32_t rngId)
{
uint32_t rdIndex;
/* Retrive Buffer from Id*/
* File: ss_strm.c
*
*/
-#ifdef ANSI
S16 ssStrmCfg
(
Region mdRegId, /* region for message and data blocks */
Region datRegId /* region for data buffers */
)
-#else
-S16 ssStrmCfg(mdRegId, datRegId)
-Region mdRegId; /* region for message and data blocks */
-Region datRegId; /* region for data buffers */
-#endif
{
strmCfg.mdRegion = mdRegId;
* File: ss_strm.c
*
*/
-#ifdef ANSI
S32 ssAdjMsg
(
SsMblk *mp, /* message */
S32 len /* bytes to remove */
)
-#else
-S32 ssAdjMsg(mp, len)
-SsMblk *mp; /* message */
-S32 len; /* bytes to remove */
-#endif
{
S32 n; /* counter */
S32 size; /* size of mblks of same type as head/tail */
* File: ss_strm.c
*
*/
-#ifdef ANSI
SsMblk *ssAllocB
(
S32 size, /* required size */
uint32_t pri /* message priority */
)
-#else
-SsMblk *ssAllocB(size, pri)
-S32 size; /* required size */
-uint32_t pri; /* message priority */
-#endif
{
SsMblk *bp; /* mblk for iteration */
Data *dat; /* pointer to data buffer */
* File: ss_strm.c
*
*/
-#ifdef ANSI
SsMblk *ssCopyB
(
SsMblk *mp /* message block */
)
-#else
-SsMblk *ssCopyB(mp)
-SsMblk *mp; /* message block */
-#endif
{
SsMblk *bp; /* mblk for iteration */
uint8_t *ptr; /* pointer to data */
* File: ss_strm.c
*
*/
-#ifdef ANSI
SsMblk *ssCopyMsg
(
SsMblk *mp /* message block */
)
-#else
-SsMblk *ssCopyMsg(mp)
-SsMblk *mp; /* message block */
-#endif
{
SsMblk *first; /* first mblk in message */
SsMblk *bp; /* mblk for iteration */
* File: ss_strm.c
*
*/
-#ifdef ANSI
SsMblk *ssDupB
(
SsMblk *mp /* message block */
)
-#else
-SsMblk *ssDupB(mp)
-SsMblk *mp; /* message block */
-#endif
{
SsMblk *bp; /* mblk for iteration */
/* ss028.103 - Addition of lock for mBuf reference count */
* File: ss_strm.c
*
*/
-#ifdef ANSI
SsMblk *ssDupMsg
(
SsMblk *mp /* message block */
)
-#else
-SsMblk *ssDupMsg(mp)
-SsMblk *mp; /* message block */
-#endif
{
SsMblk *first; /* first mblk in message */
SsMblk *bp; /* mblk for iteration */
* File: ss_strm.c
*
*/
-#ifdef ANSI
SsMblk *ssESBAlloc
(
uint8_t *base, /* client supplied data buffer */
S32 pri, /* message priority */
SsFrtn *fr_rtn /* free routine */
)
-#else
-SsMblk *ssESBAlloc(base, size, pri, fr_rtn)
-uint8_t *base; /* client supplied data buffer */
-S32 size; /* size of data buffer */
-S32 pri; /* message priority */
-SsFrtn *fr_rtn; /* free routine */
-#endif
{
SsMblk *bp; /* mblk for iteration */
Size m; /* mblk + dblk */
* File: ss_strm.c
*
*/
-#ifdef ANSI
Void ssFreeB
(
SsMblk *mp /* message block */
)
-#else
-Void ssFreeB(mp)
-SsMblk *mp; /* message block */
-#endif
{
SsMblk *bp; /* mblk for iteration */
Size size; /* mblk + dblk */
* File: ss_strm.c
*
*/
-#ifdef ANSI
Void ssFreeMsg
(
SsMblk *mp /* message block */
)
-#else
-Void ssFreeMsg(mp)
-SsMblk *mp; /* message block */
-#endif
{
SsMblk *bp; /* mblk for iteration */
* File: ss_strm.c
*
*/
-#ifdef ANSI
Void ssLinkB
(
SsMblk *mp, /* first message block */
SsMblk *bp /* second message block */
)
-#else
-Void ssLinkB(mp, bp)
-SsMblk *mp; /* first message block */
-SsMblk *bp; /* second message block */
-#endif
{
#if (ERRCLASS & ERRCLS_INT_PAR)
* File: ss_strm.c
*
*/
-#ifdef ANSI
S32 ssMsgDSize
(
SsMblk *mp /* message block */
)
-#else
-S32 ssMsgDSize(mp)
-SsMblk *mp; /* message block */
-#endif
{
S32 n; /* temporary */
S32 size; /* size of data */
* File: ss_strm.c
*
*/
-#ifdef ANSI
S32 ssPullupMsg
(
SsMblk *mp, /* message block */
S32 len /* number of bytes to align */
)
-#else
-S32 ssPullupMsg(mp, len)
-SsMblk *mp; /* message block */
-S32 len; /* number of bytes to align */
-#endif
{
SsMblk *bp; /* mblk for iteration */
SsMblk *newbp; /* the new mblk */
* File: ss_strm.c
*
*/
-#ifdef ANSI
SsMblk *ssRmvB
(
SsMblk *mp, /* message */
SsMblk *bp /* message block */
)
-#else
-SsMblk *ssRmvB(mp, bp)
-SsMblk *mp; /* message */
-SsMblk *bp; /* message block */
-#endif
{
SsMblk *rp; /* mblk that will be returned */
* File: ss_strm.c
*
*/
-#ifdef ANSI
S32 ssTestB
(
S32 size, /* size required */
uint32_t pri /* priority of the message buffer */
)
-#else
-S32 ssTestB(size, pri)
-S32 size; /* size required */
-uint32_t pri; /* priority of the message buffer */
-#endif
{
SsMblk *bp; /* mblk for iteration */
* File: ss_strm.c
*
*/
-#ifdef ANSI
SsMblk *ssUnlinkB
(
SsMblk *mp /* message */
)
-#else
-SsMblk *ssUnlinkB(mp)
-SsMblk *mp; /* message */
-#endif
{
SsMblk *bp; /* mblk for iteration */
*
*/
-#ifdef ANSI
S16 SRegInit
(
Ent ent, /* entity */
Inst inst, /* instance */
PAIFS16 initFnct /* initialization function */
)
-#else
-S16 SRegInit(ent, inst, initFnct)
-Ent ent; /* entity */
-Inst inst; /* instance */
-PAIFS16 initFnct; /* initialization function */
-#endif
{
/* ss021.103 - Addition for return value and pointer */
S16 ret; /* return value */
* File: ss_task.c
*
*/
-#ifdef ANSI
S16 SRegActvTsk
(
Ent ent, /* entity */
Prior prior, /* task priority */
ActvTsk actvTsk /* activate task function */
)
-#else
-S16 SRegActvTsk(ent, inst, ttype, prior, actvTsk)
-Ent ent; /* entity */
-Inst inst; /* instance */
-Ttype ttype; /* task type */
-Prior prior; /* task priority */
-ActvTsk actvTsk; /* activate task function */
-#endif
{
S16 ret;
SSTskId sTskId;
* File: ss_task.c
*
*/
-#ifdef ANSI
S16 SDeregInitTskTmr
(
Ent ent, /* entity */
Inst inst /* instance */
)
-#else
-S16 SDeregInitTskTmr(ent, inst)
-Ent ent; /* entity */
-Inst inst; /* instance */
-#endif
{
SsTTskEntry *tTsk;
SsSTskEntry *sTsk;
/* ss029.103: modification: procId added */
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
S16 SRegTTsk
(
Ent ent, /* entity */
PAIFS16 initTsk, /* initialization function */
ActvTsk actvTsk /* activation function */
)
-#else
-S16 SRegTTsk(ent, inst, type, prior, initTsk, actvTsk)
-Ent ent; /* entity */
-Inst inst; /* instance */
-Ttype type; /* task type */
-Prior prior; /* task priority */
-PAIFS16 initTsk; /* initialization function */
-ActvTsk actvTsk; /* activation function */
-#endif
-
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
S16 SRegTTsk
(
ProcId proc, /* processor */
PAIFS16 initTsk, /* initialization function */
ActvTsk actvTsk /* activation function */
)
-#else
-S16 SRegTTsk(proc, ent, inst, type, prior, initTsk, actvTsk)
-ProcId proc; /* processor */
-Ent ent; /* entity */
-Inst inst; /* instance */
-Ttype type; /* task type */
-Prior prior; /* task priority */
-PAIFS16 initTsk; /* initialization function */
-ActvTsk actvTsk; /* activation function */
-#endif
-
#endif /* SS_MULTIPLE_PROCS */
{
*
**/
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
S16 SRegCbTsk
(
Ent ent, /* entity */
Inst inst, /* instance */
ActvTsk cbTsk /* Callback Function */
)
-#else
-S16 SRegCbTsk(ent, inst, cbTsk)
-Ent ent; /* entity */
-Inst inst; /* instance */
-ActvTsk cbTsk;
-#endif
-
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
S16 SRegCbTsk
(
ProcId proc, /* processor */
Inst inst, /* instance */
ActvTsk cbTsk
)
-#else
-S16 SRegCbTsk(proc, ent, inst, cbTsk)
-ProcId proc; /* processor */
-Ent ent; /* entity */
-Inst inst; /* instance */
-ActvTsk cbTsk;
-#endif
#endif /* SS_MULTIPLE_PROCS */
{
SsTTskEntry *tTsk;
/* ss029.103: addition: procId added */
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
S16 SDeregTTsk
(
Ent ent, /* entity */
Inst inst /* instance */
)
-#else
-S16 SDeregTTsk(ent, inst)
-Ent ent; /* entity */
-Inst inst; /* instance */
-#endif
-
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
S16 SDeregTTsk
(
ProcId proc, /* processor */
Ent ent, /* entity */
Inst inst /* instance */
)
-#else
-S16 SDeregTTsk(proc, ent, inst)
-ProcId proc; /* processor */
-Ent ent; /* entity */
-Inst inst; /* instance */
-#endif
#endif /* SS_MULTIPLE_PROCS */
{
S16 ret;
* File: ss_task.c
*
*/
-#ifdef ANSI
S16 SCreateSTsk
(
SSTskPrior tskPrior, /* task priority */
SSTskId *tskId /* filled in with system task ID */
)
-#else
-S16 SCreateSTsk(tskPrior, tskId)
-SSTskPrior tskPrior; /* task priority */
-SSTskId *tskId; /* filled in with system task ID */
-#endif
{
S16 ret;
SsSTskEntry *sTsk;
* File: ss_task.c
*
*/
-#ifdef ANSI
S16 SRegLogCfg
(
uint8_t mode,
S8 *IPA,
uint16_t port
)
-#else
-S16 SRegLogCfg(mode, path, size, IPA, port)
-uint8_t mode;
-S8 *path;
-uint32_t size;
-S8 *IPA;
-uint16_t port
-#endif
{
#ifdef WIN32
* File: ss_task.c
*
--*/
-#ifdef ANSI
-S16 SFlushBufToLog
-(
-S8 *logBuf
-)
-#else
-S16 SFlushBufToLog(logBuf)
-S8 *logBuf
-#endif
+S16 SFlushBufToLog (S8 *logBuf)
{
S8 *buffer;
static uint16_t logFileCnt = 0;
* File: ss_task.c
*
--*/
-#ifdef ANSI
-S16 SCleanUp
-(
-Void
-)
-#else
-S16 SCleanUp()
-#endif
+S16 SCleanUp(Void)
{
/*Flush the remaining data in the log file*/
* File: ss_task.c
*
*/
-#ifdef ANSI
-S16 SDeregLogCfg
-(
-)
-#else
S16 SDeregLogCfg()
-#endif
{
* File: ss_task.c
*
*/
-#ifdef ANSI
-Void SStartLogger
-(
-void
-)
-#else
-Void SStartLogger()
-#endif
+Void SStartLogger(void)
{
if (osCp.logger.configured == TRUE)
{
* File: ss_task.c
*
*/
-#ifdef ANSI
-Void SStopLogger
-(
-void
-)
-#else
-Void SStopLogger()
-#endif
+Void SStopLogger(void)
{
osCp.logger.started = FALSE;
}
* File: ss_task.c
*
*/
-#ifdef ANSI
S16 SRegCpuInfo
(
SCpuInfo *cpuInfo /* Information about the cores/threads per core */
)
-#else
-S16 SRegCpuInfo (cpuInfo)
-SCpuInfo *cpuInfo; /* Information about the cores/threads per core */
-#endif
{
uint32_t coreCount = 0;
* File: ss_task.c
*
*/
-#ifdef ANSI
S16 SGetAffinity
(
SSTskId *tskId, /* filled in with system task ID */
uint32_t *coreId /* the core/processor id to which the affinity is set */
)
-#else
-S16 SGetAffinity(tskId, coreId)
-SSTskId *tskId; /* filled in with system task ID */
-uint32_t *coreId; /* the core/processor id to which the affinity is set */
-#endif
{
S16 ret;
* File: ss_task.c
*
*/
-#ifdef ANSI
S16 SSetAffinity
(
SSTskId *tskId, /* filled in with system task ID */
uint32_t coreId, /* the core/processor id to which the affinity has to be set */
SSTskId *tskAssociatedTskId /* filled in with system task ID of the associated layer */
)
-#else
-S16 SSetAffinity(tskId, mode, coreId, tskAssociatedTskId)
-SSTskId *tskId; /* filled in with system task ID */
-SsAffinityMode mode; /* the mode according to which the affinty is set */
-uint32_t coreId; /* the core/processor id to which the affinity has to be set */
-SSTskId *tskAssociatedTskId; /* filled in with system task ID of the associated layer */
-#endif
{
S16 ret;
* File: ss_task.c
*
*/
-#ifdef ANSI
S16 SDestroySTsk
(
SSTskId tskId /* system task to be destroyed */
)
-#else
-S16 SDestroySTsk(tskId)
-SSTskId tskId; /* system task to be destroyed */
-#endif
{
S16 ret;
/* ss029.103: modification: the subscript should be of same type */
/* ss029.103: addition: procId added */
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
S16 SAttachTTsk
(
Ent ent, /* entity ID of the task */
Inst inst, /* instance ID of the task */
SSTskId sTskId /* system task to use */
)
-#else
-S16 SAttachTTsk(ent, inst, sTskId)
-Ent ent; /* entity ID of the task */
-Inst inst; /* instance ID of the task */
-SSTskId sTskId; /* system task to use */
-#endif
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
S16 SAttachTTsk
(
ProcId proc, /* processor ID of the task */
Inst inst, /* instance ID of the task */
SSTskId sTskId /* system task to use */
)
-#else
-S16 SAttachTTsk(proc, ent, inst, sTskId)
-ProcId proc; /* processor ID of the task */
-Ent ent; /* entity ID of the task */
-Inst inst; /* instance ID of the task */
-SSTskId sTskId; /* system task to use */
-#endif
-
#endif /* SS_MULTIPLE_PROCS */
-
{
S16 ret;
S16 i;
/* ss029.103: addition: procId added */
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
S16 SDetachTTsk
(
Ent ent, /* entity ID of the task */
Inst inst /* instance ID of the task */
)
-#else
-S16 SDetachTTsk(ent, inst)
-Ent ent; /* entity ID of the task */
-Inst inst; /* instance ID of the task */
-#endif
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
S16 SDetachTTsk
(
ProcId proc, /* processor ID of the task */
Ent ent, /* entity ID of the task */
Inst inst /* instance ID of the task */
)
-#else
-S16 SDetachTTsk(proc, ent, inst)
-ProcId proc; /* processor ID of the task */
-Ent ent; /* entity ID of the task */
-Inst inst; /* instance ID of the task */
-#endif
#endif /* SS_MULTIPLE_PROCS */
* File: ss_task.c
*
*/
-#ifdef ANSI
S16 SPstTsk
(
Pst *pst, /* post information */
Buffer *mBuf /* message to post */
)
-#else
-S16 SPstTsk(pst, mBuf)
-Pst *pst; /* post information */
-Buffer *mBuf; /* message to post */
-#endif
{
S16 r;
S16 i;
*/
/* ss029.103: modification: procId added */
-#ifdef ANSI
S16 SGetTapaTskEntIds
(
Ent *ent /* entity */
)
-#else
-S16 SGetTapaTskEntIds(ent)
-Ent *ent; /* entity */
-#endif
{
uint32_t tskCnt = 0;
*/
/* ss029.103: modification: procId added */
-#ifdef ANSI
S16 SRegForHstGrm
(
Ent ent /* entity */
)
-#else
-S16 SRegForHstGrm(ent)
-Ent ent; /* entity */
-#endif
{
uint32_t tskCnt = 0;
* File: ss_task.c
*
*/
-#ifdef ANSI
S16 SGetHstGrmInfo
(
Ent *entId,
Bool *hstReg /* entity */
)
-#else
-S16 SGetHstGrmInfo(entId, hstReg)
-Ent *entId;
-Bool *hstReg; /* entity */
-#endif
{
uint32_t tskCnt = 0;
#endif /* SS_HISTOGRAM_SUPPORT */
#ifdef SS_WATCHDOG
-#ifdef ANSI
-S16 SInitWatchdog
-(
-uint16_t port
-)
-#else
-S16 SInitWatchdog(port)
-uint16_t port;
-#endif
+S16 SInitWatchdog(uint16_t port)
{
return ssdInitWatchDog(port);
}
-#ifdef ANSI
S16 SRegCfgWd
(
uint32_t numNodes,
WdUserCallback callback,
void *data
)
-#else
-S16 SRegCfgWd(numNodes, addr, port, timeout, callback, data)
-uint32_t numNodes;
-uint8_t *addr[];
-uint16_t port[];
-uint32_t timeout;
-WdUserCallback callback;
-void *data;
-#endif
{
Txt prntBuf[PRNTSZE];
int i = 0;
return ROK;
}
-#ifdef ANSI
-S16 SDeregCfgWd
-(
-void
-)
-#else
S16 SDeregCfgWd(void)
-void;
-#endif
{
Txt prntBuf[PRNTSZE];
int i = 0;
return ROK;
}
-#ifdef ANSI
S16 SStartHrtBt
(
uint8_t timeInterval /* time interval */
)
-#else
-S16 SStartHrtBt(timeInterval)
-uint8_t timeInterval;
-#endif
{
ssdStartWatchDgTmr(NULLP, SS_TMR_HRTBT, timeInterval);
return ROK;
}
-#ifdef ANSI
-S16 SStopHrtBt
-(
-void
-)
-#else
-S16 SStopHrtBt()
-void
-#endif
+S16 SStopHrtBt(void)
{
osCp.wdCp.globWd.watchdogStop = 1;
return ROK;
}
-#ifdef ANSI
S16 watchDgActvTsk
(
Pst *pst, /* post */
Buffer *mBuf /* message buffer */
)
-#else
-S16 watchDgActvTsk(pst, mBuf)
-Pst *pst; /* post */
-Buffer *mBuf; /* message buffer */
-#endif
{
/* ss002.301 Fixed warnings */
#ifdef DEBUGP
return ROK;
}
-#ifdef ANSI
S16 watchDgRcvrActvTsk
(
Pst *pst, /* post */
Buffer *mBuf /* message buffer */
)
-#else
-S16 watchDgRcvrActvTsk(pst, mBuf)
-Pst *pst; /* post */
-Buffer *mBuf; /* message buffer */
-#endif
{
#ifdef DEBUGP
DateTime dt;
*
*/
#ifdef SS_MULTIPLE_PROCS
-#ifdef ANSI
S16 SGetThrdProf
(
SSTskId *sTskId,
uint64_t *totTime
)
#else
-S16 SGetThrdProf(sTskId, procId, ent, inst, evnt, curEvent, curEvtTime, totTime)
-SSTskId *sTskId;
-ProcId procId;
-Ent ent; /* entity */
-Inst inst;
-Event *curEvent;
-uint32_t *curEvtTime;
-uint64_t *totTime;
-#endif
-#else
-#ifdef ANSI
S16 SGetThrdProf
(
SSTskId *sTskId,
uint32_t *curEvtTime,
uint64_t *totTime
)
-#else
-S16 SGetThrdProf(sTskId, ent, inst, curEvent,curEvtTime, totTime)
-SSTskId *sTskId;
-Ent ent; /* entity */
-Inst inst;
-Event *curEvent;
-uint32_t *curEvtTime;
-uint64_t *totTime;
-#endif
#endif /* SS_MULTIPLE_PROCS */
{
S16 ret;
* File: ss_task.c
*
*/
-#ifdef ANSI
-S16 SRegTskInfo
-(
-uint8_t *cfgFile
-)
-#else
-S16 SRegTskInfo(cfgFile)
-uint8_t *cfgFile;
-#endif
+S16 SRegTskInfo(uint8_t *cfgFile)
{
return cmCfgrTskReg(cfgFile);
}
*/
/* ss029.103: addition: procId added and timer function type modified */
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
S16 SRegCfgTmr
(
Ent ent, /* entity */
S16 units, /* period units */
PFS16 tmrFnct /* timer function, typically SActvTmr */
)
-#else
-S16 SRegCfgTmr(ent, inst, period, units, tmrFnct)
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-PFS16 tmrFnct; /* timer function, typically SActvTmr */
-#endif
{
S16 ret;
/* ss015.301 - Enclosed all timer activation functions in a union. */
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
S16 SRegCfgTmr
(
ProcId proc, /* processor */
S16 units, /* period units */
PAIFTMRS16 tmrFnct /* timer function, typically SActvTmr */
)
-#else
-S16 SRegCfgTmr(proc, ent, inst, period, units, tmrFnct)
-ProcId proc; /* processor */
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-PAIFTMRS16 tmrFnct; /* timer function, typically SActvTmr */
-#endif
-
{
S16 ret;
/* ss015.301 - Enclosed all timer activation functions in a union. */
* File: ss_timer.c
*
*/
-#ifdef ANSI
S16 SRegCfgTmrMt
(
Ent ent, /* entity */
S16 units, /* period units */
PAIFTMRS16 tmrFnctMt /* timer function, typically SActvTmr */
)
-#else
-S16 SRegCfgTmrMt(ent, inst, period, units, tmrFnctMt)
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-PAIFTMRS16 tmrFnctMt; /* timer function, typically SActvTmr */
-#endif
{
S16 ret;
/* ss015.301 - Enclosed all timer activation functions in a union. */
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
static S16 STmrRegHndlr
(
Ent ent, /* entity */
S16 units, /* period units */
SsTmrActvFn ssTmrActvFn /* timer function, typically SActvTmr */
)
-#else
-static S16 STmrRegHndlr(ent, inst, period, units, ssTmrActvFn)
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-SsTmrActvFn ssTmrActvFn; /* timer function, typically SActvTmr */
-#endif
/* ss015.301: Removed the timer handler prototypes guarded
* under SS_MT_TMR and handled mtFlag in existing timer handlers.
*/
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
static S16 STmrRegHndlr
(
ProcId proc, /* processor */
S16 units, /* period units */
SsTmrActvFn ssTmrActvFn /* timer function */
)
-#else
-static S16 STmrRegHndlr(proc, ent, inst, period, units, ssTmrActvFn)
-ProcId proc; /* processor */
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-SsTmrActvFn ssTmrActvFn; /* timer function */
-#endif
-
#endif /* SS_MULTIPLE_PROCS */
{
#if (ERRCLASS & ERRCLS_INT_PAR)
/* ss029.103: addition: procId added and timer function type modified */
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
S16 SDeregCfgTmr
(
Ent ent, /* entity */
S16 units, /* period units */
PFS16 tmrFnct /* timer function */
)
-#else
-S16 SDeregCfgTmr(ent, inst, period, units, tmrFnct)
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-PFS16 tmrFnct; /* timer function */
-#endif
{
S16 ret;
/* ss015.301 Enclosed all timer activation functions in a union. */
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
S16 SDeregCfgTmr
(
ProcId proc, /* processor */
S16 units, /* period units */
PAIFTMRS16 tmrFnct /* timer function */
)
-#else
-S16 SDeregCfgTmr(proc, ent, inst, period, units, tmrFnct)
-ProcId proc; /* processor */
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-PAIFTMRS16 tmrFnct; /* timer function */
-#endif
{
S16 ret;
/* ss015.301 Enclosed all timer activation functions in a union. */
* File: ss_timer.c
*
*/
-#ifdef ANSI
S16 SDeregCfgTmrMt
(
Ent ent, /* entity */
S16 units, /* period units */
PAIFTMRS16 tmrFnctMt /* timer function */
)
-#else
-S16 SDeregCfgTmrMt(ent, inst, period, units, tmrFnctMt)
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-PAIFTMRS16 tmrFnctMt; /* timer function */
-#endif
{
S16 ret;
/* ss015.301 Enclosed all timer activation functions in a union. */
* functions are enclosed in a union.
*/
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
static S16 STmrDeregHndlr
(
Ent ent, /* entity */
S16 units, /* period units */
SsTmrActvFn ssTmrActvFn /* timer function */
)
-#else
-/* ss017.301: Modified the prototype of STmrDeregHndlr for Non-ANSI
- * compilation.
- */
-static S16 STmrDeregHndlr(ent, inst, period, units, ssTmrActvFn)
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-SsTmrActvFn ssTmrActvFn; /* timer function */
-#endif
/* ss015.301: Removed the timer handler prototypes guarded under SS_MT_TMR
* and handled mtFlag in existing timer handlers.
*/
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
static S16 STmrDeregHndlr
(
ProcId proc, /* processor */
S16 units, /* period units */
SsTmrActvFn ssTmrActvFn /* timer function */
)
-#else
-static S16 STmrDeregHndlr(proc, ent, inst, period, units, ssTmrActvFn)
-ProcId proc; /* processor */
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-SsTmrActvFn ssTmrActvFn; /* timer function */
-#endif
#endif /* SS_MULTIPLE_PROCS */
{