2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
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`
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 static asn_oer_constraints_t asn_OER_type_referenceSignal_constr_4 CC_NOTUSED = {
17 static asn_per_constraints_t asn_PER_type_referenceSignal_constr_4 CC_NOTUSED = {
18 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
22 static asn_oer_constraints_t asn_OER_type_qcl_Type_constr_7 CC_NOTUSED = {
25 static asn_per_constraints_t asn_PER_type_qcl_Type_constr_7 CC_NOTUSED = {
26 { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
27 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
28 0, 0 /* No PER value map */
30 static asn_TYPE_member_t asn_MBR_referenceSignal_4[] = {
31 { ATF_NOFLAGS, 0, offsetof(struct QCL_Info__referenceSignal, choice.csi_rs),
32 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
33 -1, /* IMPLICIT tag at current level */
34 &asn_DEF_NZP_CSI_RS_ResourceId,
37 0, 0, /* No default value */
40 { ATF_NOFLAGS, 0, offsetof(struct QCL_Info__referenceSignal, choice.ssb),
41 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
42 -1, /* IMPLICIT tag at current level */
46 0, 0, /* No default value */
50 static const asn_TYPE_tag2member_t asn_MAP_referenceSignal_tag2el_4[] = {
51 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* csi-rs */
52 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ssb */
54 static asn_CHOICE_specifics_t asn_SPC_referenceSignal_specs_4 = {
55 sizeof(struct QCL_Info__referenceSignal),
56 offsetof(struct QCL_Info__referenceSignal, _asn_ctx),
57 offsetof(struct QCL_Info__referenceSignal, present),
58 sizeof(((struct QCL_Info__referenceSignal *)0)->present),
59 asn_MAP_referenceSignal_tag2el_4,
60 2, /* Count of tags in the map */
62 -1 /* Extensions start */
64 static /* Use -fall-defs-global to expose */
65 asn_TYPE_descriptor_t asn_DEF_referenceSignal_4 = {
69 0, /* No effective tags (pointer) */
70 0, /* No effective tags (count) */
71 0, /* No tags (pointer) */
72 0, /* No tags (count) */
73 { &asn_OER_type_referenceSignal_constr_4, &asn_PER_type_referenceSignal_constr_4, CHOICE_constraint },
74 asn_MBR_referenceSignal_4,
75 2, /* Elements count */
76 &asn_SPC_referenceSignal_specs_4 /* Additional specs */
79 static const asn_INTEGER_enum_map_t asn_MAP_qcl_Type_value2enum_7[] = {
85 static const unsigned int asn_MAP_qcl_Type_enum2value_7[] = {
91 static const asn_INTEGER_specifics_t asn_SPC_qcl_Type_specs_7 = {
92 asn_MAP_qcl_Type_value2enum_7, /* "tag" => N; sorted by tag */
93 asn_MAP_qcl_Type_enum2value_7, /* N => "tag"; sorted by N */
94 4, /* Number of elements in the maps */
95 0, /* Enumeration is not extensible */
96 1, /* Strict enumeration */
97 0, /* Native long size */
100 static const ber_tlv_tag_t asn_DEF_qcl_Type_tags_7[] = {
101 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
102 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
104 static /* Use -fall-defs-global to expose */
105 asn_TYPE_descriptor_t asn_DEF_qcl_Type_7 = {
108 &asn_OP_NativeEnumerated,
109 asn_DEF_qcl_Type_tags_7,
110 sizeof(asn_DEF_qcl_Type_tags_7)
111 /sizeof(asn_DEF_qcl_Type_tags_7[0]) - 1, /* 1 */
112 asn_DEF_qcl_Type_tags_7, /* Same as above */
113 sizeof(asn_DEF_qcl_Type_tags_7)
114 /sizeof(asn_DEF_qcl_Type_tags_7[0]), /* 2 */
115 { &asn_OER_type_qcl_Type_constr_7, &asn_PER_type_qcl_Type_constr_7, NativeEnumerated_constraint },
116 0, 0, /* Defined elsewhere */
117 &asn_SPC_qcl_Type_specs_7 /* Additional specs */
120 asn_TYPE_member_t asn_MBR_QCL_Info_1[] = {
121 { ATF_POINTER, 2, offsetof(struct QCL_Info, cell),
122 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
123 -1, /* IMPLICIT tag at current level */
124 &asn_DEF_ServCellIndex,
127 0, 0, /* No default value */
130 { ATF_POINTER, 1, offsetof(struct QCL_Info, bwp_Id),
131 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
132 -1, /* IMPLICIT tag at current level */
136 0, 0, /* No default value */
139 { ATF_NOFLAGS, 0, offsetof(struct QCL_Info, referenceSignal),
140 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
141 +1, /* EXPLICIT tag at current level */
142 &asn_DEF_referenceSignal_4,
145 0, 0, /* No default value */
148 { ATF_NOFLAGS, 0, offsetof(struct QCL_Info, qcl_Type),
149 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
150 -1, /* IMPLICIT tag at current level */
154 0, 0, /* No default value */
158 static const int asn_MAP_QCL_Info_oms_1[] = { 0, 1 };
159 static const ber_tlv_tag_t asn_DEF_QCL_Info_tags_1[] = {
160 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
162 static const asn_TYPE_tag2member_t asn_MAP_QCL_Info_tag2el_1[] = {
163 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cell */
164 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* bwp-Id */
165 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* referenceSignal */
166 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* qcl-Type */
168 asn_SEQUENCE_specifics_t asn_SPC_QCL_Info_specs_1 = {
169 sizeof(struct QCL_Info),
170 offsetof(struct QCL_Info, _asn_ctx),
171 asn_MAP_QCL_Info_tag2el_1,
172 4, /* Count of tags in the map */
173 asn_MAP_QCL_Info_oms_1, /* Optional members */
174 2, 0, /* Root/Additions */
175 4, /* First extension addition */
177 asn_TYPE_descriptor_t asn_DEF_QCL_Info = {
181 asn_DEF_QCL_Info_tags_1,
182 sizeof(asn_DEF_QCL_Info_tags_1)
183 /sizeof(asn_DEF_QCL_Info_tags_1[0]), /* 1 */
184 asn_DEF_QCL_Info_tags_1, /* Same as above */
185 sizeof(asn_DEF_QCL_Info_tags_1)
186 /sizeof(asn_DEF_QCL_Info_tags_1[0]), /* 1 */
187 { 0, 0, SEQUENCE_constraint },
189 4, /* Elements count */
190 &asn_SPC_QCL_Info_specs_1 /* Additional specs */