Adding new comments for Oran in all files with licenses
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / MDT-Configuration.c
1 /*
2  * Copyright 2019 AT&T Intellectual Property
3  *
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
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 /*
18  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19  * platform project (RICP).
20  */
21
22
23
24 /*
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.`
29  */
30
31 #include "MDT-Configuration.h"
32
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,
41                 0,
42                 { 0, 0, 0 },
43                 0, 0, /* No default value */
44                 "mdt-Activation"
45                 },
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,
50                 0,
51                 { 0, 0, 0 },
52                 0, 0, /* No default value */
53                 "areaScopeOfMDT"
54                 },
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,
59                 0,
60                 { 0, 0, 0 },
61                 0, 0, /* No default value */
62                 "measurementsToActivate"
63                 },
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,
68                 0,
69                 { 0, 0, 0 },
70                 0, 0, /* No default value */
71                 "m1reportingTrigger"
72                 },
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,
77                 0,
78                 { 0, 0, 0 },
79                 0, 0, /* No default value */
80                 "m1thresholdeventA2"
81                 },
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,
86                 0,
87                 { 0, 0, 0 },
88                 0, 0, /* No default value */
89                 "m1periodicReporting"
90                 },
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,
95                 0,
96                 { 0, 0, 0 },
97                 0, 0, /* No default value */
98                 "iE-Extensions"
99                 },
100 };
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))
104 };
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 */
113 };
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 */
122 };
123 asn_TYPE_descriptor_t asn_DEF_MDT_Configuration = {
124         "MDT-Configuration",
125         "MDT-Configuration",
126         &asn_OP_SEQUENCE,
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 */
137 };
138