2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-InterNodeDefinitions"
4 * found in "./22April22_Paging/rrc_15.3_asn.asn1"
5 * `asn1c -D ./22April22_Paging -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "RRM-Config.h"
10 #include "MeasResultList2NR.h"
12 * This type is implemented using NativeEnumerated,
13 * so here we adjust the DEF accordingly.
15 static asn_oer_constraints_t asn_OER_type_ue_InactiveTime_constr_2 CC_NOTUSED = {
18 static asn_per_constraints_t asn_PER_type_ue_InactiveTime_constr_2 CC_NOTUSED = {
19 { APC_CONSTRAINED, 6, 6, 0, 63 } /* (0..63) */,
20 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
21 0, 0 /* No PER value map */
23 static const asn_INTEGER_enum_map_t asn_MAP_ue_InactiveTime_value2enum_2[] = {
61 { 37, 8, "hr1min30" },
63 { 39, 8, "hr2min30" },
65 { 41, 8, "hr3min30" },
75 { 51, 8, "day1hr12" },
77 { 53, 8, "day2hr12" },
87 { 63, 13, "dayMoreThan30" }
89 static const unsigned int asn_MAP_ue_InactiveTime_enum2value_2[] = {
94 51, /* day1hr12(51) */
97 53, /* day2hr12(53) */
103 63, /* dayMoreThan30(63) */
108 37, /* hr1min30(37) */
111 39, /* hr2min30(39) */
113 41, /* hr3min30(41) */
123 13, /* min1s20(13) */
124 14, /* min1s40(14) */
129 16, /* min2s30(16) */
133 18, /* min3s30(18) */
155 static const asn_INTEGER_specifics_t asn_SPC_ue_InactiveTime_specs_2 = {
156 asn_MAP_ue_InactiveTime_value2enum_2, /* "tag" => N; sorted by tag */
157 asn_MAP_ue_InactiveTime_enum2value_2, /* N => "tag"; sorted by N */
158 64, /* Number of elements in the maps */
159 0, /* Enumeration is not extensible */
160 1, /* Strict enumeration */
161 0, /* Native long size */
164 static const ber_tlv_tag_t asn_DEF_ue_InactiveTime_tags_2[] = {
165 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
166 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
168 static /* Use -fall-defs-global to expose */
169 asn_TYPE_descriptor_t asn_DEF_ue_InactiveTime_2 = {
172 &asn_OP_NativeEnumerated,
173 asn_DEF_ue_InactiveTime_tags_2,
174 sizeof(asn_DEF_ue_InactiveTime_tags_2)
175 /sizeof(asn_DEF_ue_InactiveTime_tags_2[0]) - 1, /* 1 */
176 asn_DEF_ue_InactiveTime_tags_2, /* Same as above */
177 sizeof(asn_DEF_ue_InactiveTime_tags_2)
178 /sizeof(asn_DEF_ue_InactiveTime_tags_2[0]), /* 2 */
179 { &asn_OER_type_ue_InactiveTime_constr_2, &asn_PER_type_ue_InactiveTime_constr_2, NativeEnumerated_constraint },
180 0, 0, /* Defined elsewhere */
181 &asn_SPC_ue_InactiveTime_specs_2 /* Additional specs */
184 asn_TYPE_member_t asn_MBR_RRM_Config_1[] = {
185 { ATF_POINTER, 2, offsetof(struct RRM_Config, ue_InactiveTime),
186 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
187 -1, /* IMPLICIT tag at current level */
188 &asn_DEF_ue_InactiveTime_2,
191 0, 0, /* No default value */
194 { ATF_POINTER, 1, offsetof(struct RRM_Config, candidateCellInfoList),
195 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
196 -1, /* IMPLICIT tag at current level */
197 &asn_DEF_MeasResultList2NR,
200 0, 0, /* No default value */
201 "candidateCellInfoList"
204 static const int asn_MAP_RRM_Config_oms_1[] = { 0, 1 };
205 static const ber_tlv_tag_t asn_DEF_RRM_Config_tags_1[] = {
206 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
208 static const asn_TYPE_tag2member_t asn_MAP_RRM_Config_tag2el_1[] = {
209 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-InactiveTime */
210 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* candidateCellInfoList */
212 asn_SEQUENCE_specifics_t asn_SPC_RRM_Config_specs_1 = {
213 sizeof(struct RRM_Config),
214 offsetof(struct RRM_Config, _asn_ctx),
215 asn_MAP_RRM_Config_tag2el_1,
216 2, /* Count of tags in the map */
217 asn_MAP_RRM_Config_oms_1, /* Optional members */
218 2, 0, /* Root/Additions */
219 2, /* First extension addition */
221 asn_TYPE_descriptor_t asn_DEF_RRM_Config = {
225 asn_DEF_RRM_Config_tags_1,
226 sizeof(asn_DEF_RRM_Config_tags_1)
227 /sizeof(asn_DEF_RRM_Config_tags_1[0]), /* 1 */
228 asn_DEF_RRM_Config_tags_1, /* Same as above */
229 sizeof(asn_DEF_RRM_Config_tags_1)
230 /sizeof(asn_DEF_RRM_Config_tags_1[0]), /* 1 */
231 { 0, 0, SEQUENCE_constraint },
232 asn_MBR_RRM_Config_1,
233 2, /* Elements count */
234 &asn_SPC_RRM_Config_specs_1 /* Additional specs */