- TRC3(kwTmmSndStaRsp)
-
-
- rguSap = &(gCb->u.dlCb->rguDlSap[rbCb->rguSapId]);
-
- KW_ALLOC_SHRABL_BUF(gCb->u.dlCb->rguDlSap[rbCb->rguSapId].pst.region,
- gCb->u.dlCb->rguDlSap[rbCb->rguSapId].pst.pool,
- staRspInfo,sizeof(RguCStaRspInfo));
-#if (ERRCLASS & ERRCLS_ADD_RES)
- if ( staRspInfo == NULLP )
- {
- RLOG_ARG2(L_FATAL,DBG_RBID,rbCb->rlcId.rbId,
- "Memory Allocation failed UEID:%d CELLID:%d",
- rbCb->rlcId.ueId,
- rbCb->rlcId.cellId);
- RETVOID;
- }
-#endif /* ERRCLASS & ERRCLS_ADD_RES */
- staRspInfo->bo = bo;
- staRspInfo->cellId = rbCb->rlcId.cellId;
- staRspInfo->lcId = rbCb->lch.lChId;
- staRspInfo->lcType = rbCb->lch.lChType;
-#ifdef CCPU_OPT
- if ( rbCb->lch.lChType == CM_LTE_LCH_BCCH ||
- rbCb->lch.lChType == CM_LTE_LCH_PCCH )
- {
- staRspInfo->u.timeToTx.sfn = datReqInfo->tm.tmg.sfn;
- staRspInfo->u.timeToTx.subframe = datReqInfo->tm.tmg.subframe;
-#ifdef EMTC_ENABLE
- if(rbCb->lch.lChType == CM_LTE_LCH_PCCH)
- {
- staRspInfo->emtcDiReason = datReqInfo->emtcDiReason;
- staRspInfo->pnb = datReqInfo->pnb;
- }
-#endif
- }
- else if ( rbCb->lch.lChType == CM_LTE_LCH_CCCH )
+ RLC_ALLOC_SHRABL_BUF(RLC_MEM_REGION_DL, RLC_POOL,
+ boStatus, sizeof(RlcBoStatus));
+ if ( boStatus == NULLP )