90b099fbe13e2543850040a42dc7d42bb4f6c34f
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / E-RABs-ToBeAdded-SgNBAddReq-Item.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 "E-RABs-ToBeAdded-SgNBAddReq-Item.h"
32
33 #include "ProtocolExtensionContainer.h"
34 #include "E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPpresent.h"
35 #include "E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPnotpresent.h"
36 static asn_per_constraints_t asn_PER_type_resource_configuration_constr_5 CC_NOTUSED = {
37         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
38         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
39         0, 0    /* No PER value map */
40 };
41 static asn_TYPE_member_t asn_MBR_resource_configuration_5[] = {
42         { ATF_POINTER, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item__resource_configuration, choice.sgNBPDCPpresent),
43                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
44                 -1,     /* IMPLICIT tag at current level */
45                 &asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent,
46                 0,
47                 { 0, 0, 0 },
48                 0, 0, /* No default value */
49                 "sgNBPDCPpresent"
50                 },
51         { ATF_POINTER, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item__resource_configuration, choice.sgNBPDCPnotpresent),
52                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
53                 -1,     /* IMPLICIT tag at current level */
54                 &asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPnotpresent,
55                 0,
56                 { 0, 0, 0 },
57                 0, 0, /* No default value */
58                 "sgNBPDCPnotpresent"
59                 },
60 };
61 static const asn_TYPE_tag2member_t asn_MAP_resource_configuration_tag2el_5[] = {
62     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sgNBPDCPpresent */
63     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sgNBPDCPnotpresent */
64 };
65 static asn_CHOICE_specifics_t asn_SPC_resource_configuration_specs_5 = {
66         sizeof(struct E_RABs_ToBeAdded_SgNBAddReq_Item__resource_configuration),
67         offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item__resource_configuration, _asn_ctx),
68         offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item__resource_configuration, present),
69         sizeof(((struct E_RABs_ToBeAdded_SgNBAddReq_Item__resource_configuration *)0)->present),
70         asn_MAP_resource_configuration_tag2el_5,
71         2,      /* Count of tags in the map */
72         0, 0,
73         2       /* Extensions start */
74 };
75 static /* Use -fall-defs-global to expose */
76 asn_TYPE_descriptor_t asn_DEF_resource_configuration_5 = {
77         "resource-configuration",
78         "resource-configuration",
79         &asn_OP_CHOICE,
80         0,      /* No effective tags (pointer) */
81         0,      /* No effective tags (count) */
82         0,      /* No tags (pointer) */
83         0,      /* No tags (count) */
84         { 0, &asn_PER_type_resource_configuration_constr_5, CHOICE_constraint },
85         asn_MBR_resource_configuration_5,
86         2,      /* Elements count */
87         &asn_SPC_resource_configuration_specs_5 /* Additional specs */
88 };
89
90 static asn_TYPE_member_t asn_MBR_E_RABs_ToBeAdded_SgNBAddReq_Item_1[] = {
91         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item, e_RAB_ID),
92                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
93                 -1,     /* IMPLICIT tag at current level */
94                 &asn_DEF_E_RAB_ID,
95                 0,
96                 { 0, 0, 0 },
97                 0, 0, /* No default value */
98                 "e-RAB-ID"
99                 },
100         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item, drb_ID),
101                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
102                 -1,     /* IMPLICIT tag at current level */
103                 &asn_DEF_DRB_ID,
104                 0,
105                 { 0, 0, 0 },
106                 0, 0, /* No default value */
107                 "drb-ID"
108                 },
109         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item, en_DC_ResourceConfiguration),
110                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
111                 -1,     /* IMPLICIT tag at current level */
112                 &asn_DEF_EN_DC_ResourceConfiguration,
113                 0,
114                 { 0, 0, 0 },
115                 0, 0, /* No default value */
116                 "en-DC-ResourceConfiguration"
117                 },
118         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item, resource_configuration),
119                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
120                 +1,     /* EXPLICIT tag at current level */
121                 &asn_DEF_resource_configuration_5,
122                 0,
123                 { 0, 0, 0 },
124                 0, 0, /* No default value */
125                 "resource-configuration"
126                 },
127         { ATF_POINTER, 1, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item, iE_Extensions),
128                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
129                 -1,     /* IMPLICIT tag at current level */
130                 &asn_DEF_ProtocolExtensionContainer_170P44,
131                 0,
132                 { 0, 0, 0 },
133                 0, 0, /* No default value */
134                 "iE-Extensions"
135                 },
136 };
137 static const int asn_MAP_E_RABs_ToBeAdded_SgNBAddReq_Item_oms_1[] = { 4 };
138 static const ber_tlv_tag_t asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1[] = {
139         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
140 };
141 static const asn_TYPE_tag2member_t asn_MAP_E_RABs_ToBeAdded_SgNBAddReq_Item_tag2el_1[] = {
142     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-RAB-ID */
143     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* drb-ID */
144     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* en-DC-ResourceConfiguration */
145     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* resource-configuration */
146     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
147 };
148 static asn_SEQUENCE_specifics_t asn_SPC_E_RABs_ToBeAdded_SgNBAddReq_Item_specs_1 = {
149         sizeof(struct E_RABs_ToBeAdded_SgNBAddReq_Item),
150         offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item, _asn_ctx),
151         asn_MAP_E_RABs_ToBeAdded_SgNBAddReq_Item_tag2el_1,
152         5,      /* Count of tags in the map */
153         asn_MAP_E_RABs_ToBeAdded_SgNBAddReq_Item_oms_1, /* Optional members */
154         1, 0,   /* Root/Additions */
155         5,      /* First extension addition */
156 };
157 asn_TYPE_descriptor_t asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item = {
158         "E-RABs-ToBeAdded-SgNBAddReq-Item",
159         "E-RABs-ToBeAdded-SgNBAddReq-Item",
160         &asn_OP_SEQUENCE,
161         asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1,
162         sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1)
163                 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1[0]), /* 1 */
164         asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1,        /* Same as above */
165         sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1)
166                 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1[0]), /* 1 */
167         { 0, 0, SEQUENCE_constraint },
168         asn_MBR_E_RABs_ToBeAdded_SgNBAddReq_Item_1,
169         5,      /* Elements count */
170         &asn_SPC_E_RABs_ToBeAdded_SgNBAddReq_Item_specs_1       /* Additional specs */
171 };
172