2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "/home/labadmin/hlal/rrc_15.3_asn.asn1"
5 * `asn1c -D ./15_3_rrc/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "PUCCH-MaxCodeRate.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 static asn_oer_constraints_t asn_OER_type_PUCCH_MaxCodeRate_constr_1 CC_NOTUSED = {
17 asn_per_constraints_t asn_PER_type_PUCCH_MaxCodeRate_constr_1 CC_NOTUSED = {
18 { APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
22 static const asn_INTEGER_enum_map_t asn_MAP_PUCCH_MaxCodeRate_value2enum_1[] = {
23 { 0, 9, "zeroDot08" },
24 { 1, 9, "zeroDot15" },
25 { 2, 9, "zeroDot25" },
26 { 3, 9, "zeroDot35" },
27 { 4, 9, "zeroDot45" },
28 { 5, 9, "zeroDot60" },
31 static const unsigned int asn_MAP_PUCCH_MaxCodeRate_enum2value_1[] = {
40 const asn_INTEGER_specifics_t asn_SPC_PUCCH_MaxCodeRate_specs_1 = {
41 asn_MAP_PUCCH_MaxCodeRate_value2enum_1, /* "tag" => N; sorted by tag */
42 asn_MAP_PUCCH_MaxCodeRate_enum2value_1, /* N => "tag"; sorted by N */
43 7, /* Number of elements in the maps */
44 0, /* Enumeration is not extensible */
45 1, /* Strict enumeration */
46 0, /* Native long size */
49 static const ber_tlv_tag_t asn_DEF_PUCCH_MaxCodeRate_tags_1[] = {
50 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
52 asn_TYPE_descriptor_t asn_DEF_PUCCH_MaxCodeRate = {
55 &asn_OP_NativeEnumerated,
56 asn_DEF_PUCCH_MaxCodeRate_tags_1,
57 sizeof(asn_DEF_PUCCH_MaxCodeRate_tags_1)
58 /sizeof(asn_DEF_PUCCH_MaxCodeRate_tags_1[0]), /* 1 */
59 asn_DEF_PUCCH_MaxCodeRate_tags_1, /* Same as above */
60 sizeof(asn_DEF_PUCCH_MaxCodeRate_tags_1)
61 /sizeof(asn_DEF_PUCCH_MaxCodeRate_tags_1[0]), /* 1 */
62 { &asn_OER_type_PUCCH_MaxCodeRate_constr_1, &asn_PER_type_PUCCH_MaxCodeRate_constr_1, NativeEnumerated_constraint },
63 0, 0, /* Defined elsewhere */
64 &asn_SPC_PUCCH_MaxCodeRate_specs_1 /* Additional specs */