Initial commit
[o-du/l2.git] / src / cm / cm_tenb_stats.h
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:  cm_tenb_stats.h
28  
29 **********************************************************************/
30  
31 /** @file cm_tenb_stats.h
32 */
33  
34 #ifdef TENB_STATS
35 #ifndef __TENBSTATSINFH__
36 #define __TENBSTATSINFH__
37
38 #ifdef __cplusplus
39 extern "C" {
40 #endif /* __cplusplus */
41
42 #define TENBSTATSINIT       0x7F
43
44 #ifdef BRDCM
45 #define CL_DSTENT_SELECTOR 0
46 #define STATS_SRCPROCID 1 
47 #define STATS_DSTPROCID 1 
48 #define STATS_DSTENT    ENTPJ
49 #define STATS_DSTINST   0        /* PDCP UL */
50 #else /* BRDCM */
51 #ifdef MSPD
52 #define CL_DSTENT_SELECTOR 0
53 #ifdef L2_L3_SPLIT
54 #define STATS_SRCPROCID 1
55 #define STATS_DSTPROCID 1 
56 #define STATS_DSTENT    ENTKW
57 #else
58 #define STATS_SRCPROCID 100
59 #define STATS_DSTPROCID 100 
60 #define STATS_DSTENT    ENTKW
61 #endif /* L2_L3_SPLIT */
62
63 #define STATS_DSTINST   0        /* PDCP UL */
64 #else /* MSPD */
65 #define CL_DSTENT_SELECTOR 0
66 #define STATS_SRCPROCID 0
67 #define STATS_DSTPROCID 0 
68 #define STATS_DSTENT    ENTPJ
69 #define STATS_DSTINST   0        /* PDCP UL */
70 #endif /* MSPD */
71 #endif
72
73 #define STATS_SRCENT    ENTTF
74
75 #define EVTTENBL2CELLSTATS  0xF1
76 #define EVTTENBL2UESTATS    0xF2
77
78 #endif
79 #endif /* TENB_STATS */
80 /**********************************************************************
81          End of file
82 **********************************************************************/