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-IEs"
22 * found in "../../asnFiles/X2AP-IEs.asn"
23 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
26 #include "CoMPInformationItem.h"
28 #include "ProtocolExtensionContainer.h"
29 asn_per_constraints_t asn_PER_type_CoMPInformationItem_constr_1 CC_NOTUSED = {
30 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
31 { APC_CONSTRAINED, 8, 8, 1, 256 } /* (SIZE(1..256)) */,
32 0, 0 /* No PER value map */
34 static asn_TYPE_member_t asn_MBR_Member_2[] = {
35 { ATF_NOFLAGS, 0, offsetof(struct CoMPInformationItem__Member, coMPHypothesisSet),
36 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
37 -1, /* IMPLICIT tag at current level */
38 &asn_DEF_CoMPHypothesisSet,
41 0, 0, /* No default value */
44 { ATF_NOFLAGS, 0, offsetof(struct CoMPInformationItem__Member, benefitMetric),
45 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
46 -1, /* IMPLICIT tag at current level */
47 &asn_DEF_BenefitMetric,
50 0, 0, /* No default value */
53 { ATF_POINTER, 1, offsetof(struct CoMPInformationItem__Member, iE_Extensions),
54 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
55 -1, /* IMPLICIT tag at current level */
56 &asn_DEF_ProtocolExtensionContainer_170P119,
59 0, 0, /* No default value */
63 static const int asn_MAP_Member_oms_2[] = { 2 };
64 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
65 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
67 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
68 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* coMPHypothesisSet */
69 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* benefitMetric */
70 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
72 static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
73 sizeof(struct CoMPInformationItem__Member),
74 offsetof(struct CoMPInformationItem__Member, _asn_ctx),
75 asn_MAP_Member_tag2el_2,
76 3, /* Count of tags in the map */
77 asn_MAP_Member_oms_2, /* Optional members */
78 1, 0, /* Root/Additions */
79 3, /* First extension addition */
81 static /* Use -fall-defs-global to expose */
82 asn_TYPE_descriptor_t asn_DEF_Member_2 = {
86 asn_DEF_Member_tags_2,
87 sizeof(asn_DEF_Member_tags_2)
88 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
89 asn_DEF_Member_tags_2, /* Same as above */
90 sizeof(asn_DEF_Member_tags_2)
91 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
92 { 0, 0, SEQUENCE_constraint },
94 3, /* Elements count */
95 &asn_SPC_Member_specs_2 /* Additional specs */
98 asn_TYPE_member_t asn_MBR_CoMPInformationItem_1[] = {
100 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
105 0, 0, /* No default value */
109 static const ber_tlv_tag_t asn_DEF_CoMPInformationItem_tags_1[] = {
110 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
112 asn_SET_OF_specifics_t asn_SPC_CoMPInformationItem_specs_1 = {
113 sizeof(struct CoMPInformationItem),
114 offsetof(struct CoMPInformationItem, _asn_ctx),
115 0, /* XER encoding is XMLDelimitedItemList */
117 asn_TYPE_descriptor_t asn_DEF_CoMPInformationItem = {
118 "CoMPInformationItem",
119 "CoMPInformationItem",
121 asn_DEF_CoMPInformationItem_tags_1,
122 sizeof(asn_DEF_CoMPInformationItem_tags_1)
123 /sizeof(asn_DEF_CoMPInformationItem_tags_1[0]), /* 1 */
124 asn_DEF_CoMPInformationItem_tags_1, /* Same as above */
125 sizeof(asn_DEF_CoMPInformationItem_tags_1)
126 /sizeof(asn_DEF_CoMPInformationItem_tags_1[0]), /* 1 */
127 { 0, &asn_PER_type_CoMPInformationItem_constr_1, SEQUENCE_OF_constraint },
128 asn_MBR_CoMPInformationItem_1,
129 1, /* Single element */
130 &asn_SPC_CoMPInformationItem_specs_1 /* Additional specs */