145f69c13a2721bb0841bd95926742a2b3af5a13
[ric-app/kpimon.git] / asn1c_defs / all-defs / PA-Values.c
1 /*\r
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)\r
3  * From ASN.1 module "X2AP-IEs"\r
4  *      found in "../../asn_defs/asn1/x2ap-modified-15-05.asn"\r
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`\r
6  */\r
7 \r
8 #include "PA-Values.h"\r
9 \r
10 /*\r
11  * This type is implemented using NativeEnumerated,\r
12  * so here we adjust the DEF accordingly.\r
13  */\r
14 asn_per_constraints_t asn_PER_type_PA_Values_constr_1 CC_NOTUSED = {\r
15         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  7 }    /* (0..7,...) */,\r
16         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },\r
17         0, 0    /* No PER value map */\r
18 };\r
19 static const asn_INTEGER_enum_map_t asn_MAP_PA_Values_value2enum_1[] = {\r
20         { 0,    4,      "dB-6" },\r
21         { 1,    9,      "dB-4dot77" },\r
22         { 2,    4,      "dB-3" },\r
23         { 3,    9,      "dB-1dot77" },\r
24         { 4,    3,      "dB0" },\r
25         { 5,    3,      "dB1" },\r
26         { 6,    3,      "dB2" },\r
27         { 7,    3,      "dB3" }\r
28         /* This list is extensible */\r
29 };\r
30 static const unsigned int asn_MAP_PA_Values_enum2value_1[] = {\r
31         3,      /* dB-1dot77(3) */\r
32         2,      /* dB-3(2) */\r
33         1,      /* dB-4dot77(1) */\r
34         0,      /* dB-6(0) */\r
35         4,      /* dB0(4) */\r
36         5,      /* dB1(5) */\r
37         6,      /* dB2(6) */\r
38         7       /* dB3(7) */\r
39         /* This list is extensible */\r
40 };\r
41 const asn_INTEGER_specifics_t asn_SPC_PA_Values_specs_1 = {\r
42         asn_MAP_PA_Values_value2enum_1, /* "tag" => N; sorted by tag */\r
43         asn_MAP_PA_Values_enum2value_1, /* N => "tag"; sorted by N */\r
44         8,      /* Number of elements in the maps */\r
45         9,      /* Extensions before this member */\r
46         1,      /* Strict enumeration */\r
47         0,      /* Native long size */\r
48         0\r
49 };\r
50 static const ber_tlv_tag_t asn_DEF_PA_Values_tags_1[] = {\r
51         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))\r
52 };\r
53 asn_TYPE_descriptor_t asn_DEF_PA_Values = {\r
54         "PA-Values",\r
55         "PA-Values",\r
56         &asn_OP_NativeEnumerated,\r
57         asn_DEF_PA_Values_tags_1,\r
58         sizeof(asn_DEF_PA_Values_tags_1)\r
59                 /sizeof(asn_DEF_PA_Values_tags_1[0]), /* 1 */\r
60         asn_DEF_PA_Values_tags_1,       /* Same as above */\r
61         sizeof(asn_DEF_PA_Values_tags_1)\r
62                 /sizeof(asn_DEF_PA_Values_tags_1[0]), /* 1 */\r
63         { 0, &asn_PER_type_PA_Values_constr_1, NativeEnumerated_constraint },\r
64         0, 0,   /* Defined elsewhere */\r
65         &asn_SPC_PA_Values_specs_1      /* Additional specs */\r
66 };\r
67 \r