2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
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 "CellReselectionPriorities.h"
10 #include "FreqPriorityListEUTRA.h"
11 #include "FreqPriorityListNR.h"
13 * This type is implemented using NativeEnumerated,
14 * so here we adjust the DEF accordingly.
16 static asn_oer_constraints_t asn_OER_type_t320_constr_4 CC_NOTUSED = {
19 static asn_per_constraints_t asn_PER_type_t320_constr_4 CC_NOTUSED = {
20 { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */,
21 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
22 0, 0 /* No PER value map */
24 static const asn_INTEGER_enum_map_t asn_MAP_t320_value2enum_4[] = {
34 static const unsigned int asn_MAP_t320_enum2value_4[] = {
44 static const asn_INTEGER_specifics_t asn_SPC_t320_specs_4 = {
45 asn_MAP_t320_value2enum_4, /* "tag" => N; sorted by tag */
46 asn_MAP_t320_enum2value_4, /* N => "tag"; sorted by N */
47 8, /* Number of elements in the maps */
48 0, /* Enumeration is not extensible */
49 1, /* Strict enumeration */
50 0, /* Native long size */
53 static const ber_tlv_tag_t asn_DEF_t320_tags_4[] = {
54 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
55 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
57 static /* Use -fall-defs-global to expose */
58 asn_TYPE_descriptor_t asn_DEF_t320_4 = {
61 &asn_OP_NativeEnumerated,
63 sizeof(asn_DEF_t320_tags_4)
64 /sizeof(asn_DEF_t320_tags_4[0]) - 1, /* 1 */
65 asn_DEF_t320_tags_4, /* Same as above */
66 sizeof(asn_DEF_t320_tags_4)
67 /sizeof(asn_DEF_t320_tags_4[0]), /* 2 */
68 { &asn_OER_type_t320_constr_4, &asn_PER_type_t320_constr_4, NativeEnumerated_constraint },
69 0, 0, /* Defined elsewhere */
70 &asn_SPC_t320_specs_4 /* Additional specs */
73 asn_TYPE_member_t asn_MBR_CellReselectionPriorities_1[] = {
74 { ATF_POINTER, 3, offsetof(struct CellReselectionPriorities, freqPriorityListEUTRA),
75 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
76 -1, /* IMPLICIT tag at current level */
77 &asn_DEF_FreqPriorityListEUTRA,
80 0, 0, /* No default value */
81 "freqPriorityListEUTRA"
83 { ATF_POINTER, 2, offsetof(struct CellReselectionPriorities, freqPriorityListNR),
84 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
85 -1, /* IMPLICIT tag at current level */
86 &asn_DEF_FreqPriorityListNR,
89 0, 0, /* No default value */
92 { ATF_POINTER, 1, offsetof(struct CellReselectionPriorities, t320),
93 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
94 -1, /* IMPLICIT tag at current level */
98 0, 0, /* No default value */
102 static const int asn_MAP_CellReselectionPriorities_oms_1[] = { 0, 1, 2 };
103 static const ber_tlv_tag_t asn_DEF_CellReselectionPriorities_tags_1[] = {
104 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
106 static const asn_TYPE_tag2member_t asn_MAP_CellReselectionPriorities_tag2el_1[] = {
107 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* freqPriorityListEUTRA */
108 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* freqPriorityListNR */
109 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* t320 */
111 asn_SEQUENCE_specifics_t asn_SPC_CellReselectionPriorities_specs_1 = {
112 sizeof(struct CellReselectionPriorities),
113 offsetof(struct CellReselectionPriorities, _asn_ctx),
114 asn_MAP_CellReselectionPriorities_tag2el_1,
115 3, /* Count of tags in the map */
116 asn_MAP_CellReselectionPriorities_oms_1, /* Optional members */
117 3, 0, /* Root/Additions */
118 3, /* First extension addition */
120 asn_TYPE_descriptor_t asn_DEF_CellReselectionPriorities = {
121 "CellReselectionPriorities",
122 "CellReselectionPriorities",
124 asn_DEF_CellReselectionPriorities_tags_1,
125 sizeof(asn_DEF_CellReselectionPriorities_tags_1)
126 /sizeof(asn_DEF_CellReselectionPriorities_tags_1[0]), /* 1 */
127 asn_DEF_CellReselectionPriorities_tags_1, /* Same as above */
128 sizeof(asn_DEF_CellReselectionPriorities_tags_1)
129 /sizeof(asn_DEF_CellReselectionPriorities_tags_1[0]), /* 1 */
130 { 0, 0, SEQUENCE_constraint },
131 asn_MBR_CellReselectionPriorities_1,
132 3, /* Elements count */
133 &asn_SPC_CellReselectionPriorities_specs_1 /* Additional specs */