{
#if (ERRCLASS & ERRCLS_INT_PAR)
RLOG0(L_ERROR, "Invalid CKW SAP State in Bind Req");
{
#if (ERRCLASS & ERRCLS_INT_PAR)
RLOG0(L_ERROR, "Invalid CKW SAP State in Bind Req");
#if (ERRCLASS & ERRCLS_INT_PAR)
if (pst->dstInst >= MAX_RLC_INSTANCES)
{
RLC_PST_FREE(pst->region, pst->pool, cfg, sizeof(RlcCfgInfo));
#if (ERRCLASS & ERRCLS_INT_PAR)
if (pst->dstInst >= MAX_RLC_INSTANCES)
{
RLC_PST_FREE(pst->region, pst->pool, cfg, sizeof(RlcCfgInfo));
if (cfgTmpData == NULLP)
{
RLC_PST_FREE(pst->region, pst->pool, cfg, sizeof(RlcCfgInfo));
if (cfgTmpData == NULLP)
{
RLC_PST_FREE(pst->region, pst->pool, cfg, sizeof(RlcCfgInfo));
{
RLOG0(L_ERROR, "Addition to UL transId Lst Failed");
RLC_PST_FREE(pst->region, pst->pool, cfg, sizeof(RlcCfgInfo));
{
RLOG0(L_ERROR, "Addition to UL transId Lst Failed");
RLC_PST_FREE(pst->region, pst->pool, cfg, sizeof(RlcCfgInfo));
tRlcCb = RLC_GET_RLCCB(pst->dstInst);
#ifndef ALIGN_64BIT
RLOG_ARG2(L_DEBUG,DBG_CELLID,newUeInfo->cellId,
tRlcCb = RLC_GET_RLCCB(pst->dstInst);
#ifndef ALIGN_64BIT
RLOG_ARG2(L_DEBUG,DBG_CELLID,newUeInfo->cellId,
- "KwUiCkwUeIdChgReq(pst, spId(%d), transId(%ld))",
+ "RlcUiCkwUeIdChgReq(pst, spId(%d), transId(%ld))",
spId,
transId);
#else
RLOG_ARG2(L_DEBUG,DBG_CELLID,newUeInfo->cellId,
spId,
transId);
#else
RLOG_ARG2(L_DEBUG,DBG_CELLID,newUeInfo->cellId,
- "KwUiCkwUeIdChgReq(pst, spId(%d), transId(%d))\n",
+ "RlcUiCkwUeIdChgReq(pst, spId(%d), transId(%d))\n",
}
if(ROK != rlcCfgValidateUeIdChng(tRlcCb,ueInfo,newUeInfo,cfgTmpData))
}
if(ROK != rlcCfgValidateUeIdChng(tRlcCb,ueInfo,newUeInfo,cfgTmpData))
- rlcUlUdxUeIdChgReq(&(KW_GET_UDX_SAP(tRlcCb)->pst),
- KW_GET_UDX_SAP(tRlcCb)->spId,
+ rlcUlUdxUeIdChgReq(&(RLC_GET_UDX_SAP(tRlcCb)->pst),
+ RLC_GET_UDX_SAP(tRlcCb)->spId,
{
/* Configuration is for UL , thus validating */
if(ROK != rlcCfgValidateUlRb(gCb,
{
/* Configuration is for UL , thus validating */
if(ROK != rlcCfgValidateUlRb(gCb,
cfgTmpData->cfgEntData[idx].entUlCfgCfm.status.status = CKW_CFG_CFM_NOK;
/*Validation is getting failed so no need to do configuration at DL.
*Set dir as UL, so that no configuration is done at DL */
cfgTmpData->cfgEntData[idx].entUlCfgCfm.status.status = CKW_CFG_CFM_NOK;
/*Validation is getting failed so no need to do configuration at DL.
*Set dir as UL, so that no configuration is done at DL */
{
/*If the configuration is for UL only then apply it */
if (cfgTmpData->cfgEntData[idx].entUlCfgCfm.status.status == CKW_CFG_CFM_OK)
{
/*If the configuration is for UL only then apply it */
if (cfgTmpData->cfgEntData[idx].entUlCfgCfm.status.status == CKW_CFG_CFM_OK)
cfg->cellId,cfg->entCfg[idx].rbId);
cfgTmpData->cfgEntData[idx].entUlCfgCfm.status.status = CKW_CFG_CFM_NOK;
/* Setting dir as UL, so that no configuration is done at DL */
cfg->cellId,cfg->entCfg[idx].rbId);
cfgTmpData->cfgEntData[idx].entUlCfgCfm.status.status = CKW_CFG_CFM_NOK;
/* Setting dir as UL, so that no configuration is done at DL */
{
/*If the configuration is for UL only then apply it */
if (cfgTmpData->cfgEntData[idx].entUlCfgCfm.status.status == CKW_CFG_CFM_OK)
{
/*If the configuration is for UL only then apply it */
if (cfgTmpData->cfgEntData[idx].entUlCfgCfm.status.status == CKW_CFG_CFM_OK)
cfgTmpData->ueId);
cfgTmpData->cfgEntData[idx].entUlCfgCfm.status.status = CKW_CFG_CFM_NOK;
/* Setting dir as UL, so that no configuration is done at DL */
cfgTmpData->ueId);
cfgTmpData->cfgEntData[idx].entUlCfgCfm.status.status = CKW_CFG_CFM_NOK;
/* Setting dir as UL, so that no configuration is done at DL */
"Del UL Cell Validation Failure");
cfgTmpData->cfgEntData[idx].entUlCfgCfm.status.status = CKW_CFG_CFM_NOK;
/* Setting dir as UL, so that no configuration is done at DL */
"Del UL Cell Validation Failure");
cfgTmpData->cfgEntData[idx].entUlCfgCfm.status.status = CKW_CFG_CFM_NOK;
/* Setting dir as UL, so that no configuration is done at DL */
- RLOG2(L_DEBUG, "KwUiKwuBndReq(pst, spId(%d), suId(%d))", spId, suId);
+ RLOG2(L_DEBUG, "RlcUiKwuBndReq(pst, spId(%d), suId(%d))", spId, suId);
/* Validation of input parameters */
#if (ERRCLASS & ERRCLS_INT_PAR)
if(!((spId < (S16) tRlcCb->genCfg.maxKwuSaps) && (spId >=0)))
{
RLOG0(L_ERROR,"Invalid spId");
/* Validation of input parameters */
#if (ERRCLASS & ERRCLS_INT_PAR)
if(!((spId < (S16) tRlcCb->genCfg.maxKwuSaps) && (spId >=0)))
{
RLOG0(L_ERROR,"Invalid spId");
- KW_SEND_SAPID_ALARM(tRlcCb,spId, LKW_EVENT_KWU_BND_REQ, LCM_CAUSE_INV_SAP);
- RETVALUE(RFAILED);
+ RLC_SEND_SAPID_ALARM(tRlcCb,spId, LKW_EVENT_KWU_BND_REQ, LCM_CAUSE_INV_SAP);
+ return RFAILED;
- kwuSap = (tRlcCb->genCfg.rlcMode == LKW_RLC_MODE_DL) ?
- (tRlcCb->u.dlCb->kwuDlSap + spId):
- (tRlcCb->u.ulCb->kwuUlSap + spId);
+ rlckwuSap = (tRlcCb->genCfg.rlcMode == LKW_RLC_MODE_DL) ?
+ (tRlcCb->u.dlCb->rlcKwuDlSap + spId):
+ (tRlcCb->u.ulCb->rlcKwuUlSap + spId);
- kwuSap->suId = suId;
- kwuSap->pst.dstProcId = pst->srcProcId;
- kwuSap->pst.dstEnt = pst->srcEnt;
- kwuSap->pst.dstInst = pst->srcInst;
+ rlckwuSap->suId = suId;
+ rlckwuSap->pst.dstProcId = pst->srcProcId;
+ rlckwuSap->pst.dstEnt = pst->srcEnt;
+ rlckwuSap->pst.dstInst = pst->srcInst;
- if (kwuSap->pst.dstProcId != pst->srcProcId ||
- kwuSap->pst.dstEnt != pst->srcEnt ||
- kwuSap->pst.dstInst != pst->srcInst ||
- kwuSap->suId != suId)
+ if (rlckwuSap->pst.dstProcId != pst->srcProcId ||
+ rlckwuSap->pst.dstEnt != pst->srcEnt ||
+ rlckwuSap->pst.dstInst != pst->srcInst ||
+ rlckwuSap->suId != suId)
#if (ERRCLASS & ERRCLS_INT_PAR)
RLOG1(L_ERROR,"RLC Mode [%d]:Invalid KWU SAP State in Bind Req",
tRlcCb->genCfg.rlcMode);
#if (ERRCLASS & ERRCLS_INT_PAR)
RLOG1(L_ERROR,"RLC Mode [%d]:Invalid KWU SAP State in Bind Req",
tRlcCb->genCfg.rlcMode);
#if (ERRCLASS & ERRCLS_INT_PAR)
if ((pst->dstInst >= MAX_RLC_INSTANCES) ||
(spId >= (S16) rlcCb[pst->dstInst]->genCfg.maxKwuSaps) ||
(spId < 0))
{
#if (ERRCLASS & ERRCLS_INT_PAR)
if ((pst->dstInst >= MAX_RLC_INSTANCES) ||
(spId >= (S16) rlcCb[pst->dstInst]->genCfg.maxKwuSaps) ||
(spId < 0))
{
- kwuSap = (tRlcCb->genCfg.rlcMode == LKW_RLC_MODE_DL) ?
- (tRlcCb->u.dlCb->kwuDlSap + spId):
- (tRlcCb->u.ulCb->kwuUlSap + spId);
+ rlckwuSap = (tRlcCb->genCfg.rlcMode == LKW_RLC_MODE_DL) ?
+ (tRlcCb->u.dlCb->rlcKwuDlSap + spId):
+ (tRlcCb->u.ulCb->rlcKwuUlSap + spId);
-#ifdef ANSI
-PUBLIC S16 KwUiKwuDatReq
-(
-Pst *pst,
-KwuDatReqInfo *datReq,
-Buffer *mBuf
-)
-#else
-PUBLIC S16 KwUiKwuDatReq(pst, datReq, mBuf)
-Pst *pst;
-KwuDatReqInfo *datReq;
-Buffer *mBuf;
-#endif
+uint8_t rlcProcDlData(Pst *pst, KwuDatReqInfo *datReq, Buffer *mBuf)
DU_LOG("\nRLC : Received DL Data");
#if (ERRCLASS & ERRCLS_INT_PAR)
if(pst->dstInst >= MAX_RLC_INSTANCES)
{
DU_LOG("\nRLC : Received DL Data");
#if (ERRCLASS & ERRCLS_INT_PAR)
if(pst->dstInst >= MAX_RLC_INSTANCES)
{
- RLOG_ARG2(L_WARNING, DBG_UEID,datReq->rlcId.ueId, "CellId[%u]:DL RbId [%d] not found",
+ DU_LOG("\nRLC : CellId[%u]:DL RbId [%d] not found",
/* kw002.201 Freeing from proper region */
RLC_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datReq,
sizeof(KwuDatReqInfo));
/* kw002.201 Freeing from proper region */
RLC_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, datReq,
sizeof(KwuDatReqInfo));
- kwTmmQSdu(tRlcCb,rbCb, datReq, mBuf);
+ rlcTmmQSdu(tRlcCb,rbCb, datReq, mBuf);
- kwUmmQSdu(tRlcCb,rbCb, datReq, mBuf);
+ rlcUmmQSdu(tRlcCb,rbCb, datReq, mBuf);
- kwAmmQSdu(tRlcCb,rbCb, mBuf, datReq);
+ rlcAmmQSdu(tRlcCb,rbCb, mBuf, datReq);
{
RLC_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, discSdu, sizeof(KwuDiscSduInfo));
{
RLC_SHRABL_STATIC_BUF_FREE(pst->region, pst->pool, discSdu, sizeof(KwuDiscSduInfo));