2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../ASN1_Input/rrc_15_3_asn.asn1"
5 * `asn1c -D ../RRC_output_14Nov/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
8 #include "MeasConfigRrc.h"
10 #include "MeasObjectToRemoveList.h"
11 #include "MeasObjectToAddModList.h"
12 #include "ReportConfigToRemoveList.h"
13 #include "ReportConfigToAddModList.h"
14 #include "MeasIdToRemoveList.h"
15 #include "MeasIdToAddModList.h"
16 #include "QuantityConfig.h"
17 #include "MeasGapConfigRrc.h"
18 #include "MeasGapSharingConfig.h"
19 static asn_oer_constraints_t asn_OER_type_s_MeasureConfig_constr_8 CC_NOTUSED = {
22 static asn_per_constraints_t asn_PER_type_s_MeasureConfig_constr_8 CC_NOTUSED = {
23 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
24 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
25 0, 0 /* No PER value map */
27 static asn_TYPE_member_t asn_MBR_s_MeasureConfig_8[] = {
28 { ATF_NOFLAGS, 0, offsetof(struct MeasConfigRrc__s_MeasureConfig, choice.ssb_RSRP),
29 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
30 -1, /* IMPLICIT tag at current level */
34 0, 0, /* No default value */
37 { ATF_NOFLAGS, 0, offsetof(struct MeasConfigRrc__s_MeasureConfig, choice.csi_RSRP),
38 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
39 -1, /* IMPLICIT tag at current level */
43 0, 0, /* No default value */
47 static const asn_TYPE_tag2member_t asn_MAP_s_MeasureConfig_tag2el_8[] = {
48 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ssb-RSRP */
49 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* csi-RSRP */
51 static asn_CHOICE_specifics_t asn_SPC_s_MeasureConfig_specs_8 = {
52 sizeof(struct MeasConfigRrc__s_MeasureConfig),
53 offsetof(struct MeasConfigRrc__s_MeasureConfig, _asn_ctx),
54 offsetof(struct MeasConfigRrc__s_MeasureConfig, present),
55 sizeof(((struct MeasConfigRrc__s_MeasureConfig *)0)->present),
56 asn_MAP_s_MeasureConfig_tag2el_8,
57 2, /* Count of tags in the map */
59 -1 /* Extensions start */
61 static /* Use -fall-defs-global to expose */
62 asn_TYPE_descriptor_t asn_DEF_s_MeasureConfig_8 = {
66 0, /* No effective tags (pointer) */
67 0, /* No effective tags (count) */
68 0, /* No tags (pointer) */
69 0, /* No tags (count) */
70 { &asn_OER_type_s_MeasureConfig_constr_8, &asn_PER_type_s_MeasureConfig_constr_8, CHOICE_constraint },
71 asn_MBR_s_MeasureConfig_8,
72 2, /* Elements count */
73 &asn_SPC_s_MeasureConfig_specs_8 /* Additional specs */
76 asn_TYPE_member_t asn_MBR_MeasConfigRrc_1[] = {
77 { ATF_POINTER, 10, offsetof(struct MeasConfigRrc, measObjectToRemoveList),
78 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
79 -1, /* IMPLICIT tag at current level */
80 &asn_DEF_MeasObjectToRemoveList,
83 0, 0, /* No default value */
84 "measObjectToRemoveList"
86 { ATF_POINTER, 9, offsetof(struct MeasConfigRrc, measObjectToAddModList),
87 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
88 -1, /* IMPLICIT tag at current level */
89 &asn_DEF_MeasObjectToAddModList,
92 0, 0, /* No default value */
93 "measObjectToAddModList"
95 { ATF_POINTER, 8, offsetof(struct MeasConfigRrc, reportConfigToRemoveList),
96 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
97 -1, /* IMPLICIT tag at current level */
98 &asn_DEF_ReportConfigToRemoveList,
101 0, 0, /* No default value */
102 "reportConfigToRemoveList"
104 { ATF_POINTER, 7, offsetof(struct MeasConfigRrc, reportConfigToAddModList),
105 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
106 -1, /* IMPLICIT tag at current level */
107 &asn_DEF_ReportConfigToAddModList,
110 0, 0, /* No default value */
111 "reportConfigToAddModList"
113 { ATF_POINTER, 6, offsetof(struct MeasConfigRrc, measIdToRemoveList),
114 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
115 -1, /* IMPLICIT tag at current level */
116 &asn_DEF_MeasIdToRemoveList,
119 0, 0, /* No default value */
122 { ATF_POINTER, 5, offsetof(struct MeasConfigRrc, measIdToAddModList),
123 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
124 -1, /* IMPLICIT tag at current level */
125 &asn_DEF_MeasIdToAddModList,
128 0, 0, /* No default value */
131 { ATF_POINTER, 4, offsetof(struct MeasConfigRrc, s_MeasureConfig),
132 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
133 +1, /* EXPLICIT tag at current level */
134 &asn_DEF_s_MeasureConfig_8,
137 0, 0, /* No default value */
140 { ATF_POINTER, 3, offsetof(struct MeasConfigRrc, quantityConfig),
141 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
142 -1, /* IMPLICIT tag at current level */
143 &asn_DEF_QuantityConfig,
146 0, 0, /* No default value */
149 { ATF_POINTER, 2, offsetof(struct MeasConfigRrc, measGapConfig),
150 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
151 -1, /* IMPLICIT tag at current level */
152 &asn_DEF_MeasGapConfigRrc,
155 0, 0, /* No default value */
158 { ATF_POINTER, 1, offsetof(struct MeasConfigRrc, measGapSharingConfig),
159 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
160 -1, /* IMPLICIT tag at current level */
161 &asn_DEF_MeasGapSharingConfig,
164 0, 0, /* No default value */
165 "measGapSharingConfig"
168 static const int asn_MAP_MeasConfigRrc_oms_1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
169 static const ber_tlv_tag_t asn_DEF_MeasConfigRrc_tags_1[] = {
170 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
172 static const asn_TYPE_tag2member_t asn_MAP_MeasConfigRrc_tag2el_1[] = {
173 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measObjectToRemoveList */
174 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measObjectToAddModList */
175 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* reportConfigToRemoveList */
176 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* reportConfigToAddModList */
177 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* measIdToRemoveList */
178 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* measIdToAddModList */
179 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* s-MeasureConfig */
180 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* quantityConfig */
181 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* measGapConfig */
182 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* measGapSharingConfig */
184 asn_SEQUENCE_specifics_t asn_SPC_MeasConfigRrc_specs_1 = {
185 sizeof(struct MeasConfigRrc),
186 offsetof(struct MeasConfigRrc, _asn_ctx),
187 asn_MAP_MeasConfigRrc_tag2el_1,
188 10, /* Count of tags in the map */
189 asn_MAP_MeasConfigRrc_oms_1, /* Optional members */
190 10, 0, /* Root/Additions */
191 10, /* First extension addition */
193 asn_TYPE_descriptor_t asn_DEF_MeasConfigRrc = {
197 asn_DEF_MeasConfigRrc_tags_1,
198 sizeof(asn_DEF_MeasConfigRrc_tags_1)
199 /sizeof(asn_DEF_MeasConfigRrc_tags_1[0]), /* 1 */
200 asn_DEF_MeasConfigRrc_tags_1, /* Same as above */
201 sizeof(asn_DEF_MeasConfigRrc_tags_1)
202 /sizeof(asn_DEF_MeasConfigRrc_tags_1[0]), /* 1 */
203 { 0, 0, SEQUENCE_constraint },
204 asn_MBR_MeasConfigRrc_1,
205 10, /* Elements count */
206 &asn_SPC_MeasConfigRrc_specs_1 /* Additional specs */