[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / BWP-DownlinkCommon.c
1 /*
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`
6  */
7
8 #include "BWP-DownlinkCommon.h"
9
10 #include "PDCCH-ConfigCommon.h"
11 #include "PDSCH-ConfigCommon.h"
12 static asn_oer_constraints_t asn_OER_type_pdcch_ConfigCommon_constr_3 CC_NOTUSED = {
13         { 0, 0 },
14         -1};
15 static asn_per_constraints_t asn_PER_type_pdcch_ConfigCommon_constr_3 CC_NOTUSED = {
16         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
17         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
18         0, 0    /* No PER value map */
19 };
20 static asn_oer_constraints_t asn_OER_type_pdsch_ConfigCommon_constr_6 CC_NOTUSED = {
21         { 0, 0 },
22         -1};
23 static asn_per_constraints_t asn_PER_type_pdsch_ConfigCommon_constr_6 CC_NOTUSED = {
24         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
25         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
26         0, 0    /* No PER value map */
27 };
28 static asn_TYPE_member_t asn_MBR_pdcch_ConfigCommon_3[] = {
29         { ATF_NOFLAGS, 0, offsetof(struct BWP_DownlinkCommon__pdcch_ConfigCommon, choice.release),
30                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
31                 -1,     /* IMPLICIT tag at current level */
32                 &asn_DEF_NULL,
33                 0,
34                 { 0, 0, 0 },
35                 0, 0, /* No default value */
36                 "release"
37                 },
38         { ATF_POINTER, 0, offsetof(struct BWP_DownlinkCommon__pdcch_ConfigCommon, choice.setup),
39                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
40                 -1,     /* IMPLICIT tag at current level */
41                 &asn_DEF_PDCCH_ConfigCommon,
42                 0,
43                 { 0, 0, 0 },
44                 0, 0, /* No default value */
45                 "setup"
46                 },
47 };
48 static const asn_TYPE_tag2member_t asn_MAP_pdcch_ConfigCommon_tag2el_3[] = {
49     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
50     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
51 };
52 static asn_CHOICE_specifics_t asn_SPC_pdcch_ConfigCommon_specs_3 = {
53         sizeof(struct BWP_DownlinkCommon__pdcch_ConfigCommon),
54         offsetof(struct BWP_DownlinkCommon__pdcch_ConfigCommon, _asn_ctx),
55         offsetof(struct BWP_DownlinkCommon__pdcch_ConfigCommon, present),
56         sizeof(((struct BWP_DownlinkCommon__pdcch_ConfigCommon *)0)->present),
57         asn_MAP_pdcch_ConfigCommon_tag2el_3,
58         2,      /* Count of tags in the map */
59         0, 0,
60         -1      /* Extensions start */
61 };
62 static /* Use -fall-defs-global to expose */
63 asn_TYPE_descriptor_t asn_DEF_pdcch_ConfigCommon_3 = {
64         "pdcch-ConfigCommon",
65         "pdcch-ConfigCommon",
66         &asn_OP_CHOICE,
67         0,      /* No effective tags (pointer) */
68         0,      /* No effective tags (count) */
69         0,      /* No tags (pointer) */
70         0,      /* No tags (count) */
71         { &asn_OER_type_pdcch_ConfigCommon_constr_3, &asn_PER_type_pdcch_ConfigCommon_constr_3, CHOICE_constraint },
72         asn_MBR_pdcch_ConfigCommon_3,
73         2,      /* Elements count */
74         &asn_SPC_pdcch_ConfigCommon_specs_3     /* Additional specs */
75 };
76
77 static asn_TYPE_member_t asn_MBR_pdsch_ConfigCommon_6[] = {
78         { ATF_NOFLAGS, 0, offsetof(struct BWP_DownlinkCommon__pdsch_ConfigCommon, choice.release),
79                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
80                 -1,     /* IMPLICIT tag at current level */
81                 &asn_DEF_NULL,
82                 0,
83                 { 0, 0, 0 },
84                 0, 0, /* No default value */
85                 "release"
86                 },
87         { ATF_POINTER, 0, offsetof(struct BWP_DownlinkCommon__pdsch_ConfigCommon, choice.setup),
88                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
89                 -1,     /* IMPLICIT tag at current level */
90                 &asn_DEF_PDSCH_ConfigCommon,
91                 0,
92                 { 0, 0, 0 },
93                 0, 0, /* No default value */
94                 "setup"
95                 },
96 };
97 static const asn_TYPE_tag2member_t asn_MAP_pdsch_ConfigCommon_tag2el_6[] = {
98     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
99     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
100 };
101 static asn_CHOICE_specifics_t asn_SPC_pdsch_ConfigCommon_specs_6 = {
102         sizeof(struct BWP_DownlinkCommon__pdsch_ConfigCommon),
103         offsetof(struct BWP_DownlinkCommon__pdsch_ConfigCommon, _asn_ctx),
104         offsetof(struct BWP_DownlinkCommon__pdsch_ConfigCommon, present),
105         sizeof(((struct BWP_DownlinkCommon__pdsch_ConfigCommon *)0)->present),
106         asn_MAP_pdsch_ConfigCommon_tag2el_6,
107         2,      /* Count of tags in the map */
108         0, 0,
109         -1      /* Extensions start */
110 };
111 static /* Use -fall-defs-global to expose */
112 asn_TYPE_descriptor_t asn_DEF_pdsch_ConfigCommon_6 = {
113         "pdsch-ConfigCommon",
114         "pdsch-ConfigCommon",
115         &asn_OP_CHOICE,
116         0,      /* No effective tags (pointer) */
117         0,      /* No effective tags (count) */
118         0,      /* No tags (pointer) */
119         0,      /* No tags (count) */
120         { &asn_OER_type_pdsch_ConfigCommon_constr_6, &asn_PER_type_pdsch_ConfigCommon_constr_6, CHOICE_constraint },
121         asn_MBR_pdsch_ConfigCommon_6,
122         2,      /* Elements count */
123         &asn_SPC_pdsch_ConfigCommon_specs_6     /* Additional specs */
124 };
125
126 asn_TYPE_member_t asn_MBR_BWP_DownlinkCommon_1[] = {
127         { ATF_NOFLAGS, 0, offsetof(struct BWP_DownlinkCommon, genericParameters),
128                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
129                 -1,     /* IMPLICIT tag at current level */
130                 &asn_DEF_BWP,
131                 0,
132                 { 0, 0, 0 },
133                 0, 0, /* No default value */
134                 "genericParameters"
135                 },
136         { ATF_POINTER, 2, offsetof(struct BWP_DownlinkCommon, pdcch_ConfigCommon),
137                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
138                 +1,     /* EXPLICIT tag at current level */
139                 &asn_DEF_pdcch_ConfigCommon_3,
140                 0,
141                 { 0, 0, 0 },
142                 0, 0, /* No default value */
143                 "pdcch-ConfigCommon"
144                 },
145         { ATF_POINTER, 1, offsetof(struct BWP_DownlinkCommon, pdsch_ConfigCommon),
146                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
147                 +1,     /* EXPLICIT tag at current level */
148                 &asn_DEF_pdsch_ConfigCommon_6,
149                 0,
150                 { 0, 0, 0 },
151                 0, 0, /* No default value */
152                 "pdsch-ConfigCommon"
153                 },
154 };
155 static const int asn_MAP_BWP_DownlinkCommon_oms_1[] = { 1, 2 };
156 static const ber_tlv_tag_t asn_DEF_BWP_DownlinkCommon_tags_1[] = {
157         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
158 };
159 static const asn_TYPE_tag2member_t asn_MAP_BWP_DownlinkCommon_tag2el_1[] = {
160     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* genericParameters */
161     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* pdcch-ConfigCommon */
162     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* pdsch-ConfigCommon */
163 };
164 asn_SEQUENCE_specifics_t asn_SPC_BWP_DownlinkCommon_specs_1 = {
165         sizeof(struct BWP_DownlinkCommon),
166         offsetof(struct BWP_DownlinkCommon, _asn_ctx),
167         asn_MAP_BWP_DownlinkCommon_tag2el_1,
168         3,      /* Count of tags in the map */
169         asn_MAP_BWP_DownlinkCommon_oms_1,       /* Optional members */
170         2, 0,   /* Root/Additions */
171         3,      /* First extension addition */
172 };
173 asn_TYPE_descriptor_t asn_DEF_BWP_DownlinkCommon = {
174         "BWP-DownlinkCommon",
175         "BWP-DownlinkCommon",
176         &asn_OP_SEQUENCE,
177         asn_DEF_BWP_DownlinkCommon_tags_1,
178         sizeof(asn_DEF_BWP_DownlinkCommon_tags_1)
179                 /sizeof(asn_DEF_BWP_DownlinkCommon_tags_1[0]), /* 1 */
180         asn_DEF_BWP_DownlinkCommon_tags_1,      /* Same as above */
181         sizeof(asn_DEF_BWP_DownlinkCommon_tags_1)
182                 /sizeof(asn_DEF_BWP_DownlinkCommon_tags_1[0]), /* 1 */
183         { 0, 0, SEQUENCE_constraint },
184         asn_MBR_BWP_DownlinkCommon_1,
185         3,      /* Elements count */
186         &asn_SPC_BWP_DownlinkCommon_specs_1     /* Additional specs */
187 };
188