@brief It has APIs exposed by Lower Interface Modulue of MAC. It acts as an
Interface handler for lower interface APIs.
*/
-static const char* RLOG_MODULE_NAME="MAC";
-static int RLOG_FILE_ID=182;
-static int RLOG_MODULE_ID=4096;
/* header include files -- defines (.h) */
#include "common_def.h"
#include "rgu.h" /* RGU defines */
if (suId != tfuSap->sapCfg.suId)
{
- RLOG2(L_ERROR,"Incorrect SuId. Configured (%d) Recieved (%d)",
+ DU_LOG("\nERROR --> MAC : Incorrect SuId. Configured (%d) Recieved (%d)",
tfuSap->sapCfg.suId, suId);
return RFAILED;
}
/* First lets check the suId */
if( suId != tfuSap->sapCfg.suId)
{
- RLOG2(L_ERROR,"Incorrect SuId. Configured (%d) Recieved (%d)",
+ DU_LOG("\nERROR --> MAC : Incorrect SuId. Configured (%d) Recieved (%d)",
tfuSap->sapCfg.suId, suId);
return RFAILED;
}
if (tfuSap->sapSta.sapState != LRG_BND)
{
- RLOG1(L_ERROR,"Lower SAP not enabled SuId (%d)",
+ DU_LOG("\nERROR --> MAC : Lower SAP not enabled SuId (%d)",
tfuSap->sapCfg.suId);
return RFAILED;
}
volatile uint32_t startTime=0;
- // printf("5GTF:: DatindRcvd\n");
+ // DU_LOG("5GTF:: DatindRcvd\n");
RG_IS_INST_VALID(pst->dstInst);
inst = pst->dstInst - RG_INST_START;
#ifndef NO_ERRCLS
if ((ret = rgLIMValidateSap (inst,suId)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,datInd->cellId,"SAP Validation failed");
+ DU_LOG("\nERROR --> MAC : SAP Validation failed");
rgLIMUtlFreeDatIndEvnt(datInd, TRUE);
return (ret);
}
#ifndef NO_ERRCLS
if (tfuSap->sapSta.sapState != LRG_BND)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,delDatReq->cellId,"Lower SAP not bound (%d)",
+ DU_LOG("\nERROR --> MAC : Lower SAP not bound (%d)",
tfuSap->sapSta.sapState);
return RFAILED;
}
if((ret = RgLiTfuDelDatReq (&tfuSap->sapCfg.sapPst, tfuSap->sapCfg.spId,
delDatReq)) != ROK)
{
- RLOG_ARG0(L_ERROR,DBG_CELLID,delDatReq->cellId,"Call to RgLiTfuDelDatReq() failed");
+ DU_LOG("\nERROR --> MAC : Call to RgLiTfuDelDatReq() failed");
}
return (ret);
} /* rgLIMTfuDatReq*/
#ifdef NO_ERRCLS
if (rgLIMValidateSap (pst->dstInst - RG_INST_START, suId) != ROK)
{
- RGDBGERRNEW(pst->dstInst - RG_INST_START, (rgPBuf(pst->dstInst - RG_INST_START),"RgLiTfuNonRtInd() SAP Validation failed.\n"));
+ DU_LOG("\nERROR --> MAC : RgLiTfuNonRtInd() SAP Validation failed.\n");
return RFAILED;
}
#endif