[JIRA ID: ODUHIGH-253]-sliv cfg table implementation
[o-du/l2.git] / src / cm / cm_tenb_stats.c
index 538d926..b0ca7f7 100755 (executable)
 #include "cm_tenb_stats.x"    /* Total EnodeB Stats declarations */
 
 #ifdef TENB_STATS
-PRIVATE Void TSInfUtlPackUeInfo ARGS((
+static Void TSInfUtlPackUeInfo ARGS((
  Buffer            *mBuf,
  TSInfL2UeStats     *stats 
 ));
-PRIVATE Void TSInfUtlPackCellInfo ARGS((
+static Void TSInfUtlPackCellInfo ARGS((
  Buffer              *mBuf,
  TSInfL2CellStats     *stats 
 ));
-PRIVATE Void TSInfUtlUnpkUeInfo ARGS((
+static Void TSInfUtlUnpkUeInfo ARGS((
  Buffer            *mBuf,
  TSInfL2UeStats     *stats 
 ));
-PRIVATE Void TSInfUtlUnpkCellInfo ARGS((
+static Void TSInfUtlUnpkCellInfo ARGS((
  Buffer              *mBuf,
  TSInfL2CellStats     *stats
 ));
-PRIVATE Buffer* TSInfUtlAllocMsg ARGS((
+static Buffer* TSInfUtlAllocMsg ARGS((
  Pst   *pst
 ));
  
@@ -101,13 +101,13 @@ PRIVATE Buffer* TSInfUtlAllocMsg ARGS((
 *
 */
 #ifdef ANSI
-PRIVATE Void TSInfTrigL2Stats
+static Void TSInfTrigL2Stats
 (
  Region    region,
  Pool      pool
 )
 #else
-PRIVATE Void TSInfTrigL2Stats(region, pool)
+static Void TSInfTrigL2Stats(region, pool)
  Region    region;
  Pool      pool;
 #endif
@@ -128,7 +128,7 @@ PRIVATE Void TSInfTrigL2Stats(region, pool)
    pst.event = TENBSTATSINIT; 
    SPstTsk(&pst, pBuf);
 
-   RETVOID;
+   return;
 }
 
 /*
@@ -158,17 +158,17 @@ Void TSInfTrigStats(region, pool)
 //TODO
    TSInfTrigL2Stats(region, pool);
 
-   RETVOID;
+   return;
 }
 
          
 #ifdef ANSI
-PRIVATE Buffer* TSInfUtlAllocMsg
+static Buffer* TSInfUtlAllocMsg
 (
  Pst   *pst
 )
 #else
-PRIVATE Buffer* TSInfUtlAllocMsg(pst)
+static Buffer* TSInfUtlAllocMsg(pst)
  Pst   *pst;
 #endif
 {
@@ -182,19 +182,19 @@ PRIVATE Buffer* TSInfUtlAllocMsg(pst)
 }
 
 #ifdef ANSI
-PRIVATE Void TSInfUtlPackUeInfo
+static Void TSInfUtlPackUeInfo
 (
  Buffer            *mBuf,
  TSInfL2UeStats     *stats
 )
 #else
-PRIVATE Void TSInfUtlPackUeInfo(mBuf, stats)
+static Void TSInfUtlPackUeInfo(mBuf, stats)
  Buffer            *mBuf;
  TSInfL2UeStats     *stats; 
 #endif
 {
    S32 i;
-   U32 k;
+   uint32_t k;
 
 
    CMCHKPK(oduUnpackUInt32, stats->persistent.numDeactivation, mBuf);
@@ -259,17 +259,17 @@ PRIVATE Void TSInfUtlPackUeInfo(mBuf, stats)
       CMCHKPK(oduUnpackUInt32, stats->nonPersistent.sch[k].dlTxOccns, mBuf);
    }
    CMCHKPK(oduUnpackUInt32, stats->rnti, mBuf);
-   RETVOID;
+   return;
 }
 
 #ifdef ANSI
-PRIVATE Void TSInfUtlPackCellInfo
+static Void TSInfUtlPackCellInfo
 (
  Buffer              *mBuf,
  TSInfL2CellStats     *stats  
 )
 #else
-PRIVATE Void TSInfUtlPackCellInfo(mBuf, stats)
+static Void TSInfUtlPackCellInfo(mBuf, stats)
  Buffer              *mBuf;
  TSInfL2CellStats     *stats; 
 #endif
@@ -375,23 +375,23 @@ PRIVATE Void TSInfUtlPackCellInfo(mBuf, stats)
 
    CMCHKPK(oduUnpackUInt32, stats->cellId, mBuf);
 
-   RETVOID;
+   return;
 }
 
 #ifdef ANSI
-PRIVATE Void TSInfUtlUnpkUeInfo
+static Void TSInfUtlUnpkUeInfo
 (
  Buffer            *mBuf,
  TSInfL2UeStats     *stats 
 )
 #else
-PRIVATE Void TSInfUtlUnpkUeInfo(mBuf, stats)
+static Void TSInfUtlUnpkUeInfo(mBuf, stats)
  Buffer            *mBuf;
  TSInfL2UeStats     *stats; 
 #endif
 {
    S32 i;
-   U32 k;
+   uint32_t k;
 
 
    CMCHKUNPK(oduPackUInt32, &stats->rnti, mBuf);
@@ -457,17 +457,17 @@ PRIVATE Void TSInfUtlUnpkUeInfo(mBuf, stats)
    CMCHKUNPK(oduPackUInt32, &stats->persistent.numActivation, mBuf);
    CMCHKUNPK(oduPackUInt32, &stats->persistent.numDeactivation, mBuf);
 
-   RETVOID;
+   return;
 }
 
 #ifdef ANSI
-PRIVATE Void TSInfUtlUnpkCellInfo
+static Void TSInfUtlUnpkCellInfo
 (
  Buffer              *mBuf,
  TSInfL2CellStats     *stats 
 )
 #else
-PRIVATE Void TSInfUtlUnpkCellInfo(mBuf, stats)
+static Void TSInfUtlUnpkCellInfo(mBuf, stats)
  Buffer              *mBuf;
  TSInfL2CellStats     *stats; 
 #endif
@@ -573,7 +573,7 @@ PRIVATE Void TSInfUtlUnpkCellInfo(mBuf, stats)
    CMCHKUNPK(oduPackUInt32, &stats->rlc.maxRlcDrbRetxFail, mBuf);
    CMCHKUNPK(oduPackUInt32, &stats->rlc.reOdrTmrExp, mBuf);
 
-   RETVOID;
+   return;
 }
 
 #ifdef ANSI
@@ -598,7 +598,7 @@ Void TSInfPkSndL2UeStats(pst, suId, stats)
    SPkS16(suId, mBuf);
    pst->event = (Event) EVTTENBL2UESTATS;
    SPstTsk(pst, mBuf);
-   RETVOID;
+   return;
 }
 
 #ifdef ANSI
@@ -623,7 +623,7 @@ Void TSInfUnpkL2UeStats(func, pst, mBuf)
    TSInfUtlUnpkUeInfo(mBuf, &stats);
    SPutMsg(mBuf);
    (*func)(pst, suId, &stats);
-   RETVOID;
+   return;
 }
 
 #ifdef ANSI
@@ -648,7 +648,7 @@ Void TSInfPkSndL2CellStats(pst, suId, stats)
    SPkS16(suId, mBuf);
    pst->event = (Event) EVTTENBL2CELLSTATS;
    SPstTsk(pst, mBuf);
-   RETVOID;
+   return;
 }
 
 #ifdef ANSI
@@ -673,7 +673,7 @@ Void TSInfUnpkL2CellStats(func, pst, mBuf)
    TSInfUtlUnpkCellInfo(mBuf, &stats);
    SPutMsg(mBuf);
    (*func)(pst, suId, &stats);
-   RETVOID;
+   return;
 }
 #endif /* TENB_STATS */