{
Buffer *mBuf = NULLP;
- if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
return RFAILED;
}
if(pst->selector == ODU_SELECTOR_LC)
{
Buffer *mBuf = NULLP;
- if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
return RFAILED;
}
else if(pst->selector == ODU_SELECTOR_LWLC)
{
- if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
DU_LOG("\nDU APP : Memory allocation failed for cell start req pack");
return RFAILED;
{
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&cellStartInfo, mBuf);
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, cellStartInfo);
}
else
{
/* Nothing to do for loose coupling */
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return ROK;
}
}
{
Buffer *mBuf = NULLP;
- if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
DU_LOG("\nDU APP : Memory allocation failed for cell stop req pack");
return RFAILED;
{
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&cellStopInfo, mBuf);
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, cellStopInfo);
}
else
{
/* Nothing to do for loose coupling */
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return ROK;
}
}
{
Buffer *mBuf = NULLP;
- if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
DU_LOG("\nDU APP : Memory allocation failed for cell start req pack");
return RFAILED;
}
else
{
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
}
return ODU_POST_TASK(pst,mBuf);
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&slotInfo, mBuf);
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, slotInfo);
}
else if(pst->selector == ODU_SELECTOR_LC)
CMCHKUNPK(oduPackUInt16, &(slotInfo.sfn), mBuf);
CMCHKUNPK(oduPackUInt16, &(slotInfo.cellId), mBuf);
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, &slotInfo);
}
else
{
/* Nothing to do for loose coupling */
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return ROK;
}
return ROK;
{
Buffer *mBuf = NULLP;
- if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
DU_LOG("\nDU APP : Memory allocation failed for stop Ind pack");
return RFAILED;
}
else
{
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
}
return ODU_POST_TASK(pst,mBuf);
MacCellStopInfo *cellStopId;
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&cellStopId, mBuf);
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, cellStopId);
}
else if(pst->selector == ODU_SELECTOR_LC)
MacCellStopInfo cellStopId;
CMCHKUNPK(oduPackUInt16, &(cellStopId.cellId), mBuf);
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, &cellStopId);
}
else
{
/* Nothing to do for loose coupling */
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return ROK;
}
return ROK;
if(pst->selector == ODU_SELECTOR_LWLC)
{
- if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
DU_LOG("\nMAC : Memory allocation failed at packMacUlCcchInd");
return RFAILED;
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&ulCcchIndInfo, mBuf);
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, ulCcchIndInfo);
}
else
{
/* Nothing to do for other selectors */
DU_LOG("\n Only LWLC supported for UL CCCH Ind ");
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
}
return RFAILED;
}
if(pst->selector == ODU_SELECTOR_LWLC)
{
- if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
DU_LOG("\nMAC : Memory allocation failed at packMacDlCcchInd");
return RFAILED;
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&dlCcchIndInfo, mBuf);
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, dlCcchIndInfo);
}
else
{
/* Nothing to do for other selectors */
DU_LOG("\n Only LWLC supported for DL CCCH Ind ");
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
}
return RFAILED;
if(pst->selector == ODU_SELECTOR_LWLC)
{
- if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
DU_LOG("\nMAC : Memory allocation failed at packDuMacUeCreateReq");
return RFAILED;
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&ueCfg, mBuf);
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, ueCfg);
}
else
{
/* Nothing to do for other selectors */
DU_LOG("\n Only LWLC supported for UE Create Request ");
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
}
return RFAILED;
if(pst->selector == ODU_SELECTOR_LWLC)
{
- if (ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
+ if (ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
DU_LOG("\nMAC : Memory allocation failed at packDuMacUeCfgRsp");
return RFAILED;
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&cfgRsp, mBuf);
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return (*func)(pst, cfgRsp);
}
- ODU_PUT_MSG(mBuf);
+ ODU_PUT_MSG_BUF(mBuf);
return RFAILED;
}