X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_udx_ul.c;h=7cdded9c1eab569bb60b69cf0480c3d03b5d7364;hb=def50dc175cebc67238db5f1acd5ff322a2279bd;hp=ca9c89d76d062608ef7ec0a1110d014ce6bcebe8;hpb=2193e4cf01012809495be026097e8d7eacb9f0ac;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_udx_ul.c b/src/5gnrrlc/kw_udx_ul.c index ca9c89d76..7cdded9c1 100755 --- a/src/5gnrrlc/kw_udx_ul.c +++ b/src/5gnrrlc/kw_udx_ul.c @@ -101,22 +101,20 @@ S16 rlcUlUdxBndCfm ( Pst *pst, SuId suId, -U8 status +uint8_t status ) #else S16 rlcUlUdxBndCfm (pst, suId, status) Pst *pst; SuId suId; -U8 status; +uint8_t status; #endif { - U16 event; - U16 cause; + uint16_t event; + uint16_t cause; 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, RLC_UL_INST, EVENT_RLC_UL_UE_CREATE_RSP); - SendRlcUlUeCreateRspToDu(&rspPst, cfgCfm); + if(tRlcCb->u.ulCb->rlcUlUdxEventType == EVENT_RLC_UE_CREATE_REQ) + { + FILL_PST_RLC_TO_DUAPP(rspPst, RLC_UL_INST, EVENT_RLC_UE_CREATE_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, @@ -323,22 +326,20 @@ S16 rlcUlUdxUeIdChgCfm ( Pst *pst, SuId suId, -U32 transId, +uint32_t transId, CmStatus status ) #else S16 rlcUlUdxUeIdChgCfm (pst, suId, cfmInfo) Pst *pst; SuId suId; -U32 transId; +uint32_t transId; CmStatus status; #endif { RlcCb *tRlcCb; RlcUlCfgTmpData *cfgTmpData; - TRC3(rlcUlUdxUeIdChgCfm) - #if (ERRCLASS & ERRCLS_INT_PAR) if (pst->dstInst >= MAX_RLC_INSTANCES) { @@ -458,8 +459,8 @@ RlcCfgCfmInfo *cfgCfm; #endif { RlcCfgInfo *cfg; - U32 idx; - U32 maxEnt; + uint32_t idx; + uint32_t maxEnt; cfg = cfgTmpData->cfgInfo; maxEnt = (cfg->numEnt < CKW_MAX_ENT_CFG)? cfg->numEnt:CKW_MAX_ENT_CFG;