17c97e2550ac162f023f43e34357783ab1c1387f
[ric-plt/submgr.git] / e2ap / lib / PA-Values.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 "PA-Values.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_PA_Values_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_PA_Values_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  7 }    /* (0..7,...) */,
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_PA_Values_value2enum_1[] = {
23         { 0,    4,      "dB-6" },
24         { 1,    9,      "dB-4dot77" },
25         { 2,    4,      "dB-3" },
26         { 3,    9,      "dB-1dot77" },
27         { 4,    3,      "dB0" },
28         { 5,    3,      "dB1" },
29         { 6,    3,      "dB2" },
30         { 7,    3,      "dB3" }
31         /* This list is extensible */
32 };
33 static const unsigned int asn_MAP_PA_Values_enum2value_1[] = {
34         3,      /* dB-1dot77(3) */
35         2,      /* dB-3(2) */
36         1,      /* dB-4dot77(1) */
37         0,      /* dB-6(0) */
38         4,      /* dB0(4) */
39         5,      /* dB1(5) */
40         6,      /* dB2(6) */
41         7       /* dB3(7) */
42         /* This list is extensible */
43 };
44 const asn_INTEGER_specifics_t asn_SPC_PA_Values_specs_1 = {
45         asn_MAP_PA_Values_value2enum_1, /* "tag" => N; sorted by tag */
46         asn_MAP_PA_Values_enum2value_1, /* N => "tag"; sorted by N */
47         8,      /* Number of elements in the maps */
48         9,      /* Extensions before this member */
49         1,      /* Strict enumeration */
50         0,      /* Native long size */
51         0
52 };
53 static const ber_tlv_tag_t asn_DEF_PA_Values_tags_1[] = {
54         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
55 };
56 asn_TYPE_descriptor_t asn_DEF_PA_Values = {
57         "PA-Values",
58         "PA-Values",
59         &asn_OP_NativeEnumerated,
60         asn_DEF_PA_Values_tags_1,
61         sizeof(asn_DEF_PA_Values_tags_1)
62                 /sizeof(asn_DEF_PA_Values_tags_1[0]), /* 1 */
63         asn_DEF_PA_Values_tags_1,       /* Same as above */
64         sizeof(asn_DEF_PA_Values_tags_1)
65                 /sizeof(asn_DEF_PA_Values_tags_1[0]), /* 1 */
66         { &asn_OER_type_PA_Values_constr_1, &asn_PER_type_PA_Values_constr_1, NativeEnumerated_constraint },
67         0, 0,   /* Defined elsewhere */
68         &asn_SPC_PA_Values_specs_1      /* Additional specs */
69 };
70