2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
\r
3 * From ASN.1 module "X2AP-IEs"
\r
4 * found in "../../asn_defs/asn1/x2ap-modified-15-05.asn"
\r
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
\r
8 #include "LoadIndicator.h"
\r
11 * This type is implemented using NativeEnumerated,
\r
12 * so here we adjust the DEF accordingly.
\r
14 asn_per_constraints_t asn_PER_type_LoadIndicator_constr_1 CC_NOTUSED = {
\r
15 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */,
\r
16 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
\r
17 0, 0 /* No PER value map */
\r
19 static const asn_INTEGER_enum_map_t asn_MAP_LoadIndicator_value2enum_1[] = {
\r
20 { 0, 7, "lowLoad" },
\r
21 { 1, 10, "mediumLoad" },
\r
22 { 2, 8, "highLoad" },
\r
23 { 3, 8, "overLoad" }
\r
24 /* This list is extensible */
\r
26 static const unsigned int asn_MAP_LoadIndicator_enum2value_1[] = {
\r
27 2, /* highLoad(2) */
\r
29 1, /* mediumLoad(1) */
\r
31 /* This list is extensible */
\r
33 const asn_INTEGER_specifics_t asn_SPC_LoadIndicator_specs_1 = {
\r
34 asn_MAP_LoadIndicator_value2enum_1, /* "tag" => N; sorted by tag */
\r
35 asn_MAP_LoadIndicator_enum2value_1, /* N => "tag"; sorted by N */
\r
36 4, /* Number of elements in the maps */
\r
37 5, /* Extensions before this member */
\r
38 1, /* Strict enumeration */
\r
39 0, /* Native long size */
\r
42 static const ber_tlv_tag_t asn_DEF_LoadIndicator_tags_1[] = {
\r
43 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
\r
45 asn_TYPE_descriptor_t asn_DEF_LoadIndicator = {
\r
48 &asn_OP_NativeEnumerated,
\r
49 asn_DEF_LoadIndicator_tags_1,
\r
50 sizeof(asn_DEF_LoadIndicator_tags_1)
\r
51 /sizeof(asn_DEF_LoadIndicator_tags_1[0]), /* 1 */
\r
52 asn_DEF_LoadIndicator_tags_1, /* Same as above */
\r
53 sizeof(asn_DEF_LoadIndicator_tags_1)
\r
54 /sizeof(asn_DEF_LoadIndicator_tags_1[0]), /* 1 */
\r
55 { 0, &asn_PER_type_LoadIndicator_constr_1, NativeEnumerated_constraint },
\r
56 0, 0, /* Defined elsewhere */
\r
57 &asn_SPC_LoadIndicator_specs_1 /* Additional specs */
\r