Adding new comments for Oran in all files with licenses
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / UE-ContextInformationSeNBModReq.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-ContextInformationSeNBModReq.h"
32
33 #include "UESecurityCapabilities.h"
34 #include "UEAggregateMaximumBitRate.h"
35 #include "E-RABs-ToBeAdded-List-ModReq.h"
36 #include "E-RABs-ToBeModified-List-ModReq.h"
37 #include "E-RABs-ToBeReleased-List-ModReq.h"
38 #include "ProtocolExtensionContainer.h"
39 static asn_TYPE_member_t asn_MBR_UE_ContextInformationSeNBModReq_1[] = {
40         { ATF_POINTER, 7, offsetof(struct UE_ContextInformationSeNBModReq, uE_SecurityCapabilities),
41                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
42                 -1,     /* IMPLICIT tag at current level */
43                 &asn_DEF_UESecurityCapabilities,
44                 0,
45                 { 0, 0, 0 },
46                 0, 0, /* No default value */
47                 "uE-SecurityCapabilities"
48                 },
49         { ATF_POINTER, 6, offsetof(struct UE_ContextInformationSeNBModReq, seNB_SecurityKey),
50                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
51                 -1,     /* IMPLICIT tag at current level */
52                 &asn_DEF_SeNBSecurityKey,
53                 0,
54                 { 0, 0, 0 },
55                 0, 0, /* No default value */
56                 "seNB-SecurityKey"
57                 },
58         { ATF_POINTER, 5, offsetof(struct UE_ContextInformationSeNBModReq, seNBUEAggregateMaximumBitRate),
59                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
60                 -1,     /* IMPLICIT tag at current level */
61                 &asn_DEF_UEAggregateMaximumBitRate,
62                 0,
63                 { 0, 0, 0 },
64                 0, 0, /* No default value */
65                 "seNBUEAggregateMaximumBitRate"
66                 },
67         { ATF_POINTER, 4, offsetof(struct UE_ContextInformationSeNBModReq, e_RABs_ToBeAdded),
68                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
69                 -1,     /* IMPLICIT tag at current level */
70                 &asn_DEF_E_RABs_ToBeAdded_List_ModReq,
71                 0,
72                 { 0, 0, 0 },
73                 0, 0, /* No default value */
74                 "e-RABs-ToBeAdded"
75                 },
76         { ATF_POINTER, 3, offsetof(struct UE_ContextInformationSeNBModReq, e_RABs_ToBeModified),
77                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
78                 -1,     /* IMPLICIT tag at current level */
79                 &asn_DEF_E_RABs_ToBeModified_List_ModReq,
80                 0,
81                 { 0, 0, 0 },
82                 0, 0, /* No default value */
83                 "e-RABs-ToBeModified"
84                 },
85         { ATF_POINTER, 2, offsetof(struct UE_ContextInformationSeNBModReq, e_RABs_ToBeReleased),
86                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
87                 -1,     /* IMPLICIT tag at current level */
88                 &asn_DEF_E_RABs_ToBeReleased_List_ModReq,
89                 0,
90                 { 0, 0, 0 },
91                 0, 0, /* No default value */
92                 "e-RABs-ToBeReleased"
93                 },
94         { ATF_POINTER, 1, offsetof(struct UE_ContextInformationSeNBModReq, iE_Extensions),
95                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
96                 -1,     /* IMPLICIT tag at current level */
97                 &asn_DEF_ProtocolExtensionContainer_170P23,
98                 0,
99                 { 0, 0, 0 },
100                 0, 0, /* No default value */
101                 "iE-Extensions"
102                 },
103 };
104 static const int asn_MAP_UE_ContextInformationSeNBModReq_oms_1[] = { 0, 1, 2, 3, 4, 5, 6 };
105 static const ber_tlv_tag_t asn_DEF_UE_ContextInformationSeNBModReq_tags_1[] = {
106         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
107 };
108 static const asn_TYPE_tag2member_t asn_MAP_UE_ContextInformationSeNBModReq_tag2el_1[] = {
109     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* uE-SecurityCapabilities */
110     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* seNB-SecurityKey */
111     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* seNBUEAggregateMaximumBitRate */
112     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* e-RABs-ToBeAdded */
113     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* e-RABs-ToBeModified */
114     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* e-RABs-ToBeReleased */
115     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* iE-Extensions */
116 };
117 static asn_SEQUENCE_specifics_t asn_SPC_UE_ContextInformationSeNBModReq_specs_1 = {
118         sizeof(struct UE_ContextInformationSeNBModReq),
119         offsetof(struct UE_ContextInformationSeNBModReq, _asn_ctx),
120         asn_MAP_UE_ContextInformationSeNBModReq_tag2el_1,
121         7,      /* Count of tags in the map */
122         asn_MAP_UE_ContextInformationSeNBModReq_oms_1,  /* Optional members */
123         7, 0,   /* Root/Additions */
124         7,      /* First extension addition */
125 };
126 asn_TYPE_descriptor_t asn_DEF_UE_ContextInformationSeNBModReq = {
127         "UE-ContextInformationSeNBModReq",
128         "UE-ContextInformationSeNBModReq",
129         &asn_OP_SEQUENCE,
130         asn_DEF_UE_ContextInformationSeNBModReq_tags_1,
131         sizeof(asn_DEF_UE_ContextInformationSeNBModReq_tags_1)
132                 /sizeof(asn_DEF_UE_ContextInformationSeNBModReq_tags_1[0]), /* 1 */
133         asn_DEF_UE_ContextInformationSeNBModReq_tags_1, /* Same as above */
134         sizeof(asn_DEF_UE_ContextInformationSeNBModReq_tags_1)
135                 /sizeof(asn_DEF_UE_ContextInformationSeNBModReq_tags_1[0]), /* 1 */
136         { 0, 0, SEQUENCE_constraint },
137         asn_MBR_UE_ContextInformationSeNBModReq_1,
138         7,      /* Elements count */
139         &asn_SPC_UE_ContextInformationSeNBModReq_specs_1        /* Additional specs */
140 };
141