2 * Copyright 2019 AT&T Intellectual Property
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 * platform project (RICP).
25 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
26 * From ASN.1 module "E2AP-IEs"
27 * found in "../../asnFiles/e2ap-v031.asn"
28 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
34 * This type is implemented using NativeEnumerated,
35 * so here we adjust the DEF accordingly.
37 asn_per_constraints_t asn_PER_type_CauseRIC_constr_1 CC_NOTUSED = {
38 { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 12 } /* (0..12,...) */,
39 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
40 0, 0 /* No PER value map */
42 static const asn_INTEGER_enum_map_t asn_MAP_CauseRIC_value2enum_1[] = {
43 { 0, 19, "function-id-Invalid" },
44 { 1, 20, "action-not-supported" },
45 { 2, 17, "excessive-actions" },
46 { 3, 16, "duplicate-action" },
47 { 4, 15, "duplicate-event" },
48 { 5, 23, "function-resource-limit" },
49 { 6, 18, "request-id-unknown" },
50 { 7, 46, "inconsistent-action-subsequent-action-sequence" },
51 { 8, 23, "control-message-invalid" },
52 { 9, 23, "call-process-id-invalid" },
53 { 10, 21, "function-not-required" },
54 { 11, 19, "excessive-functions" },
55 { 12, 18, "ric-resource-limit" }
56 /* This list is extensible */
58 static const unsigned int asn_MAP_CauseRIC_enum2value_1[] = {
59 1, /* action-not-supported(1) */
60 9, /* call-process-id-invalid(9) */
61 8, /* control-message-invalid(8) */
62 3, /* duplicate-action(3) */
63 4, /* duplicate-event(4) */
64 2, /* excessive-actions(2) */
65 11, /* excessive-functions(11) */
66 0, /* function-id-Invalid(0) */
67 10, /* function-not-required(10) */
68 5, /* function-resource-limit(5) */
69 7, /* inconsistent-action-subsequent-action-sequence(7) */
70 6, /* request-id-unknown(6) */
71 12 /* ric-resource-limit(12) */
72 /* This list is extensible */
74 const asn_INTEGER_specifics_t asn_SPC_CauseRIC_specs_1 = {
75 asn_MAP_CauseRIC_value2enum_1, /* "tag" => N; sorted by tag */
76 asn_MAP_CauseRIC_enum2value_1, /* N => "tag"; sorted by N */
77 13, /* Number of elements in the maps */
78 14, /* Extensions before this member */
79 1, /* Strict enumeration */
80 0, /* Native long size */
83 static const ber_tlv_tag_t asn_DEF_CauseRIC_tags_1[] = {
84 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
86 asn_TYPE_descriptor_t asn_DEF_CauseRIC = {
89 &asn_OP_NativeEnumerated,
90 asn_DEF_CauseRIC_tags_1,
91 sizeof(asn_DEF_CauseRIC_tags_1)
92 /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */
93 asn_DEF_CauseRIC_tags_1, /* Same as above */
94 sizeof(asn_DEF_CauseRIC_tags_1)
95 /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */
96 { 0, &asn_PER_type_CauseRIC_constr_1, NativeEnumerated_constraint },
97 0, 0, /* Defined elsewhere */
98 &asn_SPC_CauseRIC_specs_1 /* Additional specs */