Juha Hyttinen | ff8dccd | 2019-12-10 14:34:07 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "X2AP-PDU-Contents" |
| 4 | * found in "Spec/e2_and_x2-combined-and-minimized.asn1" |
| 5 | * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example` |
| 6 | */ |
| 7 | |
| 8 | #include "NRNeighbour-Information.h" |
| 9 | |
| 10 | #include "ProtocolExtensionContainer.h" |
| 11 | static asn_per_constraints_t asn_PER_type_nRNeighbourModeInfo_constr_8 CC_NOTUSED = { |
| 12 | { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, |
| 13 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 14 | 0, 0 /* No PER value map */ |
| 15 | }; |
| 16 | asn_per_constraints_t asn_PER_type_NRNeighbour_Information_constr_1 CC_NOTUSED = { |
| 17 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 18 | { APC_CONSTRAINED, 10, 10, 1, 1024 } /* (SIZE(1..1024)) */, |
| 19 | 0, 0 /* No PER value map */ |
| 20 | }; |
| 21 | static asn_TYPE_member_t asn_MBR_nRNeighbourModeInfo_8[] = { |
| 22 | { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo, choice.fdd), |
| 23 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 24 | -1, /* IMPLICIT tag at current level */ |
| 25 | &asn_DEF_FDD_InfoNeighbourServedNRCell_Information, |
| 26 | 0, |
| 27 | { 0, 0, 0 }, |
| 28 | 0, 0, /* No default value */ |
| 29 | "fdd" |
| 30 | }, |
| 31 | { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo, choice.tdd), |
| 32 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 33 | -1, /* IMPLICIT tag at current level */ |
| 34 | &asn_DEF_TDD_InfoNeighbourServedNRCell_Information, |
| 35 | 0, |
| 36 | { 0, 0, 0 }, |
| 37 | 0, 0, /* No default value */ |
| 38 | "tdd" |
| 39 | }, |
| 40 | }; |
| 41 | static const asn_TYPE_tag2member_t asn_MAP_nRNeighbourModeInfo_tag2el_8[] = { |
| 42 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* fdd */ |
| 43 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* tdd */ |
| 44 | }; |
| 45 | static asn_CHOICE_specifics_t asn_SPC_nRNeighbourModeInfo_specs_8 = { |
| 46 | sizeof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo), |
| 47 | offsetof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo, _asn_ctx), |
| 48 | offsetof(struct NRNeighbour_Information__Member__nRNeighbourModeInfo, present), |
| 49 | sizeof(((struct NRNeighbour_Information__Member__nRNeighbourModeInfo *)0)->present), |
| 50 | asn_MAP_nRNeighbourModeInfo_tag2el_8, |
| 51 | 2, /* Count of tags in the map */ |
| 52 | 0, 0, |
| 53 | 2 /* Extensions start */ |
| 54 | }; |
| 55 | static /* Use -fall-defs-global to expose */ |
| 56 | asn_TYPE_descriptor_t asn_DEF_nRNeighbourModeInfo_8 = { |
| 57 | "nRNeighbourModeInfo", |
| 58 | "nRNeighbourModeInfo", |
| 59 | &asn_OP_CHOICE, |
| 60 | 0, /* No effective tags (pointer) */ |
| 61 | 0, /* No effective tags (count) */ |
| 62 | 0, /* No tags (pointer) */ |
| 63 | 0, /* No tags (count) */ |
| 64 | { 0, &asn_PER_type_nRNeighbourModeInfo_constr_8, CHOICE_constraint }, |
| 65 | asn_MBR_nRNeighbourModeInfo_8, |
| 66 | 2, /* Elements count */ |
| 67 | &asn_SPC_nRNeighbourModeInfo_specs_8 /* Additional specs */ |
| 68 | }; |
| 69 | |
| 70 | static asn_TYPE_member_t asn_MBR_Member_2[] = { |
| 71 | { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member, nrpCI), |
| 72 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 73 | -1, /* IMPLICIT tag at current level */ |
| 74 | &asn_DEF_NRPCI, |
| 75 | 0, |
| 76 | { 0, 0, 0 }, |
| 77 | 0, 0, /* No default value */ |
| 78 | "nrpCI" |
| 79 | }, |
| 80 | { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member, nrCellID), |
| 81 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 82 | -1, /* IMPLICIT tag at current level */ |
| 83 | &asn_DEF_NRCGI, |
| 84 | 0, |
| 85 | { 0, 0, 0 }, |
| 86 | 0, 0, /* No default value */ |
| 87 | "nrCellID" |
| 88 | }, |
| 89 | { ATF_POINTER, 2, offsetof(struct NRNeighbour_Information__Member, fiveGS_TAC), |
| 90 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 91 | -1, /* IMPLICIT tag at current level */ |
| 92 | &asn_DEF_FiveGS_TAC, |
| 93 | 0, |
| 94 | { 0, 0, 0 }, |
| 95 | 0, 0, /* No default value */ |
| 96 | "fiveGS-TAC" |
| 97 | }, |
| 98 | { ATF_POINTER, 1, offsetof(struct NRNeighbour_Information__Member, configured_TAC), |
| 99 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 100 | -1, /* IMPLICIT tag at current level */ |
| 101 | &asn_DEF_TAC, |
| 102 | 0, |
| 103 | { 0, 0, 0 }, |
| 104 | 0, 0, /* No default value */ |
| 105 | "configured-TAC" |
| 106 | }, |
| 107 | { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member, measurementTimingConfiguration), |
| 108 | (ASN_TAG_CLASS_CONTEXT | (4 << 2)), |
| 109 | -1, /* IMPLICIT tag at current level */ |
| 110 | &asn_DEF_OCTET_STRING, |
| 111 | 0, |
| 112 | { 0, 0, 0 }, |
| 113 | 0, 0, /* No default value */ |
| 114 | "measurementTimingConfiguration" |
| 115 | }, |
| 116 | { ATF_NOFLAGS, 0, offsetof(struct NRNeighbour_Information__Member, nRNeighbourModeInfo), |
| 117 | (ASN_TAG_CLASS_CONTEXT | (5 << 2)), |
| 118 | +1, /* EXPLICIT tag at current level */ |
| 119 | &asn_DEF_nRNeighbourModeInfo_8, |
| 120 | 0, |
| 121 | { 0, 0, 0 }, |
| 122 | 0, 0, /* No default value */ |
| 123 | "nRNeighbourModeInfo" |
| 124 | }, |
| 125 | { ATF_POINTER, 1, offsetof(struct NRNeighbour_Information__Member, iE_Extensions), |
| 126 | (ASN_TAG_CLASS_CONTEXT | (6 << 2)), |
| 127 | -1, /* IMPLICIT tag at current level */ |
| 128 | &asn_DEF_ProtocolExtensionContainer_8858P16, |
| 129 | 0, |
| 130 | { 0, 0, 0 }, |
| 131 | 0, 0, /* No default value */ |
| 132 | "iE-Extensions" |
| 133 | }, |
| 134 | }; |
| 135 | static const int asn_MAP_Member_oms_2[] = { 2, 3, 6 }; |
| 136 | static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = { |
| 137 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 138 | }; |
| 139 | static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = { |
| 140 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nrpCI */ |
| 141 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nrCellID */ |
| 142 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* fiveGS-TAC */ |
| 143 | { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* configured-TAC */ |
| 144 | { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* measurementTimingConfiguration */ |
| 145 | { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* nRNeighbourModeInfo */ |
| 146 | { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* iE-Extensions */ |
| 147 | }; |
| 148 | static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = { |
| 149 | sizeof(struct NRNeighbour_Information__Member), |
| 150 | offsetof(struct NRNeighbour_Information__Member, _asn_ctx), |
| 151 | asn_MAP_Member_tag2el_2, |
| 152 | 7, /* Count of tags in the map */ |
| 153 | asn_MAP_Member_oms_2, /* Optional members */ |
| 154 | 3, 0, /* Root/Additions */ |
| 155 | 7, /* First extension addition */ |
| 156 | }; |
| 157 | static /* Use -fall-defs-global to expose */ |
| 158 | asn_TYPE_descriptor_t asn_DEF_Member_2 = { |
| 159 | "SEQUENCE", |
| 160 | "SEQUENCE", |
| 161 | &asn_OP_SEQUENCE, |
| 162 | asn_DEF_Member_tags_2, |
| 163 | sizeof(asn_DEF_Member_tags_2) |
| 164 | /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */ |
| 165 | asn_DEF_Member_tags_2, /* Same as above */ |
| 166 | sizeof(asn_DEF_Member_tags_2) |
| 167 | /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */ |
| 168 | { 0, 0, SEQUENCE_constraint }, |
| 169 | asn_MBR_Member_2, |
| 170 | 7, /* Elements count */ |
| 171 | &asn_SPC_Member_specs_2 /* Additional specs */ |
| 172 | }; |
| 173 | |
| 174 | asn_TYPE_member_t asn_MBR_NRNeighbour_Information_1[] = { |
| 175 | { ATF_POINTER, 0, 0, |
| 176 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 177 | 0, |
| 178 | &asn_DEF_Member_2, |
| 179 | 0, |
| 180 | { 0, 0, 0 }, |
| 181 | 0, 0, /* No default value */ |
| 182 | "" |
| 183 | }, |
| 184 | }; |
| 185 | static const ber_tlv_tag_t asn_DEF_NRNeighbour_Information_tags_1[] = { |
| 186 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 187 | }; |
| 188 | asn_SET_OF_specifics_t asn_SPC_NRNeighbour_Information_specs_1 = { |
| 189 | sizeof(struct NRNeighbour_Information), |
| 190 | offsetof(struct NRNeighbour_Information, _asn_ctx), |
| 191 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 192 | }; |
| 193 | asn_TYPE_descriptor_t asn_DEF_NRNeighbour_Information = { |
| 194 | "NRNeighbour-Information", |
| 195 | "NRNeighbour-Information", |
| 196 | &asn_OP_SEQUENCE_OF, |
| 197 | asn_DEF_NRNeighbour_Information_tags_1, |
| 198 | sizeof(asn_DEF_NRNeighbour_Information_tags_1) |
| 199 | /sizeof(asn_DEF_NRNeighbour_Information_tags_1[0]), /* 1 */ |
| 200 | asn_DEF_NRNeighbour_Information_tags_1, /* Same as above */ |
| 201 | sizeof(asn_DEF_NRNeighbour_Information_tags_1) |
| 202 | /sizeof(asn_DEF_NRNeighbour_Information_tags_1[0]), /* 1 */ |
| 203 | { 0, &asn_PER_type_NRNeighbour_Information_constr_1, SEQUENCE_OF_constraint }, |
| 204 | asn_MBR_NRNeighbour_Information_1, |
| 205 | 1, /* Single element */ |
| 206 | &asn_SPC_NRNeighbour_Information_specs_1 /* Additional specs */ |
| 207 | }; |
| 208 | |