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.
21 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
22 * From ASN.1 module "X2AP-IEs"
23 * found in "../../asnFiles/X2AP-IEs.asn"
24 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
27 #include "CoMPInformationItem.h"
29 #include "ProtocolExtensionContainer.h"
30 asn_per_constraints_t asn_PER_type_CoMPInformationItem_constr_1 CC_NOTUSED = {
31 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
32 { APC_CONSTRAINED, 8, 8, 1, 256 } /* (SIZE(1..256)) */,
33 0, 0 /* No PER value map */
35 static asn_TYPE_member_t asn_MBR_Member_2[] = {
36 { ATF_NOFLAGS, 0, offsetof(struct CoMPInformationItem__Member, coMPHypothesisSet),
37 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
38 -1, /* IMPLICIT tag at current level */
39 &asn_DEF_CoMPHypothesisSet,
42 0, 0, /* No default value */
45 { ATF_NOFLAGS, 0, offsetof(struct CoMPInformationItem__Member, benefitMetric),
46 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
47 -1, /* IMPLICIT tag at current level */
48 &asn_DEF_BenefitMetric,
51 0, 0, /* No default value */
54 { ATF_POINTER, 1, offsetof(struct CoMPInformationItem__Member, iE_Extensions),
55 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
56 -1, /* IMPLICIT tag at current level */
57 &asn_DEF_ProtocolExtensionContainer_170P119,
60 0, 0, /* No default value */
64 static const int asn_MAP_Member_oms_2[] = { 2 };
65 static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
66 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
68 static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
69 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* coMPHypothesisSet */
70 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* benefitMetric */
71 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
73 static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = {
74 sizeof(struct CoMPInformationItem__Member),
75 offsetof(struct CoMPInformationItem__Member, _asn_ctx),
76 asn_MAP_Member_tag2el_2,
77 3, /* Count of tags in the map */
78 asn_MAP_Member_oms_2, /* Optional members */
79 1, 0, /* Root/Additions */
80 3, /* First extension addition */
82 static /* Use -fall-defs-global to expose */
83 asn_TYPE_descriptor_t asn_DEF_Member_2 = {
87 asn_DEF_Member_tags_2,
88 sizeof(asn_DEF_Member_tags_2)
89 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
90 asn_DEF_Member_tags_2, /* Same as above */
91 sizeof(asn_DEF_Member_tags_2)
92 /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */
93 { 0, 0, SEQUENCE_constraint },
95 3, /* Elements count */
96 &asn_SPC_Member_specs_2 /* Additional specs */
99 asn_TYPE_member_t asn_MBR_CoMPInformationItem_1[] = {
101 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
106 0, 0, /* No default value */
110 static const ber_tlv_tag_t asn_DEF_CoMPInformationItem_tags_1[] = {
111 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
113 asn_SET_OF_specifics_t asn_SPC_CoMPInformationItem_specs_1 = {
114 sizeof(struct CoMPInformationItem),
115 offsetof(struct CoMPInformationItem, _asn_ctx),
116 0, /* XER encoding is XMLDelimitedItemList */
118 asn_TYPE_descriptor_t asn_DEF_CoMPInformationItem = {
119 "CoMPInformationItem",
120 "CoMPInformationItem",
122 asn_DEF_CoMPInformationItem_tags_1,
123 sizeof(asn_DEF_CoMPInformationItem_tags_1)
124 /sizeof(asn_DEF_CoMPInformationItem_tags_1[0]), /* 1 */
125 asn_DEF_CoMPInformationItem_tags_1, /* Same as above */
126 sizeof(asn_DEF_CoMPInformationItem_tags_1)
127 /sizeof(asn_DEF_CoMPInformationItem_tags_1[0]), /* 1 */
128 { 0, &asn_PER_type_CoMPInformationItem_constr_1, SEQUENCE_OF_constraint },
129 asn_MBR_CoMPInformationItem_1,
130 1, /* Single element */
131 &asn_SPC_CoMPInformationItem_specs_1 /* Additional specs */