Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "JIRA-ID ODUHIGH-275 classification of logs of RLC part -2"
[o-du/l2.git]
/
src
/
5gnrmac
/
rg_ram.c
diff --git
a/src/5gnrmac/rg_ram.c
b/src/5gnrmac/rg_ram.c
index
e8e3473
..
225e448
100755
(executable)
--- a/
src/5gnrmac/rg_ram.c
+++ b/
src/5gnrmac/rg_ram.c
@@
-32,10
+32,6
@@
@brief This file has APIs to handle the random access procedure functionality.
*/
@brief This file has APIs to handle the random access procedure functionality.
*/
-static const char* RLOG_MODULE_NAME="MAC";
-static int RLOG_FILE_ID=132;
-static int RLOG_MODULE_ID=4096;
-
/* header include files (.h) */
#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
/* header include files (.h) */
#include "common_def.h"
#include "rg_env.h" /* MAC Environment Defines */
@@
-115,13
+111,12
@@
RgUeCb* rgRAMCreateUeCb(RgCellCb *cell,CmLteRnti tmpCrnti,Bool insert,RgErrInfo
Inst inst = cell->macInst - RG_INST_START;
RgUeCb *ueCb = NULLP;
Inst inst = cell->macInst - RG_INST_START;
RgUeCb *ueCb = NULLP;
-
RLOG_ARG1(L_INFO,DBG_CELLID,cell->cellId,"
CREATE UECB FOR CRNTI:%d",
+
DU_LOG("\nINFO --> MAC :
CREATE UECB FOR CRNTI:%d",
tmpCrnti);
/* Allocate the Ue control block */
if (rgAllocSBuf(inst,(Data **)&ueCb, sizeof(*ueCb)) != ROK)
{
tmpCrnti);
/* Allocate the Ue control block */
if (rgAllocSBuf(inst,(Data **)&ueCb, sizeof(*ueCb)) != ROK)
{
- RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,
- "Memory allocation FAILED for CRNTI:%d",tmpCrnti);
+ DU_LOG("\nERROR --> MAC : Memory allocation FAILED for CRNTI:%d",tmpCrnti);
err->errCause = RGERR_RAM_MEM_EXHAUST;
return (NULLP);
}
err->errCause = RGERR_RAM_MEM_EXHAUST;
return (NULLP);
}
@@
-255,7
+250,7
@@
S16 rgHndlRaResp(RgCellCb *cell,CmLteTimingInfo timingInfo,RgInfRarInfo *rarInfo
}
else
{
}
else
{
-
RLOG_ARG1(L_ERROR,DBG_CELLID,cell->cellId,"
RARNTI:%d Creation of RAR"
+
DU_LOG("\nERROR --> MAC :
RARNTI:%d Creation of RAR"
"PDU for failed", rarInfo->raRntiInfo[idx1].raRnti);
continue;
}
"PDU for failed", rarInfo->raRntiInfo[idx1].raRnti);
continue;
}