Add version 0.5.0
[ric-plt/submgr.git] / e2ap / lib / MDT-Configuration.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "Spec/e2ap-v031ex.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #include "MDT-Configuration.h"
9
10 #include "M1ThresholdEventA2.h"
11 #include "M1PeriodicReporting.h"
12 #include "ProtocolExtensionContainer.h"
13 static asn_TYPE_member_t asn_MBR_MDT_Configuration_1[] = {
14         { ATF_NOFLAGS, 0, offsetof(struct MDT_Configuration, mdt_Activation),
15                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
16                 -1,     /* IMPLICIT tag at current level */
17                 &asn_DEF_MDT_Activation,
18                 0,
19                 { 0, 0, 0 },
20                 0, 0, /* No default value */
21                 "mdt-Activation"
22                 },
23         { ATF_NOFLAGS, 0, offsetof(struct MDT_Configuration, areaScopeOfMDT),
24                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
25                 +1,     /* EXPLICIT tag at current level */
26                 &asn_DEF_AreaScopeOfMDT,
27                 0,
28                 { 0, 0, 0 },
29                 0, 0, /* No default value */
30                 "areaScopeOfMDT"
31                 },
32         { ATF_NOFLAGS, 0, offsetof(struct MDT_Configuration, measurementsToActivate),
33                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
34                 -1,     /* IMPLICIT tag at current level */
35                 &asn_DEF_MeasurementsToActivate,
36                 0,
37                 { 0, 0, 0 },
38                 0, 0, /* No default value */
39                 "measurementsToActivate"
40                 },
41         { ATF_NOFLAGS, 0, offsetof(struct MDT_Configuration, m1reportingTrigger),
42                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
43                 -1,     /* IMPLICIT tag at current level */
44                 &asn_DEF_M1ReportingTrigger,
45                 0,
46                 { 0, 0, 0 },
47                 0, 0, /* No default value */
48                 "m1reportingTrigger"
49                 },
50         { ATF_POINTER, 3, offsetof(struct MDT_Configuration, m1thresholdeventA2),
51                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
52                 -1,     /* IMPLICIT tag at current level */
53                 &asn_DEF_M1ThresholdEventA2,
54                 0,
55                 { 0, 0, 0 },
56                 0, 0, /* No default value */
57                 "m1thresholdeventA2"
58                 },
59         { ATF_POINTER, 2, offsetof(struct MDT_Configuration, m1periodicReporting),
60                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
61                 -1,     /* IMPLICIT tag at current level */
62                 &asn_DEF_M1PeriodicReporting,
63                 0,
64                 { 0, 0, 0 },
65                 0, 0, /* No default value */
66                 "m1periodicReporting"
67                 },
68         { ATF_POINTER, 1, offsetof(struct MDT_Configuration, iE_Extensions),
69                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
70                 -1,     /* IMPLICIT tag at current level */
71                 &asn_DEF_ProtocolExtensionContainer_9566P166,
72                 0,
73                 { 0, 0, 0 },
74                 0, 0, /* No default value */
75                 "iE-Extensions"
76                 },
77 };
78 static const int asn_MAP_MDT_Configuration_oms_1[] = { 4, 5, 6 };
79 static const ber_tlv_tag_t asn_DEF_MDT_Configuration_tags_1[] = {
80         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
81 };
82 static const asn_TYPE_tag2member_t asn_MAP_MDT_Configuration_tag2el_1[] = {
83     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mdt-Activation */
84     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* areaScopeOfMDT */
85     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* measurementsToActivate */
86     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* m1reportingTrigger */
87     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* m1thresholdeventA2 */
88     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* m1periodicReporting */
89     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* iE-Extensions */
90 };
91 static asn_SEQUENCE_specifics_t asn_SPC_MDT_Configuration_specs_1 = {
92         sizeof(struct MDT_Configuration),
93         offsetof(struct MDT_Configuration, _asn_ctx),
94         asn_MAP_MDT_Configuration_tag2el_1,
95         7,      /* Count of tags in the map */
96         asn_MAP_MDT_Configuration_oms_1,        /* Optional members */
97         3, 0,   /* Root/Additions */
98         7,      /* First extension addition */
99 };
100 asn_TYPE_descriptor_t asn_DEF_MDT_Configuration = {
101         "MDT-Configuration",
102         "MDT-Configuration",
103         &asn_OP_SEQUENCE,
104         asn_DEF_MDT_Configuration_tags_1,
105         sizeof(asn_DEF_MDT_Configuration_tags_1)
106                 /sizeof(asn_DEF_MDT_Configuration_tags_1[0]), /* 1 */
107         asn_DEF_MDT_Configuration_tags_1,       /* Same as above */
108         sizeof(asn_DEF_MDT_Configuration_tags_1)
109                 /sizeof(asn_DEF_MDT_Configuration_tags_1[0]), /* 1 */
110         { 0, 0, SEQUENCE_constraint },
111         asn_MBR_MDT_Configuration_1,
112         7,      /* Elements count */
113         &asn_SPC_MDT_Configuration_specs_1      /* Additional specs */
114 };
115