Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
RLC UeCb Changes
[o-du/l2.git]
/
src
/
5gnrrlc
/
kw_lim.c
diff --git
a/src/5gnrrlc/kw_lim.c
b/src/5gnrrlc/kw_lim.c
index
3200617
..
508a6f3
100755
(executable)
--- a/
src/5gnrrlc/kw_lim.c
+++ b/
src/5gnrrlc/kw_lim.c
@@
-114,42
+114,42
@@
U8 status;
U16 event; /* Event */
U16 cause; /* Cause */
KwRguSapCb *rguSap; /* RGU SAP Control Block */
U16 event; /* Event */
U16 cause; /* Cause */
KwRguSapCb *rguSap; /* RGU SAP Control Block */
-
KwCb *tKw
Cb;
+
RlcCb *tRlc
Cb;
TRC3(KwLiRguBndCfm)
#if (ERRCLASS & ERRCLS_INT_PAR)
TRC3(KwLiRguBndCfm)
#if (ERRCLASS & ERRCLS_INT_PAR)
- if (pst->dstInst >=
KW_
MAX_RLC_INSTANCES)
+ if (pst->dstInst >= MAX_RLC_INSTANCES)
{
RETVALUE (RFAILED);
}
#endif
{
RETVALUE (RFAILED);
}
#endif
- t
KwCb = KW_GET_KW
CB(pst->dstInst);
+ t
RlcCb = RLC_GET_RLC
CB(pst->dstInst);
RLOG2(L_DEBUG,"KwLiRguBndCfm(suId(%d), status(%d)", suId, status);
#if (ERRCLASS & ERRCLS_INT_PAR)
RLOG2(L_DEBUG,"KwLiRguBndCfm(suId(%d), status(%d)", suId, status);
#if (ERRCLASS & ERRCLS_INT_PAR)
- if (t
Kw
Cb->init.cfgDone != TRUE)
+ if (t
Rlc
Cb->init.cfgDone != TRUE)
{
RLOG0(L_FATAL,"General configuration not done");
{
RLOG0(L_FATAL,"General configuration not done");
- KW_SEND_SAPID_ALARM(t
Kw
Cb,suId,LKW_EVENT_LI_BND_CFM, LCM_CAUSE_INV_STATE);
+ KW_SEND_SAPID_ALARM(t
Rlc
Cb,suId,LKW_EVENT_LI_BND_CFM, LCM_CAUSE_INV_STATE);
RETVALUE(RFAILED);
}
RETVALUE(RFAILED);
}
- if ((suId >= t
Kw
Cb->genCfg.maxRguSaps) || (suId < 0))
+ if ((suId >= t
Rlc
Cb->genCfg.maxRguSaps) || (suId < 0))
{
RLOG0(L_ERROR, "Invalid suId");
{
RLOG0(L_ERROR, "Invalid suId");
- KW_SEND_SAPID_ALARM(t
Kw
Cb,suId, LKW_EVENT_LI_BND_CFM, LCM_CAUSE_INV_SUID);
+ KW_SEND_SAPID_ALARM(t
Rlc
Cb,suId, LKW_EVENT_LI_BND_CFM, LCM_CAUSE_INV_SUID);
RETVALUE(RFAILED);
}
#endif /* ERRCLASS & ERRCLS_INT_PAR */
RETVALUE(RFAILED);
}
#endif /* ERRCLASS & ERRCLS_INT_PAR */
- rguSap = (t
Kw
Cb->genCfg.rlcMode == LKW_RLC_MODE_DL) ?
- &(t
KwCb->u.dlCb->rguDlSap[suId]) : &(tKw
Cb->u.ulCb->rguUlSap[suId]);
+ rguSap = (t
Rlc
Cb->genCfg.rlcMode == LKW_RLC_MODE_DL) ?
+ &(t
RlcCb->u.dlCb->rguDlSap[suId]) : &(tRlc
Cb->u.ulCb->rguUlSap[suId]);
RLOG1(L_DEBUG, "KwLiRguBndCfm: For RGU SAP state=%d", rguSap->state)
RLOG1(L_DEBUG, "KwLiRguBndCfm: For RGU SAP state=%d", rguSap->state)
@@
-157,7
+157,7
@@
U8 status;
{
case KW_SAP_BINDING:
{
{
case KW_SAP_BINDING:
{
- kwStopTmr (t
Kw
Cb,(PTR)rguSap, KW_EVT_WAIT_BNDCFM);
+ kwStopTmr (t
Rlc
Cb,(PTR)rguSap, KW_EVT_WAIT_BNDCFM);
rguSap->retryCnt = 0;
rguSap->retryCnt = 0;
@@
-183,7
+183,7
@@
U8 status;
}
/* Send an alarm with proper event and cause */
}
/* Send an alarm with proper event and cause */
- KW_SEND_SAPID_ALARM(t
Kw
Cb, suId, event, cause);
+ KW_SEND_SAPID_ALARM(t
Rlc
Cb, suId, event, cause);
RETVALUE(ROK);
} /* KwLiRguBndCfm */
RETVALUE(ROK);
} /* KwLiRguBndCfm */
@@
-231,7
+231,7
@@
PUBLIC S16 RlcMacProcUlData(Pst *pst, SuId suId, RlcMacData *ulData)
{
if(ulData->pduInfo[idx].commCh)
{
{
if(ulData->pduInfo[idx].commCh)
{
-
KW
_SHRABL_STATIC_BUF_ALLOC(pst->region, pst->pool, cLchUlDat, sizeof(RguCDatIndInfo));
+
RLC
_SHRABL_STATIC_BUF_ALLOC(pst->region, pst->pool, cLchUlDat, sizeof(RguCDatIndInfo));
cmMemset((U8*)cLchUlDat, (U8)0, sizeof(RguCDatIndInfo));
cLchUlDat->cellId = ulData->cellId;
cmMemset((U8*)cLchUlDat, (U8)0, sizeof(RguCDatIndInfo));
cLchUlDat->cellId = ulData->cellId;
@@
-245,7
+245,7
@@
PUBLIC S16 RlcMacProcUlData(Pst *pst, SuId suId, RlcMacData *ulData)
{
if(!dLchPduPres)
{
{
if(!dLchPduPres)
{
-
KW
_SHRABL_STATIC_BUF_ALLOC(pst->region, pst->pool, dLchUlDat, sizeof(RguDDatIndInfo));
+
RLC
_SHRABL_STATIC_BUF_ALLOC(pst->region, pst->pool, dLchUlDat, sizeof(RguDDatIndInfo));
dLchPduPres = TRUE;
}
dLchPduPres = TRUE;
}
@@
-275,7
+275,7
@@
PUBLIC S16 RlcMacProcUlData(Pst *pst, SuId suId, RlcMacData *ulData)
}
}
-
KW
_FREE_SHRABL_BUF(pst->region, pst->pool, ulData, sizeof(RlcMacData));
+
RLC
_FREE_SHRABL_BUF(pst->region, pst->pool, ulData, sizeof(RlcMacData));
RETVALUE(ROK);
}/* End of RlcMacProcUlData */
RETVALUE(ROK);
}/* End of RlcMacProcUlData */
@@
-312,27
+312,27
@@
SuId suId;
RguCDatIndInfo *datInd;
#endif
{
RguCDatIndInfo *datInd;
#endif
{
-
Kw
UlRbCb *rbCb;
-
KwCb *tKw
Cb;
+
Rlc
UlRbCb *rbCb;
+
RlcCb *tRlc
Cb;
rlcCDatIndRcvd++;
TRC3(KwLiRguCDatInd)
#if (ERRCLASS & ERRCLS_INT_PAR)
rlcCDatIndRcvd++;
TRC3(KwLiRguCDatInd)
#if (ERRCLASS & ERRCLS_INT_PAR)
- if (pst->dstInst >=
KW_
MAX_RLC_INSTANCES)
+ if (pst->dstInst >= MAX_RLC_INSTANCES)
{
{
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguCDatIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguCDatIndInfo));
RETVALUE (RFAILED);
}
#endif
RETVALUE (RFAILED);
}
#endif
- t
KwCb = KW_GET_KW
CB(pst->dstInst);
+ t
RlcCb = RLC_GET_RLC
CB(pst->dstInst);
#if (ERRCLASS & ERRCLS_DEBUG)
#if (ERRCLASS & ERRCLS_DEBUG)
- if (t
Kw
Cb->genCfg.rlcMode == LKW_RLC_MODE_DL)
+ if (t
Rlc
Cb->genCfg.rlcMode == LKW_RLC_MODE_DL)
{
{
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguCDatIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguCDatIndInfo));
RETVALUE(RFAILED);
}
#endif
RETVALUE(RFAILED);
}
#endif
@@
-343,29
+343,29
@@
RguCDatIndInfo *datInd;
{
RLOG_ARG1(L_ERROR,DBG_LCID,datInd->lcId, "Invalid LcId, Max is [%d]",
KW_MAX_LCH_PER_CELL);
{
RLOG_ARG1(L_ERROR,DBG_LCID,datInd->lcId, "Invalid LcId, Max is [%d]",
KW_MAX_LCH_PER_CELL);
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguCDatIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguCDatIndInfo));
RETVALUE(RFAILED);
}
#endif /* (ERRCLASS & ERRCLS_DEBUG) */
/* Fetch RbCb from lcId */
RETVALUE(RFAILED);
}
#endif /* (ERRCLASS & ERRCLS_DEBUG) */
/* Fetch RbCb from lcId */
- kwDbmFetchUlRbCbFromLchId(t
Kw
Cb, 0, datInd->cellId, datInd->lcId, &rbCb);
+ kwDbmFetchUlRbCbFromLchId(t
Rlc
Cb, 0, datInd->cellId, datInd->lcId, &rbCb);
if (!rbCb)
{
RLOG_ARG1(L_ERROR, DBG_CELLID,datInd->cellId, "LcId [%d] not found",
datInd->lcId);
if (!rbCb)
{
RLOG_ARG1(L_ERROR, DBG_CELLID,datInd->cellId, "LcId [%d] not found",
datInd->lcId);
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguCDatIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguCDatIndInfo));
RETVALUE(RFAILED);
}
/* Dispatch to TM Module */
#ifdef CCPU_OPT
RETVALUE(RFAILED);
}
/* Dispatch to TM Module */
#ifdef CCPU_OPT
- kwTmmRcvFrmLi(t
Kw
Cb, rbCb, datInd->rnti, datInd->pdu);
+ kwTmmRcvFrmLi(t
Rlc
Cb, rbCb, datInd->rnti, datInd->pdu);
#else /* CCPU_OPT */
#else /* CCPU_OPT */
- kwTmmRcvFrmLi(t
Kw
Cb, rbCb, datInd->pdu);
+ kwTmmRcvFrmLi(t
Rlc
Cb, rbCb, datInd->pdu);
#endif /* CCPU_OPT */
#endif /* CCPU_OPT */
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguCDatIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguCDatIndInfo));
RETVALUE(ROK);
} /* KwLiRguCDatInd */
RETVALUE(ROK);
} /* KwLiRguCDatInd */
@@
-406,27
+406,27
@@
RguDDatIndInfo *datInd;
rlcDDatIndRcvd++;
#if (ERRCLASS & ERRCLS_INT_PAR)
rlcDDatIndRcvd++;
#if (ERRCLASS & ERRCLS_INT_PAR)
- if (pst->dstInst >=
KW_
MAX_RLC_INSTANCES)
+ if (pst->dstInst >= MAX_RLC_INSTANCES)
{
{
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguDDatIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguDDatIndInfo));
RETVALUE (RFAILED);
}
#endif
#if (ERRCLASS & ERRCLS_DEBUG)
RETVALUE (RFAILED);
}
#endif
#if (ERRCLASS & ERRCLS_DEBUG)
- if (((
KwCb*)KW_GET_KW
CB(pst->dstInst))->genCfg.rlcMode == LKW_RLC_MODE_DL)
+ if (((
RlcCb*)RLC_GET_RLC
CB(pst->dstInst))->genCfg.rlcMode == LKW_RLC_MODE_DL)
{
RLOG1(L_DEBUG,"KwLiRguDDatInd(pst, suId(%d))recieved in DL Inst",suId);
{
RLOG1(L_DEBUG,"KwLiRguDDatInd(pst, suId(%d))recieved in DL Inst",suId);
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguDDatIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguDDatIndInfo));
RETVALUE(RFAILED);
}
#endif
RETVALUE(RFAILED);
}
#endif
- kwUtlRcvFrmLi(
KW_GET_KW
CB(pst->dstInst),datInd);
+ kwUtlRcvFrmLi(
RLC_GET_RLC
CB(pst->dstInst),datInd);
#ifndef SS_RBUF
#ifdef SS_LOCKLESS_MEMORY
#ifndef SS_RBUF
#ifdef SS_LOCKLESS_MEMORY
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguDDatIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datInd, sizeof(RguDDatIndInfo));
#else
#else
-
KW
_PST_FREE(pst->region, pst->pool, datInd, sizeof(RguDDatIndInfo));
+
RLC
_PST_FREE(pst->region, pst->pool, datInd, sizeof(RguDDatIndInfo));
#endif
#endif
#endif
#endif
@@
-467,7
+467,7
@@
PUBLIC uint16_t RlcMacProcSchedRep(Pst *pst, SuId suId, RlcMacSchedRepInfo *schR
* and trigger the handler for each common lch separately */
if(schRep->lchSta[idx].commCh)
{
* and trigger the handler for each common lch separately */
if(schRep->lchSta[idx].commCh)
{
-
KW
_SHRABL_STATIC_BUF_ALLOC(pst->region, pst->pool, cLchSchInfo, sizeof(RguCStaIndInfo));
+
RLC
_SHRABL_STATIC_BUF_ALLOC(pst->region, pst->pool, cLchSchInfo, sizeof(RguCStaIndInfo));
cmMemset((U8*)cLchSchInfo, (U8)0, sizeof(RguCStaIndInfo));
cLchSchInfo->cellId = schRep->cellId;
cmMemset((U8*)cLchSchInfo, (U8)0, sizeof(RguCStaIndInfo));
cLchSchInfo->cellId = schRep->cellId;
@@
-484,7
+484,7
@@
PUBLIC uint16_t RlcMacProcSchedRep(Pst *pst, SuId suId, RlcMacSchedRepInfo *schR
* scheduling report is received */
if(nmbDLch == 0)
{
* scheduling report is received */
if(nmbDLch == 0)
{
-
KW
_SHRABL_STATIC_BUF_ALLOC(pst->region, pst->pool, dLchSchInfo, sizeof(RguDStaIndInfo));
+
RLC
_SHRABL_STATIC_BUF_ALLOC(pst->region, pst->pool, dLchSchInfo, sizeof(RguDStaIndInfo));
dLchSchInfo->cellId = schRep->cellId;
dLchSchInfo->nmbOfUeGrantPerTti = 1;
dLchSchInfo->cellId = schRep->cellId;
dLchSchInfo->nmbOfUeGrantPerTti = 1;
@@
-509,7
+509,7
@@
PUBLIC uint16_t RlcMacProcSchedRep(Pst *pst, SuId suId, RlcMacSchedRepInfo *schR
KwLiRguDStaInd(pst, suId, dLchSchInfo);
}
KwLiRguDStaInd(pst, suId, dLchSchInfo);
}
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, schRep, sizeof(RlcMacSchedRepInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, schRep, sizeof(RlcMacSchedRepInfo));
RETVALUE(ROK);
}
RETVALUE(ROK);
}
@@
-546,38
+546,38
@@
SuId suId;
RguCStaIndInfo *staInd;
#endif
{
RguCStaIndInfo *staInd;
#endif
{
-
Kw
DlRbCb *rbCb;
-
KwCb *tKw
Cb;
+
Rlc
DlRbCb *rbCb;
+
RlcCb *tRlc
Cb;
TRC3(KwLiRguCStaInd)
#if (ERRCLASS & ERRCLS_INT_PAR)
TRC3(KwLiRguCStaInd)
#if (ERRCLASS & ERRCLS_INT_PAR)
- if (pst->dstInst >=
KW_
MAX_RLC_INSTANCES)
+ if (pst->dstInst >= MAX_RLC_INSTANCES)
{
{
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
RETVALUE (RFAILED);
}
#endif
RETVALUE (RFAILED);
}
#endif
- t
KwCb = KW_GET_KW
CB(pst->dstInst);
+ t
RlcCb = RLC_GET_RLC
CB(pst->dstInst);
#if (ERRCLASS & ERRCLS_INT_PAR)
#if (ERRCLASS & ERRCLS_INT_PAR)
- if ((suId >= t
Kw
Cb->genCfg.maxRguSaps) || (suId < 0))
+ if ((suId >= t
Rlc
Cb->genCfg.maxRguSaps) || (suId < 0))
{
{
- KWLOGERROR(t
Kw
Cb,
+ KWLOGERROR(t
Rlc
Cb,
ERRCLS_INT_PAR,
EKW040,
(ErrVal) suId,
"KwLiRguCStaInd: Invalid RGU suId\n");
RETVALUE(RFAILED);
}
ERRCLS_INT_PAR,
EKW040,
(ErrVal) suId,
"KwLiRguCStaInd: Invalid RGU suId\n");
RETVALUE(RFAILED);
}
- if (t
Kw
Cb->genCfg.rlcMode == LKW_RLC_MODE_UL)
+ if (t
Rlc
Cb->genCfg.rlcMode == LKW_RLC_MODE_UL)
{
RLOG_ARG1(L_ERROR,DBG_LCID,staInd->lcId,
"Received in RLC UL CELLID:%d",
staInd->cellId);
{
RLOG_ARG1(L_ERROR,DBG_LCID,staInd->lcId,
"Received in RLC UL CELLID:%d",
staInd->cellId);
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
RETVALUE(RFAILED);
}
#endif
RETVALUE(RFAILED);
}
#endif
@@
-592,18
+592,18
@@
RguCStaIndInfo *staInd;
"Invalid LcId, Max is [%d] CELLID:%d",
KW_MAX_LCH_PER_CELL,
staInd->cellId);
"Invalid LcId, Max is [%d] CELLID:%d",
KW_MAX_LCH_PER_CELL,
staInd->cellId);
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
RETVALUE(RFAILED);
}
#endif /* (ERRCLASS & ERRCLS_DEBUG) */
/* Fertch RbCb from lcId */
RETVALUE(RFAILED);
}
#endif /* (ERRCLASS & ERRCLS_DEBUG) */
/* Fertch RbCb from lcId */
- kwDbmFetchDlRbCbFromLchId(t
Kw
Cb,0, staInd->cellId, staInd->lcId, &rbCb);
+ kwDbmFetchDlRbCbFromLchId(t
Rlc
Cb,0, staInd->cellId, staInd->lcId, &rbCb);
if(!rbCb)
{
RLOG_ARG1(L_ERROR, DBG_CELLID,staInd->cellId,
"LcId [%d] not found CELLID:%d",
staInd->lcId);
if(!rbCb)
{
RLOG_ARG1(L_ERROR, DBG_CELLID,staInd->cellId,
"LcId [%d] not found CELLID:%d",
staInd->lcId);
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
RETVALUE(RFAILED);
}
RETVALUE(RFAILED);
}
@@
-611,20
+611,20
@@
RguCStaIndInfo *staInd;
rbCb->transId = staInd->transId;
/* ccpu00136940 */
/* If trace flag is enabled send the trace indication */
rbCb->transId = staInd->transId;
/* ccpu00136940 */
/* If trace flag is enabled send the trace indication */
- if(t
Kw
Cb->init.trc == TRUE)
+ if(t
Rlc
Cb->init.trc == TRUE)
{
/* Populate the trace params */
{
/* Populate the trace params */
- kwLmmSendTrc(t
Kw
Cb,EVTRGUCSTAIND, NULLP);
+ kwLmmSendTrc(t
Rlc
Cb,EVTRGUCSTAIND, NULLP);
}
}
- kwTmmSndToLi(t
Kw
Cb, suId, rbCb, staInd);
+ kwTmmSndToLi(t
Rlc
Cb, suId, rbCb, staInd);
#ifndef SS_RBUF
#ifdef SS_LOCKLESS_MEMORY
#ifndef SS_RBUF
#ifdef SS_LOCKLESS_MEMORY
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
#else
#else
-
KW
_PST_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
+
RLC
_PST_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
#endif
#else
#endif
#else
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguCStaIndInfo));
#endif
RETVALUE(ROK);
} /* KwLiRguCStaInd */
#endif
RETVALUE(ROK);
} /* KwLiRguCStaInd */
@@
-662,24
+662,24
@@
SuId suId;
RguDStaIndInfo *staInd;
#endif
{
RguDStaIndInfo *staInd;
#endif
{
-
Kw
Cb *gCb;
+
Rlc
Cb *gCb;
TRC3(KwLiRguDStaInd)
#if (ERRCLASS & ERRCLS_INT_PAR)
TRC3(KwLiRguDStaInd)
#if (ERRCLASS & ERRCLS_INT_PAR)
- if (pst->dstInst >=
KW_
MAX_RLC_INSTANCES)
+ if (pst->dstInst >= MAX_RLC_INSTANCES)
{
{
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguDStaIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguDStaIndInfo));
RETVALUE (RFAILED);
}
#endif
RETVALUE (RFAILED);
}
#endif
- gCb =
KW_GET_KW
CB(pst->dstInst);
+ gCb =
RLC_GET_RLC
CB(pst->dstInst);
#if (ERRCLASS & ERRCLS_INT_PAR)
#if (ERRCLASS & ERRCLS_INT_PAR)
- if (((
KwCb*)KW_GET_KW
CB(pst->dstInst))->genCfg.rlcMode == LKW_RLC_MODE_UL)
+ if (((
RlcCb*)RLC_GET_RLC
CB(pst->dstInst))->genCfg.rlcMode == LKW_RLC_MODE_UL)
{
RLOG_ARG0(L_ERROR,DBG_CELLID,staInd->cellId,"Received in RLC UL ");
{
RLOG_ARG0(L_ERROR,DBG_CELLID,staInd->cellId,"Received in RLC UL ");
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguDStaIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguDStaIndInfo));
RETVALUE(RFAILED);
}
if ((suId >= gCb->genCfg.maxRguSaps) || (suId < 0))
RETVALUE(RFAILED);
}
if ((suId >= gCb->genCfg.maxRguSaps) || (suId < 0))
@@
-695,7
+695,7
@@
RguDStaIndInfo *staInd;
kwUtlSndToLi(gCb, suId, staInd);
/* kw002.201 :Freeing from proper region */
kwUtlSndToLi(gCb, suId, staInd);
/* kw002.201 :Freeing from proper region */
-
KW
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguDStaIndInfo));
+
RLC
_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, staInd, sizeof(RguDStaIndInfo));
RETVALUE(ROK);
} /* KwLiRguDStaInd */
RETVALUE(ROK);
} /* KwLiRguDStaInd */
@@
-731,24
+731,24
@@
SuId suId;
RguFlowCntrlInd *flowCntrlInd;
#endif
{
RguFlowCntrlInd *flowCntrlInd;
#endif
{
-
KwCb *tKw
Cb;
-
Kw
DlRbCb *rbCb = NULLP;
+
RlcCb *tRlc
Cb;
+
Rlc
DlRbCb *rbCb = NULLP;
U32 idx;
U32 lcIdx;
U32 idx;
U32 lcIdx;
- t
KwCb = KW_GET_KW
CB(pst->dstInst);
+ t
RlcCb = RLC_GET_RLC
CB(pst->dstInst);
for (idx = 0; idx < flowCntrlInd->numUes; idx++)
{
for (lcIdx = 0; lcIdx < flowCntrlInd->ueFlowCntrlInfo[idx].numLcs; lcIdx++)
{
RguLcFlowCntrlInfo *lcInfo = &(flowCntrlInd->ueFlowCntrlInfo[idx].lcInfo[lcIdx]);
for (idx = 0; idx < flowCntrlInd->numUes; idx++)
{
for (lcIdx = 0; lcIdx < flowCntrlInd->ueFlowCntrlInfo[idx].numLcs; lcIdx++)
{
RguLcFlowCntrlInfo *lcInfo = &(flowCntrlInd->ueFlowCntrlInfo[idx].lcInfo[lcIdx]);
- kwDbmFetchDlRbCbFromLchId(t
Kw
Cb, flowCntrlInd->ueFlowCntrlInfo[idx].ueId, flowCntrlInd->cellId, lcInfo->lcId, &rbCb);
+ kwDbmFetchDlRbCbFromLchId(t
Rlc
Cb, flowCntrlInd->ueFlowCntrlInfo[idx].ueId, flowCntrlInd->cellId, lcInfo->lcId, &rbCb);
if (rbCb)
{
if (lcInfo->pktAdmitCnt == 0) /* Special case */
{
if (rbCb)
{
if (lcInfo->pktAdmitCnt == 0) /* Special case */
{
- kwUtlTrigPdbFlowCntrl(t
Kw
Cb, rbCb, lcInfo->pktAdmitCnt);
+ kwUtlTrigPdbFlowCntrl(t
Rlc
Cb, rbCb, lcInfo->pktAdmitCnt);
continue;
}
if (rbCb->mode == CM_LTE_MODE_AM)
continue;
}
if (rbCb->mode == CM_LTE_MODE_AM)
@@
-768,7
+768,7
@@
RguFlowCntrlInd *flowCntrlInd;
continue;
}
}
continue;
}
}
- kwUtlTrigPdbFlowCntrl(t
Kw
Cb, rbCb, lcInfo->pktAdmitCnt);
+ kwUtlTrigPdbFlowCntrl(t
Rlc
Cb, rbCb, lcInfo->pktAdmitCnt);
}
}
}
}
}
}
@@
-816,17
+816,17
@@
RguHarqStatusInd *staInd;
KwUeKey ueKey;
S16 ret;
KwUeKey ueKey;
S16 ret;
-
Kw
DlUeCb *ueCb;
+
Rlc
DlUeCb *ueCb;
U8 tbIdx;
U8 tbIdx;
-
KwCb *tKw
Cb;
+
RlcCb *tRlc
Cb;
TRC3(KwLiRguHqStaInd)
TRC3(KwLiRguHqStaInd)
- t
KwCb = KW_GET_KW
CB(pst->dstInst);
+ t
RlcCb = RLC_GET_RLC
CB(pst->dstInst);
ueKey.cellId = staInd->cellId;
ueKey.ueId = staInd->ueId;
ueKey.cellId = staInd->cellId;
ueKey.ueId = staInd->ueId;
- ret = kwDbmFetchDlUeCb(t
Kw
Cb, ueKey.ueId, ueKey.cellId, &ueCb);
+ ret = kwDbmFetchDlUeCb(t
Rlc
Cb, ueKey.ueId, ueKey.cellId, &ueCb);
if (ret != ROK )
{
RETVALUE(RFAILED);
if (ret != ROK )
{
RETVALUE(RFAILED);
@@
-835,7
+835,7
@@
RguHarqStatusInd *staInd;
/*Call kwUtlProcHarqInd as many times as number of Tbs present*/
for ( tbIdx = 0; tbIdx < staInd->numTbs; tbIdx++)
{
/*Call kwUtlProcHarqInd as many times as number of Tbs present*/
for ( tbIdx = 0; tbIdx < staInd->numTbs; tbIdx++)
{
- kwUtlProcHarqInd(t
Kw
Cb, staInd, ueCb, tbIdx);
+ kwUtlProcHarqInd(t
Rlc
Cb, staInd, ueCb, tbIdx);
}
RETVALUE(ROK);
}
RETVALUE(ROK);