/*
 * 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`
 */

#ifndef	_ASN_RRC_CFRA_H_
#define	_ASN_RRC_CFRA_H_


#include <asn_application.h>

/* Including external dependencies */
#include "ASN_RRC_RACH-ConfigGeneric.h"
#include <NativeEnumerated.h>
#include <constr_SEQUENCE.h>
#include <NativeInteger.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include "ASN_RRC_RSRP-Range.h"
#include <constr_CHOICE.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Dependencies */
typedef enum ASN_RRC_CFRA__occasions__ssb_perRACH_Occasion {
	ASN_RRC_CFRA__occasions__ssb_perRACH_Occasion_oneEighth	= 0,
	ASN_RRC_CFRA__occasions__ssb_perRACH_Occasion_oneFourth	= 1,
	ASN_RRC_CFRA__occasions__ssb_perRACH_Occasion_oneHalf	= 2,
	ASN_RRC_CFRA__occasions__ssb_perRACH_Occasion_one	= 3,
	ASN_RRC_CFRA__occasions__ssb_perRACH_Occasion_two	= 4,
	ASN_RRC_CFRA__occasions__ssb_perRACH_Occasion_four	= 5,
	ASN_RRC_CFRA__occasions__ssb_perRACH_Occasion_eight	= 6,
	ASN_RRC_CFRA__occasions__ssb_perRACH_Occasion_sixteen	= 7
} e_ASN_RRC_CFRA__occasions__ssb_perRACH_Occasion;
typedef enum ASN_RRC_CFRA__resources_PR {
	ASN_RRC_CFRA__resources_PR_NOTHING,	/* No components present */
	ASN_RRC_CFRA__resources_PR_ssb,
	ASN_RRC_CFRA__resources_PR_csirs
} ASN_RRC_CFRA__resources_PR;

/* Forward declarations */
struct ASN_RRC_CFRA_SSB_Resource;
struct ASN_RRC_CFRA_CSIRS_Resource;

/* ASN_RRC_CFRA */
typedef struct ASN_RRC_CFRA {
	struct ASN_RRC_CFRA__occasions {
		ASN_RRC_RACH_ConfigGeneric_t	 rach_ConfigGeneric;
		long	*ssb_perRACH_Occasion;	/* OPTIONAL */
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *occasions;
	struct ASN_RRC_CFRA__resources {
		ASN_RRC_CFRA__resources_PR present;
		union ASN_RRC_CFRA__ASN_RRC_resources_u {
			struct ASN_RRC_CFRA__resources__ssb {
				struct ASN_RRC_CFRA__resources__ssb__ssb_ResourceList {
					A_SEQUENCE_OF(struct ASN_RRC_CFRA_SSB_Resource) list;
					
					/* Context for parsing across buffer boundaries */
					asn_struct_ctx_t _asn_ctx;
				} ssb_ResourceList;
				long	 ra_ssb_OccasionMaskIndex;
				
				/* Context for parsing across buffer boundaries */
				asn_struct_ctx_t _asn_ctx;
			} *ssb;
			struct ASN_RRC_CFRA__resources__csirs {
				struct ASN_RRC_CFRA__resources__csirs__csirs_ResourceList {
					A_SEQUENCE_OF(struct ASN_RRC_CFRA_CSIRS_Resource) list;
					
					/* Context for parsing across buffer boundaries */
					asn_struct_ctx_t _asn_ctx;
				} csirs_ResourceList;
				ASN_RRC_RSRP_Range_t	 rsrp_ThresholdCSI_RS;
				
				/* Context for parsing across buffer boundaries */
				asn_struct_ctx_t _asn_ctx;
			} *csirs;
		} choice;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} resources;
	/*
	 * This type is extensible,
	 * possible extensions are below.
	 */
	struct ASN_RRC_CFRA__ext1 {
		long	*totalNumberOfRA_Preambles_v1530;	/* OPTIONAL */
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *ext1;
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} ASN_RRC_CFRA_t;

/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_ssb_perRACH_Occasion_4;	// (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_CFRA;
extern asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_CFRA_specs_1;
extern asn_TYPE_member_t asn_MBR_ASN_RRC_CFRA_1[3];

#ifdef __cplusplus
}
#endif

#endif	/* _ASN_RRC_CFRA_H_ */
#include <asn_internal.h>
