sjana | 76e88d2 | 2020-03-19 13:24:39 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "X2AP-IEs" |
| 4 | * found in "../../asn_defs/asn1/x2ap-15-04.asn" |
| 5 | * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER` |
| 6 | */ |
| 7 | |
| 8 | #include "X2N_CoMPInformationItem.h" |
| 9 | |
| 10 | #include "X2N_ProtocolExtensionContainer.h" |
| 11 | asn_per_constraints_t asn_PER_type_X2N_CoMPInformationItem_constr_1 CC_NOTUSED = { |
| 12 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 13 | { APC_CONSTRAINED, 8, 8, 1, 256 } /* (SIZE(1..256)) */, |
| 14 | 0, 0 /* No PER value map */ |
| 15 | }; |
| 16 | static asn_TYPE_member_t asn_MBR_X2N_Member_2[] = { |
| 17 | { ATF_NOFLAGS, 0, offsetof(struct X2N_CoMPInformationItem__Member, coMPHypothesisSet), |
| 18 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 19 | -1, /* IMPLICIT tag at current level */ |
| 20 | &asn_DEF_X2N_CoMPHypothesisSet, |
| 21 | 0, |
| 22 | { 0, 0, 0 }, |
| 23 | 0, 0, /* No default value */ |
| 24 | "coMPHypothesisSet" |
| 25 | }, |
| 26 | { ATF_NOFLAGS, 0, offsetof(struct X2N_CoMPInformationItem__Member, benefitMetric), |
| 27 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 28 | -1, /* IMPLICIT tag at current level */ |
| 29 | &asn_DEF_X2N_BenefitMetric, |
| 30 | 0, |
| 31 | { 0, 0, 0 }, |
| 32 | 0, 0, /* No default value */ |
| 33 | "benefitMetric" |
| 34 | }, |
| 35 | { ATF_POINTER, 1, offsetof(struct X2N_CoMPInformationItem__Member, iE_Extensions), |
| 36 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 37 | -1, /* IMPLICIT tag at current level */ |
| 38 | &asn_DEF_X2N_ProtocolExtensionContainer_8231P119, |
| 39 | 0, |
| 40 | { 0, 0, 0 }, |
| 41 | 0, 0, /* No default value */ |
| 42 | "iE-Extensions" |
| 43 | }, |
| 44 | }; |
| 45 | static const int asn_MAP_X2N_Member_oms_2[] = { 2 }; |
| 46 | static const ber_tlv_tag_t asn_DEF_X2N_Member_tags_2[] = { |
| 47 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 48 | }; |
| 49 | static const asn_TYPE_tag2member_t asn_MAP_X2N_Member_tag2el_2[] = { |
| 50 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* coMPHypothesisSet */ |
| 51 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* benefitMetric */ |
| 52 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */ |
| 53 | }; |
| 54 | static asn_SEQUENCE_specifics_t asn_SPC_X2N_Member_specs_2 = { |
| 55 | sizeof(struct X2N_CoMPInformationItem__Member), |
| 56 | offsetof(struct X2N_CoMPInformationItem__Member, _asn_ctx), |
| 57 | asn_MAP_X2N_Member_tag2el_2, |
| 58 | 3, /* Count of tags in the map */ |
| 59 | asn_MAP_X2N_Member_oms_2, /* Optional members */ |
| 60 | 1, 0, /* Root/Additions */ |
| 61 | 3, /* First extension addition */ |
| 62 | }; |
| 63 | static /* Use -fall-defs-global to expose */ |
| 64 | asn_TYPE_descriptor_t asn_DEF_X2N_Member_2 = { |
| 65 | "SEQUENCE", |
| 66 | "SEQUENCE", |
| 67 | &asn_OP_SEQUENCE, |
| 68 | asn_DEF_X2N_Member_tags_2, |
| 69 | sizeof(asn_DEF_X2N_Member_tags_2) |
| 70 | /sizeof(asn_DEF_X2N_Member_tags_2[0]), /* 1 */ |
| 71 | asn_DEF_X2N_Member_tags_2, /* Same as above */ |
| 72 | sizeof(asn_DEF_X2N_Member_tags_2) |
| 73 | /sizeof(asn_DEF_X2N_Member_tags_2[0]), /* 1 */ |
| 74 | { 0, 0, SEQUENCE_constraint }, |
| 75 | asn_MBR_X2N_Member_2, |
| 76 | 3, /* Elements count */ |
| 77 | &asn_SPC_X2N_Member_specs_2 /* Additional specs */ |
| 78 | }; |
| 79 | |
| 80 | asn_TYPE_member_t asn_MBR_X2N_CoMPInformationItem_1[] = { |
| 81 | { ATF_POINTER, 0, 0, |
| 82 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 83 | 0, |
| 84 | &asn_DEF_X2N_Member_2, |
| 85 | 0, |
| 86 | { 0, 0, 0 }, |
| 87 | 0, 0, /* No default value */ |
| 88 | "" |
| 89 | }, |
| 90 | }; |
| 91 | static const ber_tlv_tag_t asn_DEF_X2N_CoMPInformationItem_tags_1[] = { |
| 92 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 93 | }; |
| 94 | asn_SET_OF_specifics_t asn_SPC_X2N_CoMPInformationItem_specs_1 = { |
| 95 | sizeof(struct X2N_CoMPInformationItem), |
| 96 | offsetof(struct X2N_CoMPInformationItem, _asn_ctx), |
| 97 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 98 | }; |
| 99 | asn_TYPE_descriptor_t asn_DEF_X2N_CoMPInformationItem = { |
| 100 | "CoMPInformationItem", |
| 101 | "CoMPInformationItem", |
| 102 | &asn_OP_SEQUENCE_OF, |
| 103 | asn_DEF_X2N_CoMPInformationItem_tags_1, |
| 104 | sizeof(asn_DEF_X2N_CoMPInformationItem_tags_1) |
| 105 | /sizeof(asn_DEF_X2N_CoMPInformationItem_tags_1[0]), /* 1 */ |
| 106 | asn_DEF_X2N_CoMPInformationItem_tags_1, /* Same as above */ |
| 107 | sizeof(asn_DEF_X2N_CoMPInformationItem_tags_1) |
| 108 | /sizeof(asn_DEF_X2N_CoMPInformationItem_tags_1[0]), /* 1 */ |
| 109 | { 0, &asn_PER_type_X2N_CoMPInformationItem_constr_1, SEQUENCE_OF_constraint }, |
| 110 | asn_MBR_X2N_CoMPInformationItem_1, |
| 111 | 1, /* Single element */ |
| 112 | &asn_SPC_X2N_CoMPInformationItem_specs_1 /* Additional specs */ |
| 113 | }; |
| 114 | |