11c4f795720656ee174e61ec89b715831decc71d
[o-du/l2.git] / src / codec_utils / F1AP / EUTRA-SpecialSubframePatterns.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "F1AP-IEs"
4  *      found in "F1.asn1"
5  *      `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "EUTRA-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_EUTRA_SpecialSubframePatterns_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_EUTRA_SpecialSubframePatterns_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  4,  4,  0,  10 }   /* (0..10,...) */,
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_EUTRA_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         { 9,    4,      "ssp9" },
33         { 10,   5,      "ssp10" }
34         /* This list is extensible */
35 };
36 static const unsigned int asn_MAP_EUTRA_SpecialSubframePatterns_enum2value_1[] = {
37         0,      /* ssp0(0) */
38         1,      /* ssp1(1) */
39         10,     /* ssp10(10) */
40         2,      /* ssp2(2) */
41         3,      /* ssp3(3) */
42         4,      /* ssp4(4) */
43         5,      /* ssp5(5) */
44         6,      /* ssp6(6) */
45         7,      /* ssp7(7) */
46         8,      /* ssp8(8) */
47         9       /* ssp9(9) */
48         /* This list is extensible */
49 };
50 const asn_INTEGER_specifics_t asn_SPC_EUTRA_SpecialSubframePatterns_specs_1 = {
51         asn_MAP_EUTRA_SpecialSubframePatterns_value2enum_1,     /* "tag" => N; sorted by tag */
52         asn_MAP_EUTRA_SpecialSubframePatterns_enum2value_1,     /* N => "tag"; sorted by N */
53         11,     /* Number of elements in the maps */
54         12,     /* Extensions before this member */
55         1,      /* Strict enumeration */
56         0,      /* Native long size */
57         0
58 };
59 static const ber_tlv_tag_t asn_DEF_EUTRA_SpecialSubframePatterns_tags_1[] = {
60         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
61 };
62 asn_TYPE_descriptor_t asn_DEF_EUTRA_SpecialSubframePatterns = {
63         "EUTRA-SpecialSubframePatterns",
64         "EUTRA-SpecialSubframePatterns",
65         &asn_OP_NativeEnumerated,
66         asn_DEF_EUTRA_SpecialSubframePatterns_tags_1,
67         sizeof(asn_DEF_EUTRA_SpecialSubframePatterns_tags_1)
68                 /sizeof(asn_DEF_EUTRA_SpecialSubframePatterns_tags_1[0]), /* 1 */
69         asn_DEF_EUTRA_SpecialSubframePatterns_tags_1,   /* Same as above */
70         sizeof(asn_DEF_EUTRA_SpecialSubframePatterns_tags_1)
71                 /sizeof(asn_DEF_EUTRA_SpecialSubframePatterns_tags_1[0]), /* 1 */
72         { &asn_OER_type_EUTRA_SpecialSubframePatterns_constr_1, &asn_PER_type_EUTRA_SpecialSubframePatterns_constr_1, NativeEnumerated_constraint },
73         0, 0,   /* Defined elsewhere */
74         &asn_SPC_EUTRA_SpecialSubframePatterns_specs_1  /* Additional specs */
75 };
76