SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / RRCclass-NR.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2SM-COMMON-IEs"
4  *      found in "e2sm-v03.01.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
6  */
7
8 #include "RRCclass-NR.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
15 asn_per_constraints_t asn_PER_type_RRCclass_NR_constr_1 CC_NOTUSED = {
16         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  7 }    /* (0..7,...) */,
17         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
18         0, 0    /* No PER value map */
19 };
20 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
21 static const asn_INTEGER_enum_map_t asn_MAP_RRCclass_NR_value2enum_1[] = {
22         { 0,    8,      "bCCH-BCH" },
23         { 1,    11,     "bCCH-DL-SCH" },
24         { 2,    7,      "dL-CCCH" },
25         { 3,    7,      "dL-DCCH" },
26         { 4,    4,      "pCCH" },
27         { 5,    7,      "uL-CCCH" },
28         { 6,    8,      "uL-CCCH1" },
29         { 7,    7,      "uL-DCCH" }
30         /* This list is extensible */
31 };
32 static const unsigned int asn_MAP_RRCclass_NR_enum2value_1[] = {
33         0,      /* bCCH-BCH(0) */
34         1,      /* bCCH-DL-SCH(1) */
35         2,      /* dL-CCCH(2) */
36         3,      /* dL-DCCH(3) */
37         4,      /* pCCH(4) */
38         5,      /* uL-CCCH(5) */
39         6,      /* uL-CCCH1(6) */
40         7       /* uL-DCCH(7) */
41         /* This list is extensible */
42 };
43 const asn_INTEGER_specifics_t asn_SPC_RRCclass_NR_specs_1 = {
44         asn_MAP_RRCclass_NR_value2enum_1,       /* "tag" => N; sorted by tag */
45         asn_MAP_RRCclass_NR_enum2value_1,       /* N => "tag"; sorted by N */
46         8,      /* Number of elements in the maps */
47         9,      /* Extensions before this member */
48         1,      /* Strict enumeration */
49         0,      /* Native long size */
50         0
51 };
52 static const ber_tlv_tag_t asn_DEF_RRCclass_NR_tags_1[] = {
53         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
54 };
55 asn_TYPE_descriptor_t asn_DEF_RRCclass_NR = {
56         "RRCclass-NR",
57         "RRCclass-NR",
58         &asn_OP_NativeEnumerated,
59         asn_DEF_RRCclass_NR_tags_1,
60         sizeof(asn_DEF_RRCclass_NR_tags_1)
61                 /sizeof(asn_DEF_RRCclass_NR_tags_1[0]), /* 1 */
62         asn_DEF_RRCclass_NR_tags_1,     /* Same as above */
63         sizeof(asn_DEF_RRCclass_NR_tags_1)
64                 /sizeof(asn_DEF_RRCclass_NR_tags_1[0]), /* 1 */
65         {
66 #if !defined(ASN_DISABLE_OER_SUPPORT)
67                 0,
68 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
69 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
70                 &asn_PER_type_RRCclass_NR_constr_1,
71 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
72                 NativeEnumerated_constraint
73         },
74         0, 0,   /* Defined elsewhere */
75         &asn_SPC_RRCclass_NR_specs_1    /* Additional specs */
76 };
77