[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git] / src / codec_utils / RRC / BandParameters.c
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 #include "BandParameters.h"
9
10 static asn_oer_constraints_t asn_OER_type_BandParameters_constr_1 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
13 asn_per_constraints_t asn_PER_type_BandParameters_constr_1 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_TYPE_member_t asn_MBR_eutra_2[] = {
19         { ATF_NOFLAGS, 0, offsetof(struct BandParameters__eutra, bandEUTRA),
20                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21                 -1,     /* IMPLICIT tag at current level */
22                 &asn_DEF_FreqBandIndicatorEUTRA,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "bandEUTRA"
27                 },
28         { ATF_POINTER, 2, offsetof(struct BandParameters__eutra, ca_BandwidthClassDL_EUTRA),
29                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_CA_BandwidthClassEUTRA,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "ca-BandwidthClassDL-EUTRA"
36                 },
37         { ATF_POINTER, 1, offsetof(struct BandParameters__eutra, ca_BandwidthClassUL_EUTRA),
38                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
39                 -1,     /* IMPLICIT tag at current level */
40                 &asn_DEF_CA_BandwidthClassEUTRA,
41                 0,
42                 { 0, 0, 0 },
43                 0, 0, /* No default value */
44                 "ca-BandwidthClassUL-EUTRA"
45                 },
46 };
47 static const int asn_MAP_eutra_oms_2[] = { 1, 2 };
48 static const ber_tlv_tag_t asn_DEF_eutra_tags_2[] = {
49         (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
50         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
51 };
52 static const asn_TYPE_tag2member_t asn_MAP_eutra_tag2el_2[] = {
53     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bandEUTRA */
54     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ca-BandwidthClassDL-EUTRA */
55     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* ca-BandwidthClassUL-EUTRA */
56 };
57 static asn_SEQUENCE_specifics_t asn_SPC_eutra_specs_2 = {
58         sizeof(struct BandParameters__eutra),
59         offsetof(struct BandParameters__eutra, _asn_ctx),
60         asn_MAP_eutra_tag2el_2,
61         3,      /* Count of tags in the map */
62         asn_MAP_eutra_oms_2,    /* Optional members */
63         2, 0,   /* Root/Additions */
64         -1,     /* First extension addition */
65 };
66 static /* Use -fall-defs-global to expose */
67 asn_TYPE_descriptor_t asn_DEF_eutra_2 = {
68         "eutra",
69         "eutra",
70         &asn_OP_SEQUENCE,
71         asn_DEF_eutra_tags_2,
72         sizeof(asn_DEF_eutra_tags_2)
73                 /sizeof(asn_DEF_eutra_tags_2[0]) - 1, /* 1 */
74         asn_DEF_eutra_tags_2,   /* Same as above */
75         sizeof(asn_DEF_eutra_tags_2)
76                 /sizeof(asn_DEF_eutra_tags_2[0]), /* 2 */
77         { 0, 0, SEQUENCE_constraint },
78         asn_MBR_eutra_2,
79         3,      /* Elements count */
80         &asn_SPC_eutra_specs_2  /* Additional specs */
81 };
82
83 static asn_TYPE_member_t asn_MBR_nr_6[] = {
84         { ATF_NOFLAGS, 0, offsetof(struct BandParameters__nr, bandNR),
85                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
86                 -1,     /* IMPLICIT tag at current level */
87                 &asn_DEF_FreqBandIndicatorNR,
88                 0,
89                 { 0, 0, 0 },
90                 0, 0, /* No default value */
91                 "bandNR"
92                 },
93         { ATF_POINTER, 2, offsetof(struct BandParameters__nr, ca_BandwidthClassDL_NR),
94                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
95                 -1,     /* IMPLICIT tag at current level */
96                 &asn_DEF_CA_BandwidthClassNR,
97                 0,
98                 { 0, 0, 0 },
99                 0, 0, /* No default value */
100                 "ca-BandwidthClassDL-NR"
101                 },
102         { ATF_POINTER, 1, offsetof(struct BandParameters__nr, ca_BandwidthClassUL_NR),
103                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
104                 -1,     /* IMPLICIT tag at current level */
105                 &asn_DEF_CA_BandwidthClassNR,
106                 0,
107                 { 0, 0, 0 },
108                 0, 0, /* No default value */
109                 "ca-BandwidthClassUL-NR"
110                 },
111 };
112 static const int asn_MAP_nr_oms_6[] = { 1, 2 };
113 static const ber_tlv_tag_t asn_DEF_nr_tags_6[] = {
114         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
115         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
116 };
117 static const asn_TYPE_tag2member_t asn_MAP_nr_tag2el_6[] = {
118     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bandNR */
119     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ca-BandwidthClassDL-NR */
120     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* ca-BandwidthClassUL-NR */
121 };
122 static asn_SEQUENCE_specifics_t asn_SPC_nr_specs_6 = {
123         sizeof(struct BandParameters__nr),
124         offsetof(struct BandParameters__nr, _asn_ctx),
125         asn_MAP_nr_tag2el_6,
126         3,      /* Count of tags in the map */
127         asn_MAP_nr_oms_6,       /* Optional members */
128         2, 0,   /* Root/Additions */
129         -1,     /* First extension addition */
130 };
131 static /* Use -fall-defs-global to expose */
132 asn_TYPE_descriptor_t asn_DEF_nr_6 = {
133         "nr",
134         "nr",
135         &asn_OP_SEQUENCE,
136         asn_DEF_nr_tags_6,
137         sizeof(asn_DEF_nr_tags_6)
138                 /sizeof(asn_DEF_nr_tags_6[0]) - 1, /* 1 */
139         asn_DEF_nr_tags_6,      /* Same as above */
140         sizeof(asn_DEF_nr_tags_6)
141                 /sizeof(asn_DEF_nr_tags_6[0]), /* 2 */
142         { 0, 0, SEQUENCE_constraint },
143         asn_MBR_nr_6,
144         3,      /* Elements count */
145         &asn_SPC_nr_specs_6     /* Additional specs */
146 };
147
148 asn_TYPE_member_t asn_MBR_BandParameters_1[] = {
149         { ATF_POINTER, 0, offsetof(struct BandParameters, choice.eutra),
150                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
151                 0,
152                 &asn_DEF_eutra_2,
153                 0,
154                 { 0, 0, 0 },
155                 0, 0, /* No default value */
156                 "eutra"
157                 },
158         { ATF_POINTER, 0, offsetof(struct BandParameters, choice.nr),
159                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
160                 0,
161                 &asn_DEF_nr_6,
162                 0,
163                 { 0, 0, 0 },
164                 0, 0, /* No default value */
165                 "nr"
166                 },
167 };
168 static const asn_TYPE_tag2member_t asn_MAP_BandParameters_tag2el_1[] = {
169     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eutra */
170     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nr */
171 };
172 asn_CHOICE_specifics_t asn_SPC_BandParameters_specs_1 = {
173         sizeof(struct BandParameters),
174         offsetof(struct BandParameters, _asn_ctx),
175         offsetof(struct BandParameters, present),
176         sizeof(((struct BandParameters *)0)->present),
177         asn_MAP_BandParameters_tag2el_1,
178         2,      /* Count of tags in the map */
179         0, 0,
180         -1      /* Extensions start */
181 };
182 asn_TYPE_descriptor_t asn_DEF_BandParameters = {
183         "BandParameters",
184         "BandParameters",
185         &asn_OP_CHOICE,
186         0,      /* No effective tags (pointer) */
187         0,      /* No effective tags (count) */
188         0,      /* No tags (pointer) */
189         0,      /* No tags (count) */
190         { &asn_OER_type_BandParameters_constr_1, &asn_PER_type_BandParameters_constr_1, CHOICE_constraint },
191         asn_MBR_BandParameters_1,
192         2,      /* Elements count */
193         &asn_SPC_BandParameters_specs_1 /* Additional specs */
194 };
195