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 "RA-Prioritization.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
15 * This type is implemented using NativeEnumerated,
16 * so here we adjust the DEF accordingly.
18 static asn_oer_constraints_t asn_OER_type_powerRampingStepHighPriority_constr_2 CC_NOTUSED = {
21 static asn_per_constraints_t asn_PER_type_powerRampingStepHighPriority_constr_2 CC_NOTUSED = {
22 { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
23 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
24 0, 0 /* No PER value map */
26 static asn_oer_constraints_t asn_OER_type_scalingFactorBI_constr_7 CC_NOTUSED = {
29 static asn_per_constraints_t asn_PER_type_scalingFactorBI_constr_7 CC_NOTUSED = {
30 { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
31 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
32 0, 0 /* No PER value map */
34 static const asn_INTEGER_enum_map_t asn_MAP_powerRampingStepHighPriority_value2enum_2[] = {
40 static const unsigned int asn_MAP_powerRampingStepHighPriority_enum2value_2[] = {
46 static const asn_INTEGER_specifics_t asn_SPC_powerRampingStepHighPriority_specs_2 = {
47 asn_MAP_powerRampingStepHighPriority_value2enum_2, /* "tag" => N; sorted by tag */
48 asn_MAP_powerRampingStepHighPriority_enum2value_2, /* N => "tag"; sorted by N */
49 4, /* Number of elements in the maps */
50 0, /* Enumeration is not extensible */
51 1, /* Strict enumeration */
52 0, /* Native long size */
55 static const ber_tlv_tag_t asn_DEF_powerRampingStepHighPriority_tags_2[] = {
56 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
57 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
59 static /* Use -fall-defs-global to expose */
60 asn_TYPE_descriptor_t asn_DEF_powerRampingStepHighPriority_2 = {
61 "powerRampingStepHighPriority",
62 "powerRampingStepHighPriority",
63 &asn_OP_NativeEnumerated,
64 asn_DEF_powerRampingStepHighPriority_tags_2,
65 sizeof(asn_DEF_powerRampingStepHighPriority_tags_2)
66 /sizeof(asn_DEF_powerRampingStepHighPriority_tags_2[0]) - 1, /* 1 */
67 asn_DEF_powerRampingStepHighPriority_tags_2, /* Same as above */
68 sizeof(asn_DEF_powerRampingStepHighPriority_tags_2)
69 /sizeof(asn_DEF_powerRampingStepHighPriority_tags_2[0]), /* 2 */
70 { &asn_OER_type_powerRampingStepHighPriority_constr_2, &asn_PER_type_powerRampingStepHighPriority_constr_2, NativeEnumerated_constraint },
71 0, 0, /* Defined elsewhere */
72 &asn_SPC_powerRampingStepHighPriority_specs_2 /* Additional specs */
75 static const asn_INTEGER_enum_map_t asn_MAP_scalingFactorBI_value2enum_7[] = {
81 static const unsigned int asn_MAP_scalingFactorBI_enum2value_7[] = {
87 static const asn_INTEGER_specifics_t asn_SPC_scalingFactorBI_specs_7 = {
88 asn_MAP_scalingFactorBI_value2enum_7, /* "tag" => N; sorted by tag */
89 asn_MAP_scalingFactorBI_enum2value_7, /* N => "tag"; sorted by N */
90 4, /* Number of elements in the maps */
91 0, /* Enumeration is not extensible */
92 1, /* Strict enumeration */
93 0, /* Native long size */
96 static const ber_tlv_tag_t asn_DEF_scalingFactorBI_tags_7[] = {
97 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
98 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
100 static /* Use -fall-defs-global to expose */
101 asn_TYPE_descriptor_t asn_DEF_scalingFactorBI_7 = {
104 &asn_OP_NativeEnumerated,
105 asn_DEF_scalingFactorBI_tags_7,
106 sizeof(asn_DEF_scalingFactorBI_tags_7)
107 /sizeof(asn_DEF_scalingFactorBI_tags_7[0]) - 1, /* 1 */
108 asn_DEF_scalingFactorBI_tags_7, /* Same as above */
109 sizeof(asn_DEF_scalingFactorBI_tags_7)
110 /sizeof(asn_DEF_scalingFactorBI_tags_7[0]), /* 2 */
111 { &asn_OER_type_scalingFactorBI_constr_7, &asn_PER_type_scalingFactorBI_constr_7, NativeEnumerated_constraint },
112 0, 0, /* Defined elsewhere */
113 &asn_SPC_scalingFactorBI_specs_7 /* Additional specs */
116 asn_TYPE_member_t asn_MBR_RA_Prioritization_1[] = {
117 { ATF_NOFLAGS, 0, offsetof(struct RA_Prioritization, powerRampingStepHighPriority),
118 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
119 -1, /* IMPLICIT tag at current level */
120 &asn_DEF_powerRampingStepHighPriority_2,
123 0, 0, /* No default value */
124 "powerRampingStepHighPriority"
126 { ATF_POINTER, 1, offsetof(struct RA_Prioritization, scalingFactorBI),
127 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
128 -1, /* IMPLICIT tag at current level */
129 &asn_DEF_scalingFactorBI_7,
132 0, 0, /* No default value */
136 static const int asn_MAP_RA_Prioritization_oms_1[] = { 1 };
137 static const ber_tlv_tag_t asn_DEF_RA_Prioritization_tags_1[] = {
138 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
140 static const asn_TYPE_tag2member_t asn_MAP_RA_Prioritization_tag2el_1[] = {
141 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* powerRampingStepHighPriority */
142 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* scalingFactorBI */
144 asn_SEQUENCE_specifics_t asn_SPC_RA_Prioritization_specs_1 = {
145 sizeof(struct RA_Prioritization),
146 offsetof(struct RA_Prioritization, _asn_ctx),
147 asn_MAP_RA_Prioritization_tag2el_1,
148 2, /* Count of tags in the map */
149 asn_MAP_RA_Prioritization_oms_1, /* Optional members */
150 1, 0, /* Root/Additions */
151 2, /* First extension addition */
153 asn_TYPE_descriptor_t asn_DEF_RA_Prioritization = {
157 asn_DEF_RA_Prioritization_tags_1,
158 sizeof(asn_DEF_RA_Prioritization_tags_1)
159 /sizeof(asn_DEF_RA_Prioritization_tags_1[0]), /* 1 */
160 asn_DEF_RA_Prioritization_tags_1, /* Same as above */
161 sizeof(asn_DEF_RA_Prioritization_tags_1)
162 /sizeof(asn_DEF_RA_Prioritization_tags_1[0]), /* 1 */
163 { 0, 0, SEQUENCE_constraint },
164 asn_MBR_RA_Prioritization_1,
165 2, /* Elements count */
166 &asn_SPC_RA_Prioritization_specs_1 /* Additional specs */