99363df578a144c849b35adc9fc9a8f55f54a714
[o-du/l2.git] / src / cm / rgm.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      Name:    Upper Layer Interface - RLC
21
22      Type:    C header file
23
24      Desc:    Structures, variables and typedefs required by 
25               RGM interface
26
27      File:    rgm.h
28
29 *********************************************************************21*/
30
31 \f
32 #ifndef __RGMH__
33 #define __RGMH__
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 /** 
39   @file rgm.h 
40   @brief Defines for RGM interface.
41  */
42
43
44 /***********************************************************************
45                          Macro Definitions 
46  ***********************************************************************/
47
48 /* Event corresponding to each primitive at this interface */
49 #define EVTRGMBASEEVT      0     /*!< Bind Request */
50 #define EVTRGMBNDREQ       1     /*!< Bind Request */
51 #define EVTRGMUBNDREQ      2     /*!< Un-Bind Request */
52 #define EVTRGMBNDCFM       3     /*!< Bind Confirm */
53 #define EVTRGMCFGPRBRPRT   4     /*!< PRB Report Configuration */
54 #define EVTRGMPRBRPRTIND   5     /*!< PRB report Indication */
55 #define EVTRGMTRANSMODEIND 6     /*!< Trans Mode Chg Indication */
56 #define EVTRGMMAX          7
57
58
59 /* selector(coupling) values */
60 #define RGM_SEL_LC              0
61 #define RGM_SEL_LWLC            1
62 #define RGM_SEL_TC              2
63
64 #define RGM_UBNDREQ_MNGMT       1    /*!< TFU sap unbind reason */
65 /* RRM_SP1_START */
66 /* Rgm Prb Usage Info */
67 #define RGM_PRB_USAGE_UL        1    /* Only UL - Mode TDD */ 
68 #define RGM_PRB_USAGE_DL        2    /* Only DL - Mode TDD */
69 /* RRM_SP1_END */
70
71
72 #ifdef __cplusplus
73 }
74 #endif
75 #endif /* __RGMH__ */
76
77 /********************************************************************30**
78
79          End of file
80 **********************************************************************/