Pst pst;
Buffer *mBuf;
- DU_LOG("\nLWR MAC: Requesting to start WLS receiver thread");
+ DU_LOG("\nINFO --> LWR MAC : Requesting to start WLS receiver thread");
/* Filling post */
memset(&pst, 0, sizeof(Pst));
if (ODU_GET_MSG_BUF(pst.region, pst.pool, &mBuf) != ROK)
{
- DU_LOG("\nLWR MAC : Memory allocation failed for LwrMacStartWlsRcvr");
+ DU_LOG("\nERROR --> LWR MAC : Memory allocation failed for LwrMacStartWlsRcvr");
return;
}
continue;
}
- printf("\nLWR_MAC: numMsgToGet %d", numMsgToGet);
+ DU_LOG("\nDEBUG --> LWR_MAC : numMsgToGet %d", numMsgToGet);
while(numMsgToGet--)
{
currElem = NULLP;
addWlsBlockToFree(currMsg, msgLen, (slotIndIdx-1));
if(currMsg->p_next == NULLP)
{
- DU_LOG("\nThere cannot be only one block to send");
+ DU_LOG("\nERROR --> LWR MAC : There cannot be only one block to send");
return RFAILED;
}
ret = WLS_Put(wlsHdlr, WLS_VA2PA(wlsHdlr, currMsg), msgLen, currMsg->msg_type, WLS_SG_FIRST);
if(ret != 0)
{
- DU_LOG("\nFailure in sending message to PHY");
+ DU_LOG("\nERROR --> LWR MAC : Failure in sending message to PHY");
return RFAILED;
}
currMsg = currMsg->p_next;
ret = WLS_Put(wlsHdlr, WLS_VA2PA(wlsHdlr, currMsg), msgLen, currMsg->msg_type, WLS_SG_NEXT);
if(ret != 0)
{
- DU_LOG("\nFailure in sending message to PHY");
+ DU_LOG("\nERROR --> LWR MAC : Failure in sending message to PHY");
return RFAILED;
}
currMsg = currMsg->p_next;
ret = WLS_Put(wlsHdlr, WLS_VA2PA(wlsHdlr, currMsg), msgLen, currMsg->msg_type, WLS_SG_LAST);
if(ret != 0)
{
- DU_LOG("\nFailure in sending message to PHY");
+ DU_LOG("\nERROR --> LWR MAC : Failure in sending message to PHY");
return RFAILED;
}
currMsg = NULLP;