Adding new comments for Oran in all files with licenses
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / UE-ContextInformationRetrieve.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-PDU-Contents"
27  *      found in "../../asnFiles/X2AP-PDU-Contents.asn"
28  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
29  */
30
31 #include "UE-ContextInformationRetrieve.h"
32
33 #include "HandoverRestrictionList.h"
34 #include "LocationReportingInformation.h"
35 #include "MDTPLMNList.h"
36 #include "ProtocolExtensionContainer.h"
37 static asn_TYPE_member_t asn_MBR_UE_ContextInformationRetrieve_1[] = {
38         { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformationRetrieve, mME_UE_S1AP_ID),
39                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
40                 -1,     /* IMPLICIT tag at current level */
41                 &asn_DEF_UE_S1AP_ID,
42                 0,
43                 { 0, 0, 0 },
44                 0, 0, /* No default value */
45                 "mME-UE-S1AP-ID"
46                 },
47         { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformationRetrieve, uESecurityCapabilities),
48                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
49                 -1,     /* IMPLICIT tag at current level */
50                 &asn_DEF_UESecurityCapabilities,
51                 0,
52                 { 0, 0, 0 },
53                 0, 0, /* No default value */
54                 "uESecurityCapabilities"
55                 },
56         { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformationRetrieve, aS_SecurityInformation),
57                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
58                 -1,     /* IMPLICIT tag at current level */
59                 &asn_DEF_AS_SecurityInformation,
60                 0,
61                 { 0, 0, 0 },
62                 0, 0, /* No default value */
63                 "aS-SecurityInformation"
64                 },
65         { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformationRetrieve, uEaggregateMaximumBitRate),
66                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
67                 -1,     /* IMPLICIT tag at current level */
68                 &asn_DEF_UEAggregateMaximumBitRate,
69                 0,
70                 { 0, 0, 0 },
71                 0, 0, /* No default value */
72                 "uEaggregateMaximumBitRate"
73                 },
74         { ATF_POINTER, 1, offsetof(struct UE_ContextInformationRetrieve, subscriberProfileIDforRFP),
75                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
76                 -1,     /* IMPLICIT tag at current level */
77                 &asn_DEF_SubscriberProfileIDforRFP,
78                 0,
79                 { 0, 0, 0 },
80                 0, 0, /* No default value */
81                 "subscriberProfileIDforRFP"
82                 },
83         { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformationRetrieve, e_RABs_ToBeSetup_ListRetrieve),
84                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
85                 -1,     /* IMPLICIT tag at current level */
86                 &asn_DEF_E_RABs_ToBeSetup_ListRetrieve,
87                 0,
88                 { 0, 0, 0 },
89                 0, 0, /* No default value */
90                 "e-RABs-ToBeSetup-ListRetrieve"
91                 },
92         { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformationRetrieve, rRC_Context),
93                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
94                 -1,     /* IMPLICIT tag at current level */
95                 &asn_DEF_RRC_Context,
96                 0,
97                 { 0, 0, 0 },
98                 0, 0, /* No default value */
99                 "rRC-Context"
100                 },
101         { ATF_POINTER, 5, offsetof(struct UE_ContextInformationRetrieve, handoverRestrictionList),
102                 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
103                 -1,     /* IMPLICIT tag at current level */
104                 &asn_DEF_HandoverRestrictionList,
105                 0,
106                 { 0, 0, 0 },
107                 0, 0, /* No default value */
108                 "handoverRestrictionList"
109                 },
110         { ATF_POINTER, 4, offsetof(struct UE_ContextInformationRetrieve, locationReportingInformation),
111                 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
112                 -1,     /* IMPLICIT tag at current level */
113                 &asn_DEF_LocationReportingInformation,
114                 0,
115                 { 0, 0, 0 },
116                 0, 0, /* No default value */
117                 "locationReportingInformation"
118                 },
119         { ATF_POINTER, 3, offsetof(struct UE_ContextInformationRetrieve, managBasedMDTallowed),
120                 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
121                 -1,     /* IMPLICIT tag at current level */
122                 &asn_DEF_ManagementBasedMDTallowed,
123                 0,
124                 { 0, 0, 0 },
125                 0, 0, /* No default value */
126                 "managBasedMDTallowed"
127                 },
128         { ATF_POINTER, 2, offsetof(struct UE_ContextInformationRetrieve, managBasedMDTPLMNList),
129                 (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
130                 -1,     /* IMPLICIT tag at current level */
131                 &asn_DEF_MDTPLMNList,
132                 0,
133                 { 0, 0, 0 },
134                 0, 0, /* No default value */
135                 "managBasedMDTPLMNList"
136                 },
137         { ATF_POINTER, 1, offsetof(struct UE_ContextInformationRetrieve, iE_Extensions),
138                 (ASN_TAG_CLASS_CONTEXT | (11 << 2)),
139                 -1,     /* IMPLICIT tag at current level */
140                 &asn_DEF_ProtocolExtensionContainer_170P42,
141                 0,
142                 { 0, 0, 0 },
143                 0, 0, /* No default value */
144                 "iE-Extensions"
145                 },
146 };
147 static const int asn_MAP_UE_ContextInformationRetrieve_oms_1[] = { 4, 7, 8, 9, 10, 11 };
148 static const ber_tlv_tag_t asn_DEF_UE_ContextInformationRetrieve_tags_1[] = {
149         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
150 };
151 static const asn_TYPE_tag2member_t asn_MAP_UE_ContextInformationRetrieve_tag2el_1[] = {
152     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mME-UE-S1AP-ID */
153     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* uESecurityCapabilities */
154     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* aS-SecurityInformation */
155     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* uEaggregateMaximumBitRate */
156     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* subscriberProfileIDforRFP */
157     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* e-RABs-ToBeSetup-ListRetrieve */
158     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* rRC-Context */
159     { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* handoverRestrictionList */
160     { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* locationReportingInformation */
161     { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* managBasedMDTallowed */
162     { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* managBasedMDTPLMNList */
163     { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 } /* iE-Extensions */
164 };
165 static asn_SEQUENCE_specifics_t asn_SPC_UE_ContextInformationRetrieve_specs_1 = {
166         sizeof(struct UE_ContextInformationRetrieve),
167         offsetof(struct UE_ContextInformationRetrieve, _asn_ctx),
168         asn_MAP_UE_ContextInformationRetrieve_tag2el_1,
169         12,     /* Count of tags in the map */
170         asn_MAP_UE_ContextInformationRetrieve_oms_1,    /* Optional members */
171         6, 0,   /* Root/Additions */
172         12,     /* First extension addition */
173 };
174 asn_TYPE_descriptor_t asn_DEF_UE_ContextInformationRetrieve = {
175         "UE-ContextInformationRetrieve",
176         "UE-ContextInformationRetrieve",
177         &asn_OP_SEQUENCE,
178         asn_DEF_UE_ContextInformationRetrieve_tags_1,
179         sizeof(asn_DEF_UE_ContextInformationRetrieve_tags_1)
180                 /sizeof(asn_DEF_UE_ContextInformationRetrieve_tags_1[0]), /* 1 */
181         asn_DEF_UE_ContextInformationRetrieve_tags_1,   /* Same as above */
182         sizeof(asn_DEF_UE_ContextInformationRetrieve_tags_1)
183                 /sizeof(asn_DEF_UE_ContextInformationRetrieve_tags_1[0]), /* 1 */
184         { 0, 0, SEQUENCE_constraint },
185         asn_MBR_UE_ContextInformationRetrieve_1,
186         12,     /* Elements count */
187         &asn_SPC_UE_ContextInformationRetrieve_specs_1  /* Additional specs */
188 };
189