blob: d89b2afa7aa895fc415c9374dfb730a6216c8b3d [file] [log] [blame]
Juha Hyttinenff8dccd2019-12-10 14:34:07 +02001/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-IEs"
4 * found in "Spec/e2_and_x2-combined-and-minimized.asn1"
5 * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
6 */
7
8#include "SpecialSubframePatterns.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_SpecialSubframePatterns_constr_1 CC_NOTUSED = {
15 { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 8 } /* (0..8,...) */,
16 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
17 0, 0 /* No PER value map */
18};
19static const asn_INTEGER_enum_map_t asn_MAP_SpecialSubframePatterns_value2enum_1[] = {
20 { 0, 4, "ssp0" },
21 { 1, 4, "ssp1" },
22 { 2, 4, "ssp2" },
23 { 3, 4, "ssp3" },
24 { 4, 4, "ssp4" },
25 { 5, 4, "ssp5" },
26 { 6, 4, "ssp6" },
27 { 7, 4, "ssp7" },
28 { 8, 4, "ssp8" }
29 /* This list is extensible */
30};
31static const unsigned int asn_MAP_SpecialSubframePatterns_enum2value_1[] = {
32 0, /* ssp0(0) */
33 1, /* ssp1(1) */
34 2, /* ssp2(2) */
35 3, /* ssp3(3) */
36 4, /* ssp4(4) */
37 5, /* ssp5(5) */
38 6, /* ssp6(6) */
39 7, /* ssp7(7) */
40 8 /* ssp8(8) */
41 /* This list is extensible */
42};
43const asn_INTEGER_specifics_t asn_SPC_SpecialSubframePatterns_specs_1 = {
44 asn_MAP_SpecialSubframePatterns_value2enum_1, /* "tag" => N; sorted by tag */
45 asn_MAP_SpecialSubframePatterns_enum2value_1, /* N => "tag"; sorted by N */
46 9, /* Number of elements in the maps */
47 10, /* Extensions before this member */
48 1, /* Strict enumeration */
49 0, /* Native long size */
50 0
51};
52static const ber_tlv_tag_t asn_DEF_SpecialSubframePatterns_tags_1[] = {
53 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
54};
55asn_TYPE_descriptor_t asn_DEF_SpecialSubframePatterns = {
56 "SpecialSubframePatterns",
57 "SpecialSubframePatterns",
58 &asn_OP_NativeEnumerated,
59 asn_DEF_SpecialSubframePatterns_tags_1,
60 sizeof(asn_DEF_SpecialSubframePatterns_tags_1)
61 /sizeof(asn_DEF_SpecialSubframePatterns_tags_1[0]), /* 1 */
62 asn_DEF_SpecialSubframePatterns_tags_1, /* Same as above */
63 sizeof(asn_DEF_SpecialSubframePatterns_tags_1)
64 /sizeof(asn_DEF_SpecialSubframePatterns_tags_1[0]), /* 1 */
65 { 0, &asn_PER_type_SpecialSubframePatterns_constr_1, NativeEnumerated_constraint },
66 0, 0, /* Defined elsewhere */
67 &asn_SPC_SpecialSubframePatterns_specs_1 /* Additional specs */
68};
69