rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "E2SM-RC-IEs" |
| 4 | * found in "e2sm-rc-nov2021.asn" |
| 5 | * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .` |
| 6 | */ |
| 7 | |
| 8 | #include "RRCclass-LTE.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_LTE_constr_1 CC_NOTUSED = { |
| 15 | { 0, 0 }, |
| 16 | -1}; |
| 17 | asn_per_constraints_t asn_PER_type_RRCclass_LTE_constr_1 CC_NOTUSED = { |
| 18 | { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 11 } /* (0..11,...) */, |
| 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_LTE_value2enum_1[] = { |
| 23 | { 0, 8, "bCCH-BCH" }, |
| 24 | { 1, 13, "bCCH-BCH-MBMS" }, |
| 25 | { 2, 11, "bCCH-DL-SCH" }, |
| 26 | { 3, 14, "bCCH-DL-SCH-BR" }, |
| 27 | { 4, 16, "bCCH-DL-SCH-MBMS" }, |
| 28 | { 5, 4, "mCCH" }, |
| 29 | { 6, 4, "pCCH" }, |
| 30 | { 7, 7, "dL-CCCH" }, |
| 31 | { 8, 7, "dL-DCCH" }, |
| 32 | { 9, 7, "uL-CCCH" }, |
| 33 | { 10, 7, "uL-DCCH" }, |
| 34 | { 11, 7, "sC-MCCH" } |
| 35 | /* This list is extensible */ |
| 36 | }; |
| 37 | static const unsigned int asn_MAP_RRCclass_LTE_enum2value_1[] = { |
| 38 | 0, /* bCCH-BCH(0) */ |
| 39 | 1, /* bCCH-BCH-MBMS(1) */ |
| 40 | 2, /* bCCH-DL-SCH(2) */ |
| 41 | 3, /* bCCH-DL-SCH-BR(3) */ |
| 42 | 4, /* bCCH-DL-SCH-MBMS(4) */ |
| 43 | 7, /* dL-CCCH(7) */ |
| 44 | 8, /* dL-DCCH(8) */ |
| 45 | 5, /* mCCH(5) */ |
| 46 | 6, /* pCCH(6) */ |
| 47 | 11, /* sC-MCCH(11) */ |
| 48 | 9, /* uL-CCCH(9) */ |
| 49 | 10 /* uL-DCCH(10) */ |
| 50 | /* This list is extensible */ |
| 51 | }; |
| 52 | const asn_INTEGER_specifics_t asn_SPC_RRCclass_LTE_specs_1 = { |
| 53 | asn_MAP_RRCclass_LTE_value2enum_1, /* "tag" => N; sorted by tag */ |
| 54 | asn_MAP_RRCclass_LTE_enum2value_1, /* N => "tag"; sorted by N */ |
| 55 | 12, /* Number of elements in the maps */ |
| 56 | 13, /* Extensions before this member */ |
| 57 | 1, /* Strict enumeration */ |
| 58 | 0, /* Native long size */ |
| 59 | 0 |
| 60 | }; |
| 61 | static const ber_tlv_tag_t asn_DEF_RRCclass_LTE_tags_1[] = { |
| 62 | (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) |
| 63 | }; |
| 64 | asn_TYPE_descriptor_t asn_DEF_RRCclass_LTE = { |
| 65 | "RRCclass-LTE", |
| 66 | "RRCclass-LTE", |
| 67 | &asn_OP_NativeEnumerated, |
| 68 | asn_DEF_RRCclass_LTE_tags_1, |
| 69 | sizeof(asn_DEF_RRCclass_LTE_tags_1) |
| 70 | /sizeof(asn_DEF_RRCclass_LTE_tags_1[0]), /* 1 */ |
| 71 | asn_DEF_RRCclass_LTE_tags_1, /* Same as above */ |
| 72 | sizeof(asn_DEF_RRCclass_LTE_tags_1) |
| 73 | /sizeof(asn_DEF_RRCclass_LTE_tags_1[0]), /* 1 */ |
| 74 | { &asn_OER_type_RRCclass_LTE_constr_1, &asn_PER_type_RRCclass_LTE_constr_1, NativeEnumerated_constraint }, |
| 75 | 0, 0, /* Defined elsewhere */ |
| 76 | &asn_SPC_RRCclass_LTE_specs_1 /* Additional specs */ |
| 77 | }; |
| 78 | |