X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fkwu.c;h=f5ff49ad1f7c49c4cb03711dce59b5ed8f6b5312;hb=deeae2741b8520edcd37ecb20a40f1de821ceadf;hp=7bbe952112593d5882e79e2fdaab90f40a534f79;hpb=3235ecfc7414aa0b72d0ad50db63ae8b5626045b;p=o-du%2Fl2.git diff --git a/src/cm/kwu.c b/src/cm/kwu.c index 7bbe95211..f5ff49ad1 100755 --- a/src/cm/kwu.c +++ b/src/cm/kwu.c @@ -244,14 +244,12 @@ Buffer *mBuf; PUBLIC S16 cmPkKwuDatReq ( Pst * pst, -SpId spId, KwuDatReqInfo* datReq, Buffer * mBuf ) #else -PUBLIC S16 cmPkKwuDatReq(pst, spId, datReq, mBuf) +PUBLIC S16 cmPkKwuDatReq(pst, datReq, mBuf) Pst * pst; -SpId spId; KwuDatReqInfo* datReq; Buffer * mBuf; #endif @@ -270,7 +268,7 @@ Buffer * mBuf; { case KWU_SEL_LWLC: { - if(pst->srcEnt == ENTPJ) + if(pst->srcEnt == ENTDUAPP) { /* When the Selector is LWLC, we need to allocate memory, copy * the contents and pass the pointer of the allocated memory. The @@ -334,7 +332,6 @@ Buffer * mBuf; RETVALUE(RFAILED); } - CMCHKPKLOG(SPkS16, spId, mBuf, EKWU011, pst); #ifdef L2_L3_SPLIT if(datReq->rlcId.rbType == CM_LTE_SRB) { @@ -446,14 +443,12 @@ Buffer *mBuf; PUBLIC S16 cmPkKwuDatInd ( Pst * pst, -SuId suId, KwuDatIndInfo* datInd, Buffer * mBuf ) #else -PUBLIC S16 cmPkKwuDatInd(pst, suId, datInd, mBuf) +PUBLIC S16 cmPkKwuDatInd(pst, datInd, mBuf) Pst * pst; -SuId suId; KwuDatIndInfo* datInd; Buffer * mBuf; #endif @@ -531,7 +526,6 @@ Buffer * mBuf; RETVALUE(RFAILED); } - CMCHKPKLOG(SPkS16, suId, mBuf, EKWU013, pst); pst->event = (Event) KWU_EVT_DAT_IND; RETVALUE(SPstTsk(pst,mBuf)); @@ -1265,15 +1259,11 @@ Buffer *mBuf; S16 ret1 = ROK; #endif S16 retVal; - SpId spId = 0; KwuDatReqInfo *datReq = NULLP; KwuDatReqInfo datReqTmp; TRC3(cmUnpkKwuDatReq) - - CMCHKUNPK(SUnpkS16, &(spId), mBuf); - switch(pst->selector) { case KWU_SEL_LWLC: @@ -1312,7 +1302,7 @@ Buffer *mBuf; RETVALUE(RFAILED); } - retVal = (*func)(pst, spId, datReq, mBuf); + retVal = (*func)(pst, datReq, mBuf); /* If LWLC is configured, we need to * free the memory here. */ if(pst->selector == KWU_SEL_LWLC) @@ -1363,14 +1353,11 @@ Buffer *mBuf; #endif { S16 ret1 = ROK, retVal; - SuId suId = 0; KwuDatIndInfo *datInd = NULLP; KwuDatIndInfo datIndTmp; TRC3(cmUnpkKwuDatInd) - CMCHKUNPK(SUnpkS16, &(suId), mBuf); - switch(pst->selector) { case KWU_SEL_LWLC: @@ -1423,7 +1410,7 @@ Buffer *mBuf; (ErrVal)ERRKWU, (ErrVal)ret1, "pst->selector is invalid\n"); RETVALUE(RFAILED); } - retVal = (*func)(pst, suId, datInd, mBuf); + retVal = (*func)(pst, datInd, mBuf); /* If LWLC is configured and the destination entity is PDCP, we need to * free the memory here. */ if((pst->selector == KWU_SEL_LWLC) && (pst->dstEnt == ENTPJ))