blob: e7b03e37c698c458d2ce2ad2330e475e146fb18c [file] [log] [blame]
Peter Szilagyifbc56f92019-07-23 19:29:46 +00001/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-IEs"
4 * found in "Spec/e2ap-v031ex.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6 */
7
8#include "SubframeAssignment.h"
9
10/*
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
13 */
14static asn_oer_constraints_t asn_OER_type_SubframeAssignment_constr_1 CC_NOTUSED = {
15 { 0, 0 },
16 -1};
17asn_per_constraints_t asn_PER_type_SubframeAssignment_constr_1 CC_NOTUSED = {
18 { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 6 } /* (0..6,...) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
21};
22static const asn_INTEGER_enum_map_t asn_MAP_SubframeAssignment_value2enum_1[] = {
23 { 0, 3, "sa0" },
24 { 1, 3, "sa1" },
25 { 2, 3, "sa2" },
26 { 3, 3, "sa3" },
27 { 4, 3, "sa4" },
28 { 5, 3, "sa5" },
29 { 6, 3, "sa6" }
30 /* This list is extensible */
31};
32static const unsigned int asn_MAP_SubframeAssignment_enum2value_1[] = {
33 0, /* sa0(0) */
34 1, /* sa1(1) */
35 2, /* sa2(2) */
36 3, /* sa3(3) */
37 4, /* sa4(4) */
38 5, /* sa5(5) */
39 6 /* sa6(6) */
40 /* This list is extensible */
41};
42const asn_INTEGER_specifics_t asn_SPC_SubframeAssignment_specs_1 = {
43 asn_MAP_SubframeAssignment_value2enum_1, /* "tag" => N; sorted by tag */
44 asn_MAP_SubframeAssignment_enum2value_1, /* N => "tag"; sorted by N */
45 7, /* Number of elements in the maps */
46 8, /* Extensions before this member */
47 1, /* Strict enumeration */
48 0, /* Native long size */
49 0
50};
51static const ber_tlv_tag_t asn_DEF_SubframeAssignment_tags_1[] = {
52 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
53};
54asn_TYPE_descriptor_t asn_DEF_SubframeAssignment = {
55 "SubframeAssignment",
56 "SubframeAssignment",
57 &asn_OP_NativeEnumerated,
58 asn_DEF_SubframeAssignment_tags_1,
59 sizeof(asn_DEF_SubframeAssignment_tags_1)
60 /sizeof(asn_DEF_SubframeAssignment_tags_1[0]), /* 1 */
61 asn_DEF_SubframeAssignment_tags_1, /* Same as above */
62 sizeof(asn_DEF_SubframeAssignment_tags_1)
63 /sizeof(asn_DEF_SubframeAssignment_tags_1[0]), /* 1 */
64 { &asn_OER_type_SubframeAssignment_constr_1, &asn_PER_type_SubframeAssignment_constr_1, NativeEnumerated_constraint },
65 0, 0, /* Defined elsewhere */
66 &asn_SPC_SubframeAssignment_specs_1 /* Additional specs */
67};
68