Merge "[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-437] Establishing communication betwee...
[o-du/l2.git] / src / codec_utils / RRC / FeatureSet.c
1 /*
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`
6  */
7
8 #include "FeatureSet.h"
9
10 static asn_oer_constraints_t asn_OER_type_FeatureSet_constr_1 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
13 asn_per_constraints_t asn_PER_type_FeatureSet_constr_1 CC_NOTUSED = {
14         { APC_CONSTRAINED,       1,  1,  0,  1 }        /* (0..1) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 static asn_TYPE_member_t asn_MBR_eutra_2[] = {
19         { ATF_NOFLAGS, 0, offsetof(struct FeatureSet__eutra, downlinkSetEUTRA),
20                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21                 -1,     /* IMPLICIT tag at current level */
22                 &asn_DEF_FeatureSetEUTRA_DownlinkId,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "downlinkSetEUTRA"
27                 },
28         { ATF_NOFLAGS, 0, offsetof(struct FeatureSet__eutra, uplinkSetEUTRA),
29                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_FeatureSetEUTRA_UplinkId,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "uplinkSetEUTRA"
36                 },
37 };
38 static const ber_tlv_tag_t asn_DEF_eutra_tags_2[] = {
39         (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
40         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
41 };
42 static const asn_TYPE_tag2member_t asn_MAP_eutra_tag2el_2[] = {
43     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* downlinkSetEUTRA */
44     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* uplinkSetEUTRA */
45 };
46 static asn_SEQUENCE_specifics_t asn_SPC_eutra_specs_2 = {
47         sizeof(struct FeatureSet__eutra),
48         offsetof(struct FeatureSet__eutra, _asn_ctx),
49         asn_MAP_eutra_tag2el_2,
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_eutra_2 = {
56         "eutra",
57         "eutra",
58         &asn_OP_SEQUENCE,
59         asn_DEF_eutra_tags_2,
60         sizeof(asn_DEF_eutra_tags_2)
61                 /sizeof(asn_DEF_eutra_tags_2[0]) - 1, /* 1 */
62         asn_DEF_eutra_tags_2,   /* Same as above */
63         sizeof(asn_DEF_eutra_tags_2)
64                 /sizeof(asn_DEF_eutra_tags_2[0]), /* 2 */
65         { 0, 0, SEQUENCE_constraint },
66         asn_MBR_eutra_2,
67         2,      /* Elements count */
68         &asn_SPC_eutra_specs_2  /* Additional specs */
69 };
70
71 static asn_TYPE_member_t asn_MBR_nr_5[] = {
72         { ATF_NOFLAGS, 0, offsetof(struct FeatureSet__nr, downlinkSetNR),
73                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
74                 -1,     /* IMPLICIT tag at current level */
75                 &asn_DEF_FeatureSetDownlinkId,
76                 0,
77                 { 0, 0, 0 },
78                 0, 0, /* No default value */
79                 "downlinkSetNR"
80                 },
81         { ATF_NOFLAGS, 0, offsetof(struct FeatureSet__nr, uplinkSetNR),
82                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
83                 -1,     /* IMPLICIT tag at current level */
84                 &asn_DEF_FeatureSetUplinkId,
85                 0,
86                 { 0, 0, 0 },
87                 0, 0, /* No default value */
88                 "uplinkSetNR"
89                 },
90 };
91 static const ber_tlv_tag_t asn_DEF_nr_tags_5[] = {
92         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
93         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
94 };
95 static const asn_TYPE_tag2member_t asn_MAP_nr_tag2el_5[] = {
96     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* downlinkSetNR */
97     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* uplinkSetNR */
98 };
99 static asn_SEQUENCE_specifics_t asn_SPC_nr_specs_5 = {
100         sizeof(struct FeatureSet__nr),
101         offsetof(struct FeatureSet__nr, _asn_ctx),
102         asn_MAP_nr_tag2el_5,
103         2,      /* Count of tags in the map */
104         0, 0, 0,        /* Optional elements (not needed) */
105         -1,     /* First extension addition */
106 };
107 static /* Use -fall-defs-global to expose */
108 asn_TYPE_descriptor_t asn_DEF_nr_5 = {
109         "nr",
110         "nr",
111         &asn_OP_SEQUENCE,
112         asn_DEF_nr_tags_5,
113         sizeof(asn_DEF_nr_tags_5)
114                 /sizeof(asn_DEF_nr_tags_5[0]) - 1, /* 1 */
115         asn_DEF_nr_tags_5,      /* Same as above */
116         sizeof(asn_DEF_nr_tags_5)
117                 /sizeof(asn_DEF_nr_tags_5[0]), /* 2 */
118         { 0, 0, SEQUENCE_constraint },
119         asn_MBR_nr_5,
120         2,      /* Elements count */
121         &asn_SPC_nr_specs_5     /* Additional specs */
122 };
123
124 asn_TYPE_member_t asn_MBR_FeatureSet_1[] = {
125         { ATF_POINTER, 0, offsetof(struct FeatureSet, choice.eutra),
126                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
127                 0,
128                 &asn_DEF_eutra_2,
129                 0,
130                 { 0, 0, 0 },
131                 0, 0, /* No default value */
132                 "eutra"
133                 },
134         { ATF_POINTER, 0, offsetof(struct FeatureSet, choice.nr),
135                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
136                 0,
137                 &asn_DEF_nr_5,
138                 0,
139                 { 0, 0, 0 },
140                 0, 0, /* No default value */
141                 "nr"
142                 },
143 };
144 static const asn_TYPE_tag2member_t asn_MAP_FeatureSet_tag2el_1[] = {
145     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eutra */
146     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nr */
147 };
148 asn_CHOICE_specifics_t asn_SPC_FeatureSet_specs_1 = {
149         sizeof(struct FeatureSet),
150         offsetof(struct FeatureSet, _asn_ctx),
151         offsetof(struct FeatureSet, present),
152         sizeof(((struct FeatureSet *)0)->present),
153         asn_MAP_FeatureSet_tag2el_1,
154         2,      /* Count of tags in the map */
155         0, 0,
156         -1      /* Extensions start */
157 };
158 asn_TYPE_descriptor_t asn_DEF_FeatureSet = {
159         "FeatureSet",
160         "FeatureSet",
161         &asn_OP_CHOICE,
162         0,      /* No effective tags (pointer) */
163         0,      /* No effective tags (count) */
164         0,      /* No tags (pointer) */
165         0,      /* No tags (count) */
166         { &asn_OER_type_FeatureSet_constr_1, &asn_PER_type_FeatureSet_constr_1, CHOICE_constraint },
167         asn_MBR_FeatureSet_1,
168         2,      /* Elements count */
169         &asn_SPC_FeatureSet_specs_1     /* Additional specs */
170 };
171