2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-InterNodeDefinitions"
4 * found in "../../../rrc_15.3_asn.asn1"
5 * `asn1c -D ./25_02_2022_RRC/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "AffectedCarrierFreqCombInfoMRDC.h"
10 #include "AffectedCarrierFreqCombEUTRA.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_interferenceDirectionMRDC_constr_3 CC_NOTUSED = {
18 static asn_per_constraints_t asn_PER_type_interferenceDirectionMRDC_constr_3 CC_NOTUSED = {
19 { APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */,
20 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
21 0, 0 /* No PER value map */
23 static const asn_INTEGER_enum_map_t asn_MAP_interferenceDirectionMRDC_value2enum_3[] = {
27 { 3, 13, "utra-nr-other" },
33 static const unsigned int asn_MAP_interferenceDirectionMRDC_enum2value_3[] = {
41 3 /* utra-nr-other(3) */
43 static const asn_INTEGER_specifics_t asn_SPC_interferenceDirectionMRDC_specs_3 = {
44 asn_MAP_interferenceDirectionMRDC_value2enum_3, /* "tag" => N; sorted by tag */
45 asn_MAP_interferenceDirectionMRDC_enum2value_3, /* N => "tag"; sorted by N */
46 8, /* Number of elements in the maps */
47 0, /* Enumeration is not extensible */
48 1, /* Strict enumeration */
49 0, /* Native long size */
52 static const ber_tlv_tag_t asn_DEF_interferenceDirectionMRDC_tags_3[] = {
53 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
54 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
56 static /* Use -fall-defs-global to expose */
57 asn_TYPE_descriptor_t asn_DEF_interferenceDirectionMRDC_3 = {
58 "interferenceDirectionMRDC",
59 "interferenceDirectionMRDC",
60 &asn_OP_NativeEnumerated,
61 asn_DEF_interferenceDirectionMRDC_tags_3,
62 sizeof(asn_DEF_interferenceDirectionMRDC_tags_3)
63 /sizeof(asn_DEF_interferenceDirectionMRDC_tags_3[0]) - 1, /* 1 */
64 asn_DEF_interferenceDirectionMRDC_tags_3, /* Same as above */
65 sizeof(asn_DEF_interferenceDirectionMRDC_tags_3)
66 /sizeof(asn_DEF_interferenceDirectionMRDC_tags_3[0]), /* 2 */
67 { &asn_OER_type_interferenceDirectionMRDC_constr_3, &asn_PER_type_interferenceDirectionMRDC_constr_3, NativeEnumerated_constraint },
68 0, 0, /* Defined elsewhere */
69 &asn_SPC_interferenceDirectionMRDC_specs_3 /* Additional specs */
72 static asn_TYPE_member_t asn_MBR_affectedCarrierFreqCombMRDC_12[] = {
73 { ATF_POINTER, 1, offsetof(struct AffectedCarrierFreqCombInfoMRDC__affectedCarrierFreqCombMRDC, affectedCarrierFreqCombEUTRA),
74 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
75 -1, /* IMPLICIT tag at current level */
76 &asn_DEF_AffectedCarrierFreqCombEUTRA,
79 0, 0, /* No default value */
80 "affectedCarrierFreqCombEUTRA"
82 { ATF_NOFLAGS, 0, offsetof(struct AffectedCarrierFreqCombInfoMRDC__affectedCarrierFreqCombMRDC, affectedCarrierFreqCombNR),
83 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
84 -1, /* IMPLICIT tag at current level */
85 &asn_DEF_AffectedCarrierFreqCombNR,
88 0, 0, /* No default value */
89 "affectedCarrierFreqCombNR"
92 static const int asn_MAP_affectedCarrierFreqCombMRDC_oms_12[] = { 0 };
93 static const ber_tlv_tag_t asn_DEF_affectedCarrierFreqCombMRDC_tags_12[] = {
94 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
95 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
97 static const asn_TYPE_tag2member_t asn_MAP_affectedCarrierFreqCombMRDC_tag2el_12[] = {
98 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* affectedCarrierFreqCombEUTRA */
99 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* affectedCarrierFreqCombNR */
101 static asn_SEQUENCE_specifics_t asn_SPC_affectedCarrierFreqCombMRDC_specs_12 = {
102 sizeof(struct AffectedCarrierFreqCombInfoMRDC__affectedCarrierFreqCombMRDC),
103 offsetof(struct AffectedCarrierFreqCombInfoMRDC__affectedCarrierFreqCombMRDC, _asn_ctx),
104 asn_MAP_affectedCarrierFreqCombMRDC_tag2el_12,
105 2, /* Count of tags in the map */
106 asn_MAP_affectedCarrierFreqCombMRDC_oms_12, /* Optional members */
107 1, 0, /* Root/Additions */
108 -1, /* First extension addition */
110 static /* Use -fall-defs-global to expose */
111 asn_TYPE_descriptor_t asn_DEF_affectedCarrierFreqCombMRDC_12 = {
112 "affectedCarrierFreqCombMRDC",
113 "affectedCarrierFreqCombMRDC",
115 asn_DEF_affectedCarrierFreqCombMRDC_tags_12,
116 sizeof(asn_DEF_affectedCarrierFreqCombMRDC_tags_12)
117 /sizeof(asn_DEF_affectedCarrierFreqCombMRDC_tags_12[0]) - 1, /* 1 */
118 asn_DEF_affectedCarrierFreqCombMRDC_tags_12, /* Same as above */
119 sizeof(asn_DEF_affectedCarrierFreqCombMRDC_tags_12)
120 /sizeof(asn_DEF_affectedCarrierFreqCombMRDC_tags_12[0]), /* 2 */
121 { 0, 0, SEQUENCE_constraint },
122 asn_MBR_affectedCarrierFreqCombMRDC_12,
123 2, /* Elements count */
124 &asn_SPC_affectedCarrierFreqCombMRDC_specs_12 /* Additional specs */
127 asn_TYPE_member_t asn_MBR_AffectedCarrierFreqCombInfoMRDC_1[] = {
128 { ATF_NOFLAGS, 0, offsetof(struct AffectedCarrierFreqCombInfoMRDC, victimSystemType),
129 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
130 -1, /* IMPLICIT tag at current level */
131 &asn_DEF_VictimSystemType,
134 0, 0, /* No default value */
137 { ATF_NOFLAGS, 0, offsetof(struct AffectedCarrierFreqCombInfoMRDC, interferenceDirectionMRDC),
138 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
139 -1, /* IMPLICIT tag at current level */
140 &asn_DEF_interferenceDirectionMRDC_3,
143 0, 0, /* No default value */
144 "interferenceDirectionMRDC"
146 { ATF_POINTER, 1, offsetof(struct AffectedCarrierFreqCombInfoMRDC, affectedCarrierFreqCombMRDC),
147 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
149 &asn_DEF_affectedCarrierFreqCombMRDC_12,
152 0, 0, /* No default value */
153 "affectedCarrierFreqCombMRDC"
156 static const int asn_MAP_AffectedCarrierFreqCombInfoMRDC_oms_1[] = { 2 };
157 static const ber_tlv_tag_t asn_DEF_AffectedCarrierFreqCombInfoMRDC_tags_1[] = {
158 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
160 static const asn_TYPE_tag2member_t asn_MAP_AffectedCarrierFreqCombInfoMRDC_tag2el_1[] = {
161 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* victimSystemType */
162 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* interferenceDirectionMRDC */
163 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* affectedCarrierFreqCombMRDC */
165 asn_SEQUENCE_specifics_t asn_SPC_AffectedCarrierFreqCombInfoMRDC_specs_1 = {
166 sizeof(struct AffectedCarrierFreqCombInfoMRDC),
167 offsetof(struct AffectedCarrierFreqCombInfoMRDC, _asn_ctx),
168 asn_MAP_AffectedCarrierFreqCombInfoMRDC_tag2el_1,
169 3, /* Count of tags in the map */
170 asn_MAP_AffectedCarrierFreqCombInfoMRDC_oms_1, /* Optional members */
171 1, 0, /* Root/Additions */
172 -1, /* First extension addition */
174 asn_TYPE_descriptor_t asn_DEF_AffectedCarrierFreqCombInfoMRDC = {
175 "AffectedCarrierFreqCombInfoMRDC",
176 "AffectedCarrierFreqCombInfoMRDC",
178 asn_DEF_AffectedCarrierFreqCombInfoMRDC_tags_1,
179 sizeof(asn_DEF_AffectedCarrierFreqCombInfoMRDC_tags_1)
180 /sizeof(asn_DEF_AffectedCarrierFreqCombInfoMRDC_tags_1[0]), /* 1 */
181 asn_DEF_AffectedCarrierFreqCombInfoMRDC_tags_1, /* Same as above */
182 sizeof(asn_DEF_AffectedCarrierFreqCombInfoMRDC_tags_1)
183 /sizeof(asn_DEF_AffectedCarrierFreqCombInfoMRDC_tags_1[0]), /* 1 */
184 { 0, 0, SEQUENCE_constraint },
185 asn_MBR_AffectedCarrierFreqCombInfoMRDC_1,
186 3, /* Elements count */
187 &asn_SPC_AffectedCarrierFreqCombInfoMRDC_specs_1 /* Additional specs */