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