X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Frlc_dl_ul_inf.c;h=cc62f6e06f93b2f9a3638528165176a17dc36876;hb=49856df248fd976b4a9882ca4e650fc0bc3e4ee3;hp=851a0a13f18e758725f7e4418862c16e106cb8fc;hpb=284fc2e85cb5008061a7f8c6d07947a1c6209432;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/rlc_dl_ul_inf.c b/src/5gnrrlc/rlc_dl_ul_inf.c index 851a0a13f..cc62f6e06 100755 --- a/src/5gnrrlc/rlc_dl_ul_inf.c +++ b/src/5gnrrlc/rlc_dl_ul_inf.c @@ -192,7 +192,7 @@ S16 cmPkUdxBndCfm(Pst *pst,SuId suId,uint8_t status) #endif /* ERRCLASS & ERRCLS_ADD_RES */ return (ret1); } - CMCHKPKLOG(oduUnpackUInt8, status, mBuf, EUDXXXX, pst); + CMCHKPKLOG(oduPackUInt8, status, mBuf, EUDXXXX, pst); CMCHKPKLOG(SPkS16, suId, mBuf, EUDXXXX, pst); pst->event = (Event) UDX_EVT_BND_CFM; @@ -378,7 +378,7 @@ CkwUeInfo *newUeInfo } #endif } - CMCHKPKLOG(oduUnpackUInt32, transId, mBuf, EUDXXXX, pst); + CMCHKPKLOG(oduPackUInt32, transId, mBuf, EUDXXXX, pst); CMCHKPKLOG(SPkS16, spId, mBuf, EUDXXXX, pst); pst->event = (Event) UDX_EVT_UEIDCHG_REQ; @@ -419,7 +419,7 @@ S16 cmPkUdxUeIdChgCfm(Pst *pst,SuId suId,uint32_t transId,CmStatus status) } CMCHKPK(cmPkCmStatus, &status, mBuf); - CMCHKPKLOG(oduUnpackUInt32, transId, mBuf, EUDXXXX, pst); + CMCHKPKLOG(oduPackUInt32, transId, mBuf, EUDXXXX, pst); CMCHKPKLOG(SPkS16, suId, mBuf, EUDXXXX, pst); pst->event = (Event) UDX_EVT_UEIDCHG_CFM; @@ -728,7 +728,7 @@ S16 cmPkUdxL2MeasSendReq(Pst *pst,uint8_t measType) case UDX_SEL_LC: case UDX_SEL_LWLC: { - CMCHKPKLOG(oduUnpackUInt8, measType, mBuf, EUDXXXX, pst); + CMCHKPKLOG(oduPackUInt8, measType, mBuf, EUDXXXX, pst); break; } } @@ -772,7 +772,7 @@ S16 cmPkUdxL2MeasStopReq(Pst *pst,uint8_t measType) case UDX_SEL_LC: case UDX_SEL_LWLC: { - CMCHKPKLOG(oduUnpackUInt8, measType, mBuf, EUDXXXX, pst); + CMCHKPKLOG(oduPackUInt8, measType, mBuf, EUDXXXX, pst); break; } } @@ -854,7 +854,7 @@ S16 cmUnpkUdxBndCfm(UdxBndCfm func,Pst *pst,Buffer *mBuf) uint8_t status = 0; CMCHKUNPKLOG(SUnpkS16, &suId, mBuf, EUDXXXX, pst); - CMCHKUNPKLOG(oduPackUInt8, &status, mBuf, EUDXXXX, pst); + CMCHKUNPKLOG(oduUnpackUInt8, &status, mBuf, EUDXXXX, pst); ODU_PUT_MSG_BUF(mBuf); return ((*func)(pst, suId, status)); @@ -959,16 +959,16 @@ S16 cmUnpkUdxCfgCfm(UdxCfgCfm func,Pst *pst,Buffer *mBuf) } ret1 = cmUnpkUdxStruct(mBuf,0,(uint8_t *)cfgCfmInfo, sizeof(RlcCfgCfmInfo)); -#if(ERRCLASS & ERRCLS_DEBUG) if(ret1 != ROK) { +#if(ERRCLASS & ERRCLS_DEBUG) ODU_PUT_MSG_BUF(mBuf); SLogError(pst->dstEnt, pst->dstInst, pst->dstProcId, __FILE__, __LINE__, (ErrCls)ERRCLS_DEBUG, (ErrVal)EUDXXXX, (ErrVal)ret1, "Unpacking failure"); return ( ret1 ); - } #endif /* ERRCLASS & ERRCLS_DEBUG */ + } break; } case UDX_SEL_LWLC: @@ -1006,7 +1006,7 @@ S16 cmUnpkUdxUeIdChgReq(UdxUeIdChgReq func,Pst *pst,Buffer *mBuf) CkwUeInfo *newUeInfo; CMCHKUNPK(SUnpkS16, &(spId), mBuf); - CMCHKUNPKLOG(oduPackUInt32, &transId, mBuf, EUDXXXX, pst); + CMCHKUNPKLOG(oduUnpackUInt32, &transId, mBuf, EUDXXXX, pst); switch(pst->selector) { @@ -1062,7 +1062,7 @@ S16 cmUnpkUdxUeIdChgCfm(UdxUeIdChgCfm func,Pst *pst,Buffer *mBuf) memset(&status, 0, sizeof(CmStatus)); CMCHKUNPK(SUnpkS16, &suId, mBuf); - CMCHKUNPKLOG(oduPackUInt32, &transId, mBuf, EUDXXXX, pst); + CMCHKUNPKLOG(oduUnpackUInt32, &transId, mBuf, EUDXXXX, pst); CMCHKUNPK(cmUnpkCmStatus, &status, mBuf); @@ -1322,7 +1322,7 @@ S16 cmUnpkUdxL2MeasSendReq(UdxL2MeasSendReq func,Pst *pst,Buffer *mBuf) case UDX_SEL_LC: case UDX_SEL_LWLC: { - CMCHKUNPK(oduPackUInt8, &measType, mBuf); + CMCHKUNPK(oduUnpackUInt8, &measType, mBuf); break; } } @@ -1351,7 +1351,7 @@ S16 cmUnpkUdxL2MeasStopReq(UdxL2MeasStopReq func,Pst *pst,Buffer *mBuf) case UDX_SEL_LC: case UDX_SEL_LWLC: { - CMCHKUNPK(oduPackUInt8, &measType, mBuf); + CMCHKUNPK(oduUnpackUInt8, &measType, mBuf); break; } }