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 "RLC-Parameters.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.
19 * This type is implemented using NativeEnumerated,
20 * so here we adjust the DEF accordingly.
22 static asn_oer_constraints_t asn_OER_type_am_WithShortSN_constr_2 CC_NOTUSED = {
25 static asn_per_constraints_t asn_PER_type_am_WithShortSN_constr_2 CC_NOTUSED = {
26 { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
27 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
28 0, 0 /* No PER value map */
30 static asn_oer_constraints_t asn_OER_type_um_WithShortSN_constr_4 CC_NOTUSED = {
33 static asn_per_constraints_t asn_PER_type_um_WithShortSN_constr_4 CC_NOTUSED = {
34 { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
35 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
36 0, 0 /* No PER value map */
38 static asn_oer_constraints_t asn_OER_type_um_WithLongSN_constr_6 CC_NOTUSED = {
41 static asn_per_constraints_t asn_PER_type_um_WithLongSN_constr_6 CC_NOTUSED = {
42 { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
43 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
44 0, 0 /* No PER value map */
46 static const asn_INTEGER_enum_map_t asn_MAP_am_WithShortSN_value2enum_2[] = {
49 static const unsigned int asn_MAP_am_WithShortSN_enum2value_2[] = {
52 static const asn_INTEGER_specifics_t asn_SPC_am_WithShortSN_specs_2 = {
53 asn_MAP_am_WithShortSN_value2enum_2, /* "tag" => N; sorted by tag */
54 asn_MAP_am_WithShortSN_enum2value_2, /* N => "tag"; sorted by N */
55 1, /* Number of elements in the maps */
56 0, /* Enumeration is not extensible */
57 1, /* Strict enumeration */
58 0, /* Native long size */
61 static const ber_tlv_tag_t asn_DEF_am_WithShortSN_tags_2[] = {
62 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
63 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
65 static /* Use -fall-defs-global to expose */
66 asn_TYPE_descriptor_t asn_DEF_am_WithShortSN_2 = {
69 &asn_OP_NativeEnumerated,
70 asn_DEF_am_WithShortSN_tags_2,
71 sizeof(asn_DEF_am_WithShortSN_tags_2)
72 /sizeof(asn_DEF_am_WithShortSN_tags_2[0]) - 1, /* 1 */
73 asn_DEF_am_WithShortSN_tags_2, /* Same as above */
74 sizeof(asn_DEF_am_WithShortSN_tags_2)
75 /sizeof(asn_DEF_am_WithShortSN_tags_2[0]), /* 2 */
76 { &asn_OER_type_am_WithShortSN_constr_2, &asn_PER_type_am_WithShortSN_constr_2, NativeEnumerated_constraint },
77 0, 0, /* Defined elsewhere */
78 &asn_SPC_am_WithShortSN_specs_2 /* Additional specs */
81 static const asn_INTEGER_enum_map_t asn_MAP_um_WithShortSN_value2enum_4[] = {
84 static const unsigned int asn_MAP_um_WithShortSN_enum2value_4[] = {
87 static const asn_INTEGER_specifics_t asn_SPC_um_WithShortSN_specs_4 = {
88 asn_MAP_um_WithShortSN_value2enum_4, /* "tag" => N; sorted by tag */
89 asn_MAP_um_WithShortSN_enum2value_4, /* N => "tag"; sorted by N */
90 1, /* Number of elements in the maps */
91 0, /* Enumeration is not extensible */
92 1, /* Strict enumeration */
93 0, /* Native long size */
96 static const ber_tlv_tag_t asn_DEF_um_WithShortSN_tags_4[] = {
97 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
98 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
100 static /* Use -fall-defs-global to expose */
101 asn_TYPE_descriptor_t asn_DEF_um_WithShortSN_4 = {
104 &asn_OP_NativeEnumerated,
105 asn_DEF_um_WithShortSN_tags_4,
106 sizeof(asn_DEF_um_WithShortSN_tags_4)
107 /sizeof(asn_DEF_um_WithShortSN_tags_4[0]) - 1, /* 1 */
108 asn_DEF_um_WithShortSN_tags_4, /* Same as above */
109 sizeof(asn_DEF_um_WithShortSN_tags_4)
110 /sizeof(asn_DEF_um_WithShortSN_tags_4[0]), /* 2 */
111 { &asn_OER_type_um_WithShortSN_constr_4, &asn_PER_type_um_WithShortSN_constr_4, NativeEnumerated_constraint },
112 0, 0, /* Defined elsewhere */
113 &asn_SPC_um_WithShortSN_specs_4 /* Additional specs */
116 static const asn_INTEGER_enum_map_t asn_MAP_um_WithLongSN_value2enum_6[] = {
117 { 0, 9, "supported" }
119 static const unsigned int asn_MAP_um_WithLongSN_enum2value_6[] = {
122 static const asn_INTEGER_specifics_t asn_SPC_um_WithLongSN_specs_6 = {
123 asn_MAP_um_WithLongSN_value2enum_6, /* "tag" => N; sorted by tag */
124 asn_MAP_um_WithLongSN_enum2value_6, /* N => "tag"; sorted by N */
125 1, /* Number of elements in the maps */
126 0, /* Enumeration is not extensible */
127 1, /* Strict enumeration */
128 0, /* Native long size */
131 static const ber_tlv_tag_t asn_DEF_um_WithLongSN_tags_6[] = {
132 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
133 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
135 static /* Use -fall-defs-global to expose */
136 asn_TYPE_descriptor_t asn_DEF_um_WithLongSN_6 = {
139 &asn_OP_NativeEnumerated,
140 asn_DEF_um_WithLongSN_tags_6,
141 sizeof(asn_DEF_um_WithLongSN_tags_6)
142 /sizeof(asn_DEF_um_WithLongSN_tags_6[0]) - 1, /* 1 */
143 asn_DEF_um_WithLongSN_tags_6, /* Same as above */
144 sizeof(asn_DEF_um_WithLongSN_tags_6)
145 /sizeof(asn_DEF_um_WithLongSN_tags_6[0]), /* 2 */
146 { &asn_OER_type_um_WithLongSN_constr_6, &asn_PER_type_um_WithLongSN_constr_6, NativeEnumerated_constraint },
147 0, 0, /* Defined elsewhere */
148 &asn_SPC_um_WithLongSN_specs_6 /* Additional specs */
151 asn_TYPE_member_t asn_MBR_RLC_Parameters_1[] = {
152 { ATF_POINTER, 3, offsetof(struct RLC_Parameters, am_WithShortSN),
153 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
154 -1, /* IMPLICIT tag at current level */
155 &asn_DEF_am_WithShortSN_2,
158 0, 0, /* No default value */
161 { ATF_POINTER, 2, offsetof(struct RLC_Parameters, um_WithShortSN),
162 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
163 -1, /* IMPLICIT tag at current level */
164 &asn_DEF_um_WithShortSN_4,
167 0, 0, /* No default value */
170 { ATF_POINTER, 1, offsetof(struct RLC_Parameters, um_WithLongSN),
171 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
172 -1, /* IMPLICIT tag at current level */
173 &asn_DEF_um_WithLongSN_6,
176 0, 0, /* No default value */
180 static const int asn_MAP_RLC_Parameters_oms_1[] = { 0, 1, 2 };
181 static const ber_tlv_tag_t asn_DEF_RLC_Parameters_tags_1[] = {
182 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
184 static const asn_TYPE_tag2member_t asn_MAP_RLC_Parameters_tag2el_1[] = {
185 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* am-WithShortSN */
186 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* um-WithShortSN */
187 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* um-WithLongSN */
189 asn_SEQUENCE_specifics_t asn_SPC_RLC_Parameters_specs_1 = {
190 sizeof(struct RLC_Parameters),
191 offsetof(struct RLC_Parameters, _asn_ctx),
192 asn_MAP_RLC_Parameters_tag2el_1,
193 3, /* Count of tags in the map */
194 asn_MAP_RLC_Parameters_oms_1, /* Optional members */
195 3, 0, /* Root/Additions */
196 3, /* First extension addition */
198 asn_TYPE_descriptor_t asn_DEF_RLC_Parameters = {
202 asn_DEF_RLC_Parameters_tags_1,
203 sizeof(asn_DEF_RLC_Parameters_tags_1)
204 /sizeof(asn_DEF_RLC_Parameters_tags_1[0]), /* 1 */
205 asn_DEF_RLC_Parameters_tags_1, /* Same as above */
206 sizeof(asn_DEF_RLC_Parameters_tags_1)
207 /sizeof(asn_DEF_RLC_Parameters_tags_1[0]), /* 1 */
208 { 0, 0, SEQUENCE_constraint },
209 asn_MBR_RLC_Parameters_1,
210 3, /* Elements count */
211 &asn_SPC_RLC_Parameters_specs_1 /* Additional specs */