[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / MeasGapSharingConfig.c
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 #include "MeasGapSharingConfig.h"
9
10 static asn_oer_constraints_t asn_OER_type_gapSharingFR2_constr_2 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
13 static asn_per_constraints_t asn_PER_type_gapSharingFR2_constr_2 CC_NOTUSED = {
14         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 static asn_oer_constraints_t asn_OER_type_gapSharingFR1_constr_7 CC_NOTUSED = {
19         { 0, 0 },
20         -1};
21 static asn_per_constraints_t asn_PER_type_gapSharingFR1_constr_7 CC_NOTUSED = {
22         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
23         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
24         0, 0    /* No PER value map */
25 };
26 static asn_oer_constraints_t asn_OER_type_gapSharingUE_constr_10 CC_NOTUSED = {
27         { 0, 0 },
28         -1};
29 static asn_per_constraints_t asn_PER_type_gapSharingUE_constr_10 CC_NOTUSED = {
30         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
31         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
32         0, 0    /* No PER value map */
33 };
34 static asn_TYPE_member_t asn_MBR_gapSharingFR2_2[] = {
35         { ATF_NOFLAGS, 0, offsetof(struct MeasGapSharingConfig__gapSharingFR2, choice.release),
36                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
37                 -1,     /* IMPLICIT tag at current level */
38                 &asn_DEF_NULL,
39                 0,
40                 { 0, 0, 0 },
41                 0, 0, /* No default value */
42                 "release"
43                 },
44         { ATF_NOFLAGS, 0, offsetof(struct MeasGapSharingConfig__gapSharingFR2, choice.setup),
45                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
46                 -1,     /* IMPLICIT tag at current level */
47                 &asn_DEF_MeasGapSharingScheme,
48                 0,
49                 { 0, 0, 0 },
50                 0, 0, /* No default value */
51                 "setup"
52                 },
53 };
54 static const asn_TYPE_tag2member_t asn_MAP_gapSharingFR2_tag2el_2[] = {
55     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
56     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
57 };
58 static asn_CHOICE_specifics_t asn_SPC_gapSharingFR2_specs_2 = {
59         sizeof(struct MeasGapSharingConfig__gapSharingFR2),
60         offsetof(struct MeasGapSharingConfig__gapSharingFR2, _asn_ctx),
61         offsetof(struct MeasGapSharingConfig__gapSharingFR2, present),
62         sizeof(((struct MeasGapSharingConfig__gapSharingFR2 *)0)->present),
63         asn_MAP_gapSharingFR2_tag2el_2,
64         2,      /* Count of tags in the map */
65         0, 0,
66         -1      /* Extensions start */
67 };
68 static /* Use -fall-defs-global to expose */
69 asn_TYPE_descriptor_t asn_DEF_gapSharingFR2_2 = {
70         "gapSharingFR2",
71         "gapSharingFR2",
72         &asn_OP_CHOICE,
73         0,      /* No effective tags (pointer) */
74         0,      /* No effective tags (count) */
75         0,      /* No tags (pointer) */
76         0,      /* No tags (count) */
77         { &asn_OER_type_gapSharingFR2_constr_2, &asn_PER_type_gapSharingFR2_constr_2, CHOICE_constraint },
78         asn_MBR_gapSharingFR2_2,
79         2,      /* Elements count */
80         &asn_SPC_gapSharingFR2_specs_2  /* Additional specs */
81 };
82
83 static asn_TYPE_member_t asn_MBR_gapSharingFR1_7[] = {
84         { ATF_NOFLAGS, 0, offsetof(struct MeasGapSharingConfig__ext1__gapSharingFR1, choice.release),
85                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
86                 -1,     /* IMPLICIT tag at current level */
87                 &asn_DEF_NULL,
88                 0,
89                 { 0, 0, 0 },
90                 0, 0, /* No default value */
91                 "release"
92                 },
93         { ATF_NOFLAGS, 0, offsetof(struct MeasGapSharingConfig__ext1__gapSharingFR1, choice.setup),
94                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
95                 -1,     /* IMPLICIT tag at current level */
96                 &asn_DEF_MeasGapSharingScheme,
97                 0,
98                 { 0, 0, 0 },
99                 0, 0, /* No default value */
100                 "setup"
101                 },
102 };
103 static const asn_TYPE_tag2member_t asn_MAP_gapSharingFR1_tag2el_7[] = {
104     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
105     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
106 };
107 static asn_CHOICE_specifics_t asn_SPC_gapSharingFR1_specs_7 = {
108         sizeof(struct MeasGapSharingConfig__ext1__gapSharingFR1),
109         offsetof(struct MeasGapSharingConfig__ext1__gapSharingFR1, _asn_ctx),
110         offsetof(struct MeasGapSharingConfig__ext1__gapSharingFR1, present),
111         sizeof(((struct MeasGapSharingConfig__ext1__gapSharingFR1 *)0)->present),
112         asn_MAP_gapSharingFR1_tag2el_7,
113         2,      /* Count of tags in the map */
114         0, 0,
115         -1      /* Extensions start */
116 };
117 static /* Use -fall-defs-global to expose */
118 asn_TYPE_descriptor_t asn_DEF_gapSharingFR1_7 = {
119         "gapSharingFR1",
120         "gapSharingFR1",
121         &asn_OP_CHOICE,
122         0,      /* No effective tags (pointer) */
123         0,      /* No effective tags (count) */
124         0,      /* No tags (pointer) */
125         0,      /* No tags (count) */
126         { &asn_OER_type_gapSharingFR1_constr_7, &asn_PER_type_gapSharingFR1_constr_7, CHOICE_constraint },
127         asn_MBR_gapSharingFR1_7,
128         2,      /* Elements count */
129         &asn_SPC_gapSharingFR1_specs_7  /* Additional specs */
130 };
131
132 static asn_TYPE_member_t asn_MBR_gapSharingUE_10[] = {
133         { ATF_NOFLAGS, 0, offsetof(struct MeasGapSharingConfig__ext1__gapSharingUE, choice.release),
134                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
135                 -1,     /* IMPLICIT tag at current level */
136                 &asn_DEF_NULL,
137                 0,
138                 { 0, 0, 0 },
139                 0, 0, /* No default value */
140                 "release"
141                 },
142         { ATF_NOFLAGS, 0, offsetof(struct MeasGapSharingConfig__ext1__gapSharingUE, choice.setup),
143                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
144                 -1,     /* IMPLICIT tag at current level */
145                 &asn_DEF_MeasGapSharingScheme,
146                 0,
147                 { 0, 0, 0 },
148                 0, 0, /* No default value */
149                 "setup"
150                 },
151 };
152 static const asn_TYPE_tag2member_t asn_MAP_gapSharingUE_tag2el_10[] = {
153     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
154     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
155 };
156 static asn_CHOICE_specifics_t asn_SPC_gapSharingUE_specs_10 = {
157         sizeof(struct MeasGapSharingConfig__ext1__gapSharingUE),
158         offsetof(struct MeasGapSharingConfig__ext1__gapSharingUE, _asn_ctx),
159         offsetof(struct MeasGapSharingConfig__ext1__gapSharingUE, present),
160         sizeof(((struct MeasGapSharingConfig__ext1__gapSharingUE *)0)->present),
161         asn_MAP_gapSharingUE_tag2el_10,
162         2,      /* Count of tags in the map */
163         0, 0,
164         -1      /* Extensions start */
165 };
166 static /* Use -fall-defs-global to expose */
167 asn_TYPE_descriptor_t asn_DEF_gapSharingUE_10 = {
168         "gapSharingUE",
169         "gapSharingUE",
170         &asn_OP_CHOICE,
171         0,      /* No effective tags (pointer) */
172         0,      /* No effective tags (count) */
173         0,      /* No tags (pointer) */
174         0,      /* No tags (count) */
175         { &asn_OER_type_gapSharingUE_constr_10, &asn_PER_type_gapSharingUE_constr_10, CHOICE_constraint },
176         asn_MBR_gapSharingUE_10,
177         2,      /* Elements count */
178         &asn_SPC_gapSharingUE_specs_10  /* Additional specs */
179 };
180
181 static asn_TYPE_member_t asn_MBR_ext1_6[] = {
182         { ATF_POINTER, 2, offsetof(struct MeasGapSharingConfig__ext1, gapSharingFR1),
183                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
184                 +1,     /* EXPLICIT tag at current level */
185                 &asn_DEF_gapSharingFR1_7,
186                 0,
187                 { 0, 0, 0 },
188                 0, 0, /* No default value */
189                 "gapSharingFR1"
190                 },
191         { ATF_POINTER, 1, offsetof(struct MeasGapSharingConfig__ext1, gapSharingUE),
192                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
193                 +1,     /* EXPLICIT tag at current level */
194                 &asn_DEF_gapSharingUE_10,
195                 0,
196                 { 0, 0, 0 },
197                 0, 0, /* No default value */
198                 "gapSharingUE"
199                 },
200 };
201 static const int asn_MAP_ext1_oms_6[] = { 0, 1 };
202 static const ber_tlv_tag_t asn_DEF_ext1_tags_6[] = {
203         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
204         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
205 };
206 static const asn_TYPE_tag2member_t asn_MAP_ext1_tag2el_6[] = {
207     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gapSharingFR1 */
208     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* gapSharingUE */
209 };
210 static asn_SEQUENCE_specifics_t asn_SPC_ext1_specs_6 = {
211         sizeof(struct MeasGapSharingConfig__ext1),
212         offsetof(struct MeasGapSharingConfig__ext1, _asn_ctx),
213         asn_MAP_ext1_tag2el_6,
214         2,      /* Count of tags in the map */
215         asn_MAP_ext1_oms_6,     /* Optional members */
216         2, 0,   /* Root/Additions */
217         -1,     /* First extension addition */
218 };
219 static /* Use -fall-defs-global to expose */
220 asn_TYPE_descriptor_t asn_DEF_ext1_6 = {
221         "ext1",
222         "ext1",
223         &asn_OP_SEQUENCE,
224         asn_DEF_ext1_tags_6,
225         sizeof(asn_DEF_ext1_tags_6)
226                 /sizeof(asn_DEF_ext1_tags_6[0]) - 1, /* 1 */
227         asn_DEF_ext1_tags_6,    /* Same as above */
228         sizeof(asn_DEF_ext1_tags_6)
229                 /sizeof(asn_DEF_ext1_tags_6[0]), /* 2 */
230         { 0, 0, SEQUENCE_constraint },
231         asn_MBR_ext1_6,
232         2,      /* Elements count */
233         &asn_SPC_ext1_specs_6   /* Additional specs */
234 };
235
236 asn_TYPE_member_t asn_MBR_MeasGapSharingConfig_1[] = {
237         { ATF_POINTER, 2, offsetof(struct MeasGapSharingConfig, gapSharingFR2),
238                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
239                 +1,     /* EXPLICIT tag at current level */
240                 &asn_DEF_gapSharingFR2_2,
241                 0,
242                 { 0, 0, 0 },
243                 0, 0, /* No default value */
244                 "gapSharingFR2"
245                 },
246         { ATF_POINTER, 1, offsetof(struct MeasGapSharingConfig, ext1),
247                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
248                 0,
249                 &asn_DEF_ext1_6,
250                 0,
251                 { 0, 0, 0 },
252                 0, 0, /* No default value */
253                 "ext1"
254                 },
255 };
256 static const int asn_MAP_MeasGapSharingConfig_oms_1[] = { 0, 1 };
257 static const ber_tlv_tag_t asn_DEF_MeasGapSharingConfig_tags_1[] = {
258         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
259 };
260 static const asn_TYPE_tag2member_t asn_MAP_MeasGapSharingConfig_tag2el_1[] = {
261     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gapSharingFR2 */
262     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ext1 */
263 };
264 asn_SEQUENCE_specifics_t asn_SPC_MeasGapSharingConfig_specs_1 = {
265         sizeof(struct MeasGapSharingConfig),
266         offsetof(struct MeasGapSharingConfig, _asn_ctx),
267         asn_MAP_MeasGapSharingConfig_tag2el_1,
268         2,      /* Count of tags in the map */
269         asn_MAP_MeasGapSharingConfig_oms_1,     /* Optional members */
270         1, 1,   /* Root/Additions */
271         1,      /* First extension addition */
272 };
273 asn_TYPE_descriptor_t asn_DEF_MeasGapSharingConfig = {
274         "MeasGapSharingConfig",
275         "MeasGapSharingConfig",
276         &asn_OP_SEQUENCE,
277         asn_DEF_MeasGapSharingConfig_tags_1,
278         sizeof(asn_DEF_MeasGapSharingConfig_tags_1)
279                 /sizeof(asn_DEF_MeasGapSharingConfig_tags_1[0]), /* 1 */
280         asn_DEF_MeasGapSharingConfig_tags_1,    /* Same as above */
281         sizeof(asn_DEF_MeasGapSharingConfig_tags_1)
282                 /sizeof(asn_DEF_MeasGapSharingConfig_tags_1[0]), /* 1 */
283         { 0, 0, SEQUENCE_constraint },
284         asn_MBR_MeasGapSharingConfig_1,
285         2,      /* Elements count */
286         &asn_SPC_MeasGapSharingConfig_specs_1   /* Additional specs */
287 };
288