X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_ul_ex_ms.c;h=654a92bce3a5159809c46ccae223b59adf5b9055;hb=refs%2Fchanges%2F69%2F5269%2F9;hp=21574c363505f0fc10ec84e29033a12018c902e3;hpb=2193e4cf01012809495be026097e8d7eacb9f0ac;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_ul_ex_ms.c b/src/5gnrrlc/kw_ul_ex_ms.c index 21574c363..654a92bce 100755 --- a/src/5gnrrlc/kw_ul_ex_ms.c +++ b/src/5gnrrlc/kw_ul_ex_ms.c @@ -81,15 +81,8 @@ S16 rlcUlInitExt ARGS (( Void )); * */ -#ifdef ANSI -S16 rlcUlInitExt -( -) -#else S16 rlcUlInitExt() -#endif { - TRC2(rlcUlInitExt); return ROK; } /* kwInitExt */ @@ -123,7 +116,6 @@ S16 rlcUlInitExt() * -# ROK * */ -#ifdef ANSI S16 rlcUlActvInit ( Ent ent, /* entity */ @@ -131,16 +123,8 @@ Inst inst, /* instance */ Region region, /* region */ Reason reason /* reason */ ) -#else -S16 rlcUlActvInit(ent, inst, region, reason) -Ent ent; /* entity */ -Inst inst; /* instance */ -Region region; /* region */ -Reason reason; /* reason */ -#endif { RlcCb *tRlcCb; - TRC3(rlcUlActvInit) if (inst >= MAX_RLC_INSTANCES) { @@ -205,21 +189,14 @@ Reason reason; /* reason */ * -# ROK * */ -#ifdef ANSI S16 rlcUlActvTsk ( Pst *pst, /* pst structure */ Buffer *mBuf /* message buffer */ ) -#else -S16 rlcUlActvTsk(pst, mBuf) -Pst *pst; /* pst structure */ -Buffer *mBuf; /* message buffer */ -#endif { S16 ret = ROK; - TRC3(kwActvTsk); switch(pst->srcEnt) { @@ -240,9 +217,14 @@ Buffer *mBuf; /* message buffer */ break; } - case EVENT_RLC_UL_UE_CREATE_REQ: /* UE Create Request */ + case EVENT_RLC_UE_CREATE_REQ: /* UE Create Request */ + { + ret = unpackRlcUeCreateReq(RlcProcUeCreateReq, pst, mBuf); + break; + } + case EVENT_RLC_UE_RECONFIG_REQ: /* UE Reconfig Request */ { - ret = unpackRlcUlUeCreateReq(RlcUlProcUeCreateReq, pst, mBuf); + ret = unpackRlcUeReconfigReq(RlcProcUeReconfigReq, pst, mBuf); break; }