2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "/home/labadmin/hlal/rrc_15.3_asn.asn1"
5 * `asn1c -D ./15_3_rrc/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "ResumeCause.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_ResumeCause_constr_1 CC_NOTUSED = {
17 asn_per_constraints_t asn_PER_type_ResumeCause_constr_1 CC_NOTUSED = {
18 { APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
22 static const asn_INTEGER_enum_map_t asn_MAP_ResumeCause_value2enum_1[] = {
23 { 0, 9, "emergency" },
24 { 1, 18, "highPriorityAccess" },
25 { 2, 9, "mt-Access" },
26 { 3, 13, "mo-Signalling" },
28 { 5, 12, "mo-VoiceCall" },
29 { 6, 12, "mo-VideoCall" },
31 { 8, 10, "rna-Update" },
32 { 9, 18, "mps-PriorityAccess" },
33 { 10, 18, "mcs-PriorityAccess" },
40 static const unsigned int asn_MAP_ResumeCause_enum2value_1[] = {
42 1, /* highPriorityAccess(1) */
43 10, /* mcs-PriorityAccess(10) */
46 3, /* mo-Signalling(3) */
47 6, /* mo-VideoCall(6) */
48 5, /* mo-VoiceCall(5) */
49 9, /* mps-PriorityAccess(9) */
51 8, /* rna-Update(8) */
58 const asn_INTEGER_specifics_t asn_SPC_ResumeCause_specs_1 = {
59 asn_MAP_ResumeCause_value2enum_1, /* "tag" => N; sorted by tag */
60 asn_MAP_ResumeCause_enum2value_1, /* N => "tag"; sorted by N */
61 16, /* Number of elements in the maps */
62 0, /* Enumeration is not extensible */
63 1, /* Strict enumeration */
64 0, /* Native long size */
67 static const ber_tlv_tag_t asn_DEF_ResumeCause_tags_1[] = {
68 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
70 asn_TYPE_descriptor_t asn_DEF_ResumeCause = {
73 &asn_OP_NativeEnumerated,
74 asn_DEF_ResumeCause_tags_1,
75 sizeof(asn_DEF_ResumeCause_tags_1)
76 /sizeof(asn_DEF_ResumeCause_tags_1[0]), /* 1 */
77 asn_DEF_ResumeCause_tags_1, /* Same as above */
78 sizeof(asn_DEF_ResumeCause_tags_1)
79 /sizeof(asn_DEF_ResumeCause_tags_1[0]), /* 1 */
80 { &asn_OER_type_ResumeCause_constr_1, &asn_PER_type_ResumeCause_constr_1, NativeEnumerated_constraint },
81 0, 0, /* Defined elsewhere */
82 &asn_SPC_ResumeCause_specs_1 /* Additional specs */