2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2AP-IEs"
5 * `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 static asn_oer_constraints_t asn_OER_type_CauseRIC_constr_1 CC_NOTUSED = {
17 asn_per_constraints_t asn_PER_type_CauseRIC_constr_1 CC_NOTUSED = {
18 { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 10 } /* (0..10,...) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
22 static const asn_INTEGER_enum_map_t asn_MAP_CauseRIC_value2enum_1[] = {
23 { 0, 23, "ran-function-id-Invalid" },
24 { 1, 20, "action-not-supported" },
25 { 2, 17, "excessive-actions" },
26 { 3, 16, "duplicate-action" },
27 { 4, 15, "duplicate-event" },
28 { 5, 23, "function-resource-limit" },
29 { 6, 18, "request-id-unknown" },
30 { 7, 46, "inconsistent-action-subsequent-action-sequence" },
31 { 8, 23, "control-message-invalid" },
32 { 9, 23, "call-process-id-invalid" },
33 { 10, 11, "unspecified" }
34 /* This list is extensible */
36 static const unsigned int asn_MAP_CauseRIC_enum2value_1[] = {
37 1, /* action-not-supported(1) */
38 9, /* call-process-id-invalid(9) */
39 8, /* control-message-invalid(8) */
40 3, /* duplicate-action(3) */
41 4, /* duplicate-event(4) */
42 2, /* excessive-actions(2) */
43 5, /* function-resource-limit(5) */
44 7, /* inconsistent-action-subsequent-action-sequence(7) */
45 0, /* ran-function-id-Invalid(0) */
46 6, /* request-id-unknown(6) */
47 10 /* unspecified(10) */
48 /* This list is extensible */
50 const asn_INTEGER_specifics_t asn_SPC_CauseRIC_specs_1 = {
51 asn_MAP_CauseRIC_value2enum_1, /* "tag" => N; sorted by tag */
52 asn_MAP_CauseRIC_enum2value_1, /* N => "tag"; sorted by N */
53 11, /* Number of elements in the maps */
54 12, /* Extensions before this member */
55 1, /* Strict enumeration */
56 0, /* Native long size */
59 static const ber_tlv_tag_t asn_DEF_CauseRIC_tags_1[] = {
60 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
62 asn_TYPE_descriptor_t asn_DEF_CauseRIC = {
65 &asn_OP_NativeEnumerated,
66 asn_DEF_CauseRIC_tags_1,
67 sizeof(asn_DEF_CauseRIC_tags_1)
68 /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */
69 asn_DEF_CauseRIC_tags_1, /* Same as above */
70 sizeof(asn_DEF_CauseRIC_tags_1)
71 /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */
72 { &asn_OER_type_CauseRIC_constr_1, &asn_PER_type_CauseRIC_constr_1, NativeEnumerated_constraint },
73 0, 0, /* Defined elsewhere */
74 &asn_SPC_CauseRIC_specs_1 /* Additional specs */