5957cc153358fdc9507efb3ec17936290754d725
[o-du/l2.git] / src / 5gnrsch / rg_sch_hdfdd.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:    LTE MAC HD-FDD 
21
22      Type:    C header file
23
24      Desc:    Defines required by HD-FDD 
25
26      File:    rg_sch_hdfdd.h
27
28 *********************************************************************21*/
29
30 \f
31 #ifndef __RGSCHHDFDDH__
32 #define __RGSCHHDFDDH__ 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36
37 /* Half Duplex Specific defines */
38 /* Maximum Number of subframes information managed */
39 #define RG_SCH_HDFDD_MAXSUB_INFO   20 
40  
41 /* Subframe States */
42 #define RG_SCH_SF_DFLT_STATE    0x00
43 #define RG_SCH_SF_DLDATA_STATE  0x01
44 #define RG_SCH_SF_DLCNTRL_STATE 0x02
45 #define RG_SCH_SF_ULDATA_CNTRL_STATE 0x04
46  
47 /* To get the BCH is present or not at subframe */
48 #define RG_SCH_BCCH_TRUE_FALSE( _time, _bchTrue)\
49 {\
50   _bchTrue = FALSE;\
51   /* Call the API is provided by SI module */ \
52 }
53
54 #ifdef __cplusplus
55 }
56 #endif
57 #endif /* __RGSCHCMNH__ */
58
59 /********************************************************************30**
60
61          End of file
62 **********************************************************************/