2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-InterNodeDefinitions"
4 * found in "../../../rrc_15.5.1_asn.asn1"
5 * `asn1c -D ./rrc_out_hlal -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "CG-Config-IEs.h"
10 #include "ConfigRestrictModReqSCG.h"
12 #include "MeasConfigSN.h"
13 #include "BandCombinationInfoSN.h"
14 #include "FR-InfoList.h"
15 #include "CandidateServingFreqListNR.h"
17 memb_scg_CellGroupConfig_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
18 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
19 const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
22 ASN__CTFAIL(app_key, td, sptr,
23 "%s: value not given (%s:%d)",
24 td->name, __FILE__, __LINE__);
29 if(1 /* No applicable constraints whatsoever */) {
30 (void)st; /* Unused variable */
31 /* Nothing is here. See below */
34 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
38 memb_scg_RB_Config_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
39 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
40 const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
43 ASN__CTFAIL(app_key, td, sptr,
44 "%s: value not given (%s:%d)",
45 td->name, __FILE__, __LINE__);
50 if(1 /* No applicable constraints whatsoever */) {
51 (void)st; /* Unused variable */
52 /* Nothing is here. See below */
55 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
59 memb_candidateCellInfoListSN_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
60 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
61 const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
64 ASN__CTFAIL(app_key, td, sptr,
65 "%s: value not given (%s:%d)",
66 td->name, __FILE__, __LINE__);
71 if(1 /* No applicable constraints whatsoever */) {
72 (void)st; /* Unused variable */
73 /* Nothing is here. See below */
76 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
79 static asn_oer_constraints_t asn_OER_memb_scg_CellGroupConfig_constr_2 CC_NOTUSED = {
81 -1 /* (SIZE(0..MAX)) */};
82 static asn_per_constraints_t asn_PER_memb_scg_CellGroupConfig_constr_2 CC_NOTUSED = {
83 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
84 { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */,
85 0, 0 /* No PER value map */
87 static asn_oer_constraints_t asn_OER_memb_scg_RB_Config_constr_3 CC_NOTUSED = {
89 -1 /* (SIZE(0..MAX)) */};
90 static asn_per_constraints_t asn_PER_memb_scg_RB_Config_constr_3 CC_NOTUSED = {
91 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
92 { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */,
93 0, 0 /* No PER value map */
95 static asn_oer_constraints_t asn_OER_memb_candidateCellInfoListSN_constr_6 CC_NOTUSED = {
97 -1 /* (SIZE(0..MAX)) */};
98 static asn_per_constraints_t asn_PER_memb_candidateCellInfoListSN_constr_6 CC_NOTUSED = {
99 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
100 { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */,
101 0, 0 /* No PER value map */
103 static const ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_11[] = {
104 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
105 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
107 static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_11 = {
108 sizeof(struct CG_Config_IEs__nonCriticalExtension),
109 offsetof(struct CG_Config_IEs__nonCriticalExtension, _asn_ctx),
110 0, /* No top level tags */
111 0, /* No tags in the map */
112 0, 0, 0, /* Optional elements (not needed) */
113 -1, /* First extension addition */
115 static /* Use -fall-defs-global to expose */
116 asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_11 = {
117 "nonCriticalExtension",
118 "nonCriticalExtension",
120 asn_DEF_nonCriticalExtension_tags_11,
121 sizeof(asn_DEF_nonCriticalExtension_tags_11)
122 /sizeof(asn_DEF_nonCriticalExtension_tags_11[0]) - 1, /* 1 */
123 asn_DEF_nonCriticalExtension_tags_11, /* Same as above */
124 sizeof(asn_DEF_nonCriticalExtension_tags_11)
125 /sizeof(asn_DEF_nonCriticalExtension_tags_11[0]), /* 2 */
126 { 0, 0, SEQUENCE_constraint },
127 0, 0, /* No members */
128 &asn_SPC_nonCriticalExtension_specs_11 /* Additional specs */
131 asn_TYPE_member_t asn_MBR_CG_Config_IEs_1[] = {
132 { ATF_POINTER, 10, offsetof(struct CG_Config_IEs, scg_CellGroupConfig),
133 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
134 -1, /* IMPLICIT tag at current level */
135 &asn_DEF_OCTET_STRING,
137 { &asn_OER_memb_scg_CellGroupConfig_constr_2, &asn_PER_memb_scg_CellGroupConfig_constr_2, memb_scg_CellGroupConfig_constraint_1 },
138 0, 0, /* No default value */
139 "scg-CellGroupConfig"
141 { ATF_POINTER, 9, offsetof(struct CG_Config_IEs, scg_RB_Config),
142 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
143 -1, /* IMPLICIT tag at current level */
144 &asn_DEF_OCTET_STRING,
146 { &asn_OER_memb_scg_RB_Config_constr_3, &asn_PER_memb_scg_RB_Config_constr_3, memb_scg_RB_Config_constraint_1 },
147 0, 0, /* No default value */
150 { ATF_POINTER, 8, offsetof(struct CG_Config_IEs, configRestrictModReq),
151 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
152 -1, /* IMPLICIT tag at current level */
153 &asn_DEF_ConfigRestrictModReqSCG,
156 0, 0, /* No default value */
157 "configRestrictModReq"
159 { ATF_POINTER, 7, offsetof(struct CG_Config_IEs, drx_InfoSCG),
160 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
161 -1, /* IMPLICIT tag at current level */
165 0, 0, /* No default value */
168 { ATF_POINTER, 6, offsetof(struct CG_Config_IEs, candidateCellInfoListSN),
169 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
170 -1, /* IMPLICIT tag at current level */
171 &asn_DEF_OCTET_STRING,
173 { &asn_OER_memb_candidateCellInfoListSN_constr_6, &asn_PER_memb_candidateCellInfoListSN_constr_6, memb_candidateCellInfoListSN_constraint_1 },
174 0, 0, /* No default value */
175 "candidateCellInfoListSN"
177 { ATF_POINTER, 5, offsetof(struct CG_Config_IEs, measConfigSN),
178 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
179 -1, /* IMPLICIT tag at current level */
180 &asn_DEF_MeasConfigSN,
183 0, 0, /* No default value */
186 { ATF_POINTER, 4, offsetof(struct CG_Config_IEs, selectedBandCombinationNR),
187 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
188 -1, /* IMPLICIT tag at current level */
189 &asn_DEF_BandCombinationInfoSN,
192 0, 0, /* No default value */
193 "selectedBandCombinationNR"
195 { ATF_POINTER, 3, offsetof(struct CG_Config_IEs, fr_InfoListSCG),
196 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
197 -1, /* IMPLICIT tag at current level */
198 &asn_DEF_FR_InfoList,
201 0, 0, /* No default value */
204 { ATF_POINTER, 2, offsetof(struct CG_Config_IEs, candidateServingFreqListNR),
205 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
206 -1, /* IMPLICIT tag at current level */
207 &asn_DEF_CandidateServingFreqListNR,
210 0, 0, /* No default value */
211 "candidateServingFreqListNR"
213 { ATF_POINTER, 1, offsetof(struct CG_Config_IEs, nonCriticalExtension),
214 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
216 &asn_DEF_nonCriticalExtension_11,
219 0, 0, /* No default value */
220 "nonCriticalExtension"
223 static const int asn_MAP_CG_Config_IEs_oms_1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
224 static const ber_tlv_tag_t asn_DEF_CG_Config_IEs_tags_1[] = {
225 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
227 static const asn_TYPE_tag2member_t asn_MAP_CG_Config_IEs_tag2el_1[] = {
228 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* scg-CellGroupConfig */
229 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* scg-RB-Config */
230 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* configRestrictModReq */
231 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* drx-InfoSCG */
232 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* candidateCellInfoListSN */
233 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* measConfigSN */
234 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* selectedBandCombinationNR */
235 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* fr-InfoListSCG */
236 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* candidateServingFreqListNR */
237 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* nonCriticalExtension */
239 asn_SEQUENCE_specifics_t asn_SPC_CG_Config_IEs_specs_1 = {
240 sizeof(struct CG_Config_IEs),
241 offsetof(struct CG_Config_IEs, _asn_ctx),
242 asn_MAP_CG_Config_IEs_tag2el_1,
243 10, /* Count of tags in the map */
244 asn_MAP_CG_Config_IEs_oms_1, /* Optional members */
245 10, 0, /* Root/Additions */
246 -1, /* First extension addition */
248 asn_TYPE_descriptor_t asn_DEF_CG_Config_IEs = {
252 asn_DEF_CG_Config_IEs_tags_1,
253 sizeof(asn_DEF_CG_Config_IEs_tags_1)
254 /sizeof(asn_DEF_CG_Config_IEs_tags_1[0]), /* 1 */
255 asn_DEF_CG_Config_IEs_tags_1, /* Same as above */
256 sizeof(asn_DEF_CG_Config_IEs_tags_1)
257 /sizeof(asn_DEF_CG_Config_IEs_tags_1[0]), /* 1 */
258 { 0, 0, SEQUENCE_constraint },
259 asn_MBR_CG_Config_IEs_1,
260 10, /* Elements count */
261 &asn_SPC_CG_Config_IEs_specs_1 /* Additional specs */