subhash kumar singh | f86662b | 2022-03-22 00:39:54 +0530 | [diff] [blame^] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "E2AP-IEs" |
| 4 | * found in "e2ap-v2.asn" |
| 5 | * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-example -no-gen-OER` |
| 6 | */ |
| 7 | |
| 8 | #include "CauseRICrequest.h" |
| 9 | |
| 10 | /* |
| 11 | * This type is implemented using NativeEnumerated, |
| 12 | * so here we adjust the DEF accordingly. |
| 13 | */ |
| 14 | asn_per_constraints_t asn_PER_type_CauseRICrequest_constr_1 CC_NOTUSED = { |
| 15 | { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 13 } /* (0..13,...) */, |
| 16 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 17 | 0, 0 /* No PER value map */ |
| 18 | }; |
| 19 | static const asn_INTEGER_enum_map_t asn_MAP_CauseRICrequest_value2enum_1[] = { |
| 20 | { 0, 23, "ran-function-id-invalid" }, |
| 21 | { 1, 20, "action-not-supported" }, |
| 22 | { 2, 17, "excessive-actions" }, |
| 23 | { 3, 16, "duplicate-action" }, |
| 24 | { 4, 23, "duplicate-event-trigger" }, |
| 25 | { 5, 23, "function-resource-limit" }, |
| 26 | { 6, 18, "request-id-unknown" }, |
| 27 | { 7, 46, "inconsistent-action-subsequent-action-sequence" }, |
| 28 | { 8, 23, "control-message-invalid" }, |
| 29 | { 9, 27, "ric-call-process-id-invalid" }, |
| 30 | { 10, 21, "control-timer-expired" }, |
| 31 | { 11, 25, "control-failed-to-execute" }, |
| 32 | { 12, 16, "system-not-ready" }, |
| 33 | { 13, 11, "unspecified" } |
| 34 | /* This list is extensible */ |
| 35 | }; |
| 36 | static const unsigned int asn_MAP_CauseRICrequest_enum2value_1[] = { |
| 37 | 1, /* action-not-supported(1) */ |
| 38 | 11, /* control-failed-to-execute(11) */ |
| 39 | 8, /* control-message-invalid(8) */ |
| 40 | 10, /* control-timer-expired(10) */ |
| 41 | 3, /* duplicate-action(3) */ |
| 42 | 4, /* duplicate-event-trigger(4) */ |
| 43 | 2, /* excessive-actions(2) */ |
| 44 | 5, /* function-resource-limit(5) */ |
| 45 | 7, /* inconsistent-action-subsequent-action-sequence(7) */ |
| 46 | 0, /* ran-function-id-invalid(0) */ |
| 47 | 6, /* request-id-unknown(6) */ |
| 48 | 9, /* ric-call-process-id-invalid(9) */ |
| 49 | 12, /* system-not-ready(12) */ |
| 50 | 13 /* unspecified(13) */ |
| 51 | /* This list is extensible */ |
| 52 | }; |
| 53 | const asn_INTEGER_specifics_t asn_SPC_CauseRICrequest_specs_1 = { |
| 54 | asn_MAP_CauseRICrequest_value2enum_1, /* "tag" => N; sorted by tag */ |
| 55 | asn_MAP_CauseRICrequest_enum2value_1, /* N => "tag"; sorted by N */ |
| 56 | 14, /* Number of elements in the maps */ |
| 57 | 15, /* Extensions before this member */ |
| 58 | 1, /* Strict enumeration */ |
| 59 | 0, /* Native long size */ |
| 60 | 0 |
| 61 | }; |
| 62 | static const ber_tlv_tag_t asn_DEF_CauseRICrequest_tags_1[] = { |
| 63 | (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) |
| 64 | }; |
| 65 | asn_TYPE_descriptor_t asn_DEF_CauseRICrequest = { |
| 66 | "CauseRICrequest", |
| 67 | "CauseRICrequest", |
| 68 | &asn_OP_NativeEnumerated, |
| 69 | asn_DEF_CauseRICrequest_tags_1, |
| 70 | sizeof(asn_DEF_CauseRICrequest_tags_1) |
| 71 | /sizeof(asn_DEF_CauseRICrequest_tags_1[0]), /* 1 */ |
| 72 | asn_DEF_CauseRICrequest_tags_1, /* Same as above */ |
| 73 | sizeof(asn_DEF_CauseRICrequest_tags_1) |
| 74 | /sizeof(asn_DEF_CauseRICrequest_tags_1[0]), /* 1 */ |
| 75 | { 0, &asn_PER_type_CauseRICrequest_constr_1, NativeEnumerated_constraint }, |
| 76 | 0, 0, /* Defined elsewhere */ |
| 77 | &asn_SPC_CauseRICrequest_specs_1 /* Additional specs */ |
| 78 | }; |
| 79 | |