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 "SRS-SpatialRelationInfo.h"
10 static asn_oer_constraints_t asn_OER_type_referenceSignal_constr_3 CC_NOTUSED = {
13 static asn_per_constraints_t asn_PER_type_referenceSignal_constr_3 CC_NOTUSED = {
14 { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */,
15 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
16 0, 0 /* No PER value map */
18 static asn_TYPE_member_t asn_MBR_srs_6[] = {
19 { ATF_NOFLAGS, 0, offsetof(struct SRS_SpatialRelationInfo__referenceSignal__srs, resourceId),
20 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21 -1, /* IMPLICIT tag at current level */
22 &asn_DEF_SRS_ResourceId,
25 0, 0, /* No default value */
28 { ATF_NOFLAGS, 0, offsetof(struct SRS_SpatialRelationInfo__referenceSignal__srs, uplinkBWP),
29 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30 -1, /* IMPLICIT tag at current level */
34 0, 0, /* No default value */
38 static const ber_tlv_tag_t asn_DEF_srs_tags_6[] = {
39 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
40 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
42 static const asn_TYPE_tag2member_t asn_MAP_srs_tag2el_6[] = {
43 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* resourceId */
44 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* uplinkBWP */
46 static asn_SEQUENCE_specifics_t asn_SPC_srs_specs_6 = {
47 sizeof(struct SRS_SpatialRelationInfo__referenceSignal__srs),
48 offsetof(struct SRS_SpatialRelationInfo__referenceSignal__srs, _asn_ctx),
50 2, /* Count of tags in the map */
51 0, 0, 0, /* Optional elements (not needed) */
52 -1, /* First extension addition */
54 static /* Use -fall-defs-global to expose */
55 asn_TYPE_descriptor_t asn_DEF_srs_6 = {
60 sizeof(asn_DEF_srs_tags_6)
61 /sizeof(asn_DEF_srs_tags_6[0]) - 1, /* 1 */
62 asn_DEF_srs_tags_6, /* Same as above */
63 sizeof(asn_DEF_srs_tags_6)
64 /sizeof(asn_DEF_srs_tags_6[0]), /* 2 */
65 { 0, 0, SEQUENCE_constraint },
67 2, /* Elements count */
68 &asn_SPC_srs_specs_6 /* Additional specs */
71 static asn_TYPE_member_t asn_MBR_referenceSignal_3[] = {
72 { ATF_NOFLAGS, 0, offsetof(struct SRS_SpatialRelationInfo__referenceSignal, choice.ssb_Index),
73 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
74 -1, /* IMPLICIT tag at current level */
78 0, 0, /* No default value */
81 { ATF_NOFLAGS, 0, offsetof(struct SRS_SpatialRelationInfo__referenceSignal, choice.csi_RS_Index),
82 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
83 -1, /* IMPLICIT tag at current level */
84 &asn_DEF_NZP_CSI_RS_ResourceId,
87 0, 0, /* No default value */
90 { ATF_POINTER, 0, offsetof(struct SRS_SpatialRelationInfo__referenceSignal, choice.srs),
91 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
96 0, 0, /* No default value */
100 static const asn_TYPE_tag2member_t asn_MAP_referenceSignal_tag2el_3[] = {
101 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ssb-Index */
102 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* csi-RS-Index */
103 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* srs */
105 static asn_CHOICE_specifics_t asn_SPC_referenceSignal_specs_3 = {
106 sizeof(struct SRS_SpatialRelationInfo__referenceSignal),
107 offsetof(struct SRS_SpatialRelationInfo__referenceSignal, _asn_ctx),
108 offsetof(struct SRS_SpatialRelationInfo__referenceSignal, present),
109 sizeof(((struct SRS_SpatialRelationInfo__referenceSignal *)0)->present),
110 asn_MAP_referenceSignal_tag2el_3,
111 3, /* Count of tags in the map */
113 -1 /* Extensions start */
115 static /* Use -fall-defs-global to expose */
116 asn_TYPE_descriptor_t asn_DEF_referenceSignal_3 = {
120 0, /* No effective tags (pointer) */
121 0, /* No effective tags (count) */
122 0, /* No tags (pointer) */
123 0, /* No tags (count) */
124 { &asn_OER_type_referenceSignal_constr_3, &asn_PER_type_referenceSignal_constr_3, CHOICE_constraint },
125 asn_MBR_referenceSignal_3,
126 3, /* Elements count */
127 &asn_SPC_referenceSignal_specs_3 /* Additional specs */
130 asn_TYPE_member_t asn_MBR_SRS_SpatialRelationInfo_1[] = {
131 { ATF_POINTER, 1, offsetof(struct SRS_SpatialRelationInfo, servingCellId),
132 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
133 -1, /* IMPLICIT tag at current level */
134 &asn_DEF_ServCellIndex,
137 0, 0, /* No default value */
140 { ATF_NOFLAGS, 0, offsetof(struct SRS_SpatialRelationInfo, referenceSignal),
141 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
142 +1, /* EXPLICIT tag at current level */
143 &asn_DEF_referenceSignal_3,
146 0, 0, /* No default value */
150 static const int asn_MAP_SRS_SpatialRelationInfo_oms_1[] = { 0 };
151 static const ber_tlv_tag_t asn_DEF_SRS_SpatialRelationInfo_tags_1[] = {
152 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
154 static const asn_TYPE_tag2member_t asn_MAP_SRS_SpatialRelationInfo_tag2el_1[] = {
155 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* servingCellId */
156 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* referenceSignal */
158 asn_SEQUENCE_specifics_t asn_SPC_SRS_SpatialRelationInfo_specs_1 = {
159 sizeof(struct SRS_SpatialRelationInfo),
160 offsetof(struct SRS_SpatialRelationInfo, _asn_ctx),
161 asn_MAP_SRS_SpatialRelationInfo_tag2el_1,
162 2, /* Count of tags in the map */
163 asn_MAP_SRS_SpatialRelationInfo_oms_1, /* Optional members */
164 1, 0, /* Root/Additions */
165 -1, /* First extension addition */
167 asn_TYPE_descriptor_t asn_DEF_SRS_SpatialRelationInfo = {
168 "SRS-SpatialRelationInfo",
169 "SRS-SpatialRelationInfo",
171 asn_DEF_SRS_SpatialRelationInfo_tags_1,
172 sizeof(asn_DEF_SRS_SpatialRelationInfo_tags_1)
173 /sizeof(asn_DEF_SRS_SpatialRelationInfo_tags_1[0]), /* 1 */
174 asn_DEF_SRS_SpatialRelationInfo_tags_1, /* Same as above */
175 sizeof(asn_DEF_SRS_SpatialRelationInfo_tags_1)
176 /sizeof(asn_DEF_SRS_SpatialRelationInfo_tags_1[0]), /* 1 */
177 { 0, 0, SEQUENCE_constraint },
178 asn_MBR_SRS_SpatialRelationInfo_1,
179 2, /* Elements count */
180 &asn_SPC_SRS_SpatialRelationInfo_specs_1 /* Additional specs */