1 /*****************************************************************************
3 # Copyright 2019 AT&T Intellectual Property *
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 *
9 # http://www.apache.org/licenses/LICENSE-2.0 *
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. *
17 ******************************************************************************/
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.`
26 #include "E-RABs-ToBeAdded-SgNBAddReq-Item.h"
28 #include "ProtocolExtensionContainer.h"
29 #include "E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPpresent.h"
30 #include "E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPnotpresent.h"
31 static asn_per_constraints_t asn_PER_type_resource_configuration_constr_5 CC_NOTUSED = {
32 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
33 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
34 0, 0 /* No PER value map */
36 static asn_TYPE_member_t asn_MBR_resource_configuration_5[] = {
37 { ATF_POINTER, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item__resource_configuration, choice.sgNBPDCPpresent),
38 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
39 -1, /* IMPLICIT tag at current level */
40 &asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent,
43 0, 0, /* No default value */
46 { ATF_POINTER, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item__resource_configuration, choice.sgNBPDCPnotpresent),
47 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
48 -1, /* IMPLICIT tag at current level */
49 &asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPnotpresent,
52 0, 0, /* No default value */
56 static const asn_TYPE_tag2member_t asn_MAP_resource_configuration_tag2el_5[] = {
57 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sgNBPDCPpresent */
58 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sgNBPDCPnotpresent */
60 static asn_CHOICE_specifics_t asn_SPC_resource_configuration_specs_5 = {
61 sizeof(struct E_RABs_ToBeAdded_SgNBAddReq_Item__resource_configuration),
62 offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item__resource_configuration, _asn_ctx),
63 offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item__resource_configuration, present),
64 sizeof(((struct E_RABs_ToBeAdded_SgNBAddReq_Item__resource_configuration *)0)->present),
65 asn_MAP_resource_configuration_tag2el_5,
66 2, /* Count of tags in the map */
68 2 /* Extensions start */
70 static /* Use -fall-defs-global to expose */
71 asn_TYPE_descriptor_t asn_DEF_resource_configuration_5 = {
72 "resource-configuration",
73 "resource-configuration",
75 0, /* No effective tags (pointer) */
76 0, /* No effective tags (count) */
77 0, /* No tags (pointer) */
78 0, /* No tags (count) */
79 { 0, &asn_PER_type_resource_configuration_constr_5, CHOICE_constraint },
80 asn_MBR_resource_configuration_5,
81 2, /* Elements count */
82 &asn_SPC_resource_configuration_specs_5 /* Additional specs */
85 static asn_TYPE_member_t asn_MBR_E_RABs_ToBeAdded_SgNBAddReq_Item_1[] = {
86 { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item, e_RAB_ID),
87 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
88 -1, /* IMPLICIT tag at current level */
92 0, 0, /* No default value */
95 { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item, drb_ID),
96 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
97 -1, /* IMPLICIT tag at current level */
101 0, 0, /* No default value */
104 { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item, en_DC_ResourceConfiguration),
105 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
106 -1, /* IMPLICIT tag at current level */
107 &asn_DEF_EN_DC_ResourceConfiguration,
110 0, 0, /* No default value */
111 "en-DC-ResourceConfiguration"
113 { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item, resource_configuration),
114 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
115 +1, /* EXPLICIT tag at current level */
116 &asn_DEF_resource_configuration_5,
119 0, 0, /* No default value */
120 "resource-configuration"
122 { ATF_POINTER, 1, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item, iE_Extensions),
123 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
124 -1, /* IMPLICIT tag at current level */
125 &asn_DEF_ProtocolExtensionContainer_170P44,
128 0, 0, /* No default value */
132 static const int asn_MAP_E_RABs_ToBeAdded_SgNBAddReq_Item_oms_1[] = { 4 };
133 static const ber_tlv_tag_t asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1[] = {
134 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
136 static const asn_TYPE_tag2member_t asn_MAP_E_RABs_ToBeAdded_SgNBAddReq_Item_tag2el_1[] = {
137 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-RAB-ID */
138 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* drb-ID */
139 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* en-DC-ResourceConfiguration */
140 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* resource-configuration */
141 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
143 static asn_SEQUENCE_specifics_t asn_SPC_E_RABs_ToBeAdded_SgNBAddReq_Item_specs_1 = {
144 sizeof(struct E_RABs_ToBeAdded_SgNBAddReq_Item),
145 offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item, _asn_ctx),
146 asn_MAP_E_RABs_ToBeAdded_SgNBAddReq_Item_tag2el_1,
147 5, /* Count of tags in the map */
148 asn_MAP_E_RABs_ToBeAdded_SgNBAddReq_Item_oms_1, /* Optional members */
149 1, 0, /* Root/Additions */
150 5, /* First extension addition */
152 asn_TYPE_descriptor_t asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item = {
153 "E-RABs-ToBeAdded-SgNBAddReq-Item",
154 "E-RABs-ToBeAdded-SgNBAddReq-Item",
156 asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1,
157 sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1)
158 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1[0]), /* 1 */
159 asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1, /* Same as above */
160 sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1)
161 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_tags_1[0]), /* 1 */
162 { 0, 0, SEQUENCE_constraint },
163 asn_MBR_E_RABs_ToBeAdded_SgNBAddReq_Item_1,
164 5, /* Elements count */
165 &asn_SPC_E_RABs_ToBeAdded_SgNBAddReq_Item_specs_1 /* Additional specs */