X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=sim%2Fe2-interface.git;a=blobdiff_plain;f=e2sim%2Fe2apv1sim%2FASN1c%2FUE-Report-Type.c;fp=e2sim%2Fe2apv1sim%2FASN1c%2FUE-Report-Type.c;h=1966c273c5b7166975847b7c523aa19cba7045f1;hp=0000000000000000000000000000000000000000;hb=b57063d875ff4f1f554c2f00122f2a4c21824b6f;hpb=5c3fd8f88224475176792cfeb82d533cc81c2586 diff --git a/e2sim/e2apv1sim/ASN1c/UE-Report-Type.c b/e2sim/e2apv1sim/ASN1c/UE-Report-Type.c new file mode 100644 index 0000000..1966c27 --- /dev/null +++ b/e2sim/e2apv1sim/ASN1c/UE-Report-Type.c @@ -0,0 +1,60 @@ +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + * From ASN.1 module "E2SM-KPM-IEs" + * found in "/home/rshacham/e2sm-kpm-v01.02.asn" + * `asn1c -fcompound-names` + */ + +#include "UE-Report-Type.h" + +/* + * This type is implemented using NativeEnumerated, + * so here we adjust the DEF accordingly. + */ +static asn_oer_constraints_t asn_OER_type_UE_Report_Type_constr_1 CC_NOTUSED = { + { 0, 0 }, + -1}; +asn_per_constraints_t asn_PER_type_UE_Report_Type_constr_1 CC_NOTUSED = { + { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */, + { APC_UNCONSTRAINED, -1, -1, 0, 0 }, + 0, 0 /* No PER value map */ +}; +static const asn_INTEGER_enum_map_t asn_MAP_UE_Report_Type_value2enum_1[] = { + { 0, 17, "oDU-Report-Per-UE" }, + { 1, 20, "oCU-CP-Report-Per-UE" }, + { 2, 20, "oCU-UP-Report-Per-UE" } + /* This list is extensible */ +}; +static const unsigned int asn_MAP_UE_Report_Type_enum2value_1[] = { + 1, /* oCU-CP-Report-Per-UE(1) */ + 2, /* oCU-UP-Report-Per-UE(2) */ + 0 /* oDU-Report-Per-UE(0) */ + /* This list is extensible */ +}; +const asn_INTEGER_specifics_t asn_SPC_UE_Report_Type_specs_1 = { + asn_MAP_UE_Report_Type_value2enum_1, /* "tag" => N; sorted by tag */ + asn_MAP_UE_Report_Type_enum2value_1, /* N => "tag"; sorted by N */ + 3, /* Number of elements in the maps */ + 4, /* Extensions before this member */ + 1, /* Strict enumeration */ + 0, /* Native long size */ + 0 +}; +static const ber_tlv_tag_t asn_DEF_UE_Report_Type_tags_1[] = { + (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) +}; +asn_TYPE_descriptor_t asn_DEF_UE_Report_Type = { + "UE-Report-Type", + "UE-Report-Type", + &asn_OP_NativeEnumerated, + asn_DEF_UE_Report_Type_tags_1, + sizeof(asn_DEF_UE_Report_Type_tags_1) + /sizeof(asn_DEF_UE_Report_Type_tags_1[0]), /* 1 */ + asn_DEF_UE_Report_Type_tags_1, /* Same as above */ + sizeof(asn_DEF_UE_Report_Type_tags_1) + /sizeof(asn_DEF_UE_Report_Type_tags_1[0]), /* 1 */ + { &asn_OER_type_UE_Report_Type_constr_1, &asn_PER_type_UE_Report_Type_constr_1, NativeEnumerated_constraint }, + 0, 0, /* Defined elsewhere */ + &asn_SPC_UE_Report_Type_specs_1 /* Additional specs */ +}; +