/*
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 * From ASN.1 module "NR-UE-Variables"
 * 	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_VarMeasConfig.h"

#include "ASN_RRC_MeasIdToAddModList.h"
#include "ASN_RRC_MeasObjectToAddModList.h"
#include "ASN_RRC_ReportConfigToAddModList.h"
#include "ASN_RRC_QuantityConfig.h"
static asn_per_constraints_t asn_PER_type_ASN_RRC_s_MeasureConfig_constr_6 CC_NOTUSED = {
	{ APC_CONSTRAINED,	 1,  1,  0,  1 }	/* (0..1) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};
static asn_TYPE_member_t asn_MBR_ASN_RRC_s_MeasureConfig_6[] = {
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_VarMeasConfig__s_MeasureConfig, choice.ssb_RSRP),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_RSRP_Range,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"ssb-RSRP"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_VarMeasConfig__s_MeasureConfig, choice.csi_RSRP),
		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_RSRP_Range,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"csi-RSRP"
		},
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_s_MeasureConfig_tag2el_6[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ssb-RSRP */
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* csi-RSRP */
};
static asn_CHOICE_specifics_t asn_SPC_ASN_RRC_s_MeasureConfig_specs_6 = {
	sizeof(struct ASN_RRC_VarMeasConfig__s_MeasureConfig),
	offsetof(struct ASN_RRC_VarMeasConfig__s_MeasureConfig, _asn_ctx),
	offsetof(struct ASN_RRC_VarMeasConfig__s_MeasureConfig, present),
	sizeof(((struct ASN_RRC_VarMeasConfig__s_MeasureConfig *)0)->present),
	asn_MAP_ASN_RRC_s_MeasureConfig_tag2el_6,
	2,	/* Count of tags in the map */
	0, 0,
	-1	/* Extensions start */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_s_MeasureConfig_6 = {
	"s-MeasureConfig",
	"s-MeasureConfig",
	&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_s_MeasureConfig_constr_6, CHOICE_constraint },
	asn_MBR_ASN_RRC_s_MeasureConfig_6,
	2,	/* Elements count */
	&asn_SPC_ASN_RRC_s_MeasureConfig_specs_6	/* Additional specs */
};

static asn_TYPE_member_t asn_MBR_ASN_RRC_VarMeasConfig_1[] = {
	{ ATF_POINTER, 5, offsetof(struct ASN_RRC_VarMeasConfig, measIdList),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_MeasIdToAddModList,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"measIdList"
		},
	{ ATF_POINTER, 4, offsetof(struct ASN_RRC_VarMeasConfig, measObjectList),
		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_MeasObjectToAddModList,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"measObjectList"
		},
	{ ATF_POINTER, 3, offsetof(struct ASN_RRC_VarMeasConfig, reportConfigList),
		(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_ReportConfigToAddModList,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"reportConfigList"
		},
	{ ATF_POINTER, 2, offsetof(struct ASN_RRC_VarMeasConfig, quantityConfig),
		(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_QuantityConfig,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"quantityConfig"
		},
	{ ATF_POINTER, 1, offsetof(struct ASN_RRC_VarMeasConfig, s_MeasureConfig),
		(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
		+1,	/* EXPLICIT tag at current level */
		&asn_DEF_ASN_RRC_s_MeasureConfig_6,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"s-MeasureConfig"
		},
};
static const int asn_MAP_ASN_RRC_VarMeasConfig_oms_1[] = { 0, 1, 2, 3, 4 };
static const ber_tlv_tag_t asn_DEF_ASN_RRC_VarMeasConfig_tags_1[] = {
	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_VarMeasConfig_tag2el_1[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measIdList */
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measObjectList */
    { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* reportConfigList */
    { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* quantityConfig */
    { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* s-MeasureConfig */
};
static asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_VarMeasConfig_specs_1 = {
	sizeof(struct ASN_RRC_VarMeasConfig),
	offsetof(struct ASN_RRC_VarMeasConfig, _asn_ctx),
	asn_MAP_ASN_RRC_VarMeasConfig_tag2el_1,
	5,	/* Count of tags in the map */
	asn_MAP_ASN_RRC_VarMeasConfig_oms_1,	/* Optional members */
	5, 0,	/* Root/Additions */
	-1,	/* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_VarMeasConfig = {
	"VarMeasConfig",
	"VarMeasConfig",
	&asn_OP_SEQUENCE,
	asn_DEF_ASN_RRC_VarMeasConfig_tags_1,
	sizeof(asn_DEF_ASN_RRC_VarMeasConfig_tags_1)
		/sizeof(asn_DEF_ASN_RRC_VarMeasConfig_tags_1[0]), /* 1 */
	asn_DEF_ASN_RRC_VarMeasConfig_tags_1,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_VarMeasConfig_tags_1)
		/sizeof(asn_DEF_ASN_RRC_VarMeasConfig_tags_1[0]), /* 1 */
	{ 0, 0, SEQUENCE_constraint },
	asn_MBR_ASN_RRC_VarMeasConfig_1,
	5,	/* Elements count */
	&asn_SPC_ASN_RRC_VarMeasConfig_specs_1	/* Additional specs */
};

