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 "SupportedBandwidth.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
15 * This type is implemented using NativeEnumerated,
16 * so here we adjust the DEF accordingly.
18 static asn_oer_constraints_t asn_OER_type_fr1_constr_2 CC_NOTUSED = {
21 static asn_per_constraints_t asn_PER_type_fr1_constr_2 CC_NOTUSED = {
22 { APC_CONSTRAINED, 4, 4, 0, 10 } /* (0..10) */,
23 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
24 0, 0 /* No PER value map */
26 static asn_oer_constraints_t asn_OER_type_fr2_constr_14 CC_NOTUSED = {
29 static asn_per_constraints_t asn_PER_type_fr2_constr_14 CC_NOTUSED = {
30 { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
31 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
32 0, 0 /* No PER value map */
34 static asn_oer_constraints_t asn_OER_type_SupportedBandwidth_constr_1 CC_NOTUSED = {
37 asn_per_constraints_t asn_PER_type_SupportedBandwidth_constr_1 CC_NOTUSED = {
38 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
39 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
40 0, 0 /* No PER value map */
42 static const asn_INTEGER_enum_map_t asn_MAP_fr1_value2enum_2[] = {
55 static const unsigned int asn_MAP_fr1_enum2value_2[] = {
68 static const asn_INTEGER_specifics_t asn_SPC_fr1_specs_2 = {
69 asn_MAP_fr1_value2enum_2, /* "tag" => N; sorted by tag */
70 asn_MAP_fr1_enum2value_2, /* N => "tag"; sorted by N */
71 11, /* Number of elements in the maps */
72 0, /* Enumeration is not extensible */
73 1, /* Strict enumeration */
74 0, /* Native long size */
77 static const ber_tlv_tag_t asn_DEF_fr1_tags_2[] = {
78 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
79 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
81 static /* Use -fall-defs-global to expose */
82 asn_TYPE_descriptor_t asn_DEF_fr1_2 = {
85 &asn_OP_NativeEnumerated,
87 sizeof(asn_DEF_fr1_tags_2)
88 /sizeof(asn_DEF_fr1_tags_2[0]) - 1, /* 1 */
89 asn_DEF_fr1_tags_2, /* Same as above */
90 sizeof(asn_DEF_fr1_tags_2)
91 /sizeof(asn_DEF_fr1_tags_2[0]), /* 2 */
92 { &asn_OER_type_fr1_constr_2, &asn_PER_type_fr1_constr_2, NativeEnumerated_constraint },
93 0, 0, /* Defined elsewhere */
94 &asn_SPC_fr1_specs_2 /* Additional specs */
97 static const asn_INTEGER_enum_map_t asn_MAP_fr2_value2enum_14[] = {
103 static const unsigned int asn_MAP_fr2_enum2value_14[] = {
109 static const asn_INTEGER_specifics_t asn_SPC_fr2_specs_14 = {
110 asn_MAP_fr2_value2enum_14, /* "tag" => N; sorted by tag */
111 asn_MAP_fr2_enum2value_14, /* N => "tag"; sorted by N */
112 4, /* Number of elements in the maps */
113 0, /* Enumeration is not extensible */
114 1, /* Strict enumeration */
115 0, /* Native long size */
118 static const ber_tlv_tag_t asn_DEF_fr2_tags_14[] = {
119 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
120 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
122 static /* Use -fall-defs-global to expose */
123 asn_TYPE_descriptor_t asn_DEF_fr2_14 = {
126 &asn_OP_NativeEnumerated,
128 sizeof(asn_DEF_fr2_tags_14)
129 /sizeof(asn_DEF_fr2_tags_14[0]) - 1, /* 1 */
130 asn_DEF_fr2_tags_14, /* Same as above */
131 sizeof(asn_DEF_fr2_tags_14)
132 /sizeof(asn_DEF_fr2_tags_14[0]), /* 2 */
133 { &asn_OER_type_fr2_constr_14, &asn_PER_type_fr2_constr_14, NativeEnumerated_constraint },
134 0, 0, /* Defined elsewhere */
135 &asn_SPC_fr2_specs_14 /* Additional specs */
138 asn_TYPE_member_t asn_MBR_SupportedBandwidth_1[] = {
139 { ATF_NOFLAGS, 0, offsetof(struct SupportedBandwidth, choice.fr1),
140 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
141 -1, /* IMPLICIT tag at current level */
145 0, 0, /* No default value */
148 { ATF_NOFLAGS, 0, offsetof(struct SupportedBandwidth, choice.fr2),
149 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
150 -1, /* IMPLICIT tag at current level */
154 0, 0, /* No default value */
158 static const asn_TYPE_tag2member_t asn_MAP_SupportedBandwidth_tag2el_1[] = {
159 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* fr1 */
160 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* fr2 */
162 asn_CHOICE_specifics_t asn_SPC_SupportedBandwidth_specs_1 = {
163 sizeof(struct SupportedBandwidth),
164 offsetof(struct SupportedBandwidth, _asn_ctx),
165 offsetof(struct SupportedBandwidth, present),
166 sizeof(((struct SupportedBandwidth *)0)->present),
167 asn_MAP_SupportedBandwidth_tag2el_1,
168 2, /* Count of tags in the map */
170 -1 /* Extensions start */
172 asn_TYPE_descriptor_t asn_DEF_SupportedBandwidth = {
173 "SupportedBandwidth",
174 "SupportedBandwidth",
176 0, /* No effective tags (pointer) */
177 0, /* No effective tags (count) */
178 0, /* No tags (pointer) */
179 0, /* No tags (count) */
180 { &asn_OER_type_SupportedBandwidth_constr_1, &asn_PER_type_SupportedBandwidth_constr_1, CHOICE_constraint },
181 asn_MBR_SupportedBandwidth_1,
182 2, /* Elements count */
183 &asn_SPC_SupportedBandwidth_specs_1 /* Additional specs */