/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NR-RRC-Definitions" * found in "./22April22_Paging/rrc_15.3_asn.asn1" * `asn1c -D ./22April22_Paging -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example` */ #include "RLF-TimersAndConstants.h" /* * This type is implemented using NativeEnumerated, * so here we adjust the DEF accordingly. */ /* * This type is implemented using NativeEnumerated, * so here we adjust the DEF accordingly. */ /* * This type is implemented using NativeEnumerated, * so here we adjust the DEF accordingly. */ /* * This type is implemented using NativeEnumerated, * so here we adjust the DEF accordingly. */ static asn_oer_constraints_t asn_OER_type_t310_constr_2 CC_NOTUSED = { { 0, 0 }, -1}; static asn_per_constraints_t asn_PER_type_t310_constr_2 CC_NOTUSED = { { APC_CONSTRAINED, 4, 4, 0, 8 } /* (0..8) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; static asn_oer_constraints_t asn_OER_type_n310_constr_12 CC_NOTUSED = { { 0, 0 }, -1}; static asn_per_constraints_t asn_PER_type_n310_constr_12 CC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; static asn_oer_constraints_t asn_OER_type_n311_constr_21 CC_NOTUSED = { { 0, 0 }, -1}; static asn_per_constraints_t asn_PER_type_n311_constr_21 CC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; static asn_oer_constraints_t asn_OER_type_t311_v1530_constr_32 CC_NOTUSED = { { 0, 0 }, -1}; static asn_per_constraints_t asn_PER_type_t311_v1530_constr_32 CC_NOTUSED = { { APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; static const asn_INTEGER_enum_map_t asn_MAP_t310_value2enum_2[] = { { 0, 3, "ms0" }, { 1, 4, "ms50" }, { 2, 5, "ms100" }, { 3, 5, "ms200" }, { 4, 5, "ms500" }, { 5, 6, "ms1000" }, { 6, 6, "ms2000" }, { 7, 6, "ms4000" }, { 8, 6, "ms6000" } }; static const unsigned int asn_MAP_t310_enum2value_2[] = { 0, /* ms0(0) */ 2, /* ms100(2) */ 5, /* ms1000(5) */ 3, /* ms200(3) */ 6, /* ms2000(6) */ 7, /* ms4000(7) */ 1, /* ms50(1) */ 4, /* ms500(4) */ 8 /* ms6000(8) */ }; static const asn_INTEGER_specifics_t asn_SPC_t310_specs_2 = { asn_MAP_t310_value2enum_2, /* "tag" => N; sorted by tag */ asn_MAP_t310_enum2value_2, /* N => "tag"; sorted by N */ 9, /* Number of elements in the maps */ 0, /* Enumeration is not extensible */ 1, /* Strict enumeration */ 0, /* Native long size */ 0 }; static const ber_tlv_tag_t asn_DEF_t310_tags_2[] = { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_t310_2 = { "t310", "t310", &asn_OP_NativeEnumerated, asn_DEF_t310_tags_2, sizeof(asn_DEF_t310_tags_2) /sizeof(asn_DEF_t310_tags_2[0]) - 1, /* 1 */ asn_DEF_t310_tags_2, /* Same as above */ sizeof(asn_DEF_t310_tags_2) /sizeof(asn_DEF_t310_tags_2[0]), /* 2 */ { &asn_OER_type_t310_constr_2, &asn_PER_type_t310_constr_2, NativeEnumerated_constraint }, 0, 0, /* Defined elsewhere */ &asn_SPC_t310_specs_2 /* Additional specs */ }; static const asn_INTEGER_enum_map_t asn_MAP_n310_value2enum_12[] = { { 0, 2, "n1" }, { 1, 2, "n2" }, { 2, 2, "n3" }, { 3, 2, "n4" }, { 4, 2, "n6" }, { 5, 2, "n8" }, { 6, 3, "n10" }, { 7, 3, "n20" } }; static const unsigned int asn_MAP_n310_enum2value_12[] = { 0, /* n1(0) */ 6, /* n10(6) */ 1, /* n2(1) */ 7, /* n20(7) */ 2, /* n3(2) */ 3, /* n4(3) */ 4, /* n6(4) */ 5 /* n8(5) */ }; static const asn_INTEGER_specifics_t asn_SPC_n310_specs_12 = { asn_MAP_n310_value2enum_12, /* "tag" => N; sorted by tag */ asn_MAP_n310_enum2value_12, /* N => "tag"; sorted by N */ 8, /* Number of elements in the maps */ 0, /* Enumeration is not extensible */ 1, /* Strict enumeration */ 0, /* Native long size */ 0 }; static const ber_tlv_tag_t asn_DEF_n310_tags_12[] = { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_n310_12 = { "n310", "n310", &asn_OP_NativeEnumerated, asn_DEF_n310_tags_12, sizeof(asn_DEF_n310_tags_12) /sizeof(asn_DEF_n310_tags_12[0]) - 1, /* 1 */ asn_DEF_n310_tags_12, /* Same as above */ sizeof(asn_DEF_n310_tags_12) /sizeof(asn_DEF_n310_tags_12[0]), /* 2 */ { &asn_OER_type_n310_constr_12, &asn_PER_type_n310_constr_12, NativeEnumerated_constraint }, 0, 0, /* Defined elsewhere */ &asn_SPC_n310_specs_12 /* Additional specs */ }; static const asn_INTEGER_enum_map_t asn_MAP_n311_value2enum_21[] = { { 0, 2, "n1" }, { 1, 2, "n2" }, { 2, 2, "n3" }, { 3, 2, "n4" }, { 4, 2, "n5" }, { 5, 2, "n6" }, { 6, 2, "n8" }, { 7, 3, "n10" } }; static const unsigned int asn_MAP_n311_enum2value_21[] = { 0, /* n1(0) */ 7, /* n10(7) */ 1, /* n2(1) */ 2, /* n3(2) */ 3, /* n4(3) */ 4, /* n5(4) */ 5, /* n6(5) */ 6 /* n8(6) */ }; static const asn_INTEGER_specifics_t asn_SPC_n311_specs_21 = { asn_MAP_n311_value2enum_21, /* "tag" => N; sorted by tag */ asn_MAP_n311_enum2value_21, /* N => "tag"; sorted by N */ 8, /* Number of elements in the maps */ 0, /* Enumeration is not extensible */ 1, /* Strict enumeration */ 0, /* Native long size */ 0 }; static const ber_tlv_tag_t asn_DEF_n311_tags_21[] = { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_n311_21 = { "n311", "n311", &asn_OP_NativeEnumerated, asn_DEF_n311_tags_21, sizeof(asn_DEF_n311_tags_21) /sizeof(asn_DEF_n311_tags_21[0]) - 1, /* 1 */ asn_DEF_n311_tags_21, /* Same as above */ sizeof(asn_DEF_n311_tags_21) /sizeof(asn_DEF_n311_tags_21[0]), /* 2 */ { &asn_OER_type_n311_constr_21, &asn_PER_type_n311_constr_21, NativeEnumerated_constraint }, 0, 0, /* Defined elsewhere */ &asn_SPC_n311_specs_21 /* Additional specs */ }; static const asn_INTEGER_enum_map_t asn_MAP_t311_v1530_value2enum_32[] = { { 0, 6, "ms1000" }, { 1, 6, "ms3000" }, { 2, 6, "ms5000" }, { 3, 7, "ms10000" }, { 4, 7, "ms15000" }, { 5, 7, "ms20000" }, { 6, 7, "ms30000" } }; static const unsigned int asn_MAP_t311_v1530_enum2value_32[] = { 0, /* ms1000(0) */ 3, /* ms10000(3) */ 4, /* ms15000(4) */ 5, /* ms20000(5) */ 1, /* ms3000(1) */ 6, /* ms30000(6) */ 2 /* ms5000(2) */ }; static const asn_INTEGER_specifics_t asn_SPC_t311_v1530_specs_32 = { asn_MAP_t311_v1530_value2enum_32, /* "tag" => N; sorted by tag */ asn_MAP_t311_v1530_enum2value_32, /* N => "tag"; sorted by N */ 7, /* Number of elements in the maps */ 0, /* Enumeration is not extensible */ 1, /* Strict enumeration */ 0, /* Native long size */ 0 }; static const ber_tlv_tag_t asn_DEF_t311_v1530_tags_32[] = { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_t311_v1530_32 = { "t311-v1530", "t311-v1530", &asn_OP_NativeEnumerated, asn_DEF_t311_v1530_tags_32, sizeof(asn_DEF_t311_v1530_tags_32) /sizeof(asn_DEF_t311_v1530_tags_32[0]) - 1, /* 1 */ asn_DEF_t311_v1530_tags_32, /* Same as above */ sizeof(asn_DEF_t311_v1530_tags_32) /sizeof(asn_DEF_t311_v1530_tags_32[0]), /* 2 */ { &asn_OER_type_t311_v1530_constr_32, &asn_PER_type_t311_v1530_constr_32, NativeEnumerated_constraint }, 0, 0, /* Defined elsewhere */ &asn_SPC_t311_v1530_specs_32 /* Additional specs */ }; static asn_TYPE_member_t asn_MBR_ext1_31[] = { { ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants__ext1, t311_v1530), (ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_t311_v1530_32, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "t311-v1530" }, }; static const ber_tlv_tag_t asn_DEF_ext1_tags_31[] = { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_ext1_tag2el_31[] = { { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* t311-v1530 */ }; static asn_SEQUENCE_specifics_t asn_SPC_ext1_specs_31 = { sizeof(struct RLF_TimersAndConstants__ext1), offsetof(struct RLF_TimersAndConstants__ext1, _asn_ctx), asn_MAP_ext1_tag2el_31, 1, /* Count of tags in the map */ 0, 0, 0, /* Optional elements (not needed) */ -1, /* First extension addition */ }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_ext1_31 = { "ext1", "ext1", &asn_OP_SEQUENCE, asn_DEF_ext1_tags_31, sizeof(asn_DEF_ext1_tags_31) /sizeof(asn_DEF_ext1_tags_31[0]) - 1, /* 1 */ asn_DEF_ext1_tags_31, /* Same as above */ sizeof(asn_DEF_ext1_tags_31) /sizeof(asn_DEF_ext1_tags_31[0]), /* 2 */ { 0, 0, SEQUENCE_constraint }, asn_MBR_ext1_31, 1, /* Elements count */ &asn_SPC_ext1_specs_31 /* Additional specs */ }; asn_TYPE_member_t asn_MBR_RLF_TimersAndConstants_1[] = { { ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants, t310), (ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_t310_2, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "t310" }, { ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants, n310), (ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_n310_12, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "n310" }, { ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants, n311), (ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_n311_21, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "n311" }, { ATF_POINTER, 1, offsetof(struct RLF_TimersAndConstants, ext1), (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, &asn_DEF_ext1_31, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "ext1" }, }; static const int asn_MAP_RLF_TimersAndConstants_oms_1[] = { 3 }; static const ber_tlv_tag_t asn_DEF_RLF_TimersAndConstants_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_RLF_TimersAndConstants_tag2el_1[] = { { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* t310 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* n310 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* n311 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* ext1 */ }; asn_SEQUENCE_specifics_t asn_SPC_RLF_TimersAndConstants_specs_1 = { sizeof(struct RLF_TimersAndConstants), offsetof(struct RLF_TimersAndConstants, _asn_ctx), asn_MAP_RLF_TimersAndConstants_tag2el_1, 4, /* Count of tags in the map */ asn_MAP_RLF_TimersAndConstants_oms_1, /* Optional members */ 0, 1, /* Root/Additions */ 3, /* First extension addition */ }; asn_TYPE_descriptor_t asn_DEF_RLF_TimersAndConstants = { "RLF-TimersAndConstants", "RLF-TimersAndConstants", &asn_OP_SEQUENCE, asn_DEF_RLF_TimersAndConstants_tags_1, sizeof(asn_DEF_RLF_TimersAndConstants_tags_1) /sizeof(asn_DEF_RLF_TimersAndConstants_tags_1[0]), /* 1 */ asn_DEF_RLF_TimersAndConstants_tags_1, /* Same as above */ sizeof(asn_DEF_RLF_TimersAndConstants_tags_1) /sizeof(asn_DEF_RLF_TimersAndConstants_tags_1[0]), /* 1 */ { 0, 0, SEQUENCE_constraint }, asn_MBR_RLF_TimersAndConstants_1, 4, /* Elements count */ &asn_SPC_RLF_TimersAndConstants_specs_1 /* Additional specs */ };