2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2AP-IEs"
4 * found in "e2ap-ied-v03.01.asn"
5 * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
15 asn_per_constraints_t asn_PER_type_CauseMisc_constr_1 CC_NOTUSED = {
16 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */,
17 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
18 0, 0 /* No PER value map */
20 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
21 static const asn_INTEGER_enum_map_t asn_MAP_CauseMisc_value2enum_1[] = {
22 { 0, 27, "control-processing-overload" },
23 { 1, 16, "hardware-failure" },
24 { 2, 15, "om-intervention" },
25 { 3, 11, "unspecified" }
26 /* This list is extensible */
28 static const unsigned int asn_MAP_CauseMisc_enum2value_1[] = {
29 0, /* control-processing-overload(0) */
30 1, /* hardware-failure(1) */
31 2, /* om-intervention(2) */
32 3 /* unspecified(3) */
33 /* This list is extensible */
35 const asn_INTEGER_specifics_t asn_SPC_CauseMisc_specs_1 = {
36 asn_MAP_CauseMisc_value2enum_1, /* "tag" => N; sorted by tag */
37 asn_MAP_CauseMisc_enum2value_1, /* N => "tag"; sorted by N */
38 4, /* Number of elements in the maps */
39 5, /* Extensions before this member */
40 1, /* Strict enumeration */
41 0, /* Native long size */
44 static const ber_tlv_tag_t asn_DEF_CauseMisc_tags_1[] = {
45 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
47 asn_TYPE_descriptor_t asn_DEF_CauseMisc = {
50 &asn_OP_NativeEnumerated,
51 asn_DEF_CauseMisc_tags_1,
52 sizeof(asn_DEF_CauseMisc_tags_1)
53 /sizeof(asn_DEF_CauseMisc_tags_1[0]), /* 1 */
54 asn_DEF_CauseMisc_tags_1, /* Same as above */
55 sizeof(asn_DEF_CauseMisc_tags_1)
56 /sizeof(asn_DEF_CauseMisc_tags_1[0]), /* 1 */
58 #if !defined(ASN_DISABLE_OER_SUPPORT)
60 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
61 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
62 &asn_PER_type_CauseMisc_constr_1,
63 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
64 NativeEnumerated_constraint
66 0, 0, /* Defined elsewhere */
67 &asn_SPC_CauseMisc_specs_1 /* Additional specs */