ISSUE ID:- RICAPP-216
[ric-app/bouncer.git] / Bouncer / e2sm_kpm / 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-COMMON-IEs.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-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 asn_per_constraints_t asn_PER_type_RRCclass_NR_constr_1 CC_NOTUSED = {
15         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  7 }    /* (0..7,...) */,
16         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
17         0, 0    /* No PER value map */
18 };
19 static const asn_INTEGER_enum_map_t asn_MAP_RRCclass_NR_value2enum_1[] = {
20         { 0,    8,      "bCCH-BCH" },
21         { 1,    11,     "bCCH-DL-SCH" },
22         { 2,    7,      "dL-CCCH" },
23         { 3,    7,      "dL-DCCH" },
24         { 4,    4,      "pCCH" },
25         { 5,    7,      "uL-CCCH" },
26         { 6,    8,      "uL-CCCH1" },
27         { 7,    7,      "uL-DCCH" }
28         /* This list is extensible */
29 };
30 static const unsigned int asn_MAP_RRCclass_NR_enum2value_1[] = {
31         0,      /* bCCH-BCH(0) */
32         1,      /* bCCH-DL-SCH(1) */
33         2,      /* dL-CCCH(2) */
34         3,      /* dL-DCCH(3) */
35         4,      /* pCCH(4) */
36         5,      /* uL-CCCH(5) */
37         6,      /* uL-CCCH1(6) */
38         7       /* uL-DCCH(7) */
39         /* This list is extensible */
40 };
41 const asn_INTEGER_specifics_t asn_SPC_RRCclass_NR_specs_1 = {
42         asn_MAP_RRCclass_NR_value2enum_1,       /* "tag" => N; sorted by tag */
43         asn_MAP_RRCclass_NR_enum2value_1,       /* N => "tag"; sorted by N */
44         8,      /* Number of elements in the maps */
45         9,      /* Extensions before this member */
46         1,      /* Strict enumeration */
47         0,      /* Native long size */
48         0
49 };
50 static const ber_tlv_tag_t asn_DEF_RRCclass_NR_tags_1[] = {
51         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
52 };
53 asn_TYPE_descriptor_t asn_DEF_RRCclass_NR = {
54         "RRCclass-NR",
55         "RRCclass-NR",
56         &asn_OP_NativeEnumerated,
57         asn_DEF_RRCclass_NR_tags_1,
58         sizeof(asn_DEF_RRCclass_NR_tags_1)
59                 /sizeof(asn_DEF_RRCclass_NR_tags_1[0]), /* 1 */
60         asn_DEF_RRCclass_NR_tags_1,     /* Same as above */
61         sizeof(asn_DEF_RRCclass_NR_tags_1)
62                 /sizeof(asn_DEF_RRCclass_NR_tags_1[0]), /* 1 */
63         { 0, &asn_PER_type_RRCclass_NR_constr_1, NativeEnumerated_constraint },
64         0, 0,   /* Defined elsewhere */
65         &asn_SPC_RRCclass_NR_specs_1    /* Additional specs */
66 };
67