2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "F1AP-IEs"
5 * `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "PagingPriority.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 static asn_oer_constraints_t asn_OER_type_PagingPriority_constr_1 CC_NOTUSED = {
17 static asn_per_constraints_t asn_PER_type_PagingPriority_constr_1 CC_NOTUSED = {
18 { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 7 } /* (0..7,...) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
22 static const asn_INTEGER_enum_map_t asn_MAP_PagingPriority_value2enum_1[] = {
23 { 0, 10, "priolevel1" },
24 { 1, 10, "priolevel2" },
25 { 2, 10, "priolevel3" },
26 { 3, 10, "priolevel4" },
27 { 4, 10, "priolevel5" },
28 { 5, 10, "priolevel6" },
29 { 6, 10, "priolevel7" },
30 { 7, 10, "priolevel8" }
31 /* This list is extensible */
33 static const unsigned int asn_MAP_PagingPriority_enum2value_1[] = {
34 0, /* priolevel1(0) */
35 1, /* priolevel2(1) */
36 2, /* priolevel3(2) */
37 3, /* priolevel4(3) */
38 4, /* priolevel5(4) */
39 5, /* priolevel6(5) */
40 6, /* priolevel7(6) */
42 /* This list is extensible */
44 static const asn_INTEGER_specifics_t asn_SPC_PagingPriority_specs_1 = {
45 asn_MAP_PagingPriority_value2enum_1, /* "tag" => N; sorted by tag */
46 asn_MAP_PagingPriority_enum2value_1, /* N => "tag"; sorted by N */
47 8, /* Number of elements in the maps */
48 9, /* Extensions before this member */
49 1, /* Strict enumeration */
50 0, /* Native long size */
53 static const ber_tlv_tag_t asn_DEF_PagingPriority_tags_1[] = {
54 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
56 asn_TYPE_descriptor_t asn_DEF_PagingPriority = {
59 &asn_OP_NativeEnumerated,
60 asn_DEF_PagingPriority_tags_1,
61 sizeof(asn_DEF_PagingPriority_tags_1)
62 /sizeof(asn_DEF_PagingPriority_tags_1[0]), /* 1 */
63 asn_DEF_PagingPriority_tags_1, /* Same as above */
64 sizeof(asn_DEF_PagingPriority_tags_1)
65 /sizeof(asn_DEF_PagingPriority_tags_1[0]), /* 1 */
66 { &asn_OER_type_PagingPriority_constr_1, &asn_PER_type_PagingPriority_constr_1, NativeEnumerated_constraint },
67 0, 0, /* Defined elsewhere */
68 &asn_SPC_PagingPriority_specs_1 /* Additional specs */