Moving in e2sim originally from it/test/simulators
[sim/e2-interface.git] / e2sim / ASN1c / MDT-Configuration.c
1 /*****************************************************************************
2 #                                                                            *
3 # Copyright 2019 AT&T Intellectual Property                                  *
4 #                                                                            *
5 # Licensed under the Apache License, Version 2.0 (the "License");            *
6 # you may not use this file except in compliance with the License.           *
7 # You may obtain a copy of the License at                                    *
8 #                                                                            *
9 #      http://www.apache.org/licenses/LICENSE-2.0                            *
10 #                                                                            *
11 # Unless required by applicable law or agreed to in writing, software        *
12 # distributed under the License is distributed on an "AS IS" BASIS,          *
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *
14 # See the License for the specific language governing permissions and        *
15 # limitations under the License.                                             *
16 #                                                                            *
17 ******************************************************************************/
18
19 /*
20  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
21  * From ASN.1 module "X2AP-IEs"
22  *      found in "../../asnFiles/X2AP-IEs.asn"
23  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
24  */
25
26 #include "MDT-Configuration.h"
27
28 #include "M1ThresholdEventA2.h"
29 #include "M1PeriodicReporting.h"
30 #include "ProtocolExtensionContainer.h"
31 asn_TYPE_member_t asn_MBR_MDT_Configuration_1[] = {
32         { ATF_NOFLAGS, 0, offsetof(struct MDT_Configuration, mdt_Activation),
33                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
34                 -1,     /* IMPLICIT tag at current level */
35                 &asn_DEF_MDT_Activation,
36                 0,
37                 { 0, 0, 0 },
38                 0, 0, /* No default value */
39                 "mdt-Activation"
40                 },
41         { ATF_NOFLAGS, 0, offsetof(struct MDT_Configuration, areaScopeOfMDT),
42                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
43                 +1,     /* EXPLICIT tag at current level */
44                 &asn_DEF_AreaScopeOfMDT,
45                 0,
46                 { 0, 0, 0 },
47                 0, 0, /* No default value */
48                 "areaScopeOfMDT"
49                 },
50         { ATF_NOFLAGS, 0, offsetof(struct MDT_Configuration, measurementsToActivate),
51                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
52                 -1,     /* IMPLICIT tag at current level */
53                 &asn_DEF_MeasurementsToActivate,
54                 0,
55                 { 0, 0, 0 },
56                 0, 0, /* No default value */
57                 "measurementsToActivate"
58                 },
59         { ATF_NOFLAGS, 0, offsetof(struct MDT_Configuration, m1reportingTrigger),
60                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
61                 -1,     /* IMPLICIT tag at current level */
62                 &asn_DEF_M1ReportingTrigger,
63                 0,
64                 { 0, 0, 0 },
65                 0, 0, /* No default value */
66                 "m1reportingTrigger"
67                 },
68         { ATF_POINTER, 3, offsetof(struct MDT_Configuration, m1thresholdeventA2),
69                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
70                 -1,     /* IMPLICIT tag at current level */
71                 &asn_DEF_M1ThresholdEventA2,
72                 0,
73                 { 0, 0, 0 },
74                 0, 0, /* No default value */
75                 "m1thresholdeventA2"
76                 },
77         { ATF_POINTER, 2, offsetof(struct MDT_Configuration, m1periodicReporting),
78                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
79                 -1,     /* IMPLICIT tag at current level */
80                 &asn_DEF_M1PeriodicReporting,
81                 0,
82                 { 0, 0, 0 },
83                 0, 0, /* No default value */
84                 "m1periodicReporting"
85                 },
86         { ATF_POINTER, 1, offsetof(struct MDT_Configuration, iE_Extensions),
87                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
88                 -1,     /* IMPLICIT tag at current level */
89                 &asn_DEF_ProtocolExtensionContainer_170P166,
90                 0,
91                 { 0, 0, 0 },
92                 0, 0, /* No default value */
93                 "iE-Extensions"
94                 },
95 };
96 static const int asn_MAP_MDT_Configuration_oms_1[] = { 4, 5, 6 };
97 static const ber_tlv_tag_t asn_DEF_MDT_Configuration_tags_1[] = {
98         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
99 };
100 static const asn_TYPE_tag2member_t asn_MAP_MDT_Configuration_tag2el_1[] = {
101     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mdt-Activation */
102     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* areaScopeOfMDT */
103     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* measurementsToActivate */
104     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* m1reportingTrigger */
105     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* m1thresholdeventA2 */
106     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* m1periodicReporting */
107     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* iE-Extensions */
108 };
109 asn_SEQUENCE_specifics_t asn_SPC_MDT_Configuration_specs_1 = {
110         sizeof(struct MDT_Configuration),
111         offsetof(struct MDT_Configuration, _asn_ctx),
112         asn_MAP_MDT_Configuration_tag2el_1,
113         7,      /* Count of tags in the map */
114         asn_MAP_MDT_Configuration_oms_1,        /* Optional members */
115         3, 0,   /* Root/Additions */
116         7,      /* First extension addition */
117 };
118 asn_TYPE_descriptor_t asn_DEF_MDT_Configuration = {
119         "MDT-Configuration",
120         "MDT-Configuration",
121         &asn_OP_SEQUENCE,
122         asn_DEF_MDT_Configuration_tags_1,
123         sizeof(asn_DEF_MDT_Configuration_tags_1)
124                 /sizeof(asn_DEF_MDT_Configuration_tags_1[0]), /* 1 */
125         asn_DEF_MDT_Configuration_tags_1,       /* Same as above */
126         sizeof(asn_DEF_MDT_Configuration_tags_1)
127                 /sizeof(asn_DEF_MDT_Configuration_tags_1[0]), /* 1 */
128         { 0, 0, SEQUENCE_constraint },
129         asn_MBR_MDT_Configuration_1,
130         7,      /* Elements count */
131         &asn_SPC_MDT_Configuration_specs_1      /* Additional specs */
132 };
133