X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_lim.c;h=67b22880c68dcd76987656d0a685855a5b674f72;hb=2b5e7ba18453db526316b51476673c1ea69c1a94;hp=6f9d936311e2f02d392aaef250c7e367021000fb;hpb=def50dc175cebc67238db5f1acd5ff322a2279bd;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_lim.c b/src/5gnrrlc/kw_lim.c index 6f9d93631..67b22880c 100755 --- a/src/5gnrrlc/kw_lim.c +++ b/src/5gnrrlc/kw_lim.c @@ -75,7 +75,7 @@ static int RLOG_FILE_ID=196; #include "rlc_mac_inf.h" #ifdef __cplusplus -EXTERN "C" { +extern "C" { #endif /* __cplusplus */ @@ -99,19 +99,7 @@ EXTERN "C" { * -# RFAILED * */ -#ifdef ANSI -S16 RlcLiRguBndCfm -( -Pst *pst, -SuId suId, -uint8_t status -) -#else -S16 RlcLiRguBndCfm (pst, suId, status) -Pst *pst; -SuId suId; -uint8_t status; -#endif +S16 RlcLiRguBndCfm(Pst *pst,SuId suId,uint8_t status) { uint16_t event; /* Event */ uint16_t cause; /* Cause */ @@ -157,7 +145,7 @@ uint8_t status; { case RLC_SAP_BINDING: { - rlcStopTmr (tRlcCb,(PTR)rguSap, RLC_EVT_WAIT_BNDCFM); + rlcStopTmr (tRlcCb,(PTR)rguSap, EVENT_RLC_WAIT_BNDCFM); rguSap->retryCnt = 0; @@ -469,19 +457,7 @@ uint8_t rlcProcDedLcSchedRpt(Pst *pst, SuId suId, RguDStaIndInfo *staInd) * -# RFAILED * */ -#ifdef ANSI -S16 RlcLiRguFlowCntrlInd -( -Pst *pst, -SuId suId, -RguFlowCntrlInd *flowCntrlInd -) -#else -S16 RlcLiRguFlowCntrlInd(pst, suId, flowCntrlInd) -Pst *pst; -SuId suId; -RguFlowCntrlInd *flowCntrlInd; -#endif +S16 RlcLiRguFlowCntrlInd(Pst *pst,SuId suId,RguFlowCntrlInd *flowCntrlInd) { RlcCb *tRlcCb; RlcDlRbCb *rbCb = NULLP; @@ -503,7 +479,7 @@ RguFlowCntrlInd *flowCntrlInd; rlcUtlTrigPdbFlowCntrl(tRlcCb, rbCb, lcInfo->pktAdmitCnt); continue; } - if (rbCb->mode == CM_LTE_MODE_AM) + if (rbCb->mode == RLC_MODE_AM) { if ((rbCb->m.amDl.retxLst.count != 0) || ((rbCb->m.amDl.bo == 0) || @@ -551,19 +527,7 @@ RguFlowCntrlInd *flowCntrlInd; * -# RFAILED * */ -#ifdef ANSI -S16 RlcLiRguHqStaInd -( -Pst *pst, -SuId suId, -RguHarqStatusInd *staInd -) -#else -S16 RlcLiRguHqStaInd(pst,suId,staInd) -Pst *pst; -SuId suId; -RguHarqStatusInd *staInd; -#endif +S16 RlcLiRguHqStaInd(Pst *pst, SuId suId,RguHarqStatusInd *staInd) { RlcUeKey ueKey;