5b27df7c65a17dbc93a12de5a1adc00286c92abf
[o-du/l2.git] / src / cm / l2_tenb_stats.x
1 /*******************************************************************************
2 ################################################################################
3 #   Copyright (c) [2017-2019] [Radisys]                                        #
4 #                                                                              #
5 #   Licensed under the Apache License, Version 2.0 (the "License");            #
6 #   you may not use this file except in compliance with the License.           #
7 #   You may obtain a copy of the License at                                    #
8 #                                                                              #
9 #       http://www.apache.org/licenses/LICENSE-2.0                             #
10 #                                                                              #
11 #   Unless required by applicable law or agreed to in writing, software        #
12 #   distributed under the License is distributed on an "AS IS" BASIS,          #
13 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
14 #   See the License for the specific language governing permissions and        #
15 #   limitations under the License.                                             #
16 ################################################################################
17 *******************************************************************************/
18
19 /**********************************************************************
20  
21     Name:  
22  
23     Type:  
24  
25     Desc:  
26  
27     File:  l2_tenb_stats.x 
28  
29 **********************************************************************/
30  
31 /** @file l2_tenb_stats.x
32 */
33
34 #ifdef TENB_STATS
35 #ifndef __TENBSTATSL2X__
36 #define __TENBSTATSL2X__
37
38 #include "cm_tenb_stats.x"
39 #include "l2_tenb_stats.h"
40  
41 #ifdef __cplusplus
42 extern "C" {
43 #endif /* __cplusplus */
44
45 typedef TSInfL2CellStats TSL2CellStatsCb;
46
47 typedef struct tSL2UeStatsCb
48 {
49    CmLList         lnk;
50    uint32_t             inUse;
51
52    TSInfL2UeStats  stats;
53 }TSL2UeStatsCb;
54
55 Void TSL2AllocStatsMem ARGS((
56  Region region,
57  Pool   pool
58 ));
59 TSL2UeStatsCb* TSL2AllocUeStatsBlk ARGS((
60  uint16_t   rnti
61 ));
62 Void TSL2DeallocUeStatsBlk ARGS((
63  uint16_t         rnti,
64  TSL2UeStatsCb   *statsCb
65 ));
66 TSL2CellStatsCb* TSL2AllocCellStatsBlk ARGS((
67  uint32_t cellId
68 ));
69 Void TSL2DeallocCellStatsBlk ARGS((
70  uint32_t cellId
71 ));
72 Void TSL2SendStatsToApp ARGS((
73  Pst    *pst,
74  SuId   suId
75 ));
76
77 #ifdef __cplusplus
78 }
79 #endif /* __cplusplus */
80 #endif /* __TENBSTATSL2X__ */
81 #endif /* TENB_STATS */
82
83 /**********************************************************************
84          End of file
85 **********************************************************************/