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 "replaced cmMemSet, cmMemcpy with memset and memcpy resp AND Removed TRC()...
[o-du/l2.git]
/
src
/
5gnrmac
/
rg_ex_ms.c
diff --git
a/src/5gnrmac/rg_ex_ms.c
b/src/5gnrmac/rg_ex_ms.c
index
f36c857
..
31e0fda
100755
(executable)
--- a/
src/5gnrmac/rg_ex_ms.c
+++ b/
src/5gnrmac/rg_ex_ms.c
@@
-56,6
+56,7
@@
registered with SSI during the LTE MAC Task initialization.
#include "rg_prg.x" /*PRG interface includes*/
#include "du_app_mac_inf.h"
#include "rg.x" /* typedefs for MAC */
#include "rg_prg.x" /*PRG interface includes*/
#include "du_app_mac_inf.h"
#include "rg.x" /* typedefs for MAC */
+#include "rlc_mac_inf.h"
/**
* @brief Task Activation callback function Entity SM.
/**
* @brief Task Activation callback function Entity SM.
@@
-83,8
+84,6
@@
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
#endif
{
Buffer *mBuf; /* message buffer */
#endif
{
- TRC2(rgHdlSMEvents)
-
switch(pst->event)
{
#ifdef LCRGMILRG
switch(pst->event)
{
#ifdef LCRGMILRG
@@
-162,8
+161,6
@@
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
#endif
{
Buffer *mBuf; /* message buffer */
#endif
{
- TRC2(rgHdlNHEvents)
-
switch(pst->event)
{
#ifdef LCRGUICRG
switch(pst->event)
{
#ifdef LCRGUICRG
@@
-209,8
+206,6
@@
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
#endif
{
Buffer *mBuf; /* message buffer */
#endif
{
- TRC2(rgHdlKWEvents)
-
switch(pst->event)
{
#ifdef LCRGUIRGU
switch(pst->event)
{
#ifdef LCRGUIRGU
@@
-220,11
+215,11
@@
Buffer *mBuf; /* message buffer */
case EVTRGUUBNDREQ:
cmUnpkRguUbndReq(RgUiRguUbndReq, pst, mBuf);
break;
case EVTRGUUBNDREQ:
cmUnpkRguUbndReq(RgUiRguUbndReq, pst, mBuf);
break;
- case EV
TRLCDLDAT
:
- unpack
DlData(MacRlcPro
cDlData, pst, mBuf);
+ case EV
ENT_DL_DATA_TO_MAC
:
+ unpack
RlcDlData(MacProcRl
cDlData, pst, mBuf);
break;
break;
- case EV
TRLCBOSTA
:
- unpack
BOStatus(MacRlcProcBO
Status, pst, mBuf);
+ case EV
ENT_BO_STATUS_TO_MAC
:
+ unpack
RlcBoStatus(MacProcRlcBo
Status, pst, mBuf);
break;
#ifdef LTE_L2_MEAS
break;
#ifdef LTE_L2_MEAS
@@
-266,8
+261,6
@@
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
#endif
{
Buffer *mBuf; /* message buffer */
#endif
{
- TRC2(rgHdlTFEvents)
-
switch(pst->event)
{
#if (defined(LCRGLITFU) || defined(LWLCRGLITFU))
switch(pst->event)
{
#if (defined(LCRGLITFU) || defined(LWLCRGLITFU))
@@
-316,8
+309,6
@@
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
#endif
{
Buffer *mBuf; /* message buffer */
#endif
{
- TRC2(rgHdlRGEvents)
-
switch(pst->event)
{
#ifdef LCRG
switch(pst->event)
{
#ifdef LCRG
@@
-431,19
+422,17
@@
Buffer *mBuf; /* message buffer */
* -# ROK
**/
#ifdef ANSI
* -# ROK
**/
#ifdef ANSI
-
PUBLIC
S16 rgActvTsk
+S16 rgActvTsk
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
#else
(
Pst *pst, /* post structure */
Buffer *mBuf /* message buffer */
)
#else
-
PUBLIC
S16 rgActvTsk(pst, mBuf)
+S16 rgActvTsk(pst, mBuf)
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
#endif
{
Pst *pst; /* post structure */
Buffer *mBuf; /* message buffer */
#endif
{
- TRC2(rgActvTsk)
-
switch(pst->srcEnt)
{
/* The originator of this message is the stack manager,
switch(pst->srcEnt)
{
/* The originator of this message is the stack manager,
@@
-454,13
+443,13
@@
Buffer *mBuf; /* message buffer */
case ENTNH:
rgHdlNHEvents(pst, mBuf);
break;
case ENTNH:
rgHdlNHEvents(pst, mBuf);
break;
- case ENT
KW
:
+ case ENT
RLC
:
rgHdlKWEvents(pst, mBuf);
break;
rgHdlKWEvents(pst, mBuf);
break;
- case ENT
TF
:
+ case ENT
LWRMAC
:
rgHdlTFEvents(pst, mBuf);
break;
rgHdlTFEvents(pst, mBuf);
break;
- case ENT
RG
: /* When scheduler instance sends msg to MAC */
+ case ENT
MAC
: /* When scheduler instance sends msg to MAC */
rgHdlRGEvents(pst, mBuf);
break;
default:
rgHdlRGEvents(pst, mBuf);
break;
default: