Merge "[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-437] Establishing communication betwee...
[o-du/l2.git] / src / codec_utils / RRC / MeasurementTimingConfigurationRrc.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-InterNodeDefinitions"
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 #include "MeasurementTimingConfigurationRrc.h"
9
10 #include "MeasurementTimingConfigurationRrc-IEs.h"
11 static asn_oer_constraints_t asn_OER_type_c1_constr_3 CC_NOTUSED = {
12         { 0, 0 },
13         -1};
14 static asn_per_constraints_t asn_PER_type_c1_constr_3 CC_NOTUSED = {
15         { APC_CONSTRAINED,       2,  2,  0,  3 }        /* (0..3) */,
16         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
17         0, 0    /* No PER value map */
18 };
19 static asn_oer_constraints_t asn_OER_type_criticalExtensions_constr_2 CC_NOTUSED = {
20         { 0, 0 },
21         -1};
22 static asn_per_constraints_t asn_PER_type_criticalExtensions_constr_2 CC_NOTUSED = {
23         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
24         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
25         0, 0    /* No PER value map */
26 };
27 static asn_TYPE_member_t asn_MBR_c1_3[] = {
28         { ATF_POINTER, 0, offsetof(struct MeasurementTimingConfigurationRrc__criticalExtensions__c1, choice.measTimingConf),
29                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_MeasurementTimingConfigurationRrc_IEs,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "measTimingConf"
36                 },
37         { ATF_NOFLAGS, 0, offsetof(struct MeasurementTimingConfigurationRrc__criticalExtensions__c1, choice.spare3),
38                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
39                 -1,     /* IMPLICIT tag at current level */
40                 &asn_DEF_NULL,
41                 0,
42                 { 0, 0, 0 },
43                 0, 0, /* No default value */
44                 "spare3"
45                 },
46         { ATF_NOFLAGS, 0, offsetof(struct MeasurementTimingConfigurationRrc__criticalExtensions__c1, choice.spare2),
47                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
48                 -1,     /* IMPLICIT tag at current level */
49                 &asn_DEF_NULL,
50                 0,
51                 { 0, 0, 0 },
52                 0, 0, /* No default value */
53                 "spare2"
54                 },
55         { ATF_NOFLAGS, 0, offsetof(struct MeasurementTimingConfigurationRrc__criticalExtensions__c1, choice.spare1),
56                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
57                 -1,     /* IMPLICIT tag at current level */
58                 &asn_DEF_NULL,
59                 0,
60                 { 0, 0, 0 },
61                 0, 0, /* No default value */
62                 "spare1"
63                 },
64 };
65 static const asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = {
66     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measTimingConf */
67     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare3 */
68     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare2 */
69     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* spare1 */
70 };
71 static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = {
72         sizeof(struct MeasurementTimingConfigurationRrc__criticalExtensions__c1),
73         offsetof(struct MeasurementTimingConfigurationRrc__criticalExtensions__c1, _asn_ctx),
74         offsetof(struct MeasurementTimingConfigurationRrc__criticalExtensions__c1, present),
75         sizeof(((struct MeasurementTimingConfigurationRrc__criticalExtensions__c1 *)0)->present),
76         asn_MAP_c1_tag2el_3,
77         4,      /* Count of tags in the map */
78         0, 0,
79         -1      /* Extensions start */
80 };
81 static /* Use -fall-defs-global to expose */
82 asn_TYPE_descriptor_t asn_DEF_c1_3 = {
83         "c1",
84         "c1",
85         &asn_OP_CHOICE,
86         0,      /* No effective tags (pointer) */
87         0,      /* No effective tags (count) */
88         0,      /* No tags (pointer) */
89         0,      /* No tags (count) */
90         { &asn_OER_type_c1_constr_3, &asn_PER_type_c1_constr_3, CHOICE_constraint },
91         asn_MBR_c1_3,
92         4,      /* Elements count */
93         &asn_SPC_c1_specs_3     /* Additional specs */
94 };
95
96 static const ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_8[] = {
97         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
98         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
99 };
100 static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_8 = {
101         sizeof(struct MeasurementTimingConfigurationRrc__criticalExtensions__criticalExtensionsFuture),
102         offsetof(struct MeasurementTimingConfigurationRrc__criticalExtensions__criticalExtensionsFuture, _asn_ctx),
103         0,      /* No top level tags */
104         0,      /* No tags in the map */
105         0, 0, 0,        /* Optional elements (not needed) */
106         -1,     /* First extension addition */
107 };
108 static /* Use -fall-defs-global to expose */
109 asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_8 = {
110         "criticalExtensionsFuture",
111         "criticalExtensionsFuture",
112         &asn_OP_SEQUENCE,
113         asn_DEF_criticalExtensionsFuture_tags_8,
114         sizeof(asn_DEF_criticalExtensionsFuture_tags_8)
115                 /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]) - 1, /* 1 */
116         asn_DEF_criticalExtensionsFuture_tags_8,        /* Same as above */
117         sizeof(asn_DEF_criticalExtensionsFuture_tags_8)
118                 /sizeof(asn_DEF_criticalExtensionsFuture_tags_8[0]), /* 2 */
119         { 0, 0, SEQUENCE_constraint },
120         0, 0,   /* No members */
121         &asn_SPC_criticalExtensionsFuture_specs_8       /* Additional specs */
122 };
123
124 static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = {
125         { ATF_POINTER, 0, offsetof(struct MeasurementTimingConfigurationRrc__criticalExtensions, choice.c1),
126                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
127                 +1,     /* EXPLICIT tag at current level */
128                 &asn_DEF_c1_3,
129                 0,
130                 { 0, 0, 0 },
131                 0, 0, /* No default value */
132                 "c1"
133                 },
134         { ATF_POINTER, 0, offsetof(struct MeasurementTimingConfigurationRrc__criticalExtensions, choice.criticalExtensionsFuture),
135                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
136                 0,
137                 &asn_DEF_criticalExtensionsFuture_8,
138                 0,
139                 { 0, 0, 0 },
140                 0, 0, /* No default value */
141                 "criticalExtensionsFuture"
142                 },
143 };
144 static const asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = {
145     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 */
146     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture */
147 };
148 static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = {
149         sizeof(struct MeasurementTimingConfigurationRrc__criticalExtensions),
150         offsetof(struct MeasurementTimingConfigurationRrc__criticalExtensions, _asn_ctx),
151         offsetof(struct MeasurementTimingConfigurationRrc__criticalExtensions, present),
152         sizeof(((struct MeasurementTimingConfigurationRrc__criticalExtensions *)0)->present),
153         asn_MAP_criticalExtensions_tag2el_2,
154         2,      /* Count of tags in the map */
155         0, 0,
156         -1      /* Extensions start */
157 };
158 static /* Use -fall-defs-global to expose */
159 asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = {
160         "criticalExtensions",
161         "criticalExtensions",
162         &asn_OP_CHOICE,
163         0,      /* No effective tags (pointer) */
164         0,      /* No effective tags (count) */
165         0,      /* No tags (pointer) */
166         0,      /* No tags (count) */
167         { &asn_OER_type_criticalExtensions_constr_2, &asn_PER_type_criticalExtensions_constr_2, CHOICE_constraint },
168         asn_MBR_criticalExtensions_2,
169         2,      /* Elements count */
170         &asn_SPC_criticalExtensions_specs_2     /* Additional specs */
171 };
172
173 static asn_TYPE_member_t asn_MBR_MeasurementTimingConfigurationRrc_1[] = {
174         { ATF_NOFLAGS, 0, offsetof(struct MeasurementTimingConfigurationRrc, criticalExtensions),
175                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
176                 +1,     /* EXPLICIT tag at current level */
177                 &asn_DEF_criticalExtensions_2,
178                 0,
179                 { 0, 0, 0 },
180                 0, 0, /* No default value */
181                 "criticalExtensions"
182                 },
183 };
184 static const ber_tlv_tag_t asn_DEF_MeasurementTimingConfigurationRrc_tags_1[] = {
185         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
186 };
187 static const asn_TYPE_tag2member_t asn_MAP_MeasurementTimingConfigurationRrc_tag2el_1[] = {
188     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions */
189 };
190 static asn_SEQUENCE_specifics_t asn_SPC_MeasurementTimingConfigurationRrc_specs_1 = {
191         sizeof(struct MeasurementTimingConfigurationRrc),
192         offsetof(struct MeasurementTimingConfigurationRrc, _asn_ctx),
193         asn_MAP_MeasurementTimingConfigurationRrc_tag2el_1,
194         1,      /* Count of tags in the map */
195         0, 0, 0,        /* Optional elements (not needed) */
196         -1,     /* First extension addition */
197 };
198 asn_TYPE_descriptor_t asn_DEF_MeasurementTimingConfigurationRrc = {
199         "MeasurementTimingConfigurationRrc",
200         "MeasurementTimingConfigurationRrc",
201         &asn_OP_SEQUENCE,
202         asn_DEF_MeasurementTimingConfigurationRrc_tags_1,
203         sizeof(asn_DEF_MeasurementTimingConfigurationRrc_tags_1)
204                 /sizeof(asn_DEF_MeasurementTimingConfigurationRrc_tags_1[0]), /* 1 */
205         asn_DEF_MeasurementTimingConfigurationRrc_tags_1,       /* Same as above */
206         sizeof(asn_DEF_MeasurementTimingConfigurationRrc_tags_1)
207                 /sizeof(asn_DEF_MeasurementTimingConfigurationRrc_tags_1[0]), /* 1 */
208         { 0, 0, SEQUENCE_constraint },
209         asn_MBR_MeasurementTimingConfigurationRrc_1,
210         1,      /* Elements count */
211         &asn_SPC_MeasurementTimingConfigurationRrc_specs_1      /* Additional specs */
212 };
213