2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-RC-IEs"
4 * found in "e2sm-rc-nov2021.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .`
8 #include "RANParameter-TestingCondition.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_ranP_Choice_comparison_constr_2 CC_NOTUSED = {
21 static asn_per_constraints_t asn_PER_type_ranP_Choice_comparison_constr_2 CC_NOTUSED = {
22 { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 5 } /* (0..5,...) */,
23 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
24 0, 0 /* No PER value map */
26 static asn_oer_constraints_t asn_OER_type_ranP_Choice_presence_constr_10 CC_NOTUSED = {
29 static asn_per_constraints_t asn_PER_type_ranP_Choice_presence_constr_10 CC_NOTUSED = {
30 { APC_CONSTRAINED | APC_EXTENSIBLE, 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_RANParameter_TestingCondition_constr_1 CC_NOTUSED = {
37 asn_per_constraints_t asn_PER_type_RANParameter_TestingCondition_constr_1 CC_NOTUSED = {
38 { APC_CONSTRAINED | APC_EXTENSIBLE, 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_ranP_Choice_comparison_value2enum_2[] = {
44 { 1, 10, "difference" },
45 { 2, 11, "greaterthan" },
48 { 5, 11, "starts-with" }
49 /* This list is extensible */
51 static const unsigned int asn_MAP_ranP_Choice_comparison_enum2value_2[] = {
53 1, /* difference(1) */
55 2, /* greaterthan(2) */
57 5 /* starts-with(5) */
58 /* This list is extensible */
60 static const asn_INTEGER_specifics_t asn_SPC_ranP_Choice_comparison_specs_2 = {
61 asn_MAP_ranP_Choice_comparison_value2enum_2, /* "tag" => N; sorted by tag */
62 asn_MAP_ranP_Choice_comparison_enum2value_2, /* N => "tag"; sorted by N */
63 6, /* Number of elements in the maps */
64 7, /* Extensions before this member */
65 1, /* Strict enumeration */
66 0, /* Native long size */
69 static const ber_tlv_tag_t asn_DEF_ranP_Choice_comparison_tags_2[] = {
70 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
71 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
73 static /* Use -fall-defs-global to expose */
74 asn_TYPE_descriptor_t asn_DEF_ranP_Choice_comparison_2 = {
75 "ranP-Choice-comparison",
76 "ranP-Choice-comparison",
77 &asn_OP_NativeEnumerated,
78 asn_DEF_ranP_Choice_comparison_tags_2,
79 sizeof(asn_DEF_ranP_Choice_comparison_tags_2)
80 /sizeof(asn_DEF_ranP_Choice_comparison_tags_2[0]) - 1, /* 1 */
81 asn_DEF_ranP_Choice_comparison_tags_2, /* Same as above */
82 sizeof(asn_DEF_ranP_Choice_comparison_tags_2)
83 /sizeof(asn_DEF_ranP_Choice_comparison_tags_2[0]), /* 2 */
84 { &asn_OER_type_ranP_Choice_comparison_constr_2, &asn_PER_type_ranP_Choice_comparison_constr_2, NativeEnumerated_constraint },
85 0, 0, /* Defined elsewhere */
86 &asn_SPC_ranP_Choice_comparison_specs_2 /* Additional specs */
89 static const asn_INTEGER_enum_map_t asn_MAP_ranP_Choice_presence_value2enum_10[] = {
91 { 1, 10, "configured" },
94 /* This list is extensible */
96 static const unsigned int asn_MAP_ranP_Choice_presence_enum2value_10[] = {
97 1, /* configured(1) */
101 /* This list is extensible */
103 static const asn_INTEGER_specifics_t asn_SPC_ranP_Choice_presence_specs_10 = {
104 asn_MAP_ranP_Choice_presence_value2enum_10, /* "tag" => N; sorted by tag */
105 asn_MAP_ranP_Choice_presence_enum2value_10, /* N => "tag"; sorted by N */
106 4, /* Number of elements in the maps */
107 5, /* Extensions before this member */
108 1, /* Strict enumeration */
109 0, /* Native long size */
112 static const ber_tlv_tag_t asn_DEF_ranP_Choice_presence_tags_10[] = {
113 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
114 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
116 static /* Use -fall-defs-global to expose */
117 asn_TYPE_descriptor_t asn_DEF_ranP_Choice_presence_10 = {
118 "ranP-Choice-presence",
119 "ranP-Choice-presence",
120 &asn_OP_NativeEnumerated,
121 asn_DEF_ranP_Choice_presence_tags_10,
122 sizeof(asn_DEF_ranP_Choice_presence_tags_10)
123 /sizeof(asn_DEF_ranP_Choice_presence_tags_10[0]) - 1, /* 1 */
124 asn_DEF_ranP_Choice_presence_tags_10, /* Same as above */
125 sizeof(asn_DEF_ranP_Choice_presence_tags_10)
126 /sizeof(asn_DEF_ranP_Choice_presence_tags_10[0]), /* 2 */
127 { &asn_OER_type_ranP_Choice_presence_constr_10, &asn_PER_type_ranP_Choice_presence_constr_10, NativeEnumerated_constraint },
128 0, 0, /* Defined elsewhere */
129 &asn_SPC_ranP_Choice_presence_specs_10 /* Additional specs */
132 asn_TYPE_member_t asn_MBR_RANParameter_TestingCondition_1[] = {
133 { ATF_NOFLAGS, 0, offsetof(struct RANParameter_TestingCondition, choice.ranP_Choice_comparison),
134 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
135 -1, /* IMPLICIT tag at current level */
136 &asn_DEF_ranP_Choice_comparison_2,
139 0, 0, /* No default value */
140 "ranP-Choice-comparison"
142 { ATF_NOFLAGS, 0, offsetof(struct RANParameter_TestingCondition, choice.ranP_Choice_presence),
143 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
144 -1, /* IMPLICIT tag at current level */
145 &asn_DEF_ranP_Choice_presence_10,
148 0, 0, /* No default value */
149 "ranP-Choice-presence"
152 static const asn_TYPE_tag2member_t asn_MAP_RANParameter_TestingCondition_tag2el_1[] = {
153 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ranP-Choice-comparison */
154 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ranP-Choice-presence */
156 asn_CHOICE_specifics_t asn_SPC_RANParameter_TestingCondition_specs_1 = {
157 sizeof(struct RANParameter_TestingCondition),
158 offsetof(struct RANParameter_TestingCondition, _asn_ctx),
159 offsetof(struct RANParameter_TestingCondition, present),
160 sizeof(((struct RANParameter_TestingCondition *)0)->present),
161 asn_MAP_RANParameter_TestingCondition_tag2el_1,
162 2, /* Count of tags in the map */
164 2 /* Extensions start */
166 asn_TYPE_descriptor_t asn_DEF_RANParameter_TestingCondition = {
167 "RANParameter-TestingCondition",
168 "RANParameter-TestingCondition",
170 0, /* No effective tags (pointer) */
171 0, /* No effective tags (count) */
172 0, /* No tags (pointer) */
173 0, /* No tags (count) */
174 { &asn_OER_type_RANParameter_TestingCondition_constr_1, &asn_PER_type_RANParameter_TestingCondition_constr_1, CHOICE_constraint },
175 asn_MBR_RANParameter_TestingCondition_1,
176 2, /* Elements count */
177 &asn_SPC_RANParameter_TestingCondition_specs_1 /* Additional specs */