blob: 265d710ff9d9ac67417374fb6c678088102b28ce [file] [log] [blame]
aa7133@att.com84bd3342020-03-16 18:04:57 +02001/*
aa7133@att.com84bd3342020-03-16 18:04:57 +02002 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2AP-IEs"
czichy2175dd32022-05-17 15:24:51 +03004 * found in "e2ap-v2.asn"
5 * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-example -no-gen-OER`
aa7133@att.com84bd3342020-03-16 18:04:57 +02006 */
7
8#include "RICtimeToWait.h"
9
10/*
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
13 */
14asn_per_constraints_t asn_PER_type_RICtimeToWait_constr_1 CC_NOTUSED = {
czichy2175dd32022-05-17 15:24:51 +030015 { APC_CONSTRAINED | APC_EXTENSIBLE, 5, 5, 0, 16 } /* (0..16,...) */,
aa7133@att.com84bd3342020-03-16 18:04:57 +020016 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
17 0, 0 /* No PER value map */
18};
19static const asn_INTEGER_enum_map_t asn_MAP_RICtimeToWait_value2enum_1[] = {
czichy2175dd32022-05-17 15:24:51 +030020 { 0, 4, "w1ms" },
21 { 1, 4, "w2ms" },
22 { 2, 4, "w5ms" },
23 { 3, 5, "w10ms" },
24 { 4, 5, "w20ms" },
25 { 5, 5, "w30ms" },
26 { 6, 5, "w40ms" },
27 { 7, 5, "w50ms" },
28 { 8, 6, "w100ms" },
29 { 9, 6, "w200ms" },
30 { 10, 6, "w500ms" },
31 { 11, 3, "w1s" },
32 { 12, 3, "w2s" },
33 { 13, 3, "w5s" },
34 { 14, 4, "w10s" },
35 { 15, 4, "w20s" },
36 { 16, 4, "w60s" }
aa7133@att.com84bd3342020-03-16 18:04:57 +020037 /* This list is extensible */
38};
39static const unsigned int asn_MAP_RICtimeToWait_enum2value_1[] = {
czichy2175dd32022-05-17 15:24:51 +030040 8, /* w100ms(8) */
41 3, /* w10ms(3) */
42 14, /* w10s(14) */
43 0, /* w1ms(0) */
44 11, /* w1s(11) */
45 9, /* w200ms(9) */
46 4, /* w20ms(4) */
47 15, /* w20s(15) */
48 1, /* w2ms(1) */
49 12, /* w2s(12) */
50 5, /* w30ms(5) */
51 6, /* w40ms(6) */
52 10, /* w500ms(10) */
53 7, /* w50ms(7) */
54 2, /* w5ms(2) */
55 13, /* w5s(13) */
56 16 /* w60s(16) */
aa7133@att.com84bd3342020-03-16 18:04:57 +020057 /* This list is extensible */
58};
59const asn_INTEGER_specifics_t asn_SPC_RICtimeToWait_specs_1 = {
60 asn_MAP_RICtimeToWait_value2enum_1, /* "tag" => N; sorted by tag */
61 asn_MAP_RICtimeToWait_enum2value_1, /* N => "tag"; sorted by N */
czichy2175dd32022-05-17 15:24:51 +030062 17, /* Number of elements in the maps */
63 18, /* Extensions before this member */
aa7133@att.com84bd3342020-03-16 18:04:57 +020064 1, /* Strict enumeration */
65 0, /* Native long size */
66 0
67};
68static const ber_tlv_tag_t asn_DEF_RICtimeToWait_tags_1[] = {
69 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
70};
71asn_TYPE_descriptor_t asn_DEF_RICtimeToWait = {
72 "RICtimeToWait",
73 "RICtimeToWait",
74 &asn_OP_NativeEnumerated,
75 asn_DEF_RICtimeToWait_tags_1,
76 sizeof(asn_DEF_RICtimeToWait_tags_1)
77 /sizeof(asn_DEF_RICtimeToWait_tags_1[0]), /* 1 */
78 asn_DEF_RICtimeToWait_tags_1, /* Same as above */
79 sizeof(asn_DEF_RICtimeToWait_tags_1)
80 /sizeof(asn_DEF_RICtimeToWait_tags_1[0]), /* 1 */
81 { 0, &asn_PER_type_RICtimeToWait_constr_1, NativeEnumerated_constraint },
82 0, 0, /* Defined elsewhere */
83 &asn_SPC_RICtimeToWait_specs_1 /* Additional specs */
84};
85