[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / EUTRA-MBSFN-SubframeConfig.h
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "../../../rrc_15.3_asn.asn1"
5  *      `asn1c -D ./25_02_2022_RRC/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #ifndef _EUTRA_MBSFN_SubframeConfig_H_
9 #define _EUTRA_MBSFN_SubframeConfig_H_
10
11
12 #include <asn_application.h>
13
14 /* Including external dependencies */
15 #include <NativeEnumerated.h>
16 #include <NativeInteger.h>
17 #include <BIT_STRING.h>
18 #include <constr_CHOICE.h>
19 #include <constr_SEQUENCE.h>
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 /* Dependencies */
26 typedef enum EUTRA_MBSFN_SubframeConfig__radioframeAllocationPeriod {
27         EUTRA_MBSFN_SubframeConfig__radioframeAllocationPeriod_n1       = 0,
28         EUTRA_MBSFN_SubframeConfig__radioframeAllocationPeriod_n2       = 1,
29         EUTRA_MBSFN_SubframeConfig__radioframeAllocationPeriod_n4       = 2,
30         EUTRA_MBSFN_SubframeConfig__radioframeAllocationPeriod_n8       = 3,
31         EUTRA_MBSFN_SubframeConfig__radioframeAllocationPeriod_n16      = 4,
32         EUTRA_MBSFN_SubframeConfig__radioframeAllocationPeriod_n32      = 5
33 } e_EUTRA_MBSFN_SubframeConfig__radioframeAllocationPeriod;
34 typedef enum EUTRA_MBSFN_SubframeConfig__subframeAllocation1_PR {
35         EUTRA_MBSFN_SubframeConfig__subframeAllocation1_PR_NOTHING,     /* No components present */
36         EUTRA_MBSFN_SubframeConfig__subframeAllocation1_PR_oneFrame,
37         EUTRA_MBSFN_SubframeConfig__subframeAllocation1_PR_fourFrames
38 } EUTRA_MBSFN_SubframeConfig__subframeAllocation1_PR;
39 typedef enum EUTRA_MBSFN_SubframeConfig__subframeAllocation2_PR {
40         EUTRA_MBSFN_SubframeConfig__subframeAllocation2_PR_NOTHING,     /* No components present */
41         EUTRA_MBSFN_SubframeConfig__subframeAllocation2_PR_oneFrame,
42         EUTRA_MBSFN_SubframeConfig__subframeAllocation2_PR_fourFrames
43 } EUTRA_MBSFN_SubframeConfig__subframeAllocation2_PR;
44
45 /* EUTRA-MBSFN-SubframeConfig */
46 typedef struct EUTRA_MBSFN_SubframeConfig {
47         long     radioframeAllocationPeriod;
48         long     radioframeAllocationOffset;
49         struct EUTRA_MBSFN_SubframeConfig__subframeAllocation1 {
50                 EUTRA_MBSFN_SubframeConfig__subframeAllocation1_PR present;
51                 union EUTRA_MBSFN_SubframeConfig__subframeAllocation1_u {
52                         BIT_STRING_t     oneFrame;
53                         BIT_STRING_t     fourFrames;
54                 } choice;
55                 
56                 /* Context for parsing across buffer boundaries */
57                 asn_struct_ctx_t _asn_ctx;
58         } subframeAllocation1;
59         struct EUTRA_MBSFN_SubframeConfig__subframeAllocation2 {
60                 EUTRA_MBSFN_SubframeConfig__subframeAllocation2_PR present;
61                 union EUTRA_MBSFN_SubframeConfig__subframeAllocation2_u {
62                         BIT_STRING_t     oneFrame;
63                         BIT_STRING_t     fourFrames;
64                 } choice;
65                 
66                 /* Context for parsing across buffer boundaries */
67                 asn_struct_ctx_t _asn_ctx;
68         } *subframeAllocation2;
69         /*
70          * This type is extensible,
71          * possible extensions are below.
72          */
73         
74         /* Context for parsing across buffer boundaries */
75         asn_struct_ctx_t _asn_ctx;
76 } EUTRA_MBSFN_SubframeConfig_t;
77
78 /* Implementation */
79 /* extern asn_TYPE_descriptor_t asn_DEF_radioframeAllocationPeriod_2;   // (Use -fall-defs-global to expose) */
80 extern asn_TYPE_descriptor_t asn_DEF_EUTRA_MBSFN_SubframeConfig;
81 extern asn_SEQUENCE_specifics_t asn_SPC_EUTRA_MBSFN_SubframeConfig_specs_1;
82 extern asn_TYPE_member_t asn_MBR_EUTRA_MBSFN_SubframeConfig_1[4];
83
84 #ifdef __cplusplus
85 }
86 #endif
87
88 #endif  /* _EUTRA_MBSFN_SubframeConfig_H_ */
89 #include <asn_internal.h>