[ Jira id - ODUHIGH-593 ] Pack and unpack function nomenclature correction
[o-du/l2.git] / src / cm / cm_tenb_stats.c
index 244bff9..fa279b1 100755 (executable)
@@ -159,68 +159,68 @@ static Void TSInfUtlPackUeInfo(Buffer *mBuf,TSInfL2UeStats *stats)
    uint32_t k;
 
 
-   CMCHKPK(oduUnpackUInt32, stats->persistent.numDeactivation, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->persistent.numActivation, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->persistent.activatedSCells, mBuf);
+   CMCHKPK(oduPackUInt32, stats->persistent.numDeactivation, mBuf);
+   CMCHKPK(oduPackUInt32, stats->persistent.numActivation, mBuf);
+   CMCHKPK(oduPackUInt32, stats->persistent.activatedSCells, mBuf);
 
-   CMCHKPK(oduUnpackUInt32, stats->nonPersistent.rlc.dlMaxWindowSz, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->nonPersistent.rlc.dlMaxPktsInSduQ, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->nonPersistent.rlc.ulReOdrTmrExpCnt, mBuf);
+   CMCHKPK(oduPackUInt32, stats->nonPersistent.rlc.dlMaxWindowSz, mBuf);
+   CMCHKPK(oduPackUInt32, stats->nonPersistent.rlc.dlMaxPktsInSduQ, mBuf);
+   CMCHKPK(oduPackUInt32, stats->nonPersistent.rlc.ulReOdrTmrExpCnt, mBuf);
 
-   CMCHKPK(oduUnpackUInt32, stats->nonPersistent.pdcp.dlFlowCtrlDropCnt, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->nonPersistent.pdcp.dlPdcpAckWaitDropCnt, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->nonPersistent.pdcp.dlPdcpDropCnt, mBuf);
+   CMCHKPK(oduPackUInt32, stats->nonPersistent.pdcp.dlFlowCtrlDropCnt, mBuf);
+   CMCHKPK(oduPackUInt32, stats->nonPersistent.pdcp.dlPdcpAckWaitDropCnt, mBuf);
+   CMCHKPK(oduPackUInt32, stats->nonPersistent.pdcp.dlPdcpDropCnt, mBuf);
 
 
    for (k = 0; k < L2_STATS_MAX_CELLS; k++)
    {
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].ulTpt, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].ulNumiTbs, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].ulSumiTbs, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].ulNumCqi, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].ulSumCqi, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].ulDtxCnt, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].ulNackCnt, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].ulAckNackCnt, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].ulPrbUsg, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].ulRetxOccns, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].ulTxOccns, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlTpt, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlBo, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].ulTpt, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].ulNumiTbs, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].ulSumiTbs, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].ulNumCqi, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].ulSumCqi, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].ulDtxCnt, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].ulNackCnt, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].ulAckNackCnt, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].ulPrbUsg, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].ulRetxOccns, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].ulTxOccns, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlTpt, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlBo, mBuf);
       for (i=0; i<4; i++)
       {
-         CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].riCnt[i], mBuf);
+         CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].riCnt[i], mBuf);
       }
       for (i=0; i<5; i++)
       {
-         CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlPdbLvl[i], mBuf);
+         CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlPdbLvl[i], mBuf);
       }
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].cqiDropCnt, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlNumCw1iTbs, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlSumCw1iTbs, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlNumCw0iTbs, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlSumCw0iTbs, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlNumCw1Cqi, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlSumCw1Cqi, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlNumCw0Cqi, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlSumCw0Cqi, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].cqiDropCnt, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlNumCw1iTbs, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlSumCw1iTbs, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlNumCw0iTbs, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlSumCw0iTbs, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlNumCw1Cqi, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlSumCw1Cqi, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlNumCw0Cqi, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlSumCw0Cqi, mBuf);
       for (i=0; i<2; i++)
       {
-         CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlDtxCnt[i], mBuf);
+         CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlDtxCnt[i], mBuf);
       }
       for (i=0; i<2; i++)
       {
-         CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlAckNackCnt[i], mBuf);
+         CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlAckNackCnt[i], mBuf);
       }
       for (i=0; i<2; i++)
       {
-         CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlNackCnt[i], mBuf);
+         CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlNackCnt[i], mBuf);
       }
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlPrbUsg, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlRetxOccns, mBuf);
-      CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlTxOccns, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlPrbUsg, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlRetxOccns, mBuf);
+      CMCHKPK(oduPackUInt32, stats->nonPersistent.sch[k].dlTxOccns, mBuf);
    }
-   CMCHKPK(oduUnpackUInt32, stats->rnti, mBuf);
+   CMCHKPK(oduPackUInt32, stats->rnti, mBuf);
    return;
 }
 
@@ -229,103 +229,103 @@ static Void TSInfUtlPackCellInfo(Buffer *mBuf,TSInfL2CellStats *stats  )
    S32 i,j;
 
 
-   CMCHKPK(oduUnpackUInt32, stats->rlc.reOdrTmrExp, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->rlc.maxRlcDrbRetxFail, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->rlc.maxRlcSrbRetxFail, mBuf);
+   CMCHKPK(oduPackUInt32, stats->rlc.reOdrTmrExp, mBuf);
+   CMCHKPK(oduPackUInt32, stats->rlc.maxRlcDrbRetxFail, mBuf);
+   CMCHKPK(oduPackUInt32, stats->rlc.maxRlcSrbRetxFail, mBuf);
 
-   CMCHKPK(oduUnpackUInt32, stats->sch.ulNumiTbs, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.ulSumiTbs, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.ulNumCqi, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.ulSumCqi, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ulNumiTbs, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ulSumiTbs, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ulNumCqi, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ulSumCqi, mBuf);
 #ifdef RG_5GTF
-   CMCHKPK(oduUnpackUInt32, stats->sch.ul5gtfRbAllocFail, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.ul5gtfPdcchSend, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.ul5gtfUeFnlzReAdd, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.ul5gtfUeRmvFnlzZeroBo, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.ul5gtfUeRbAllocDone, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.ul5gtfAllocAllocated, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.ul5gtfPdcchSchd, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.ul5gtfUeSchPick, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.ul5gtfBsrRecv, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.ul5gtfSrRecv, mBuf);
-
-   CMCHKPK(oduUnpackUInt32, stats->sch.dl5gtfPdschCons, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dl5gtfPdcchSend, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dl5gtfBoUpd, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dl5gtfFnlzFail, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dl5gtfFnlzPass, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dl5gtfRbAllocFail, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dl5gtfRbAllocPass, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dl5gtfUePick, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ul5gtfRbAllocFail, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ul5gtfPdcchSend, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ul5gtfUeFnlzReAdd, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ul5gtfUeRmvFnlzZeroBo, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ul5gtfUeRbAllocDone, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ul5gtfAllocAllocated, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ul5gtfPdcchSchd, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ul5gtfUeSchPick, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ul5gtfBsrRecv, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.ul5gtfSrRecv, mBuf);
+
+   CMCHKPK(oduPackUInt32, stats->sch.dl5gtfPdschCons, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dl5gtfPdcchSend, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dl5gtfBoUpd, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dl5gtfFnlzFail, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dl5gtfFnlzPass, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dl5gtfRbAllocFail, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dl5gtfRbAllocPass, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dl5gtfUePick, mBuf);
 #endif
-   CMCHKPK(oduUnpackUInt32, stats->sch.cntTtiProcTime500, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.cntTtiProcTime600, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.cntTtiProcTime700, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.cntTtiProcTime800, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.cntTtiProcTime900, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.cntTtiProcTime1000, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.avgTtiProcTime, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.cntTtiProcTime500, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.cntTtiProcTime600, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.cntTtiProcTime700, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.cntTtiProcTime800, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.cntTtiProcTime900, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.cntTtiProcTime1000, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.avgTtiProcTime, mBuf);
    for (i=9; i>=0; i--)
    {
-      CMCHKPK(oduUnpackUInt32, stats->sch.dlPdbRatio[i], mBuf);
+      CMCHKPK(oduPackUInt32, stats->sch.dlPdbRatio[i], mBuf);
    }
    for (i=9; i>=0; i--)
    {
-      CMCHKPK(oduUnpackUInt32, stats->sch.ulPrbUsage[i], mBuf);
+      CMCHKPK(oduPackUInt32, stats->sch.ulPrbUsage[i], mBuf);
    }
    for (i=9; i>=0; i--)
    {
-      CMCHKPK(oduUnpackUInt32, stats->sch.dlPrbUsage[i], mBuf);
+      CMCHKPK(oduPackUInt32, stats->sch.dlPrbUsage[i], mBuf);
    }
    for (i=3; i>=0; i--)
    {
-      CMCHKPK(oduUnpackUInt32, stats->sch.ulDtx[i], mBuf);
+      CMCHKPK(oduPackUInt32, stats->sch.ulDtx[i], mBuf);
    }
    for (i=3; i>=0; i--)
    {
-      CMCHKPK(oduUnpackUInt32, stats->sch.ulAckNack[i], mBuf);
+      CMCHKPK(oduPackUInt32, stats->sch.ulAckNack[i], mBuf);
    }
    for (i=3; i>=0; i--)
    {
-      CMCHKPK(oduUnpackUInt32, stats->sch.ulNack[i], mBuf);
+      CMCHKPK(oduPackUInt32, stats->sch.ulNack[i], mBuf);
    }
    for (i=1; i>=0; i--)
    {
       for (j=3; j>=0; j--)
       {
-         CMCHKPK(oduUnpackUInt32, stats->sch.dlDtx[i][j], mBuf);
+         CMCHKPK(oduPackUInt32, stats->sch.dlDtx[i][j], mBuf);
       }
    }
    for (i=1; i>=0; i--)
    {
       for (j=3; j>=0; j--)
       {
-         CMCHKPK(oduUnpackUInt32, stats->sch.dlAckNack[i][j], mBuf);
+         CMCHKPK(oduPackUInt32, stats->sch.dlAckNack[i][j], mBuf);
       }
    }
    for (i=1; i>=0; i--)
    {
       for (j=3; j>=0; j--)
       {
-         CMCHKPK(oduUnpackUInt32, stats->sch.dlNack[i][j], mBuf);
+         CMCHKPK(oduPackUInt32, stats->sch.dlNack[i][j], mBuf);
       }
    }
    for (i=3; i>=0; i--)
    {
-      CMCHKPK(oduUnpackUInt32, stats->sch.riCnt[i], mBuf);
+      CMCHKPK(oduPackUInt32, stats->sch.riCnt[i], mBuf);
    }
-   CMCHKPK(oduUnpackUInt32, stats->sch.dlNumCw1iTbs, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dlSumCw1iTbs, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dlNumCw0iTbs, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dlSumCw0iTbs, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dlNumCw1Cqi, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dlSumCw1Cqi, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dlNumCw0Cqi, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.dlSumCw0Cqi, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.msg3Fail, mBuf);
-   CMCHKPK(oduUnpackUInt32, stats->sch.msg4Fail, mBuf);
-
-   CMCHKPK(oduUnpackUInt32, stats->cellId, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dlNumCw1iTbs, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dlSumCw1iTbs, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dlNumCw0iTbs, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dlSumCw0iTbs, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dlNumCw1Cqi, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dlSumCw1Cqi, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dlNumCw0Cqi, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.dlSumCw0Cqi, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.msg3Fail, mBuf);
+   CMCHKPK(oduPackUInt32, stats->sch.msg4Fail, mBuf);
+
+   CMCHKPK(oduPackUInt32, stats->cellId, mBuf);
 
    return;
 }
@@ -336,68 +336,68 @@ static Void TSInfUtlUnpkUeInfo(Buffer *mBuf, TSInfL2UeStats *stats )
    uint32_t k;
 
 
-   CMCHKUNPK(oduPackUInt32, &stats->rnti, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->rnti, mBuf);
 
    for (k = L2_STATS_MAX_CELLS; k > 0; k--)
    {
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlTxOccns, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlRetxOccns, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlPrbUsg, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlTxOccns, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlRetxOccns, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlPrbUsg, mBuf);
       for (i=1; i>=0; i--)
       {
-         CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlNackCnt[i], mBuf);
+         CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlNackCnt[i], mBuf);
       }
       for (i=1; i>=0; i--)
       {
-         CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlAckNackCnt[i], mBuf);
+         CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlAckNackCnt[i], mBuf);
       }
       for (i=1; i>=0; i--)
       {
-         CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlDtxCnt[i], mBuf);
+         CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlDtxCnt[i], mBuf);
       }
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlSumCw0Cqi, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlNumCw0Cqi, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlSumCw1Cqi, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlNumCw1Cqi, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlSumCw0iTbs, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlNumCw0iTbs, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlSumCw1iTbs, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlNumCw1iTbs, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].cqiDropCnt, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlSumCw0Cqi, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlNumCw0Cqi, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlSumCw1Cqi, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlNumCw1Cqi, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlSumCw0iTbs, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlNumCw0iTbs, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlSumCw1iTbs, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlNumCw1iTbs, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].cqiDropCnt, mBuf);
       for (i=4; i>=0; i--)
       {
-         CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlPdbLvl[i], mBuf);
+         CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlPdbLvl[i], mBuf);
       }
       for (i=3; i>=0; i--)
       {
-         CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].riCnt[i], mBuf);
+         CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].riCnt[i], mBuf);
       }
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlBo, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].dlTpt, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].ulTxOccns, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].ulRetxOccns, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].ulPrbUsg, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].ulAckNackCnt, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].ulNackCnt, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].ulDtxCnt, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].ulSumCqi, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].ulNumCqi, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].ulSumiTbs, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].ulNumiTbs, mBuf);
-      CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.sch[k-1].ulTpt, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlBo, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].dlTpt, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].ulTxOccns, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].ulRetxOccns, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].ulPrbUsg, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].ulAckNackCnt, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].ulNackCnt, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].ulDtxCnt, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].ulSumCqi, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].ulNumCqi, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].ulSumiTbs, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].ulNumiTbs, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.sch[k-1].ulTpt, mBuf);
    }
 
-   CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.pdcp.dlPdcpDropCnt, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.pdcp.dlPdcpAckWaitDropCnt, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.pdcp.dlFlowCtrlDropCnt, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.pdcp.dlPdcpDropCnt, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.pdcp.dlPdcpAckWaitDropCnt, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.pdcp.dlFlowCtrlDropCnt, mBuf);
 
-   CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.rlc.ulReOdrTmrExpCnt, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.rlc.dlMaxPktsInSduQ, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->nonPersistent.rlc.dlMaxWindowSz, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.rlc.ulReOdrTmrExpCnt, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.rlc.dlMaxPktsInSduQ, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->nonPersistent.rlc.dlMaxWindowSz, mBuf);
 
-   CMCHKUNPK(oduPackUInt32, &stats->persistent.activatedSCells, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->persistent.numActivation, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->persistent.numDeactivation, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->persistent.activatedSCells, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->persistent.numActivation, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->persistent.numDeactivation, mBuf);
 
    return;
 }
@@ -407,103 +407,103 @@ static Void TSInfUtlUnpkCellInfo(Buffer *mBuf,TSInfL2CellStats *stats )
    S32 i,j;
 
 
-      CMCHKUNPK(oduPackUInt32, &stats->cellId, mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->cellId, mBuf);
 
-   CMCHKUNPK(oduPackUInt32, &stats->sch.msg4Fail, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.msg3Fail, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dlSumCw0Cqi, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dlNumCw0Cqi, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dlSumCw1Cqi, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dlNumCw1Cqi, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dlSumCw0iTbs, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dlNumCw0iTbs, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dlSumCw1iTbs, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dlNumCw1iTbs, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.msg4Fail, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.msg3Fail, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlSumCw0Cqi, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlNumCw0Cqi, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlSumCw1Cqi, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlNumCw1Cqi, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlSumCw0iTbs, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlNumCw0iTbs, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlSumCw1iTbs, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlNumCw1iTbs, mBuf);
    for (i=0; i<4; i++)
    {
-      CMCHKUNPK(oduPackUInt32, &stats->sch.riCnt[i], mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->sch.riCnt[i], mBuf);
    }
    for (i=0; i<2; i++)
    {
       for (j=0; j<4; j++)
       {
-         CMCHKUNPK(oduPackUInt32, &stats->sch.dlNack[i][j], mBuf);
+         CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlNack[i][j], mBuf);
       }
    }
    for (i=0; i<2; i++)
    {
       for (j=0; j<4; j++)
       {
-         CMCHKUNPK(oduPackUInt32, &stats->sch.dlAckNack[i][j], mBuf);
+         CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlAckNack[i][j], mBuf);
       }
    }
    for (i=0; i<2; i++)
    {
       for (j=0; j<4; j++)
       {
-         CMCHKUNPK(oduPackUInt32, &stats->sch.dlDtx[i][j], mBuf);
+         CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlDtx[i][j], mBuf);
       }
    }
    for (i=0; i<4; i++)
    {
-      CMCHKUNPK(oduPackUInt32, &stats->sch.ulNack[i], mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->sch.ulNack[i], mBuf);
    }
    for (i=0; i<4; i++)
    {
-      CMCHKUNPK(oduPackUInt32, &stats->sch.ulAckNack[i], mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->sch.ulAckNack[i], mBuf);
    }
    for (i=0; i<4; i++)
    {
-      CMCHKUNPK(oduPackUInt32, &stats->sch.ulDtx[i], mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->sch.ulDtx[i], mBuf);
    }
    for (i=0; i<10; i++)
    {
-      CMCHKUNPK(oduPackUInt32, &stats->sch.dlPrbUsage[i], mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlPrbUsage[i], mBuf);
    }
    for (i=0; i<10; i++)
    {
-      CMCHKUNPK(oduPackUInt32, &stats->sch.ulPrbUsage[i], mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->sch.ulPrbUsage[i], mBuf);
    }
    for (i=0; i<10; i++)
    {
-      CMCHKUNPK(oduPackUInt32, &stats->sch.dlPdbRatio[i], mBuf);
+      CMCHKUNPK(oduUnpackUInt32, &stats->sch.dlPdbRatio[i], mBuf);
    }
-   CMCHKUNPK(oduPackUInt32, &stats->sch.avgTtiProcTime, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.cntTtiProcTime1000, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.cntTtiProcTime900, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.cntTtiProcTime800, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.cntTtiProcTime700, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.cntTtiProcTime600, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.cntTtiProcTime500, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.avgTtiProcTime, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.cntTtiProcTime1000, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.cntTtiProcTime900, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.cntTtiProcTime800, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.cntTtiProcTime700, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.cntTtiProcTime600, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.cntTtiProcTime500, mBuf);
 #ifdef RG_5GTF
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dl5gtfUePick, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dl5gtfRbAllocPass, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dl5gtfRbAllocFail, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dl5gtfFnlzPass, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dl5gtfFnlzFail, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dl5gtfBoUpd, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dl5gtfPdcchSend, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.dl5gtfPdschCons, mBuf);
-
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ul5gtfSrRecv, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ul5gtfBsrRecv, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ul5gtfUeSchPick, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ul5gtfPdcchSchd, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ul5gtfAllocAllocated, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ul5gtfUeRbAllocDone, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ul5gtfUeRmvFnlzZeroBo, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ul5gtfUeFnlzReAdd, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ul5gtfPdcchSend, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ul5gtfRbAllocFail, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dl5gtfUePick, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dl5gtfRbAllocPass, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dl5gtfRbAllocFail, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dl5gtfFnlzPass, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dl5gtfFnlzFail, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dl5gtfBoUpd, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dl5gtfPdcchSend, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.dl5gtfPdschCons, mBuf);
+
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ul5gtfSrRecv, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ul5gtfBsrRecv, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ul5gtfUeSchPick, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ul5gtfPdcchSchd, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ul5gtfAllocAllocated, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ul5gtfUeRbAllocDone, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ul5gtfUeRmvFnlzZeroBo, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ul5gtfUeFnlzReAdd, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ul5gtfPdcchSend, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ul5gtfRbAllocFail, mBuf);
 #endif
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ulSumCqi, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ulNumCqi, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ulSumiTbs, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->sch.ulNumiTbs, mBuf);
-
-   CMCHKUNPK(oduPackUInt32, &stats->rlc.maxRlcSrbRetxFail, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->rlc.maxRlcDrbRetxFail, mBuf);
-   CMCHKUNPK(oduPackUInt32, &stats->rlc.reOdrTmrExp, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ulSumCqi, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ulNumCqi, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ulSumiTbs, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->sch.ulNumiTbs, mBuf);
+
+   CMCHKUNPK(oduUnpackUInt32, &stats->rlc.maxRlcSrbRetxFail, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->rlc.maxRlcDrbRetxFail, mBuf);
+   CMCHKUNPK(oduUnpackUInt32, &stats->rlc.reOdrTmrExp, mBuf);
 
    return;
 }