2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../ASN1_Input/rrc_15_3_asn.asn1"
5 * `asn1c -D ../RRC_output_14Nov/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
8 #include "BandParameters.h"
10 static asn_oer_constraints_t asn_OER_type_BandParameters_constr_1 CC_NOTUSED = {
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 */
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,
25 0, 0, /* No default value */
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,
34 0, 0, /* No default value */
35 "ca-BandwidthClassDL-EUTRA"
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,
43 0, 0, /* No default value */
44 "ca-BandwidthClassUL-EUTRA"
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))
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 */
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 */
66 static /* Use -fall-defs-global to expose */
67 asn_TYPE_descriptor_t asn_DEF_eutra_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 },
79 3, /* Elements count */
80 &asn_SPC_eutra_specs_2 /* Additional specs */
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,
90 0, 0, /* No default value */
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,
99 0, 0, /* No default value */
100 "ca-BandwidthClassDL-NR"
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,
108 0, 0, /* No default value */
109 "ca-BandwidthClassUL-NR"
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))
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 */
122 static asn_SEQUENCE_specifics_t asn_SPC_nr_specs_6 = {
123 sizeof(struct BandParameters__nr),
124 offsetof(struct BandParameters__nr, _asn_ctx),
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 */
131 static /* Use -fall-defs-global to expose */
132 asn_TYPE_descriptor_t asn_DEF_nr_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 },
144 3, /* Elements count */
145 &asn_SPC_nr_specs_6 /* Additional specs */
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)),
155 0, 0, /* No default value */
158 { ATF_POINTER, 0, offsetof(struct BandParameters, choice.nr),
159 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
164 0, 0, /* No default value */
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 */
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 */
180 -1 /* Extensions start */
182 asn_TYPE_descriptor_t asn_DEF_BandParameters = {
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 */