2 * Copyright 2019 AT&T Intellectual Property
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 * platform project (RICP).
25 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
26 * From ASN.1 module "X2AP-IEs"
27 * found in "../../asnFiles/X2AP-IEs.asn"
28 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
31 #include "MDT-Configuration.h"
33 #include "M1ThresholdEventA2.h"
34 #include "M1PeriodicReporting.h"
35 #include "ProtocolExtensionContainer.h"
36 asn_TYPE_member_t asn_MBR_MDT_Configuration_1[] = {
37 { ATF_NOFLAGS, 0, offsetof(struct MDT_Configuration, mdt_Activation),
38 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
39 -1, /* IMPLICIT tag at current level */
40 &asn_DEF_MDT_Activation,
43 0, 0, /* No default value */
46 { ATF_NOFLAGS, 0, offsetof(struct MDT_Configuration, areaScopeOfMDT),
47 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
48 +1, /* EXPLICIT tag at current level */
49 &asn_DEF_AreaScopeOfMDT,
52 0, 0, /* No default value */
55 { ATF_NOFLAGS, 0, offsetof(struct MDT_Configuration, measurementsToActivate),
56 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
57 -1, /* IMPLICIT tag at current level */
58 &asn_DEF_MeasurementsToActivate,
61 0, 0, /* No default value */
62 "measurementsToActivate"
64 { ATF_NOFLAGS, 0, offsetof(struct MDT_Configuration, m1reportingTrigger),
65 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
66 -1, /* IMPLICIT tag at current level */
67 &asn_DEF_M1ReportingTrigger,
70 0, 0, /* No default value */
73 { ATF_POINTER, 3, offsetof(struct MDT_Configuration, m1thresholdeventA2),
74 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
75 -1, /* IMPLICIT tag at current level */
76 &asn_DEF_M1ThresholdEventA2,
79 0, 0, /* No default value */
82 { ATF_POINTER, 2, offsetof(struct MDT_Configuration, m1periodicReporting),
83 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
84 -1, /* IMPLICIT tag at current level */
85 &asn_DEF_M1PeriodicReporting,
88 0, 0, /* No default value */
91 { ATF_POINTER, 1, offsetof(struct MDT_Configuration, iE_Extensions),
92 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
93 -1, /* IMPLICIT tag at current level */
94 &asn_DEF_ProtocolExtensionContainer_170P166,
97 0, 0, /* No default value */
101 static const int asn_MAP_MDT_Configuration_oms_1[] = { 4, 5, 6 };
102 static const ber_tlv_tag_t asn_DEF_MDT_Configuration_tags_1[] = {
103 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
105 static const asn_TYPE_tag2member_t asn_MAP_MDT_Configuration_tag2el_1[] = {
106 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mdt-Activation */
107 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* areaScopeOfMDT */
108 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* measurementsToActivate */
109 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* m1reportingTrigger */
110 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* m1thresholdeventA2 */
111 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* m1periodicReporting */
112 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* iE-Extensions */
114 asn_SEQUENCE_specifics_t asn_SPC_MDT_Configuration_specs_1 = {
115 sizeof(struct MDT_Configuration),
116 offsetof(struct MDT_Configuration, _asn_ctx),
117 asn_MAP_MDT_Configuration_tag2el_1,
118 7, /* Count of tags in the map */
119 asn_MAP_MDT_Configuration_oms_1, /* Optional members */
120 3, 0, /* Root/Additions */
121 7, /* First extension addition */
123 asn_TYPE_descriptor_t asn_DEF_MDT_Configuration = {
127 asn_DEF_MDT_Configuration_tags_1,
128 sizeof(asn_DEF_MDT_Configuration_tags_1)
129 /sizeof(asn_DEF_MDT_Configuration_tags_1[0]), /* 1 */
130 asn_DEF_MDT_Configuration_tags_1, /* Same as above */
131 sizeof(asn_DEF_MDT_Configuration_tags_1)
132 /sizeof(asn_DEF_MDT_Configuration_tags_1[0]), /* 1 */
133 { 0, 0, SEQUENCE_constraint },
134 asn_MBR_MDT_Configuration_1,
135 7, /* Elements count */
136 &asn_SPC_MDT_Configuration_specs_1 /* Additional specs */