if(pst->selector == ODU_SELECTOR_LWLC)
{
- if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
{
DU_LOG("\nRLC : Memory allocation failed at packDuRlcUeCreateReq");
return RFAILED;
}
/* pack the address of the structure */
- CMCHKPK(cmPkPtr,(PTR)ueCfg, mBuf);
+ CMCHKPK(oduPackPointer,(PTR)ueCfg, mBuf);
}
else
{
return RFAILED;
}
- return SPstTsk(pst,mBuf);
+ return ODU_POST_TASK(pst,mBuf);
}
/*******************************************************************
{
RlcUeCfg *ueCfg;
/* unpack the address of the structure */
- CMCHKUNPK(cmUnpkPtr, (PTR *)&ueCfg, mBuf);
- SPutMsg(mBuf);
+ CMCHKUNPK(oduUnpackPointer, (PTR *)&ueCfg, mBuf);
+ ODU_PUT_MSG(mBuf);
return (*func)(pst, ueCfg);
}
else
{
/* Nothing to do for other selectors */
DU_LOG("\nRLC: Only LWLC supported for UE Create Request ");
- SPutMsg(mBuf);
+ ODU_PUT_MSG(mBuf);
}
return RFAILED;
if(pst->selector == ODU_SELECTOR_LWLC)
{
- if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
{
DU_LOG("\nRLC : Memory allocation failed at packRlcUlDuUeCreateRsp");
return RFAILED;
}
/* pack the address of the structure */
- CMCHKPK(cmPkPtr,(PTR)ueCfg, mBuf);
+ CMCHKPK(oduPackPointer,(PTR)ueCfg, mBuf);
}
else
{
return RFAILED;
}
- return SPstTsk(pst,mBuf);
+ return ODU_POST_TASK(pst,mBuf);
}
/*******************************************************************
{
RlcUeCfgRsp *cfgRsp;
/* unpack the address of the structure */
- CMCHKUNPK(cmUnpkPtr, (PTR *)&cfgRsp, mBuf);
- SPutMsg(mBuf);
+ CMCHKUNPK(oduUnpackPointer, (PTR *)&cfgRsp, mBuf);
+ ODU_PUT_MSG(mBuf);
return (*func)(pst, cfgRsp);
}
else
{
/* Nothing to do for other selectors */
DU_LOG("\nRLC: Only LWLC supported for UE Create Response ");
- SPutMsg(mBuf);
+ ODU_PUT_MSG(mBuf);
}
return RFAILED;
if(pst->selector == ODU_SELECTOR_LWLC)
{
- if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
{
DU_LOG("\nRLC : Memory allocation failed at packRlcUlRrcMsgToDu");
return RFAILED;
}
/* pack the address of the structure */
- CMCHKPK(cmPkPtr,(PTR)ulRrcMsgInfo, mBuf);
- return SPstTsk(pst,mBuf);
+ CMCHKPK(oduPackPointer,(PTR)ulRrcMsgInfo, mBuf);
+ return ODU_POST_TASK(pst,mBuf);
}
else
{
{
RlcUlRrcMsgInfo *ulRrcMsgInfo;
/* unpack the address of the structure */
- CMCHKUNPK(cmUnpkPtr, (PTR *)&ulRrcMsgInfo, mBuf);
- SPutMsg(mBuf);
+ CMCHKUNPK(oduUnpackPointer, (PTR *)&ulRrcMsgInfo, mBuf);
+ ODU_PUT_MSG(mBuf);
return (*func)(pst, ulRrcMsgInfo);
}
else
{
/* Nothing to do for other selectors */
DU_LOG("\nRLC: Only LWLC supported for UL RRC Message transfer ");
- SPutMsg(mBuf);
+ ODU_PUT_MSG(mBuf);
}
return RFAILED;