ISSUE ID:- RICAPP-216
[ric-app/bouncer.git] / Bouncer / e2sm_rc / lib / 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.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example`
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 static asn_oer_constraints_t asn_OER_type_RRCclass_NR_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 asn_per_constraints_t asn_PER_type_RRCclass_NR_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_RRCclass_NR_value2enum_1[] = {
23         { 0,    8,      "bCCH-BCH" },
24         { 1,    11,     "bCCH-DL-SCH" },
25         { 2,    7,      "dL-CCCH" },
26         { 3,    7,      "dL-DCCH" },
27         { 4,    4,      "pCCH" },
28         { 5,    7,      "uL-CCCH" },
29         { 6,    8,      "uL-CCCH1" },
30         { 7,    7,      "uL-DCCH" }
31         /* This list is extensible */
32 };
33 static const unsigned int asn_MAP_RRCclass_NR_enum2value_1[] = {
34         0,      /* bCCH-BCH(0) */
35         1,      /* bCCH-DL-SCH(1) */
36         2,      /* dL-CCCH(2) */
37         3,      /* dL-DCCH(3) */
38         4,      /* pCCH(4) */
39         5,      /* uL-CCCH(5) */
40         6,      /* uL-CCCH1(6) */
41         7       /* uL-DCCH(7) */
42         /* This list is extensible */
43 };
44 const asn_INTEGER_specifics_t asn_SPC_RRCclass_NR_specs_1 = {
45         asn_MAP_RRCclass_NR_value2enum_1,       /* "tag" => N; sorted by tag */
46         asn_MAP_RRCclass_NR_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_RRCclass_NR_tags_1[] = {
54         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
55 };
56 asn_TYPE_descriptor_t asn_DEF_RRCclass_NR = {
57         "RRCclass-NR",
58         "RRCclass-NR",
59         &asn_OP_NativeEnumerated,
60         asn_DEF_RRCclass_NR_tags_1,
61         sizeof(asn_DEF_RRCclass_NR_tags_1)
62                 /sizeof(asn_DEF_RRCclass_NR_tags_1[0]), /* 1 */
63         asn_DEF_RRCclass_NR_tags_1,     /* Same as above */
64         sizeof(asn_DEF_RRCclass_NR_tags_1)
65                 /sizeof(asn_DEF_RRCclass_NR_tags_1[0]), /* 1 */
66         { &asn_OER_type_RRCclass_NR_constr_1, &asn_PER_type_RRCclass_NR_constr_1, NativeEnumerated_constraint },
67         0, 0,   /* Defined elsewhere */
68         &asn_SPC_RRCclass_NR_specs_1    /* Additional specs */
69 };
70