664a57a0ec6e4d33ef28cec0716416f415bfeffb
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / UE-ContextInformation-SgNBModReq.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 /*
21  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
22  * From ASN.1 module "X2AP-PDU-Contents"
23  *      found in "../../asnFiles/X2AP-PDU-Contents.asn"
24  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
25  */
26
27 #include "UE-ContextInformation-SgNBModReq.h"
28
29 #include "NRUESecurityCapabilities.h"
30 #include "UEAggregateMaximumBitRate.h"
31 #include "E-RABs-ToBeAdded-SgNBModReq-List.h"
32 #include "E-RABs-ToBeModified-SgNBModReq-List.h"
33 #include "E-RABs-ToBeReleased-SgNBModReq-List.h"
34 #include "ProtocolExtensionContainer.h"
35 static asn_TYPE_member_t asn_MBR_UE_ContextInformation_SgNBModReq_1[] = {
36         { ATF_POINTER, 7, offsetof(struct UE_ContextInformation_SgNBModReq, nRUE_SecurityCapabilities),
37                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
38                 -1,     /* IMPLICIT tag at current level */
39                 &asn_DEF_NRUESecurityCapabilities,
40                 0,
41                 { 0, 0, 0 },
42                 0, 0, /* No default value */
43                 "nRUE-SecurityCapabilities"
44                 },
45         { ATF_POINTER, 6, offsetof(struct UE_ContextInformation_SgNBModReq, sgNB_SecurityKey),
46                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
47                 -1,     /* IMPLICIT tag at current level */
48                 &asn_DEF_SgNBSecurityKey,
49                 0,
50                 { 0, 0, 0 },
51                 0, 0, /* No default value */
52                 "sgNB-SecurityKey"
53                 },
54         { ATF_POINTER, 5, offsetof(struct UE_ContextInformation_SgNBModReq, sgNBUEAggregateMaximumBitRate),
55                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
56                 -1,     /* IMPLICIT tag at current level */
57                 &asn_DEF_UEAggregateMaximumBitRate,
58                 0,
59                 { 0, 0, 0 },
60                 0, 0, /* No default value */
61                 "sgNBUEAggregateMaximumBitRate"
62                 },
63         { ATF_POINTER, 4, offsetof(struct UE_ContextInformation_SgNBModReq, e_RABs_ToBeAdded),
64                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
65                 -1,     /* IMPLICIT tag at current level */
66                 &asn_DEF_E_RABs_ToBeAdded_SgNBModReq_List,
67                 0,
68                 { 0, 0, 0 },
69                 0, 0, /* No default value */
70                 "e-RABs-ToBeAdded"
71                 },
72         { ATF_POINTER, 3, offsetof(struct UE_ContextInformation_SgNBModReq, e_RABs_ToBeModified),
73                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
74                 -1,     /* IMPLICIT tag at current level */
75                 &asn_DEF_E_RABs_ToBeModified_SgNBModReq_List,
76                 0,
77                 { 0, 0, 0 },
78                 0, 0, /* No default value */
79                 "e-RABs-ToBeModified"
80                 },
81         { ATF_POINTER, 2, offsetof(struct UE_ContextInformation_SgNBModReq, e_RABs_ToBeReleased),
82                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
83                 -1,     /* IMPLICIT tag at current level */
84                 &asn_DEF_E_RABs_ToBeReleased_SgNBModReq_List,
85                 0,
86                 { 0, 0, 0 },
87                 0, 0, /* No default value */
88                 "e-RABs-ToBeReleased"
89                 },
90         { ATF_POINTER, 1, offsetof(struct UE_ContextInformation_SgNBModReq, iE_Extensions),
91                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
92                 -1,     /* IMPLICIT tag at current level */
93                 &asn_DEF_ProtocolExtensionContainer_170P52,
94                 0,
95                 { 0, 0, 0 },
96                 0, 0, /* No default value */
97                 "iE-Extensions"
98                 },
99 };
100 static const int asn_MAP_UE_ContextInformation_SgNBModReq_oms_1[] = { 0, 1, 2, 3, 4, 5, 6 };
101 static const ber_tlv_tag_t asn_DEF_UE_ContextInformation_SgNBModReq_tags_1[] = {
102         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
103 };
104 static const asn_TYPE_tag2member_t asn_MAP_UE_ContextInformation_SgNBModReq_tag2el_1[] = {
105     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nRUE-SecurityCapabilities */
106     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sgNB-SecurityKey */
107     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sgNBUEAggregateMaximumBitRate */
108     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* e-RABs-ToBeAdded */
109     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* e-RABs-ToBeModified */
110     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* e-RABs-ToBeReleased */
111     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* iE-Extensions */
112 };
113 static asn_SEQUENCE_specifics_t asn_SPC_UE_ContextInformation_SgNBModReq_specs_1 = {
114         sizeof(struct UE_ContextInformation_SgNBModReq),
115         offsetof(struct UE_ContextInformation_SgNBModReq, _asn_ctx),
116         asn_MAP_UE_ContextInformation_SgNBModReq_tag2el_1,
117         7,      /* Count of tags in the map */
118         asn_MAP_UE_ContextInformation_SgNBModReq_oms_1, /* Optional members */
119         7, 0,   /* Root/Additions */
120         7,      /* First extension addition */
121 };
122 asn_TYPE_descriptor_t asn_DEF_UE_ContextInformation_SgNBModReq = {
123         "UE-ContextInformation-SgNBModReq",
124         "UE-ContextInformation-SgNBModReq",
125         &asn_OP_SEQUENCE,
126         asn_DEF_UE_ContextInformation_SgNBModReq_tags_1,
127         sizeof(asn_DEF_UE_ContextInformation_SgNBModReq_tags_1)
128                 /sizeof(asn_DEF_UE_ContextInformation_SgNBModReq_tags_1[0]), /* 1 */
129         asn_DEF_UE_ContextInformation_SgNBModReq_tags_1,        /* Same as above */
130         sizeof(asn_DEF_UE_ContextInformation_SgNBModReq_tags_1)
131                 /sizeof(asn_DEF_UE_ContextInformation_SgNBModReq_tags_1[0]), /* 1 */
132         { 0, 0, SEQUENCE_constraint },
133         asn_MBR_UE_ContextInformation_SgNBModReq_1,
134         7,      /* Elements count */
135         &asn_SPC_UE_ContextInformation_SgNBModReq_specs_1       /* Additional specs */
136 };
137