X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_dl_ex_ms.c;h=16492a237126f8dcdb18f946ccf87061b1a7fb88;hb=3330932565e15a749fd5dd5039cdea2862ca51cc;hp=dadd9de296f34ae0fb0f93f7314b882e3cb172cc;hpb=d75d1b078091768f45b83f2a745a25917e03b39d;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_dl_ex_ms.c b/src/5gnrrlc/kw_dl_ex_ms.c index dadd9de29..16492a237 100755 --- a/src/5gnrrlc/kw_dl_ex_ms.c +++ b/src/5gnrrlc/kw_dl_ex_ms.c @@ -18,19 +18,16 @@ /********************************************************************20** - Name: LTE-RLC Layer - System Services Interface Functions + Name: NR RLC Layer - System Services Interface Functions Type: C file Desc: C source code for the interface to System Services - of LTE-RLC + of NR RLC File: kw_dl_ex_ms.c *********************************************************************21*/ -static const char* RLOG_MODULE_NAME="RLC_DL"; -static int RLOG_MODULE_ID=2048; -static int RLOG_FILE_ID=195; /** @filekw_dl_ex_ms.c @brief RLC System Services Interface @@ -110,16 +107,16 @@ S16 rlcDlInitExt() * Activates Initialization * * @b Description: - * This function is invoked by system services to initialize the LTE-RLC + * This function is invoked by system services to initialize the NR RLC * layer. This is an entry point used by LTE_RLC layer to initialize its * global variables, before becoming operational. * * Allowable values for parameters are specified in ssi.h. * - * @param[in] ent - Specify the entity id of the LTE-RLC task. - * @param[in] inst - Specify the entity id of the LTE-RLC task. + * @param[in] ent - Specify the entity id of the NR RLC task. + * @param[in] inst - Specify the entity id of the NR RLC task. * @param[in] region - Specifies the memory region from which - * LTE-RLC should allocate structures and buffers. + * NR RLC should allocate structures and buffers. * @param[in] reason - Specifies the reason for calling this * initialization function. * @@ -200,7 +197,7 @@ Reason reason /* reason */ * Activation Task * * @b Description: - * Processes events received for MLTE-RLC layer via System Services from + * Processes events received for NR RLC layer via System Services from * other layers. * * @param[in] pst - Pst Structure @@ -280,7 +277,7 @@ Buffer *mBuf /* message buffer */ ODU_PUT_MSG_BUF(mBuf); if (pst->dstInst < MAX_RLC_INSTANCES) { - RLOG1(L_ERROR,"Received Invalid Event[%d] from SM", + DU_LOG("\nERROR --> RLC_DL : Received Invalid Event[%d] from SM", pst->event); } ret = RFAILED; @@ -362,7 +359,7 @@ Buffer *mBuf /* message buffer */ ODU_PUT_MSG_BUF(mBuf); if (pst->dstInst < MAX_RLC_INSTANCES) { - RLOG1(L_ERROR,"Received Invalid Event[%d] from RLC UL", + DU_LOG("\nERROR --> RLC_DL : Received Invalid Event[%d] from RLC UL", pst->event); } ret = RFAILED; @@ -412,7 +409,7 @@ Buffer *mBuf /* message buffer */ ODU_PUT_MSG_BUF(mBuf); if (pst->dstInst < MAX_RLC_INSTANCES) { - RLOG1(L_ERROR,"Received Invalid Event[%d] from RRC", + DU_LOG("\nERROR --> RLC_DL : Received Invalid Event[%d] from RRC", pst->event); } ret = RFAILED; @@ -462,7 +459,7 @@ Buffer *mBuf /* message buffer */ ODU_PUT_MSG_BUF(mBuf); if (pst->dstInst < MAX_RLC_INSTANCES) { - RLOG1(L_ERROR,"Received Invalid Event[%d] from PDCP", + DU_LOG("\nERROR --> RLC_DL : Received Invalid Event[%d] from PDCP", pst->event); } ret = RFAILED; @@ -513,7 +510,7 @@ Buffer *mBuf /* message buffer */ ODU_PUT_MSG_BUF(mBuf); if (pst->dstInst < MAX_RLC_INSTANCES) { - RLOG1(L_ERROR,"Received Invalid Event[%d] from MAC", + DU_LOG("\nERROR --> RLC_DL : Received Invalid Event[%d] from MAC", pst->event); } ret = RFAILED; @@ -573,7 +570,7 @@ Buffer *mBuf /* message buffer */ if (pst->dstInst < MAX_RLC_INSTANCES) { /*RlcCb *tRlcCb = RLC_GET_RLCCB(pst->dstInst);*/ - RLOG1(L_ERROR, "Received Invalid Source Entity[%d]", + DU_LOG("\nERROR --> RLC_DL : Received Invalid Source Entity[%d]", pst->event); } ODU_PUT_MSG_BUF(mBuf);