Adding initial code jy.oak@samsung.com
[ric-app/kpimon.git] / asn1c_defs / all-defs / RadioframeAllocationPeriod.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 "RadioframeAllocationPeriod.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_RadioframeAllocationPeriod_constr_1 CC_NOTUSED = {\r
15         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  5 }    /* (0..5,...) */,\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_RadioframeAllocationPeriod_value2enum_1[] = {\r
20         { 0,    2,      "n1" },\r
21         { 1,    2,      "n2" },\r
22         { 2,    2,      "n4" },\r
23         { 3,    2,      "n8" },\r
24         { 4,    3,      "n16" },\r
25         { 5,    3,      "n32" }\r
26         /* This list is extensible */\r
27 };\r
28 static const unsigned int asn_MAP_RadioframeAllocationPeriod_enum2value_1[] = {\r
29         0,      /* n1(0) */\r
30         4,      /* n16(4) */\r
31         1,      /* n2(1) */\r
32         5,      /* n32(5) */\r
33         2,      /* n4(2) */\r
34         3       /* n8(3) */\r
35         /* This list is extensible */\r
36 };\r
37 const asn_INTEGER_specifics_t asn_SPC_RadioframeAllocationPeriod_specs_1 = {\r
38         asn_MAP_RadioframeAllocationPeriod_value2enum_1,        /* "tag" => N; sorted by tag */\r
39         asn_MAP_RadioframeAllocationPeriod_enum2value_1,        /* N => "tag"; sorted by N */\r
40         6,      /* Number of elements in the maps */\r
41         7,      /* Extensions before this member */\r
42         1,      /* Strict enumeration */\r
43         0,      /* Native long size */\r
44         0\r
45 };\r
46 static const ber_tlv_tag_t asn_DEF_RadioframeAllocationPeriod_tags_1[] = {\r
47         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))\r
48 };\r
49 asn_TYPE_descriptor_t asn_DEF_RadioframeAllocationPeriod = {\r
50         "RadioframeAllocationPeriod",\r
51         "RadioframeAllocationPeriod",\r
52         &asn_OP_NativeEnumerated,\r
53         asn_DEF_RadioframeAllocationPeriod_tags_1,\r
54         sizeof(asn_DEF_RadioframeAllocationPeriod_tags_1)\r
55                 /sizeof(asn_DEF_RadioframeAllocationPeriod_tags_1[0]), /* 1 */\r
56         asn_DEF_RadioframeAllocationPeriod_tags_1,      /* Same as above */\r
57         sizeof(asn_DEF_RadioframeAllocationPeriod_tags_1)\r
58                 /sizeof(asn_DEF_RadioframeAllocationPeriod_tags_1[0]), /* 1 */\r
59         { 0, &asn_PER_type_RadioframeAllocationPeriod_constr_1, NativeEnumerated_constraint },\r
60         0, 0,   /* Defined elsewhere */\r
61         &asn_SPC_RadioframeAllocationPeriod_specs_1     /* Additional specs */\r
62 };\r
63 \r