Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[Epic-ID: ODUHIGH-464][Task-ID: ODUHIGH-478] WG8 Alignment | The First
[o-du/l2.git]
/
src
/
cm
/
cm_tenb_stats.c
diff --git
a/src/cm/cm_tenb_stats.c
b/src/cm/cm_tenb_stats.c
index
b0ca7f7
..
244bff9
100755
(executable)
--- a/
src/cm/cm_tenb_stats.c
+++ b/
src/cm/cm_tenb_stats.c
@@
-50,7
+50,7
@@
#include "cm_lte.h" /* Common LTE header file */
#include "cm_llist.h" /* Linked list header file */
#include "cm_tkns.h" /* Common tokens header file */
#include "cm_lte.h" /* Common LTE header file */
#include "cm_llist.h" /* Linked list header file */
#include "cm_tkns.h" /* Common tokens header file */
-
+#include "du_log.h"
/* header/extern include files (.x) */
/* header/extern include files (.x) */
@@
-100,17
+100,7
@@
static Buffer* TSInfUtlAllocMsg ARGS((
*
*
*/
*
*
*/
-#ifdef ANSI
-static Void TSInfTrigL2Stats
-(
- Region region,
- Pool pool
-)
-#else
-static Void TSInfTrigL2Stats(region, pool)
- Region region;
- Pool pool;
-#endif
+static Void TSInfTrigL2Stats(Region region,Pool pool)
{
Buffer* pBuf;
Pst pst = {0};
{
Buffer* pBuf;
Pst pst = {0};
@@
-143,17
+133,7
@@
static Void TSInfTrigL2Stats(region, pool)
*
*
*/
*
*
*/
-#ifdef ANSI
-Void TSInfTrigStats
-(
- Region region,
- Pool pool
-)
-#else
-Void TSInfTrigStats(region, pool)
- Region region;
- Pool pool;
-#endif
+Void TSInfTrigStats(Region region,Pool pool)
{
//TODO
TSInfTrigL2Stats(region, pool);
{
//TODO
TSInfTrigL2Stats(region, pool);
@@
-162,36
+142,18
@@
Void TSInfTrigStats(region, pool)
}
}
-#ifdef ANSI
-static Buffer* TSInfUtlAllocMsg
-(
- Pst *pst
-)
-#else
-static Buffer* TSInfUtlAllocMsg(pst)
- Pst *pst;
-#endif
+static Buffer* TSInfUtlAllocMsg(Pst *pst)
{
Buffer *mBuf;
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
{
Buffer *mBuf;
if (SGetMsg(pst->region, pst->pool, &mBuf) != ROK) {
-
printf("\n
MBuf Allocation failed\n");
+
DU_LOG("\nERROR --> RLC :
MBuf Allocation failed\n");
}
return (mBuf);
}
}
return (mBuf);
}
-#ifdef ANSI
-static Void TSInfUtlPackUeInfo
-(
- Buffer *mBuf,
- TSInfL2UeStats *stats
-)
-#else
-static Void TSInfUtlPackUeInfo(mBuf, stats)
- Buffer *mBuf;
- TSInfL2UeStats *stats;
-#endif
+static Void TSInfUtlPackUeInfo(Buffer *mBuf,TSInfL2UeStats *stats)
{
S32 i;
uint32_t k;
{
S32 i;
uint32_t k;
@@
-262,17
+224,7
@@
static Void TSInfUtlPackUeInfo(mBuf, stats)
return;
}
return;
}
-#ifdef ANSI
-static Void TSInfUtlPackCellInfo
-(
- Buffer *mBuf,
- TSInfL2CellStats *stats
-)
-#else
-static Void TSInfUtlPackCellInfo(mBuf, stats)
- Buffer *mBuf;
- TSInfL2CellStats *stats;
-#endif
+static Void TSInfUtlPackCellInfo(Buffer *mBuf,TSInfL2CellStats *stats )
{
S32 i,j;
{
S32 i,j;
@@
-378,17
+330,7
@@
static Void TSInfUtlPackCellInfo(mBuf, stats)
return;
}
return;
}
-#ifdef ANSI
-static Void TSInfUtlUnpkUeInfo
-(
- Buffer *mBuf,
- TSInfL2UeStats *stats
-)
-#else
-static Void TSInfUtlUnpkUeInfo(mBuf, stats)
- Buffer *mBuf;
- TSInfL2UeStats *stats;
-#endif
+static Void TSInfUtlUnpkUeInfo(Buffer *mBuf, TSInfL2UeStats *stats )
{
S32 i;
uint32_t k;
{
S32 i;
uint32_t k;
@@
-460,17
+402,7
@@
static Void TSInfUtlUnpkUeInfo(mBuf, stats)
return;
}
return;
}
-#ifdef ANSI
-static Void TSInfUtlUnpkCellInfo
-(
- Buffer *mBuf,
- TSInfL2CellStats *stats
-)
-#else
-static Void TSInfUtlUnpkCellInfo(mBuf, stats)
- Buffer *mBuf;
- TSInfL2CellStats *stats;
-#endif
+static Void TSInfUtlUnpkCellInfo(Buffer *mBuf,TSInfL2CellStats *stats )
{
S32 i,j;
{
S32 i,j;
@@
-576,19
+508,7
@@
static Void TSInfUtlUnpkCellInfo(mBuf, stats)
return;
}
return;
}
-#ifdef ANSI
-Void TSInfPkSndL2UeStats
-(
- Pst *pst,
- SuId suId,
- TSInfL2UeStats *stats
-)
-#else
-Void TSInfPkSndL2UeStats(pst, suId, stats)
- Pst *pst;
- SuId suId;
- TSInfL2UeStats *stats;
-#endif
+Void TSInfPkSndL2UeStats(Pst *pst,SuId suId,TSInfL2UeStats *stats)
{
Buffer *mBuf;
{
Buffer *mBuf;
@@
-601,24
+521,11
@@
Void TSInfPkSndL2UeStats(pst, suId, stats)
return;
}
return;
}
-#ifdef ANSI
-Void TSInfUnpkL2UeStats
-(
- TSInfL2UeStatsInd func,
- Pst *pst,
- Buffer *mBuf
-)
-#else
-Void TSInfUnpkL2UeStats(func, pst, mBuf)
- TSInfL2UeStatsInd func;
- Pst *pst;
- Buffer *mBuf;
-#endif
+Void TSInfUnpkL2UeStats(TSInfL2UeStatsInd func, Pst *pst,Buffer *mBuf)
{
SuId suId;
TSInfL2UeStats stats;
{
SuId suId;
TSInfL2UeStats stats;
-
SUnpkS16(&suId, mBuf);
TSInfUtlUnpkUeInfo(mBuf, &stats);
SPutMsg(mBuf);
SUnpkS16(&suId, mBuf);
TSInfUtlUnpkUeInfo(mBuf, &stats);
SPutMsg(mBuf);
@@
-626,23
+533,10
@@
Void TSInfUnpkL2UeStats(func, pst, mBuf)
return;
}
return;
}
-#ifdef ANSI
-Void TSInfPkSndL2CellStats
-(
- Pst *pst,
- SuId suId,
- TSInfL2CellStats *stats
-)
-#else
-Void TSInfPkSndL2CellStats(pst, suId, stats)
- Pst *pst;
- SuId suId;
- TSInfL2Cellstats *stats;
-#endif
+Void TSInfPkSndL2CellStats(Pst *pst,SuId suId,TSInfL2CellStats *stats )
{
Buffer *mBuf;
{
Buffer *mBuf;
-
mBuf = TSInfUtlAllocMsg(pst);
TSInfUtlPackCellInfo(mBuf, stats);
SPkS16(suId, mBuf);
mBuf = TSInfUtlAllocMsg(pst);
TSInfUtlPackCellInfo(mBuf, stats);
SPkS16(suId, mBuf);
@@
-651,19
+545,7
@@
Void TSInfPkSndL2CellStats(pst, suId, stats)
return;
}
return;
}
-#ifdef ANSI
-Void TSInfUnpkL2CellStats
-(
- TSInfL2CellStatsInd func,
- Pst *pst,
- Buffer *mBuf
-)
-#else
-Void TSInfUnpkL2CellStats(func, pst, mBuf)
- TSInfL2CellStatsInd func;
- Pst *pst;
- Buffer *mBuf;
-#endif
+Void TSInfUnpkL2CellStats(TSInfL2CellStatsInd func,Pst *pst,Buffer *mBuf)
{
SuId suId;
TSInfL2CellStats stats;
{
SuId suId;
TSInfL2CellStats stats;