Buffer *mBuf = NULLP;
if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
- printf("\nLWR_MAC: Memory allocation failed in packCrcInd");
+ DU_LOG("\nERROR --> LWR_MAC: Memory allocation failed in packCrcInd");
return RFAILED;
}
CMCHKPK(oduPackPointer,(PTR)crcInd, mBuf);
Buffer *mBuf = NULLP;
if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
- printf("\nLWR_MAC: Memory allocation failed in packRxDataInd");
+ DU_LOG("\nERROR --> LWR_MAC: Memory allocation failed in packRxDataInd");
return RFAILED;
}
CMCHKPK(oduPackPointer,(PTR)rxDataInd, mBuf);
Buffer *mBuf = NULLP;
if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
- printf("\nLWR_MAC: Memory allocation failed in packRachInd");
+ DU_LOG("\nERROR --> LWR_MAC: Memory allocation failed in packRachInd");
return RFAILED;
}
CMCHKPK(oduPackPointer,(PTR)rachInd, mBuf);
* RFAILED - failure
*
* ****************************************************************/
-uint8_t packSlotInd (Pst *pst, SlotIndInfo *slotInd)
+uint8_t packSlotInd (Pst *pst, SlotTimingInfo *slotInd)
{
if(pst->selector == ODU_SELECTOR_LWLC)
{
Buffer *mBuf = NULLP;
if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
- printf("\nLWR_MAC: Memory allocation failed in packSlotInd");
+ DU_LOG("\nERROR --> LWR_MAC: Memory allocation failed in packSlotInd");
return RFAILED;
}
CMCHKPK(oduPackPointer,(PTR)slotInd, mBuf);
{
if(pst->selector == ODU_SELECTOR_LWLC)
{
- SlotIndInfo *slotInd = NULLP;
+ SlotTimingInfo *slotInd = NULLP;
/* unpack the address of the structure */
CMCHKUNPK(oduUnpackPointer, (PTR *)&slotInd, mBuf);
Buffer *mBuf = NULLP;
if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
- printf("\nLWR_MAC: Memory allocation failed in packStopInd");
+ DU_LOG("\nERROR --> LWR_MAC: Memory allocation failed in packStopInd");
return RFAILED;
}
CMCHKPK(oduPackPointer,(PTR)cellId, mBuf);
Buffer *mBuf = NULLP;
if(ODU_GET_MSG_BUF(pst->region, pst->pool, &mBuf) != ROK)
{
- printf("\nLWR_MAC: Memory allocation failed in packUciInd");
+ DU_LOG("\nERROR --> LWR_MAC: Memory allocation failed in packUciInd");
return RFAILED;
}
CMCHKPK(oduPackPointer,(PTR)uciInd, mBuf);