/*
 * Generated by asn1c-v1.4-43-gb7926896-2026-05-03 (https://github.com/mouse07410/asn1c)
 * From ASN.1 module "S1AP-IEs"
 * 	found in "../support/s1ap-r19.1.0/36413-j10.asn"
 * 	`asn1c -pdu=all -fprefix=S1AP_ -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-CBOR -no-gen-OER -no-gen-UPER`
 */

#include "S1AP_CauseRadioNetwork.h"

/*
 * This type is implemented using NativeEnumerated,
 * so here we adjust the DEF accordingly.
 */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
asn_per_constraints_t asn_PER_type_S1AP_CauseRadioNetwork_constr_1 CC_NOTUSED = {
	{ APC_CONSTRAINED | APC_EXTENSIBLE,  6,  6,  0,  35 }	/* (0..35,...) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};
#endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
static const asn_INTEGER_enum_map_t asn_MAP_S1AP_CauseRadioNetwork_value2enum_1[] = {
	{ 0,	11,	"unspecified" },
	{ 1,	22,	"tx2relocoverall-expiry" },
	{ 2,	19,	"successful-handover" },
	{ 3,	38,	"release-due-to-eutran-generated-reason" },
	{ 4,	18,	"handover-cancelled" },
	{ 5,	16,	"partial-handover" },
	{ 6,	45,	"ho-failure-in-target-EPC-eNB-or-target-system" },
	{ 7,	21,	"ho-target-not-allowed" },
	{ 8,	22,	"tS1relocoverall-expiry" },
	{ 9,	19,	"tS1relocprep-expiry" },
	{ 10,	18,	"cell-not-available" },
	{ 11,	16,	"unknown-targetID" },
	{ 12,	43,	"no-radio-resources-available-in-target-cell" },
	{ 13,	22,	"unknown-mme-ue-s1ap-id" },
	{ 14,	22,	"unknown-enb-ue-s1ap-id" },
	{ 15,	23,	"unknown-pair-ue-s1ap-id" },
	{ 16,	35,	"handover-desirable-for-radio-reason" },
	{ 17,	22,	"time-critical-handover" },
	{ 18,	30,	"resource-optimisation-handover" },
	{ 19,	27,	"reduce-load-in-serving-cell" },
	{ 20,	15,	"user-inactivity" },
	{ 21,	29,	"radio-connection-with-ue-lost" },
	{ 22,	27,	"load-balancing-tau-required" },
	{ 23,	21,	"cs-fallback-triggered" },
	{ 24,	31,	"ue-not-available-for-ps-service" },
	{ 25,	29,	"radio-resources-not-available" },
	{ 26,	36,	"failure-in-radio-interface-procedure" },
	{ 27,	23,	"invalid-qos-combination" },
	{ 28,	20,	"interrat-redirection" },
	{ 29,	32,	"interaction-with-other-procedure" },
	{ 30,	16,	"unknown-E-RAB-ID" },
	{ 31,	27,	"multiple-E-RAB-ID-instances" },
	{ 32,	63,	"encryption-and-or-integrity-protection-algorithms-not-supported" },
	{ 33,	34,	"s1-intra-system-handover-triggered" },
	{ 34,	34,	"s1-inter-system-handover-triggered" },
	{ 35,	21,	"x2-handover-triggered" },
	{ 36,	25,	"redirection-towards-1xRTT" },
	{ 37,	23,	"not-supported-QCI-value" },
	{ 38,	14,	"invalid-CSG-Id" },
	{ 39,	26,	"release-due-to-pre-emption" },
	{ 40,	27,	"n26-interface-not-available" },
	{ 41,	28,	"insufficient-ue-capabilities" },
	{ 42,	40,	"maximum-bearer-pre-emption-rate-exceeded" },
	{ 43,	36,	"up-integrity-protection-not-possible" },
	{ 44,	37,	"release-due-to-discontinuous-coverage" }
	/* This list is extensible */
};
static int asn_validate_S1AP_CauseRadioNetwork_1(const asn_TYPE_descriptor_t *td,
                       const void *sptr,
                       asn_app_constraint_failed_f *ctfailcb,
                       void* app_key) {
    if(! sptr) { return -1; }
    e_S1AP_CauseRadioNetwork value = *(e_S1AP_CauseRadioNetwork*)sptr;
    switch(value) {
    case S1AP_CauseRadioNetwork_unspecified:
    case S1AP_CauseRadioNetwork_tx2relocoverall_expiry:
    case S1AP_CauseRadioNetwork_successful_handover:
    case S1AP_CauseRadioNetwork_release_due_to_eutran_generated_reason:
    case S1AP_CauseRadioNetwork_handover_cancelled:
    case S1AP_CauseRadioNetwork_partial_handover:
    case S1AP_CauseRadioNetwork_ho_failure_in_target_EPC_eNB_or_target_system:
    case S1AP_CauseRadioNetwork_ho_target_not_allowed:
    case S1AP_CauseRadioNetwork_tS1relocoverall_expiry:
    case S1AP_CauseRadioNetwork_tS1relocprep_expiry:
    case S1AP_CauseRadioNetwork_cell_not_available:
    case S1AP_CauseRadioNetwork_unknown_targetID:
    case S1AP_CauseRadioNetwork_no_radio_resources_available_in_target_cell:
    case S1AP_CauseRadioNetwork_unknown_mme_ue_s1ap_id:
    case S1AP_CauseRadioNetwork_unknown_enb_ue_s1ap_id:
    case S1AP_CauseRadioNetwork_unknown_pair_ue_s1ap_id:
    case S1AP_CauseRadioNetwork_handover_desirable_for_radio_reason:
    case S1AP_CauseRadioNetwork_time_critical_handover:
    case S1AP_CauseRadioNetwork_resource_optimisation_handover:
    case S1AP_CauseRadioNetwork_reduce_load_in_serving_cell:
    case S1AP_CauseRadioNetwork_user_inactivity:
    case S1AP_CauseRadioNetwork_radio_connection_with_ue_lost:
    case S1AP_CauseRadioNetwork_load_balancing_tau_required:
    case S1AP_CauseRadioNetwork_cs_fallback_triggered:
    case S1AP_CauseRadioNetwork_ue_not_available_for_ps_service:
    case S1AP_CauseRadioNetwork_radio_resources_not_available:
    case S1AP_CauseRadioNetwork_failure_in_radio_interface_procedure:
    case S1AP_CauseRadioNetwork_invalid_qos_combination:
    case S1AP_CauseRadioNetwork_interrat_redirection:
    case S1AP_CauseRadioNetwork_interaction_with_other_procedure:
    case S1AP_CauseRadioNetwork_unknown_E_RAB_ID:
    case S1AP_CauseRadioNetwork_multiple_E_RAB_ID_instances:
    case S1AP_CauseRadioNetwork_encryption_and_or_integrity_protection_algorithms_not_supported:
    case S1AP_CauseRadioNetwork_s1_intra_system_handover_triggered:
    case S1AP_CauseRadioNetwork_s1_inter_system_handover_triggered:
    case S1AP_CauseRadioNetwork_x2_handover_triggered:
    case S1AP_CauseRadioNetwork_redirection_towards_1xRTT:
    case S1AP_CauseRadioNetwork_not_supported_QCI_value:
    case S1AP_CauseRadioNetwork_invalid_CSG_Id:
    case S1AP_CauseRadioNetwork_release_due_to_pre_emption:
    case S1AP_CauseRadioNetwork_n26_interface_not_available:
    case S1AP_CauseRadioNetwork_insufficient_ue_capabilities:
    case S1AP_CauseRadioNetwork_maximum_bearer_pre_emption_rate_exceeded:
    case S1AP_CauseRadioNetwork_up_integrity_protection_not_possible:
    case S1AP_CauseRadioNetwork_release_due_to_discontinuous_coverage:
        return 0;
    }
    return -1;
}
static const unsigned int asn_MAP_S1AP_CauseRadioNetwork_enum2value_1[] = {
	10,	/* cell-not-available(10) */
	23,	/* cs-fallback-triggered(23) */
	32,	/* encryption-and-or-integrity-protection-algorithms-not-supported(32) */
	26,	/* failure-in-radio-interface-procedure(26) */
	4,	/* handover-cancelled(4) */
	16,	/* handover-desirable-for-radio-reason(16) */
	6,	/* ho-failure-in-target-EPC-eNB-or-target-system(6) */
	7,	/* ho-target-not-allowed(7) */
	41,	/* insufficient-ue-capabilities(41) */
	29,	/* interaction-with-other-procedure(29) */
	28,	/* interrat-redirection(28) */
	38,	/* invalid-CSG-Id(38) */
	27,	/* invalid-qos-combination(27) */
	22,	/* load-balancing-tau-required(22) */
	42,	/* maximum-bearer-pre-emption-rate-exceeded(42) */
	31,	/* multiple-E-RAB-ID-instances(31) */
	40,	/* n26-interface-not-available(40) */
	12,	/* no-radio-resources-available-in-target-cell(12) */
	37,	/* not-supported-QCI-value(37) */
	5,	/* partial-handover(5) */
	21,	/* radio-connection-with-ue-lost(21) */
	25,	/* radio-resources-not-available(25) */
	36,	/* redirection-towards-1xRTT(36) */
	19,	/* reduce-load-in-serving-cell(19) */
	44,	/* release-due-to-discontinuous-coverage(44) */
	3,	/* release-due-to-eutran-generated-reason(3) */
	39,	/* release-due-to-pre-emption(39) */
	18,	/* resource-optimisation-handover(18) */
	34,	/* s1-inter-system-handover-triggered(34) */
	33,	/* s1-intra-system-handover-triggered(33) */
	2,	/* successful-handover(2) */
	8,	/* tS1relocoverall-expiry(8) */
	9,	/* tS1relocprep-expiry(9) */
	17,	/* time-critical-handover(17) */
	1,	/* tx2relocoverall-expiry(1) */
	24,	/* ue-not-available-for-ps-service(24) */
	30,	/* unknown-E-RAB-ID(30) */
	14,	/* unknown-enb-ue-s1ap-id(14) */
	13,	/* unknown-mme-ue-s1ap-id(13) */
	15,	/* unknown-pair-ue-s1ap-id(15) */
	11,	/* unknown-targetID(11) */
	0,	/* unspecified(0) */
	43,	/* up-integrity-protection-not-possible(43) */
	20,	/* user-inactivity(20) */
	35	/* x2-handover-triggered(35) */
	/* This list is extensible */
};
const asn_INTEGER_specifics_t asn_SPC_S1AP_CauseRadioNetwork_specs_1 = {
	asn_MAP_S1AP_CauseRadioNetwork_value2enum_1,	/* "tag" => N; sorted by tag */
	asn_MAP_S1AP_CauseRadioNetwork_enum2value_1,	/* N => "tag"; sorted by N */
	45,	/* Number of elements in the maps */
	37,	/* Extensions before this member */
	1,	/* Strict enumeration */
	0,	/* Native long size */
	0
};
static const ber_tlv_tag_t asn_DEF_S1AP_CauseRadioNetwork_tags_1[] = {
	(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_S1AP_CauseRadioNetwork = {
	"CauseRadioNetwork",
	"CauseRadioNetwork",
	&asn_OP_NativeEnumerated,
	asn_DEF_S1AP_CauseRadioNetwork_tags_1,
	sizeof(asn_DEF_S1AP_CauseRadioNetwork_tags_1)
		/sizeof(asn_DEF_S1AP_CauseRadioNetwork_tags_1[0]), /* 1 */
	asn_DEF_S1AP_CauseRadioNetwork_tags_1,	/* Same as above */
	sizeof(asn_DEF_S1AP_CauseRadioNetwork_tags_1)
		/sizeof(asn_DEF_S1AP_CauseRadioNetwork_tags_1[0]), /* 1 */
	{
#if !defined(ASN_DISABLE_OER_SUPPORT)
		0,
#endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
		&asn_PER_type_S1AP_CauseRadioNetwork_constr_1,
#endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
		0,
#endif  /* !defined(ASN_DISABLE_JER_SUPPORT) */
		asn_validate_S1AP_CauseRadioNetwork_1
	},
	0, 0,	/* Defined elsewhere */
	&asn_SPC_S1AP_CauseRadioNetwork_specs_1	/* Additional specs */
};

