Merge "[Epic-ID: ODUHIGH-462][Task-ID: ODUHIGH-469] Chnages in Drx-config asn structu...
[o-du/l2.git] / src / codec_utils / RRC / SRS-SpatialRelationInfo.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "02_Aug/rrc_15_3_asn.asn1"
5  *      `asn1c -D ./Aug02 -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "SRS-SpatialRelationInfo.h"
9
10 static asn_oer_constraints_t asn_OER_type_referenceSignal_constr_3 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
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 */
17 };
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,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "resourceId"
27                 },
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 */
31                 &asn_DEF_BWP_Id,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "uplinkBWP"
36                 },
37 };
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))
41 };
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 */
45 };
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),
49         asn_MAP_srs_tag2el_6,
50         2,      /* Count of tags in the map */
51         0, 0, 0,        /* Optional elements (not needed) */
52         -1,     /* First extension addition */
53 };
54 static /* Use -fall-defs-global to expose */
55 asn_TYPE_descriptor_t asn_DEF_srs_6 = {
56         "srs",
57         "srs",
58         &asn_OP_SEQUENCE,
59         asn_DEF_srs_tags_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 },
66         asn_MBR_srs_6,
67         2,      /* Elements count */
68         &asn_SPC_srs_specs_6    /* Additional specs */
69 };
70
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 */
75                 &asn_DEF_SSB_Index,
76                 0,
77                 { 0, 0, 0 },
78                 0, 0, /* No default value */
79                 "ssb-Index"
80                 },
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,
85                 0,
86                 { 0, 0, 0 },
87                 0, 0, /* No default value */
88                 "csi-RS-Index"
89                 },
90         { ATF_POINTER, 0, offsetof(struct SRS_SpatialRelationInfo__referenceSignal, choice.srs),
91                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
92                 0,
93                 &asn_DEF_srs_6,
94                 0,
95                 { 0, 0, 0 },
96                 0, 0, /* No default value */
97                 "srs"
98                 },
99 };
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 */
104 };
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 */
112         0, 0,
113         -1      /* Extensions start */
114 };
115 static /* Use -fall-defs-global to expose */
116 asn_TYPE_descriptor_t asn_DEF_referenceSignal_3 = {
117         "referenceSignal",
118         "referenceSignal",
119         &asn_OP_CHOICE,
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 */
128 };
129
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,
135                 0,
136                 { 0, 0, 0 },
137                 0, 0, /* No default value */
138                 "servingCellId"
139                 },
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,
144                 0,
145                 { 0, 0, 0 },
146                 0, 0, /* No default value */
147                 "referenceSignal"
148                 },
149 };
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))
153 };
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 */
157 };
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 */
166 };
167 asn_TYPE_descriptor_t asn_DEF_SRS_SpatialRelationInfo = {
168         "SRS-SpatialRelationInfo",
169         "SRS-SpatialRelationInfo",
170         &asn_OP_SEQUENCE,
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 */
181 };
182