[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / UERadioAccessCapabilityInformation.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-InterNodeDefinitions"
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 "UERadioAccessCapabilityInformation.h"
9
10 #include "UERadioAccessCapabilityInformation-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,       3,  3,  0,  7 }        /* (0..7) */,
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 UERadioAccessCapabilityInformation__criticalExtensions__c1, choice.ueRadioAccessCapabilityInformation),
29                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_UERadioAccessCapabilityInformation_IEs,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "ueRadioAccessCapabilityInformation"
36                 },
37         { ATF_NOFLAGS, 0, offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions__c1, choice.spare7),
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                 "spare7"
45                 },
46         { ATF_NOFLAGS, 0, offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions__c1, choice.spare6),
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                 "spare6"
54                 },
55         { ATF_NOFLAGS, 0, offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions__c1, choice.spare5),
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                 "spare5"
63                 },
64         { ATF_NOFLAGS, 0, offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions__c1, choice.spare4),
65                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
66                 -1,     /* IMPLICIT tag at current level */
67                 &asn_DEF_NULL,
68                 0,
69                 { 0, 0, 0 },
70                 0, 0, /* No default value */
71                 "spare4"
72                 },
73         { ATF_NOFLAGS, 0, offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions__c1, choice.spare3),
74                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
75                 -1,     /* IMPLICIT tag at current level */
76                 &asn_DEF_NULL,
77                 0,
78                 { 0, 0, 0 },
79                 0, 0, /* No default value */
80                 "spare3"
81                 },
82         { ATF_NOFLAGS, 0, offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions__c1, choice.spare2),
83                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
84                 -1,     /* IMPLICIT tag at current level */
85                 &asn_DEF_NULL,
86                 0,
87                 { 0, 0, 0 },
88                 0, 0, /* No default value */
89                 "spare2"
90                 },
91         { ATF_NOFLAGS, 0, offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions__c1, choice.spare1),
92                 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
93                 -1,     /* IMPLICIT tag at current level */
94                 &asn_DEF_NULL,
95                 0,
96                 { 0, 0, 0 },
97                 0, 0, /* No default value */
98                 "spare1"
99                 },
100 };
101 static const asn_TYPE_tag2member_t asn_MAP_c1_tag2el_3[] = {
102     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ueRadioAccessCapabilityInformation */
103     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* spare7 */
104     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* spare6 */
105     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* spare5 */
106     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* spare4 */
107     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* spare3 */
108     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* spare2 */
109     { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* spare1 */
110 };
111 static asn_CHOICE_specifics_t asn_SPC_c1_specs_3 = {
112         sizeof(struct UERadioAccessCapabilityInformation__criticalExtensions__c1),
113         offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions__c1, _asn_ctx),
114         offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions__c1, present),
115         sizeof(((struct UERadioAccessCapabilityInformation__criticalExtensions__c1 *)0)->present),
116         asn_MAP_c1_tag2el_3,
117         8,      /* Count of tags in the map */
118         0, 0,
119         -1      /* Extensions start */
120 };
121 static /* Use -fall-defs-global to expose */
122 asn_TYPE_descriptor_t asn_DEF_c1_3 = {
123         "c1",
124         "c1",
125         &asn_OP_CHOICE,
126         0,      /* No effective tags (pointer) */
127         0,      /* No effective tags (count) */
128         0,      /* No tags (pointer) */
129         0,      /* No tags (count) */
130         { &asn_OER_type_c1_constr_3, &asn_PER_type_c1_constr_3, CHOICE_constraint },
131         asn_MBR_c1_3,
132         8,      /* Elements count */
133         &asn_SPC_c1_specs_3     /* Additional specs */
134 };
135
136 static const ber_tlv_tag_t asn_DEF_criticalExtensionsFuture_tags_12[] = {
137         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
138         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
139 };
140 static asn_SEQUENCE_specifics_t asn_SPC_criticalExtensionsFuture_specs_12 = {
141         sizeof(struct UERadioAccessCapabilityInformation__criticalExtensions__criticalExtensionsFuture),
142         offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions__criticalExtensionsFuture, _asn_ctx),
143         0,      /* No top level tags */
144         0,      /* No tags in the map */
145         0, 0, 0,        /* Optional elements (not needed) */
146         -1,     /* First extension addition */
147 };
148 static /* Use -fall-defs-global to expose */
149 asn_TYPE_descriptor_t asn_DEF_criticalExtensionsFuture_12 = {
150         "criticalExtensionsFuture",
151         "criticalExtensionsFuture",
152         &asn_OP_SEQUENCE,
153         asn_DEF_criticalExtensionsFuture_tags_12,
154         sizeof(asn_DEF_criticalExtensionsFuture_tags_12)
155                 /sizeof(asn_DEF_criticalExtensionsFuture_tags_12[0]) - 1, /* 1 */
156         asn_DEF_criticalExtensionsFuture_tags_12,       /* Same as above */
157         sizeof(asn_DEF_criticalExtensionsFuture_tags_12)
158                 /sizeof(asn_DEF_criticalExtensionsFuture_tags_12[0]), /* 2 */
159         { 0, 0, SEQUENCE_constraint },
160         0, 0,   /* No members */
161         &asn_SPC_criticalExtensionsFuture_specs_12      /* Additional specs */
162 };
163
164 static asn_TYPE_member_t asn_MBR_criticalExtensions_2[] = {
165         { ATF_POINTER, 0, offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions, choice.c1),
166                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
167                 +1,     /* EXPLICIT tag at current level */
168                 &asn_DEF_c1_3,
169                 0,
170                 { 0, 0, 0 },
171                 0, 0, /* No default value */
172                 "c1"
173                 },
174         { ATF_POINTER, 0, offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions, choice.criticalExtensionsFuture),
175                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
176                 0,
177                 &asn_DEF_criticalExtensionsFuture_12,
178                 0,
179                 { 0, 0, 0 },
180                 0, 0, /* No default value */
181                 "criticalExtensionsFuture"
182                 },
183 };
184 static const asn_TYPE_tag2member_t asn_MAP_criticalExtensions_tag2el_2[] = {
185     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* c1 */
186     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* criticalExtensionsFuture */
187 };
188 static asn_CHOICE_specifics_t asn_SPC_criticalExtensions_specs_2 = {
189         sizeof(struct UERadioAccessCapabilityInformation__criticalExtensions),
190         offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions, _asn_ctx),
191         offsetof(struct UERadioAccessCapabilityInformation__criticalExtensions, present),
192         sizeof(((struct UERadioAccessCapabilityInformation__criticalExtensions *)0)->present),
193         asn_MAP_criticalExtensions_tag2el_2,
194         2,      /* Count of tags in the map */
195         0, 0,
196         -1      /* Extensions start */
197 };
198 static /* Use -fall-defs-global to expose */
199 asn_TYPE_descriptor_t asn_DEF_criticalExtensions_2 = {
200         "criticalExtensions",
201         "criticalExtensions",
202         &asn_OP_CHOICE,
203         0,      /* No effective tags (pointer) */
204         0,      /* No effective tags (count) */
205         0,      /* No tags (pointer) */
206         0,      /* No tags (count) */
207         { &asn_OER_type_criticalExtensions_constr_2, &asn_PER_type_criticalExtensions_constr_2, CHOICE_constraint },
208         asn_MBR_criticalExtensions_2,
209         2,      /* Elements count */
210         &asn_SPC_criticalExtensions_specs_2     /* Additional specs */
211 };
212
213 static asn_TYPE_member_t asn_MBR_UERadioAccessCapabilityInformation_1[] = {
214         { ATF_NOFLAGS, 0, offsetof(struct UERadioAccessCapabilityInformation, criticalExtensions),
215                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
216                 +1,     /* EXPLICIT tag at current level */
217                 &asn_DEF_criticalExtensions_2,
218                 0,
219                 { 0, 0, 0 },
220                 0, 0, /* No default value */
221                 "criticalExtensions"
222                 },
223 };
224 static const ber_tlv_tag_t asn_DEF_UERadioAccessCapabilityInformation_tags_1[] = {
225         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
226 };
227 static const asn_TYPE_tag2member_t asn_MAP_UERadioAccessCapabilityInformation_tag2el_1[] = {
228     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* criticalExtensions */
229 };
230 static asn_SEQUENCE_specifics_t asn_SPC_UERadioAccessCapabilityInformation_specs_1 = {
231         sizeof(struct UERadioAccessCapabilityInformation),
232         offsetof(struct UERadioAccessCapabilityInformation, _asn_ctx),
233         asn_MAP_UERadioAccessCapabilityInformation_tag2el_1,
234         1,      /* Count of tags in the map */
235         0, 0, 0,        /* Optional elements (not needed) */
236         -1,     /* First extension addition */
237 };
238 asn_TYPE_descriptor_t asn_DEF_UERadioAccessCapabilityInformation = {
239         "UERadioAccessCapabilityInformation",
240         "UERadioAccessCapabilityInformation",
241         &asn_OP_SEQUENCE,
242         asn_DEF_UERadioAccessCapabilityInformation_tags_1,
243         sizeof(asn_DEF_UERadioAccessCapabilityInformation_tags_1)
244                 /sizeof(asn_DEF_UERadioAccessCapabilityInformation_tags_1[0]), /* 1 */
245         asn_DEF_UERadioAccessCapabilityInformation_tags_1,      /* Same as above */
246         sizeof(asn_DEF_UERadioAccessCapabilityInformation_tags_1)
247                 /sizeof(asn_DEF_UERadioAccessCapabilityInformation_tags_1[0]), /* 1 */
248         { 0, 0, SEQUENCE_constraint },
249         asn_MBR_UERadioAccessCapabilityInformation_1,
250         1,      /* Elements count */
251         &asn_SPC_UERadioAccessCapabilityInformation_specs_1     /* Additional specs */
252 };
253