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