{
RLOG1(L_ERROR, "Allocation of RgSubHdr failed for LCID:%d",lcId);
err->errCause = RGERR_DUX_MEM_EXHAUST;
{
RLOG1(L_ERROR, "Allocation of RgSubHdr failed for LCID:%d",lcId);
err->errCause = RGERR_DUX_MEM_EXHAUST;
}
*sdu = sduAloc;
RG_INIT_SDU(sduAloc, lcId, sduLen);
cmLListAdd2Tail(&pdu->sduLst, &sduAloc->sduLstEnt);
}
*sdu = sduAloc;
RG_INIT_SDU(sduAloc, lcId, sduLen);
cmLListAdd2Tail(&pdu->sduLst, &sduAloc->sduLstEnt);
if(*lcId <= RG_DEDLC_MAX_LCID)
{ /* variable size MAC Sub PDU */
RG_EXT_FORMT_BIT(fmt,byte);
if(*lcId <= RG_DEDLC_MAX_LCID)
{ /* variable size MAC Sub PDU */
RG_EXT_FORMT_BIT(fmt,byte);
{
RLOG1(L_ERROR,"Unpacking of EXT PHR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of EXT PHR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of EXT PHR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of EXT PHR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of EXT PHR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of EXT PHR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of PHR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of PHR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of Trunc BSR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of Trunc BSR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of Short BSR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of Short BSR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of Long BSR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of Long BSR failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of C-RNTI failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
{
RLOG1(L_ERROR,"Unpacking of C-RNTI failed LCID:%d",lcId);
err->errCause = RGERR_DUX_UNPACK_FAILURE;
default:
RLOG1(L_ERROR, "Invalid LCID:%u received",lcId);
err->errCause = RGERR_DUX_INV_LCID_RX;
default:
RLOG1(L_ERROR, "Invalid LCID:%u received",lcId);
err->errCause = RGERR_DUX_INV_LCID_RX;
if(rgDUXInsSdu(inst,pdu, &sdu,lcId, subPduLen, err) != ROK)
{
RG_FREE_MSG(*mBuf);
if(rgDUXInsSdu(inst,pdu, &sdu,lcId, subPduLen, err) != ROK)
{
RG_FREE_MSG(*mBuf);
RG_FREE_MSG(tmpBuf1);
RLOG0(L_ERROR,"SSegMsg failed");
err->errCause = RGERR_DUX_RLC_PDU_CREAT_FAIL;
RG_FREE_MSG(tmpBuf1);
RLOG0(L_ERROR,"SSegMsg failed");
err->errCause = RGERR_DUX_RLC_PDU_CREAT_FAIL;
* will be responsible for freeing mBuf */
*mBuf = NULLP;
RLOG0(L_ERROR, "failed to Extract the sdus");
* will be responsible for freeing mBuf */
*mBuf = NULLP;
RLOG0(L_ERROR, "failed to Extract the sdus");
RG_FREE_MSG(*mBuf);
RLOG0(L_ERROR,"mBuf length check failed");
err->errCause = RGERR_DUX_UNPACK_FAILURE;
RG_FREE_MSG(*mBuf);
RLOG0(L_ERROR,"mBuf length check failed");
err->errCause = RGERR_DUX_UNPACK_FAILURE;