colosseum-near-rt-ric/setup/e2mgr/E2Manager/3rdparty/asn1codec/e2ap_engine/NRNRB.c
Leonardo Bonati 60dffad583 First commit
2021-12-08 20:17:46 +00:00

133 lines
3.5 KiB
C

/*
* Copyright 2019 AT&T Intellectual Property
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* This source code is part of the near-RT RIC (RAN Intelligent Controller)
* platform project (RICP).
*/
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "X2AP-IEs"
* found in "../../asnFiles/X2AP-IEs.asn"
* `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
*/
#include "NRNRB.h"
/*
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
asn_per_constraints_t asn_PER_type_NRNRB_constr_1 CC_NOTUSED = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 5, 5, 0, 28 } /* (0..28,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_NRNRB_value2enum_1[] = {
{ 0, 5, "nrb11" },
{ 1, 5, "nrb18" },
{ 2, 5, "nrb24" },
{ 3, 5, "nrb25" },
{ 4, 5, "nrb31" },
{ 5, 5, "nrb32" },
{ 6, 5, "nrb38" },
{ 7, 5, "nrb51" },
{ 8, 5, "nrb52" },
{ 9, 5, "nrb65" },
{ 10, 5, "nrb66" },
{ 11, 5, "nrb78" },
{ 12, 5, "nrb79" },
{ 13, 5, "nrb93" },
{ 14, 6, "nrb106" },
{ 15, 6, "nrb107" },
{ 16, 6, "nrb121" },
{ 17, 6, "nrb132" },
{ 18, 6, "nrb133" },
{ 19, 6, "nrb135" },
{ 20, 6, "nrb160" },
{ 21, 6, "nrb162" },
{ 22, 6, "nrb189" },
{ 23, 6, "nrb216" },
{ 24, 6, "nrb217" },
{ 25, 6, "nrb245" },
{ 26, 6, "nrb264" },
{ 27, 6, "nrb270" },
{ 28, 6, "nrb273" }
/* This list is extensible */
};
static const unsigned int asn_MAP_NRNRB_enum2value_1[] = {
14, /* nrb106(14) */
15, /* nrb107(15) */
0, /* nrb11(0) */
16, /* nrb121(16) */
17, /* nrb132(17) */
18, /* nrb133(18) */
19, /* nrb135(19) */
20, /* nrb160(20) */
21, /* nrb162(21) */
1, /* nrb18(1) */
22, /* nrb189(22) */
23, /* nrb216(23) */
24, /* nrb217(24) */
2, /* nrb24(2) */
25, /* nrb245(25) */
3, /* nrb25(3) */
26, /* nrb264(26) */
27, /* nrb270(27) */
28, /* nrb273(28) */
4, /* nrb31(4) */
5, /* nrb32(5) */
6, /* nrb38(6) */
7, /* nrb51(7) */
8, /* nrb52(8) */
9, /* nrb65(9) */
10, /* nrb66(10) */
11, /* nrb78(11) */
12, /* nrb79(12) */
13 /* nrb93(13) */
/* This list is extensible */
};
const asn_INTEGER_specifics_t asn_SPC_NRNRB_specs_1 = {
asn_MAP_NRNRB_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_NRNRB_enum2value_1, /* N => "tag"; sorted by N */
29, /* Number of elements in the maps */
30, /* Extensions before this member */
1, /* Strict enumeration */
0, /* Native long size */
0
};
static const ber_tlv_tag_t asn_DEF_NRNRB_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NRNRB = {
"NRNRB",
"NRNRB",
&asn_OP_NativeEnumerated,
asn_DEF_NRNRB_tags_1,
sizeof(asn_DEF_NRNRB_tags_1)
/sizeof(asn_DEF_NRNRB_tags_1[0]), /* 1 */
asn_DEF_NRNRB_tags_1, /* Same as above */
sizeof(asn_DEF_NRNRB_tags_1)
/sizeof(asn_DEF_NRNRB_tags_1[0]), /* 1 */
{ 0, &asn_PER_type_NRNRB_constr_1, NativeEnumerated_constraint },
0, 0, /* Defined elsewhere */
&asn_SPC_NRNRB_specs_1 /* Additional specs */
};