X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fcodec_utils%2FF1AP%2FPagingDRX.c;fp=src%2Fcodec_utils%2FF1AP%2FPagingDRX.c;h=7057e8af04f4e993dc6840d6671d4d281011c334;hb=3235ecfc7414aa0b72d0ad50db63ae8b5626045b;hp=0000000000000000000000000000000000000000;hpb=997e3f26d55352586a1d4d0c46c41a98452af88a;p=o-du%2Fl2.git diff --git a/src/codec_utils/F1AP/PagingDRX.c b/src/codec_utils/F1AP/PagingDRX.c new file mode 100755 index 000000000..7057e8af0 --- /dev/null +++ b/src/codec_utils/F1AP/PagingDRX.c @@ -0,0 +1,62 @@ +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + * From ASN.1 module "F1AP-IEs" + * found in "F1.asn1" + * `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example` + */ + +#include "PagingDRX.h" + +/* + * This type is implemented using NativeEnumerated, + * so here we adjust the DEF accordingly. + */ +static asn_oer_constraints_t asn_OER_type_PagingDRX_constr_1 CC_NOTUSED = { + { 0, 0 }, + -1}; +static asn_per_constraints_t asn_PER_type_PagingDRX_constr_1 CC_NOTUSED = { + { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */, + { APC_UNCONSTRAINED, -1, -1, 0, 0 }, + 0, 0 /* No PER value map */ +}; +static const asn_INTEGER_enum_map_t asn_MAP_PagingDRX_value2enum_1[] = { + { 0, 3, "v32" }, + { 1, 3, "v64" }, + { 2, 4, "v128" }, + { 3, 4, "v256" } + /* This list is extensible */ +}; +static const unsigned int asn_MAP_PagingDRX_enum2value_1[] = { + 2, /* v128(2) */ + 3, /* v256(3) */ + 0, /* v32(0) */ + 1 /* v64(1) */ + /* This list is extensible */ +}; +static const asn_INTEGER_specifics_t asn_SPC_PagingDRX_specs_1 = { + asn_MAP_PagingDRX_value2enum_1, /* "tag" => N; sorted by tag */ + asn_MAP_PagingDRX_enum2value_1, /* N => "tag"; sorted by N */ + 4, /* Number of elements in the maps */ + 5, /* Extensions before this member */ + 1, /* Strict enumeration */ + 0, /* Native long size */ + 0 +}; +static const ber_tlv_tag_t asn_DEF_PagingDRX_tags_1[] = { + (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) +}; +asn_TYPE_descriptor_t asn_DEF_PagingDRX = { + "PagingDRX", + "PagingDRX", + &asn_OP_NativeEnumerated, + asn_DEF_PagingDRX_tags_1, + sizeof(asn_DEF_PagingDRX_tags_1) + /sizeof(asn_DEF_PagingDRX_tags_1[0]), /* 1 */ + asn_DEF_PagingDRX_tags_1, /* Same as above */ + sizeof(asn_DEF_PagingDRX_tags_1) + /sizeof(asn_DEF_PagingDRX_tags_1[0]), /* 1 */ + { &asn_OER_type_PagingDRX_constr_1, &asn_PER_type_PagingDRX_constr_1, NativeEnumerated_constraint }, + 0, 0, /* Defined elsewhere */ + &asn_SPC_PagingDRX_specs_1 /* Additional specs */ +}; +