/*
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 * From ASN.1 module "NR-RRC-Definitions"
 * 	found in "asn/nr-rrc-15.6.0.asn1"
 * 	`asn1c -fcompound-names -pdu=all -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example -D rrc`
 */

#include "ASN_RRC_DelayBudgetReport.h"

/*
 * This type is implemented using NativeEnumerated,
 * so here we adjust the DEF accordingly.
 */
static asn_per_constraints_t asn_PER_type_ASN_RRC_type1_constr_2 CC_NOTUSED = {
	{ APC_CONSTRAINED,	 5,  5,  0,  16 }	/* (0..16) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};
asn_per_constraints_t asn_PER_type_ASN_RRC_DelayBudgetReport_constr_1 CC_NOTUSED = {
	{ APC_CONSTRAINED | APC_EXTENSIBLE,  0,  0,  0,  0 }	/* (0..0,...) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_ASN_RRC_type1_value2enum_2[] = {
	{ 0,	11,	"msMinus1280" },
	{ 1,	10,	"msMinus640" },
	{ 2,	10,	"msMinus320" },
	{ 3,	10,	"msMinus160" },
	{ 4,	9,	"msMinus80" },
	{ 5,	9,	"msMinus60" },
	{ 6,	9,	"msMinus40" },
	{ 7,	9,	"msMinus20" },
	{ 8,	3,	"ms0" },
	{ 9,	4,	"ms20" },
	{ 10,	4,	"ms40" },
	{ 11,	4,	"ms60" },
	{ 12,	4,	"ms80" },
	{ 13,	5,	"ms160" },
	{ 14,	5,	"ms320" },
	{ 15,	5,	"ms640" },
	{ 16,	6,	"ms1280" }
};
static const unsigned int asn_MAP_ASN_RRC_type1_enum2value_2[] = {
	8,	/* ms0(8) */
	16,	/* ms1280(16) */
	13,	/* ms160(13) */
	9,	/* ms20(9) */
	14,	/* ms320(14) */
	10,	/* ms40(10) */
	11,	/* ms60(11) */
	15,	/* ms640(15) */
	12,	/* ms80(12) */
	0,	/* msMinus1280(0) */
	3,	/* msMinus160(3) */
	7,	/* msMinus20(7) */
	2,	/* msMinus320(2) */
	6,	/* msMinus40(6) */
	5,	/* msMinus60(5) */
	1,	/* msMinus640(1) */
	4	/* msMinus80(4) */
};
static const asn_INTEGER_specifics_t asn_SPC_ASN_RRC_type1_specs_2 = {
	asn_MAP_ASN_RRC_type1_value2enum_2,	/* "tag" => N; sorted by tag */
	asn_MAP_ASN_RRC_type1_enum2value_2,	/* N => "tag"; sorted by N */
	17,	/* Number of elements in the maps */
	0,	/* Enumeration is not extensible */
	1,	/* Strict enumeration */
	0,	/* Native long size */
	0
};
static const ber_tlv_tag_t asn_DEF_ASN_RRC_type1_tags_2[] = {
	(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
	(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_type1_2 = {
	"type1",
	"type1",
	&asn_OP_NativeEnumerated,
	asn_DEF_ASN_RRC_type1_tags_2,
	sizeof(asn_DEF_ASN_RRC_type1_tags_2)
		/sizeof(asn_DEF_ASN_RRC_type1_tags_2[0]) - 1, /* 1 */
	asn_DEF_ASN_RRC_type1_tags_2,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_type1_tags_2)
		/sizeof(asn_DEF_ASN_RRC_type1_tags_2[0]), /* 2 */
	{ 0, &asn_PER_type_ASN_RRC_type1_constr_2, NativeEnumerated_constraint },
	0, 0,	/* Defined elsewhere */
	&asn_SPC_ASN_RRC_type1_specs_2	/* Additional specs */
};

asn_TYPE_member_t asn_MBR_ASN_RRC_DelayBudgetReport_1[] = {
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_DelayBudgetReport, choice.type1),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_type1_2,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"type1"
		},
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_DelayBudgetReport_tag2el_1[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* type1 */
};
asn_CHOICE_specifics_t asn_SPC_ASN_RRC_DelayBudgetReport_specs_1 = {
	sizeof(struct ASN_RRC_DelayBudgetReport),
	offsetof(struct ASN_RRC_DelayBudgetReport, _asn_ctx),
	offsetof(struct ASN_RRC_DelayBudgetReport, present),
	sizeof(((struct ASN_RRC_DelayBudgetReport *)0)->present),
	asn_MAP_ASN_RRC_DelayBudgetReport_tag2el_1,
	1,	/* Count of tags in the map */
	0, 0,
	1	/* Extensions start */
};
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_DelayBudgetReport = {
	"DelayBudgetReport",
	"DelayBudgetReport",
	&asn_OP_CHOICE,
	0,	/* No effective tags (pointer) */
	0,	/* No effective tags (count) */
	0,	/* No tags (pointer) */
	0,	/* No tags (count) */
	{ 0, &asn_PER_type_ASN_RRC_DelayBudgetReport_constr_1, CHOICE_constraint },
	asn_MBR_ASN_RRC_DelayBudgetReport_1,
	1,	/* Elements count */
	&asn_SPC_ASN_RRC_DelayBudgetReport_specs_1	/* Additional specs */
};

