X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fcm%2Flrg.c;h=7a0f38ee8d189f028816e0a95313ff698a78a470;hb=65443172dd60a6ea312bd3a15959dbf54ad7f045;hp=054df2073e19045b1ec80d174ed13f047488f18a;hpb=0a26c487f1b6bbb5217e47b15fa8273b2e749283;p=o-du%2Fl2.git diff --git a/src/cm/lrg.c b/src/cm/lrg.c index 054df2073..7a0f38ee8 100755 --- a/src/cm/lrg.c +++ b/src/cm/lrg.c @@ -69,7 +69,6 @@ RgMngmt * cfg; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgCfgReq) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -125,7 +124,6 @@ Buffer *mBuf; /* lrg_c_001.main_2: Changed Pointer across Interface */ RgMngmt cfg; - TRC3(cmUnpkLrgCfgReq) if (cmUnpkRgMngmt(pst, &cfg, EVTLRGCFGREQ, mBuf) != ROK) { SPutMsg(mBuf); @@ -167,7 +165,6 @@ RgMngmt * cfg; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgSchCfgReq) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -223,7 +220,6 @@ Buffer *mBuf; /* lrg_c_001.main_2: Changed Pointer across Interface */ RgMngmt cfg; - TRC3(cmUnpkLrgSchCfgReq) if (cmUnpkRgMngmt(pst, &cfg, EVTMACSCHGENCFGREQ, mBuf) != ROK) { SPutMsg(mBuf); @@ -253,19 +249,18 @@ Configuration Confirm from MAC to LM. * -# ROK **/ #ifdef ANSI -S16 cmPkLrgCfgCfm +uint8_t cmPkLrgCfgCfm ( Pst * pst, RgMngmt * cfm ) #else -S16 cmPkLrgCfgCfm(pst, cfm) +uint8_t cmPkLrgCfgCfm(pst, cfm) Pst * pst; RgMngmt * cfm; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgCfgCfm) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -321,7 +316,6 @@ Buffer *mBuf; { RgMngmt cfm; - TRC3(cmUnpkLrgCfgCfm) if (cmUnpkRgMngmt(pst, &cfm, EVTLRGCFGCFM, mBuf) != ROK) { SPutMsg(mBuf); @@ -351,19 +345,18 @@ Configuration Confirm from SCH to LM. * -# ROK **/ #ifdef ANSI -S16 cmPkLrgSchCfgCfm +uint8_t cmPkLrgSchCfgCfm ( Pst * pst, RgMngmt * cfg ) #else -S16 cmPkLrgSchCfgCfm(pst, cfg) +uint8_t cmPkLrgSchCfgCfm(pst, cfg) Pst * pst; RgMngmt * cfg; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgSchCfgCfm) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -419,8 +412,6 @@ Buffer *mBuf; { RgMngmt cfg; - TRC3(cmUnpkLrgSchCfgCfm) - if (cmUnpkRgMngmt(pst, &cfg, EVTMACSCHGENCFGCFM, mBuf) != ROK) { SPutMsg(mBuf); #if (ERRCLASS & ERRCLS_ADD_RES) @@ -461,7 +452,6 @@ RgMngmt * sts; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgStsReq) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -517,7 +507,6 @@ Buffer *mBuf; { RgMngmt sts; - TRC3(cmUnpkLrgStsReq) if (cmUnpkRgMngmt(pst, &sts, EVTLRGSTSREQ, mBuf) != ROK) { SPutMsg(mBuf); @@ -559,7 +548,6 @@ RgMngmt * cfm; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgStsCfm) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -615,7 +603,6 @@ Buffer *mBuf; { RgMngmt cfm; - TRC3(cmUnpkLrgStsCfm) if (cmUnpkRgMngmt(pst, &cfm, EVTLRGSTSCFM, mBuf) != ROK) { SPutMsg(mBuf); @@ -657,7 +644,6 @@ RgMngmt * sta; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgStaReq) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -711,9 +697,8 @@ Buffer *mBuf; { RgMngmt sta; - TRC3(cmUnpkLrgStaReq) - cmMemset((U8 *)&sta, 0, sizeof(RgMngmt)); + memset(&sta, 0, sizeof(RgMngmt)); if (cmUnpkRgMngmt(pst, &sta, EVTLRGSSTAREQ, mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId, @@ -754,7 +739,6 @@ RgMngmt * cfm; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgStaCfm) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -808,9 +792,8 @@ Buffer *mBuf; { RgMngmt cfm; - TRC3(cmUnpkLrgStaCfm) - cmMemset((U8 *)&cfm, 0, sizeof(RgMngmt)); + memset(&cfm, 0, sizeof(RgMngmt)); if (cmUnpkRgMngmt(pst, &cfm, EVTLRGSSTACFM, mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId, @@ -851,7 +834,6 @@ RgMngmt * usta; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgStaInd) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -907,7 +889,6 @@ Buffer *mBuf; { RgMngmt usta; - TRC3(cmUnpkLrgStaInd) if (cmUnpkRgMngmt(pst, &usta, EVTLRGUSTAIND, mBuf) != ROK) { SPutMsg(mBuf); @@ -949,7 +930,6 @@ RgMngmt * sta; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgSchStaInd) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -1005,7 +985,6 @@ Buffer *mBuf; { RgMngmt sta; - TRC3(cmUnpkLrgSchStaInd) if (cmUnpkRgMngmt(pst, &sta, EVTLRGSCHSTAIND, mBuf) != ROK) { SPutMsg(mBuf); @@ -1047,7 +1026,6 @@ RgMngmt * cntrl; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgCntrlReq) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -1103,7 +1081,6 @@ Buffer *mBuf; { RgMngmt cntrl; - TRC3(cmUnpkLrgCntrlReq) if (cmUnpkRgMngmt(pst, &cntrl, EVTLRGCNTRLREQ, mBuf) != ROK) { SPutMsg(mBuf); @@ -1145,7 +1122,6 @@ RgMngmt * cntrl; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgSchCntrlReq) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -1201,7 +1177,6 @@ Buffer *mBuf; { RgMngmt cntrl; - TRC3(cmUnpkLrgSchCntrlReq) if (cmUnpkRgMngmt(pst, &cntrl, EVTLRGSCHCNTRLREQ, mBuf) != ROK) { SPutMsg(mBuf); @@ -1243,7 +1218,6 @@ RgMngmt * cfm; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgCntrlCfm) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -1299,7 +1273,6 @@ Buffer *mBuf; { RgMngmt cfm; - TRC3(cmUnpkLrgCntrlCfm) if (cmUnpkRgMngmt(pst, &cfm, EVTLRGCNTRLCFM, mBuf) != ROK) { SPutMsg(mBuf); @@ -1341,7 +1314,6 @@ RgMngmt * cntrl; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgSchCntrlCfm) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -1397,7 +1369,6 @@ Buffer *mBuf; { RgMngmt cntrl; - TRC3(cmUnpkLrgSchCntrlCfm) if (cmUnpkRgMngmt(pst, &cntrl, EVTLRGSCHCNTRLCFM, mBuf) != ROK) { SPutMsg(mBuf); @@ -1442,7 +1413,6 @@ Buffer * trcBuf; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgTrcInd) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -1524,7 +1494,6 @@ Buffer *mBuf; /* lrg_c_001.main_3 - MODIFY - Modified trcBuf to have it initialized to NULLP */ Buffer *trcBuf = NULLP; - TRC3(cmUnpkLrgTrcInd) if (cmUnpkRgMngmt(pst, &trc, EVTLRGTRCIND, mBuf) != ROK) { SPutMsg(mBuf); @@ -1576,7 +1545,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgGenCfg) #ifdef LTE_ADV CMCHKPK(oduUnpackUInt8, param->isSCellActDeactAlgoEnable, mBuf); @@ -1620,7 +1588,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgGenCfg) CMCHKUNPK(cmUnpkPst, ¶m->lmPst, mBuf); CMCHKUNPK(cmUnpkMemoryId, ¶m->mem, mBuf); @@ -1664,7 +1631,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgUpSapCfg) CMCHKPK(SPkS16, param->suId, mBuf); CMCHKPK(SPkS16, param->spId, mBuf); @@ -1708,7 +1674,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgUpSapCfg) CMCHKUNPK(oduPackUInt8, ¶m->selector, mBuf); CMCHKUNPK(cmUnpkMemoryId, ¶m->mem, mBuf); @@ -1752,7 +1717,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgLowSapCfg) CMCHKPK(cmPkTmrCfg, ¶m->bndTmr, mBuf); CMCHKPK(SPkS16, param->suId, mBuf); @@ -1797,7 +1761,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgLowSapCfg) CMCHKUNPK(oduPackUInt8, ¶m->selector, mBuf); CMCHKUNPK(cmUnpkMemoryId, ¶m->mem, mBuf); @@ -1843,7 +1806,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgAckNack) CMCHKPK(oduUnpackUInt16, param->numOfAcks, mBuf); CMCHKPK(oduUnpackUInt16, param->numOfNacks, mBuf); @@ -1882,7 +1844,6 @@ Buffer *mBuf; { S32 i; - TRC3(cmPkRgSchNackAckStats) for (i=14; i >= 0; i--) { CMCHKPK(cmPkRgAckNack, ¶m->ulCqiStat[i], mBuf); @@ -1923,7 +1884,6 @@ RgSchHqNumRetx *param; Buffer *mBuf; #endif { - TRC3(cmPkRgHqNumRetx) CMCHKPK(oduUnpackUInt32, param->totalTx, mBuf); CMCHKPK(oduUnpackUInt16, param->numOfHQ_4, mBuf); @@ -1965,7 +1925,6 @@ Buffer *mBuf; { S32 i; - TRC3(cmPkRgSchHqRetxStats) for (i=14; i >= 0; i--) { CMCHKPK(cmPkRgHqNumRetx, ¶m->ulCqiStat[i], mBuf); @@ -2008,7 +1967,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgAckNack) CMCHKUNPK(oduPackUInt8, ¶m->mcs, mBuf); CMCHKUNPK(oduPackUInt16, ¶m->numOfNacks, mBuf); @@ -2046,7 +2004,6 @@ Buffer *mBuf; #endif { S32 i; - TRC3(cmUnpkRgSchNackAckStats) for (i=0; i <= 14; i++) { CMCHKUNPK(cmUnpkRgAckNack, ¶m->dlCqiStat[i], mBuf); @@ -2087,7 +2044,6 @@ RgSchHqNumRetx *param; Buffer *mBuf; #endif { - TRC3(cmUnpkRgHqNumRetx) CMCHKUNPK(oduPackUInt8, ¶m->mcs, mBuf); CMCHKUNPK(oduPackUInt16, ¶m->numOfHQ_1, mBuf); @@ -2128,7 +2084,6 @@ Buffer *mBuf; #endif { S32 i; - TRC3(cmUnpkRgSchHqRetxStats) for (i=0; i <= 14; i++) { CMCHKUNPK(cmUnpkRgHqNumRetx, ¶m->dlCqiStat[i], mBuf); @@ -2172,7 +2127,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgGenSts) #ifdef MAC_SCH_STATS CMCHKPK(cmPkRgSchHqRetxStats, ¶m->hqRetxStats, mBuf); @@ -2214,7 +2168,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgGenSts) CMCHKUNPK(oduPackUInt32, ¶m->numHarqFail, mBuf); CMCHKUNPK(oduPackUInt32, ¶m->numUeCfg, mBuf); @@ -2256,7 +2209,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgSapSts) CMCHKPK(oduUnpackUInt32, param->numPduDrop, mBuf); CMCHKPK(oduUnpackUInt32, param->numPduTxmit, mBuf); @@ -2294,7 +2246,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgSapSts) CMCHKUNPK(oduPackUInt32, ¶m->numPduRcvd, mBuf); CMCHKUNPK(oduPackUInt32, ¶m->numPduTxmit, mBuf); @@ -2333,7 +2284,6 @@ Buffer *mBuf; { S32 i; - TRC3(cmPkRgSchInstCfg) for (i=param->numSaps-1; i >= 0; i--) { CMCHKPK(cmPkRgLowSapCfg, ¶m->tfuSap[i], mBuf); @@ -2381,7 +2331,6 @@ Buffer *mBuf; { S32 i; - TRC3(cmUnpkRgSchInstCfg) CMCHKUNPK(oduPackUInt8, ¶m->instId, mBuf); CMCHKUNPK(cmUnpkRgGenCfg, ¶m->genCfg, mBuf); @@ -2430,7 +2379,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgCfg) switch(elmnt) { case STSCHINST: @@ -2486,7 +2434,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgCfg) switch(elmnt) { case STGEN: @@ -2540,7 +2487,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgSapSta) CMCHKPK(oduUnpackUInt8, param->sapState, mBuf); return ROK; @@ -2576,7 +2522,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgSapSta) CMCHKUNPK(oduPackUInt8, ¶m->sapState, mBuf); return ROK; @@ -2614,7 +2559,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgSts) switch(elmnt) { case STTFUSAP: @@ -2673,7 +2617,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgSts) CMCHKUNPK(cmUnpkDateTime, ¶m->dt, mBuf); CMCHKUNPK(oduPackUInt8, ¶m->sapInst, mBuf); @@ -2724,7 +2667,7 @@ Pst *pst, RgSsta *param, S16 elmnt, #ifdef LRG_V1 -U8 eventType, +uint8_t eventType, #endif Buffer *mBuf ) @@ -2735,13 +2678,12 @@ RgSsta *param; S16 elmnt; /* lrg_c_001.main_3 - ADD - Added the extra parameter eventType to the function */ #ifdef LRG_V1 -U8 eventType; +uint8_t eventType; #endif Buffer *mBuf; #endif { - TRC3(cmPkRgSsta) switch(elmnt) { case STTFUSAP: @@ -2819,7 +2761,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgSsta) CMCHKUNPK(cmUnpkDateTime, ¶m->dt, mBuf); CMCHKUNPK(oduPackUInt8, ¶m->sapInst, mBuf); @@ -2842,7 +2783,7 @@ Buffer *mBuf; /* KWORK_FIX: Moved the memset under the NULL check */ if (param->s.sysId.ptNmb != NULLP) { - cmMemset((U8 *)param->s.sysId.ptNmb, 0, LRG_MAX_PT_NUM_SIZE); + memset(param->s.sysId.ptNmb, 0, LRG_MAX_PT_NUM_SIZE); CMCHKUNPK(cmUnpkSystemId, ¶m->s.sysId, mBuf); } } @@ -2895,7 +2836,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgUstaDgn) switch(param->type) { case LRG_USTA_DGNVAL_MEM: @@ -2938,7 +2878,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgUstaDgn) CMCHKUNPK(oduPackUInt8, ¶m->type, mBuf); switch(param->type) { @@ -2981,7 +2920,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgUsta) CMCHKPK(cmPkRgUstaDgn, ¶m->dgn, mBuf); CMCHKPK(cmPkCmAlarm, ¶m->cmAlarm, mBuf); @@ -3018,7 +2956,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgUsta) CMCHKUNPK(cmUnpkCmAlarm, ¶m->cmAlarm, mBuf); CMCHKUNPK(cmUnpkRgUstaDgn, ¶m->dgn, mBuf); @@ -3055,7 +2992,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgTrc) CMCHKPK(oduUnpackUInt8, param->evnt, mBuf); CMCHKPK(cmPkDateTime, ¶m->dt, mBuf); @@ -3092,7 +3028,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgTrc) CMCHKUNPK(cmUnpkDateTime, ¶m->dt, mBuf); CMCHKUNPK(oduPackUInt8, ¶m->evnt, mBuf); @@ -3129,7 +3064,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgDbgCntrl) CMCHKPK(oduUnpackUInt32, param->dbgMask, mBuf); return ROK; @@ -3163,7 +3097,6 @@ RgSchUlAllocCntrl *param; Buffer *mBuf; #endif { - TRC3(cmPkRgSchUlAllocCntrl) CMCHKPK(oduUnpackUInt8, param->mcs, mBuf); CMCHKPK(oduUnpackUInt16, param->numOfRb, mBuf); @@ -3202,7 +3135,6 @@ RgSchUlAllocCntrl *param; Buffer *mBuf; #endif { - TRC3(cmUnpkRgSchUlAllocCntrl) CMCHKUNPK(oduPackUInt16, ¶m->logTime, mBuf); CMCHKUNPK(oduPackUInt8, ¶m->enaLog, mBuf); @@ -3245,7 +3177,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgDbgCntrl) CMCHKUNPK(oduPackUInt32, ¶m->dbgMask, mBuf); return ROK; @@ -3281,7 +3212,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgSapCntrl) CMCHKPK(SPkS16, param->spId, mBuf); CMCHKPK(SPkS16, param->suId, mBuf); @@ -3318,7 +3248,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgSapCntrl) CMCHKUNPK(SUnpkS16, ¶m->suId, mBuf); CMCHKUNPK(SUnpkS16, ¶m->spId, mBuf); @@ -3357,7 +3286,6 @@ Buffer *mBuf; #endif { - TRC3(cmPkRgCntrl) switch(elmnt) { case STTFUSAP: @@ -3435,7 +3363,6 @@ Buffer *mBuf; #endif { - TRC3(cmUnpkRgCntrl) CMCHKUNPK(cmUnpkDateTime, ¶m->dt, mBuf); CMCHKUNPK(oduPackUInt8, ¶m->action, mBuf); @@ -3503,19 +3430,18 @@ S16 cmPkRgMngmt ( Pst *pst, RgMngmt *param, -U8 eventType, +uint8_t eventType, Buffer *mBuf ) #else S16 cmPkRgMngmt(pst, param, eventType, mBuf) Pst *pst; RgMngmt *param; -U8 eventType; +uint8_t eventType; Buffer *mBuf; #endif { - TRC3(cmPkRgMngmt) switch(eventType) { case EVTLRGCNTRLREQ: @@ -3589,19 +3515,18 @@ S16 cmUnpkRgMngmt ( Pst *pst, RgMngmt *param, -U8 eventType, +uint8_t eventType, Buffer *mBuf ) #else S16 cmUnpkRgMngmt(pst, param, eventType, mBuf) Pst *pst; RgMngmt *param; -U8 eventType; +uint8_t eventType; Buffer *mBuf; #endif { - TRC3(cmUnpkRgMngmt) CMCHKUNPK(cmUnpkHeader, ¶m->hdr, mBuf); CMCHKUNPK(cmUnpkCmStatus, ¶m->cfm, mBuf); @@ -3660,20 +3585,19 @@ Buffer *mBuf; * -# ROK **/ #ifdef ANSI -PRIVATE S16 cmPkNmbActvUeQciReq +static S16 cmPkNmbActvUeQciReq ( LrgNmbActvUeQCI *nmbActvUeQci, Buffer *mBuf ) #else -PRIVATE S16 cmPkNmbActvUeQciReq(nmbActvUeQci, mBuf) +static S16 cmPkNmbActvUeQciReq(nmbActvUeQci, mBuf) LrgNmbActvUeQCI *nmbActvUeQci; Buffer *mBuf; #endif { - U8 idx; + uint8_t idx; - TRC3(cmPkNmbActvUeQciReq) for(idx = 0; idx < nmbActvUeQci->numQci; idx++) { @@ -3698,21 +3622,19 @@ Buffer *mBuf; * -# ROK **/ #ifdef ANSI -PRIVATE S16 cmPkAvgPrbQciReq +static S16 cmPkAvgPrbQciReq ( LrgAvgPrbQCI *avgPrbQciReq, Buffer *mBuf ) #else -PRIVATE S16 cmPkAvgPrbQciReq(avgPrbQciReq, mBuf) +static S16 cmPkAvgPrbQciReq(avgPrbQciReq, mBuf) LrgAvgPrbQCI *avgPrbQciReq; Buffer *mBuf; #endif { - U8 idx; + uint8_t idx; - TRC3(cmPkAvgPrbQciReq) - for(idx = 0; idx < avgPrbQciReq->numQci; idx++) { CMCHKPK(oduUnpackUInt8, avgPrbQciReq->qci[idx], mBuf); @@ -3748,7 +3670,6 @@ LrgSchMeasReqInfo *measInfo; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgSchL2MeasReq) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -3808,7 +3729,6 @@ LrgSchMeasStopReqInfo *measInfo; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgSchL2MeasStopReq) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -3852,7 +3772,6 @@ LrgSchMeasSndReqInfo *measInfo; #endif { Buffer *mBuf = NULLP; - TRC3(cmPkLrgSchL2MeasSendReq) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId, @@ -3882,20 +3801,18 @@ LrgSchMeasSndReqInfo *measInfo; * -# ROK **/ #ifdef ANSI -PRIVATE S16 cmUnpkNmbActvUeQciReq +static S16 cmUnpkNmbActvUeQciReq ( LrgNmbActvUeQCI *param, Buffer *mBuf ) #else -PRIVATE S16 cmUnpkNmbActvUeQciReq(param, mBuf) +static S16 cmUnpkNmbActvUeQciReq(param, mBuf) LrgNmbActvUeQCI *param; Buffer *mBuf; #endif { - U8 idx; - - TRC3(cmUnpkNmbActvUeQciReq) + uint8_t idx; CMCHKUNPK(oduPackUInt8, ¶m->sampPrd, mBuf); CMCHKUNPK(oduPackUInt8, ¶m->numQci, mBuf); @@ -3920,20 +3837,19 @@ Buffer *mBuf; * -# ROK **/ #ifdef ANSI -PRIVATE S16 cmUnpkAvgPrbQciReq +static S16 cmUnpkAvgPrbQciReq ( LrgAvgPrbQCI *param, Buffer *mBuf ) #else -PRIVATE S16 cmUnpkAvgPrbQciReq (param, mBuf) +static S16 cmUnpkAvgPrbQciReq (param, mBuf) LrgAvgPrbQCI *param; Buffer *mBuf; #endif { - U8 idx; + uint8_t idx; - TRC3(cmUnpkAvgPrbQciReq) CMCHKUNPK(oduPackUInt8, ¶m->numQci, mBuf); for(idx = param->numQci; idx > 0; idx--) @@ -3974,7 +3890,6 @@ Buffer *mBuf; { LrgSchMeasReqInfo measInfo; - TRC3(cmUnpkLrgSchL2MeasReq) CMCHKUNPK(cmUnpkHeader, &measInfo.hdr, mBuf); CMCHKUNPK(oduPackUInt16, &measInfo.measType, mBuf); @@ -4030,8 +3945,6 @@ Buffer *mBuf; { LrgSchMeasStopReqInfo measInfo; - TRC3(cmUnpkLrgSchL2MeasStopReq) - CMCHKUNPK(cmUnpkHeader, &measInfo.hdr, mBuf); CMCHKUNPK(oduPackUInt16, &measInfo.measType, mBuf); /*CMCHKUNPK(oduPackUInt16, &measInfo.timePrd, mBuf);*/ @@ -4104,7 +4017,6 @@ LrgSchMeasCfmInfo *measInfo; { Buffer *mBuf = NULLP; - TRC3(cmPkLrgSchL2MeasStopCfm) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) SLogError(pst->srcEnt, pst->srcInst, pst->srcProcId, @@ -4149,7 +4061,6 @@ Buffer *mBuf; { LrgSchMeasCfmInfo measInfo; - TRC3(cmUnpkLrgSchL2MeasCfm) CMCHKUNPK(cmUnpkHeader, &measInfo.hdr, mBuf); CMCHKUNPK(oduPackUInt16, &measInfo.measType, mBuf); @@ -4173,20 +4084,19 @@ Buffer *mBuf; * -# ROK **/ #ifdef ANSI -PRIVATE S16 cmPkNumUeQciCfm +static S16 cmPkNumUeQciCfm ( LrgNumActvUeQCICfm *param, Buffer *mBuf ) #else -PRIVATE S16 cmPkNumUeQciCfm(param, mBuf) +static S16 cmPkNumUeQciCfm(param, mBuf) LrgNumActvUeQCICfm *param; Buffer *mBuf; #endif { - U8 idx; + uint8_t idx; - TRC3(cmPkNumUeQciCfm) for(idx = 0; idx < param->numQci; idx++) { @@ -4212,20 +4122,19 @@ Buffer *mBuf; * -# ROK **/ #ifdef ANSI -PRIVATE S16 cmPkAvgPrbQciCfm +static S16 cmPkAvgPrbQciCfm ( LrgAvgPrbQCICfm *param, Buffer *mBuf ) #else -PRIVATE S16 cmPkAvgPrbQciCfm(param, mBuf) +static S16 cmPkAvgPrbQciCfm(param, mBuf) LrgAvgPrbQCICfm *param; Buffer *mBuf; #endif { - U8 idx; + uint8_t idx; - TRC3(cmPkAvgPrbQciCfm) for(idx = 0; idx < param->numQci; idx++) { /*LRG : Review Tag*/ @@ -4250,19 +4159,18 @@ Buffer *mBuf; * -# ROK **/ #ifdef ANSI -PRIVATE S16 cmPkRaPrmbsCfm +static S16 cmPkRaPrmbsCfm ( LrgRaPreamblesCfm *param, Buffer *mBuf ) #else -PRIVATE S16 cmPkRaPrmbsCfm(param, mBuf) +static S16 cmPkRaPrmbsCfm(param, mBuf) LrgRaPreamblesCfm *param; Buffer *mBuf; #endif { - TRC3(cmPkRaPrmbsCfm) CMCHKPK(oduUnpackUInt16, param->randSelPreHighRange, mBuf); CMCHKPK(oduUnpackUInt16, param->randSelPreLowRange, mBuf); CMCHKPK(oduUnpackUInt16, param->dedPreambles, mBuf); @@ -4282,19 +4190,18 @@ Buffer *mBuf; * -# ROK **/ #ifdef ANSI -PRIVATE S16 cmPkAvgPrbCfm +static S16 cmPkAvgPrbCfm ( LrgAvgPrbCfm *param, Buffer *mBuf ) #else -PRIVATE S16 cmPkAvgPrbCfm(param, mBuf) +static S16 cmPkAvgPrbCfm(param, mBuf) LrgAvgPrbCfm *param; Buffer *mBuf; #endif { - TRC3(cmPkAvgPrbCfm) CMCHKPK(oduUnpackUInt8, param->prbPerc, mBuf); return ROK; } @@ -4326,7 +4233,6 @@ LrgSchMeasCfmInfo *measInfo; { Buffer *mBuf = NULLP; - TRC3(cmPkLrgSchL2MeasCfm) if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { #if (ERRCLASS & ERRCLS_ADD_RES) @@ -4401,20 +4307,19 @@ LrgSchMeasCfmInfo *measInfo; * -# ROK **/ #ifdef ANSI -PRIVATE S16 cmUnpkNumUeQciCfm +static S16 cmUnpkNumUeQciCfm ( LrgNumActvUeQCICfm *param, Buffer *mBuf ) #else -PRIVATE S16 cmUnpkNumUeQciCfm(param, mBuf) +static S16 cmUnpkNumUeQciCfm(param, mBuf) LrgNumActvUeQCICfm *param; Buffer *mBuf; #endif { - U8 idx; + uint8_t idx; - TRC3(cmUnpkNumUeQciCfm) CMCHKUNPK(oduPackUInt8, ¶m->numQci, mBuf); for(idx = param->numQci; idx > 0; idx--) { @@ -4439,20 +4344,19 @@ Buffer *mBuf; * -# ROK **/ #ifdef ANSI -PRIVATE S16 cmUnpkAvgPrbQciCfm +static S16 cmUnpkAvgPrbQciCfm ( LrgAvgPrbQCICfm *param, Buffer *mBuf ) #else -PRIVATE S16 cmUnpkAvgPrbQciCfm(param, mBuf) +static S16 cmUnpkAvgPrbQciCfm(param, mBuf) LrgAvgPrbQCICfm *param; Buffer *mBuf; #endif { - U8 idx; + uint8_t idx; - TRC3(cmUnpkAvgPrbQciCfm) CMCHKUNPK(oduPackUInt8, ¶m->numQci, mBuf); for(idx = param->numQci; idx > 0; idx--) @@ -4478,19 +4382,18 @@ Buffer *mBuf; * -# ROK **/ #ifdef ANSI -PRIVATE S16 cmUnpkRaPrmbsCfm +static S16 cmUnpkRaPrmbsCfm ( LrgRaPreamblesCfm *param, Buffer *mBuf ) #else -PRIVATE S16 cmUnpkRaPrmbsCfm(param, mBuf) +static S16 cmUnpkRaPrmbsCfm(param, mBuf) LrgRaPreamblesCfm *param; Buffer *mBuf; #endif { - TRC3(cmUnpkRaPrmbsCfm) CMCHKUNPK(oduPackUInt16, ¶m->dedPreambles, mBuf); CMCHKUNPK(oduPackUInt16, ¶m->randSelPreLowRange, mBuf); @@ -4511,19 +4414,18 @@ Buffer *mBuf; * -# ROK **/ #ifdef ANSI -PRIVATE S16 cmUnpkAvgPrbCfm +static S16 cmUnpkAvgPrbCfm ( LrgAvgPrbCfm *param, Buffer *mBuf ) #else -PRIVATE S16 cmUnpkAvgPrbCfm(param, mBuf) +static S16 cmUnpkAvgPrbCfm(param, mBuf) LrgAvgPrbCfm *param; Buffer *mBuf; #endif { - TRC3(cmUnpkAvgPrbCfm) CMCHKUNPK(oduPackUInt8, ¶m->prbPerc, mBuf); return ROK; @@ -4558,7 +4460,6 @@ Buffer *mBuf; { LrgSchMeasCfmInfo measInfo; - TRC3(cmUnpkLrgSchL2MeasCfm) CMCHKUNPK(cmUnpkHeader, &measInfo.hdr, mBuf); CMCHKUNPK(oduPackUInt16, &measInfo.measType, mBuf);