X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_udx_ul.c;h=3aecc73a5b93b19333ab26f619eecf4736e84cc7;hb=7c6820e987fadb1102e5891408ad33a8ce36ba95;hp=6cd5ae1bd4ce445fbc221a8804161373d209bd34;hpb=0a26c487f1b6bbb5217e47b15fa8273b2e749283;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_udx_ul.c b/src/5gnrrlc/kw_udx_ul.c index 6cd5ae1bd..3aecc73a5 100755 --- a/src/5gnrrlc/kw_udx_ul.c +++ b/src/5gnrrlc/kw_udx_ul.c @@ -60,9 +60,9 @@ static int RLOG_FILE_ID=204; #include "kw_dl.x" #include "kw_ul.x" -#include "rlc.h" #include "du_app_rlc_inf.h" #include "rlc_mgr.h" +#include "rlc_utils.h" #define RLC_MODULE RLC_DBGMASK_UDX /* local defines */ @@ -115,8 +115,6 @@ U8 status; RlcUdxUlSapCb *udxSap; /* RGU SAP Control Block */ RlcCb *tRlcCb; - TRC3(rlcUlUdxBndCfm) - #if (ERRCLASS & ERRCLS_INT_PAR) if (pst->dstInst >= MAX_RLC_INSTANCES) { @@ -225,8 +223,6 @@ RlcCfgCfmInfo *cfmInfo; Pst rspPst; memset(&rspPst, 0, sizeof(Pst)); - TRC3(rlcUlUdxCfgCfm) - #if (ERRCLASS & ERRCLS_INT_PAR) if (pst->dstInst >= MAX_RLC_INSTANCES) { @@ -286,8 +282,15 @@ RlcCfgCfmInfo *cfmInfo; } #endif /* ERRCLASS & ERRCLS_ADD_RES */ rlcHdlCrlcUlCfgReq(tRlcCb,cfgTmpData, cfmInfo, cfgCfm); - FILL_PST_RLC_TO_DUAPP(rspPst, tRlcCb->genCfg.lmPst.dstProcId, RLC_UL_INST, EVENT_RLC_UL_UE_CREATE_RSP); - SendRlcUlUeCreateRspToDu(&rspPst, cfgCfm); + if(tRlcCb->u.ulCb->rlcUlUdxEventType == EVENT_RLC_UE_CONFIG_REQ) + { + FILL_PST_RLC_TO_DUAPP(rspPst, RLC_UL_INST, EVENT_RLC_UE_CONFIG_RSP); + } + else if(tRlcCb->u.ulCb->rlcUlUdxEventType == EVENT_RLC_UE_RECONFIG_REQ) + { + FILL_PST_RLC_TO_DUAPP(rspPst, RLC_UL_INST, EVENT_RLC_UE_RECONFIG_RSP); + } + SendRlcUeRspToDu(&rspPst, cfgCfm); /* free the memory from DL */ RLC_FREE_SHRABL_BUF(pst->region, @@ -337,8 +340,6 @@ CmStatus status; RlcCb *tRlcCb; RlcUlCfgTmpData *cfgTmpData; - TRC3(rlcUlUdxUeIdChgCfm) - #if (ERRCLASS & ERRCLS_INT_PAR) if (pst->dstInst >= MAX_RLC_INSTANCES) {