Merge "Cell down alarm notification [Issue-Id: ODUHIGH-430]"
[o-du/l2.git] / src / codec_utils / RRC / CFRA.h
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "./22April22_Paging/rrc_15.3_asn.asn1"
5  *      `asn1c -D ./22April22_Paging -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #ifndef _CFRA_H_
9 #define _CFRA_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include "RACH-ConfigGeneric.h"
16 #include <NativeEnumerated.h>
17 #include <constr_SEQUENCE.h>
18 #include <NativeInteger.h>
19 #include <asn_SEQUENCE_OF.h>
20 #include <constr_SEQUENCE_OF.h>
21 #include "RSRP-Range.h"
22 #include <constr_CHOICE.h>
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 /* Dependencies */
29 typedef enum CFRA__occasions__ssb_perRACH_Occasion {
30         CFRA__occasions__ssb_perRACH_Occasion_oneEighth = 0,
31         CFRA__occasions__ssb_perRACH_Occasion_oneFourth = 1,
32         CFRA__occasions__ssb_perRACH_Occasion_oneHalf   = 2,
33         CFRA__occasions__ssb_perRACH_Occasion_one       = 3,
34         CFRA__occasions__ssb_perRACH_Occasion_two       = 4,
35         CFRA__occasions__ssb_perRACH_Occasion_four      = 5,
36         CFRA__occasions__ssb_perRACH_Occasion_eight     = 6,
37         CFRA__occasions__ssb_perRACH_Occasion_sixteen   = 7
38 } e_CFRA__occasions__ssb_perRACH_Occasion;
39 typedef enum CFRA__resources_PR {
40         CFRA__resources_PR_NOTHING,     /* No components present */
41         CFRA__resources_PR_ssb,
42         CFRA__resources_PR_csirs
43 } CFRA__resources_PR;
44
45 /* Forward declarations */
46 struct CFRA_SSB_Resource;
47 struct CFRA_CSIRS_Resource;
48
49 /* CFRA */
50 typedef struct CFRA {
51         struct CFRA__occasions {
52                 RACH_ConfigGeneric_t     rach_ConfigGeneric;
53                 long    *ssb_perRACH_Occasion;  /* OPTIONAL */
54                 
55                 /* Context for parsing across buffer boundaries */
56                 asn_struct_ctx_t _asn_ctx;
57         } *occasions;
58         struct CFRA__resources {
59                 CFRA__resources_PR present;
60                 union CFRA__resources_u {
61                         struct CFRA__resources__ssb {
62                                 struct CFRA__resources__ssb__ssb_ResourceList {
63                                         A_SEQUENCE_OF(struct CFRA_SSB_Resource) list;
64                                         
65                                         /* Context for parsing across buffer boundaries */
66                                         asn_struct_ctx_t _asn_ctx;
67                                 } ssb_ResourceList;
68                                 long     ra_ssb_OccasionMaskIndex;
69                                 
70                                 /* Context for parsing across buffer boundaries */
71                                 asn_struct_ctx_t _asn_ctx;
72                         } *ssb;
73                         struct CFRA__resources__csirs {
74                                 struct CFRA__resources__csirs__csirs_ResourceList {
75                                         A_SEQUENCE_OF(struct CFRA_CSIRS_Resource) list;
76                                         
77                                         /* Context for parsing across buffer boundaries */
78                                         asn_struct_ctx_t _asn_ctx;
79                                 } csirs_ResourceList;
80                                 RSRP_Range_t     rsrp_ThresholdCSI_RS;
81                                 
82                                 /* Context for parsing across buffer boundaries */
83                                 asn_struct_ctx_t _asn_ctx;
84                         } *csirs;
85                 } choice;
86                 
87                 /* Context for parsing across buffer boundaries */
88                 asn_struct_ctx_t _asn_ctx;
89         } resources;
90         /*
91          * This type is extensible,
92          * possible extensions are below.
93          */
94         struct CFRA__ext1 {
95                 long    *totalNumberOfRA_Preambles_v1530;       /* OPTIONAL */
96                 
97                 /* Context for parsing across buffer boundaries */
98                 asn_struct_ctx_t _asn_ctx;
99         } *ext1;
100         
101         /* Context for parsing across buffer boundaries */
102         asn_struct_ctx_t _asn_ctx;
103 } CFRA_t;
104
105 /* Implementation */
106 /* extern asn_TYPE_descriptor_t asn_DEF_ssb_perRACH_Occasion_4; // (Use -fall-defs-global to expose) */
107 extern asn_TYPE_descriptor_t asn_DEF_CFRA;
108 extern asn_SEQUENCE_specifics_t asn_SPC_CFRA_specs_1;
109 extern asn_TYPE_member_t asn_MBR_CFRA_1[3];
110
111 #ifdef __cplusplus
112 }
113 #endif
114
115 #endif  /* _CFRA_H_ */
116 #include <asn_internal.h>