Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "E2AP-PDU-Descriptions" |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 4 | * found in "spec/e2ap-v02.00.00.asn" |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 5 | * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example` |
| 6 | */ |
| 7 | |
| 8 | #include "InitiatingMessage.h" |
| 9 | |
| 10 | static const long asn_VAL_1_id_RICsubscription = 8; |
| 11 | static const long asn_VAL_1_reject = 0; |
| 12 | static const long asn_VAL_2_id_RICsubscriptionDelete = 9; |
| 13 | static const long asn_VAL_2_reject = 0; |
| 14 | static const long asn_VAL_3_id_RICserviceUpdate = 7; |
| 15 | static const long asn_VAL_3_reject = 0; |
| 16 | static const long asn_VAL_4_id_RICcontrol = 4; |
| 17 | static const long asn_VAL_4_reject = 0; |
| 18 | static const long asn_VAL_5_id_E2setup = 1; |
| 19 | static const long asn_VAL_5_reject = 0; |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 20 | static const long asn_VAL_6_id_E2nodeConfigurationUpdate = 10; |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 21 | static const long asn_VAL_6_reject = 0; |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 22 | static const long asn_VAL_7_id_E2connectionUpdate = 11; |
| 23 | static const long asn_VAL_7_reject = 0; |
| 24 | static const long asn_VAL_8_id_Reset = 3; |
| 25 | static const long asn_VAL_8_reject = 0; |
| 26 | static const long asn_VAL_9_id_RICindication = 5; |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 27 | static const long asn_VAL_9_ignore = 1; |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 28 | static const long asn_VAL_10_id_RICserviceQuery = 6; |
| 29 | static const long asn_VAL_10_ignore = 1; |
| 30 | static const long asn_VAL_11_id_ErrorIndication = 2; |
| 31 | static const long asn_VAL_11_ignore = 1; |
| 32 | static const long asn_VAL_12_id_RICsubscriptionDeleteRequired = 12; |
| 33 | static const long asn_VAL_12_ignore = 1; |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 34 | static const asn_ioc_cell_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows[] = { |
| 35 | { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionRequest }, |
| 36 | { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionResponse }, |
| 37 | { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionFailure }, |
| 38 | { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_1_id_RICsubscription }, |
| 39 | { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_1_reject }, |
| 40 | { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionDeleteRequest }, |
| 41 | { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteResponse }, |
| 42 | { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteFailure }, |
| 43 | { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_2_id_RICsubscriptionDelete }, |
| 44 | { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_2_reject }, |
| 45 | { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceUpdate }, |
| 46 | { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateAcknowledge }, |
| 47 | { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateFailure }, |
| 48 | { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_3_id_RICserviceUpdate }, |
| 49 | { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject }, |
| 50 | { "&InitiatingMessage", aioc__type, &asn_DEF_RICcontrolRequest }, |
| 51 | { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolAcknowledge }, |
| 52 | { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolFailure }, |
| 53 | { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_4_id_RICcontrol }, |
| 54 | { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_reject }, |
| 55 | { "&InitiatingMessage", aioc__type, &asn_DEF_E2setupRequest }, |
| 56 | { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2setupResponse }, |
| 57 | { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2setupFailure }, |
| 58 | { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_5_id_E2setup }, |
| 59 | { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_5_reject }, |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 60 | { "&InitiatingMessage", aioc__type, &asn_DEF_E2nodeConfigurationUpdate }, |
| 61 | { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2nodeConfigurationUpdateAcknowledge }, |
| 62 | { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2nodeConfigurationUpdateFailure }, |
| 63 | { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_6_id_E2nodeConfigurationUpdate }, |
| 64 | { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_6_reject }, |
| 65 | { "&InitiatingMessage", aioc__type, &asn_DEF_E2connectionUpdate }, |
| 66 | { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2connectionUpdateAcknowledge }, |
| 67 | { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2connectionUpdateFailure }, |
| 68 | { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_7_id_E2connectionUpdate }, |
| 69 | { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_reject }, |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 70 | { "&InitiatingMessage", aioc__type, &asn_DEF_ResetRequest }, |
| 71 | { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResetResponse }, |
| 72 | { "&UnsuccessfulOutcome", }, |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 73 | { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_8_id_Reset }, |
| 74 | { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_reject }, |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 75 | { "&InitiatingMessage", aioc__type, &asn_DEF_RICindication }, |
| 76 | { "&SuccessfulOutcome", }, |
| 77 | { "&UnsuccessfulOutcome", }, |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 78 | { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_9_id_RICindication }, |
| 79 | { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_ignore }, |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 80 | { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceQuery }, |
| 81 | { "&SuccessfulOutcome", }, |
| 82 | { "&UnsuccessfulOutcome", }, |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 83 | { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_10_id_RICserviceQuery }, |
| 84 | { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_10_ignore }, |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 85 | { "&InitiatingMessage", aioc__type, &asn_DEF_ErrorIndication }, |
| 86 | { "&SuccessfulOutcome", }, |
| 87 | { "&UnsuccessfulOutcome", }, |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 88 | { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_11_id_ErrorIndication }, |
| 89 | { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_11_ignore }, |
| 90 | { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionDeleteRequired }, |
| 91 | { "&SuccessfulOutcome", }, |
| 92 | { "&UnsuccessfulOutcome", }, |
| 93 | { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_12_id_RICsubscriptionDeleteRequired }, |
| 94 | { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_12_ignore } |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 95 | }; |
| 96 | static const asn_ioc_set_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1[] = { |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 97 | { 12, 5, asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows } |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 98 | }; |
| 99 | static int |
| 100 | memb_procedureCode_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, |
| 101 | asn_app_constraint_failed_f *ctfailcb, void *app_key) { |
| 102 | long value; |
| 103 | |
| 104 | if(!sptr) { |
| 105 | ASN__CTFAIL(app_key, td, sptr, |
| 106 | "%s: value not given (%s:%d)", |
| 107 | td->name, __FILE__, __LINE__); |
| 108 | return -1; |
| 109 | } |
| 110 | |
| 111 | value = *(const long *)sptr; |
| 112 | |
| 113 | if((value >= 0 && value <= 255)) { |
| 114 | /* Constraint check succeeded */ |
| 115 | return 0; |
| 116 | } else { |
| 117 | ASN__CTFAIL(app_key, td, sptr, |
| 118 | "%s: constraint failed (%s:%d)", |
| 119 | td->name, __FILE__, __LINE__); |
| 120 | return -1; |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | static asn_type_selector_result_t |
| 125 | select_InitiatingMessage_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { |
| 126 | asn_type_selector_result_t result = {0, 0}; |
| 127 | const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1; |
| 128 | size_t constraining_column = 3; /* &procedureCode */ |
| 129 | size_t for_column = 4; /* &criticality */ |
| 130 | size_t row, presence_index = 0; |
| 131 | const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct InitiatingMessage, procedureCode)); |
| 132 | |
| 133 | for(row=0; row < itable->rows_count; row++) { |
| 134 | const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; |
| 135 | const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; |
| 136 | |
| 137 | if(type_cell->cell_kind == aioc__undefined) |
| 138 | continue; |
| 139 | |
| 140 | presence_index++; |
| 141 | if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { |
| 142 | result.type_descriptor = type_cell->type_descriptor; |
| 143 | result.presence_index = presence_index; |
| 144 | break; |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | return result; |
| 149 | } |
| 150 | |
| 151 | static int |
| 152 | memb_criticality_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, |
| 153 | asn_app_constraint_failed_f *ctfailcb, void *app_key) { |
| 154 | |
| 155 | if(!sptr) { |
| 156 | ASN__CTFAIL(app_key, td, sptr, |
| 157 | "%s: value not given (%s:%d)", |
| 158 | td->name, __FILE__, __LINE__); |
| 159 | return -1; |
| 160 | } |
| 161 | |
| 162 | |
| 163 | if(1 /* No applicable constraints whatsoever */) { |
| 164 | /* Nothing is here. See below */ |
| 165 | } |
| 166 | |
| 167 | return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); |
| 168 | } |
| 169 | |
| 170 | static asn_type_selector_result_t |
| 171 | select_InitiatingMessage_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { |
| 172 | asn_type_selector_result_t result = {0, 0}; |
| 173 | const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1; |
| 174 | size_t constraining_column = 3; /* &procedureCode */ |
| 175 | size_t for_column = 0; /* &InitiatingMessage */ |
| 176 | size_t row, presence_index = 0; |
| 177 | const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct InitiatingMessage, procedureCode)); |
| 178 | |
| 179 | for(row=0; row < itable->rows_count; row++) { |
| 180 | const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; |
| 181 | const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; |
| 182 | |
| 183 | if(type_cell->cell_kind == aioc__undefined) |
| 184 | continue; |
| 185 | |
| 186 | presence_index++; |
| 187 | if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { |
| 188 | result.type_descriptor = type_cell->type_descriptor; |
| 189 | result.presence_index = presence_index; |
| 190 | break; |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | return result; |
| 195 | } |
| 196 | |
| 197 | static int |
| 198 | memb_value_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, |
| 199 | asn_app_constraint_failed_f *ctfailcb, void *app_key) { |
| 200 | |
| 201 | if(!sptr) { |
| 202 | ASN__CTFAIL(app_key, td, sptr, |
| 203 | "%s: value not given (%s:%d)", |
| 204 | td->name, __FILE__, __LINE__); |
| 205 | return -1; |
| 206 | } |
| 207 | |
| 208 | |
| 209 | if(1 /* No applicable constraints whatsoever */) { |
| 210 | /* Nothing is here. See below */ |
| 211 | } |
| 212 | |
| 213 | return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); |
| 214 | } |
| 215 | |
| 216 | static asn_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = { |
| 217 | { APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */, |
| 218 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 219 | 0, 0 /* No PER value map */ |
| 220 | }; |
| 221 | static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = { |
| 222 | { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, |
| 223 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 224 | 0, 0 /* No PER value map */ |
| 225 | }; |
| 226 | static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = { |
| 227 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 228 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 229 | 0, 0 /* No PER value map */ |
| 230 | }; |
| 231 | static asn_TYPE_member_t asn_MBR_value_4[] = { |
| 232 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICsubscriptionRequest), |
| 233 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 234 | 0, |
| 235 | &asn_DEF_RICsubscriptionRequest, |
| 236 | 0, |
| 237 | { 0, 0, 0 }, |
| 238 | 0, 0, /* No default value */ |
| 239 | "RICsubscriptionRequest" |
| 240 | }, |
| 241 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICsubscriptionDeleteRequest), |
| 242 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 243 | 0, |
| 244 | &asn_DEF_RICsubscriptionDeleteRequest, |
| 245 | 0, |
| 246 | { 0, 0, 0 }, |
| 247 | 0, 0, /* No default value */ |
| 248 | "RICsubscriptionDeleteRequest" |
| 249 | }, |
| 250 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICserviceUpdate), |
| 251 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 252 | 0, |
| 253 | &asn_DEF_RICserviceUpdate, |
| 254 | 0, |
| 255 | { 0, 0, 0 }, |
| 256 | 0, 0, /* No default value */ |
| 257 | "RICserviceUpdate" |
| 258 | }, |
| 259 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICcontrolRequest), |
| 260 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 261 | 0, |
| 262 | &asn_DEF_RICcontrolRequest, |
| 263 | 0, |
| 264 | { 0, 0, 0 }, |
| 265 | 0, 0, /* No default value */ |
| 266 | "RICcontrolRequest" |
| 267 | }, |
| 268 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.E2setupRequest), |
| 269 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 270 | 0, |
| 271 | &asn_DEF_E2setupRequest, |
| 272 | 0, |
| 273 | { 0, 0, 0 }, |
| 274 | 0, 0, /* No default value */ |
| 275 | "E2setupRequest" |
| 276 | }, |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 277 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.E2nodeConfigurationUpdate), |
| 278 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 279 | 0, |
| 280 | &asn_DEF_E2nodeConfigurationUpdate, |
| 281 | 0, |
| 282 | { 0, 0, 0 }, |
| 283 | 0, 0, /* No default value */ |
| 284 | "E2nodeConfigurationUpdate" |
| 285 | }, |
| 286 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.E2connectionUpdate), |
| 287 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 288 | 0, |
| 289 | &asn_DEF_E2connectionUpdate, |
| 290 | 0, |
| 291 | { 0, 0, 0 }, |
| 292 | 0, 0, /* No default value */ |
| 293 | "E2connectionUpdate" |
| 294 | }, |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 295 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ResetRequest), |
| 296 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 297 | 0, |
| 298 | &asn_DEF_ResetRequest, |
| 299 | 0, |
| 300 | { 0, 0, 0 }, |
| 301 | 0, 0, /* No default value */ |
| 302 | "ResetRequest" |
| 303 | }, |
| 304 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICindication), |
| 305 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 306 | 0, |
| 307 | &asn_DEF_RICindication, |
| 308 | 0, |
| 309 | { 0, 0, 0 }, |
| 310 | 0, 0, /* No default value */ |
| 311 | "RICindication" |
| 312 | }, |
| 313 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICserviceQuery), |
| 314 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 315 | 0, |
| 316 | &asn_DEF_RICserviceQuery, |
| 317 | 0, |
| 318 | { 0, 0, 0 }, |
| 319 | 0, 0, /* No default value */ |
| 320 | "RICserviceQuery" |
| 321 | }, |
| 322 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ErrorIndication), |
| 323 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 324 | 0, |
| 325 | &asn_DEF_ErrorIndication, |
| 326 | 0, |
| 327 | { 0, 0, 0 }, |
| 328 | 0, 0, /* No default value */ |
| 329 | "ErrorIndication" |
| 330 | }, |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 331 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICsubscriptionDeleteRequired), |
| 332 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 333 | 0, |
| 334 | &asn_DEF_RICsubscriptionDeleteRequired, |
| 335 | 0, |
| 336 | { 0, 0, 0 }, |
| 337 | 0, 0, /* No default value */ |
| 338 | "RICsubscriptionDeleteRequired" |
| 339 | }, |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 340 | }; |
| 341 | static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = { |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 342 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 11 }, /* RICsubscriptionRequest */ |
| 343 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 10 }, /* RICsubscriptionDeleteRequest */ |
| 344 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 9 }, /* RICserviceUpdate */ |
| 345 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 8 }, /* RICcontrolRequest */ |
| 346 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 7 }, /* E2setupRequest */ |
| 347 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 6 }, /* E2nodeConfigurationUpdate */ |
| 348 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 5 }, /* E2connectionUpdate */ |
| 349 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 4 }, /* ResetRequest */ |
| 350 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 3 }, /* RICindication */ |
| 351 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 9, -9, 2 }, /* RICserviceQuery */ |
| 352 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 10, -10, 1 }, /* ErrorIndication */ |
| 353 | { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 11, -11, 0 } /* RICsubscriptionDeleteRequired */ |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 354 | }; |
| 355 | static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = { |
| 356 | sizeof(struct InitiatingMessage__value), |
| 357 | offsetof(struct InitiatingMessage__value, _asn_ctx), |
| 358 | offsetof(struct InitiatingMessage__value, present), |
| 359 | sizeof(((struct InitiatingMessage__value *)0)->present), |
| 360 | asn_MAP_value_tag2el_4, |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 361 | 12, /* Count of tags in the map */ |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 362 | 0, 0, |
| 363 | -1 /* Extensions start */ |
| 364 | }; |
| 365 | static /* Use -fall-defs-global to expose */ |
| 366 | asn_TYPE_descriptor_t asn_DEF_value_4 = { |
| 367 | "value", |
| 368 | "value", |
| 369 | &asn_OP_OPEN_TYPE, |
| 370 | 0, /* No effective tags (pointer) */ |
| 371 | 0, /* No effective tags (count) */ |
| 372 | 0, /* No tags (pointer) */ |
| 373 | 0, /* No tags (count) */ |
| 374 | { 0, 0, OPEN_TYPE_constraint }, |
| 375 | asn_MBR_value_4, |
Anssi Mannila | 483bd16 | 2022-01-20 11:11:48 +0200 | [diff] [blame^] | 376 | 12, /* Elements count */ |
Juha Hyttinen | aada645 | 2020-04-07 08:47:58 +0300 | [diff] [blame] | 377 | &asn_SPC_value_specs_4 /* Additional specs */ |
| 378 | }; |
| 379 | |
| 380 | asn_TYPE_member_t asn_MBR_InitiatingMessage_1[] = { |
| 381 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, procedureCode), |
| 382 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 383 | -1, /* IMPLICIT tag at current level */ |
| 384 | &asn_DEF_ProcedureCode, |
| 385 | 0, |
| 386 | { 0, &asn_PER_memb_procedureCode_constr_2, memb_procedureCode_constraint_1 }, |
| 387 | 0, 0, /* No default value */ |
| 388 | "procedureCode" |
| 389 | }, |
| 390 | { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, criticality), |
| 391 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 392 | -1, /* IMPLICIT tag at current level */ |
| 393 | &asn_DEF_Criticality, |
| 394 | select_InitiatingMessage_criticality_type, |
| 395 | { 0, &asn_PER_memb_criticality_constr_3, memb_criticality_constraint_1 }, |
| 396 | 0, 0, /* No default value */ |
| 397 | "criticality" |
| 398 | }, |
| 399 | { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, value), |
| 400 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 401 | +1, /* EXPLICIT tag at current level */ |
| 402 | &asn_DEF_value_4, |
| 403 | select_InitiatingMessage_value_type, |
| 404 | { 0, &asn_PER_memb_value_constr_4, memb_value_constraint_1 }, |
| 405 | 0, 0, /* No default value */ |
| 406 | "value" |
| 407 | }, |
| 408 | }; |
| 409 | static const ber_tlv_tag_t asn_DEF_InitiatingMessage_tags_1[] = { |
| 410 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 411 | }; |
| 412 | static const asn_TYPE_tag2member_t asn_MAP_InitiatingMessage_tag2el_1[] = { |
| 413 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */ |
| 414 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ |
| 415 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ |
| 416 | }; |
| 417 | asn_SEQUENCE_specifics_t asn_SPC_InitiatingMessage_specs_1 = { |
| 418 | sizeof(struct InitiatingMessage), |
| 419 | offsetof(struct InitiatingMessage, _asn_ctx), |
| 420 | asn_MAP_InitiatingMessage_tag2el_1, |
| 421 | 3, /* Count of tags in the map */ |
| 422 | 0, 0, 0, /* Optional elements (not needed) */ |
| 423 | -1, /* First extension addition */ |
| 424 | }; |
| 425 | asn_TYPE_descriptor_t asn_DEF_InitiatingMessage = { |
| 426 | "InitiatingMessage", |
| 427 | "InitiatingMessage", |
| 428 | &asn_OP_SEQUENCE, |
| 429 | asn_DEF_InitiatingMessage_tags_1, |
| 430 | sizeof(asn_DEF_InitiatingMessage_tags_1) |
| 431 | /sizeof(asn_DEF_InitiatingMessage_tags_1[0]), /* 1 */ |
| 432 | asn_DEF_InitiatingMessage_tags_1, /* Same as above */ |
| 433 | sizeof(asn_DEF_InitiatingMessage_tags_1) |
| 434 | /sizeof(asn_DEF_InitiatingMessage_tags_1[0]), /* 1 */ |
| 435 | { 0, 0, SEQUENCE_constraint }, |
| 436 | asn_MBR_InitiatingMessage_1, |
| 437 | 3, /* Elements count */ |
| 438 | &asn_SPC_InitiatingMessage_specs_1 /* Additional specs */ |
| 439 | }; |
| 440 | |