/*
 * 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_SRS_ResourceSet_H_
#define	_ASN_RRC_SRS_ResourceSet_H_


#include <asn_application.h>

/* Including external dependencies */
#include "ASN_RRC_SRS-ResourceSetId.h"
#include <NativeEnumerated.h>
#include "ASN_RRC_Alpha.h"
#include <NativeInteger.h>
#include "ASN_RRC_SRS-ResourceId.h"
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include "ASN_RRC_NZP-CSI-RS-ResourceId.h"
#include <constr_SEQUENCE.h>
#include <constr_CHOICE.h>
#include "ASN_RRC_SSB-Index.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Dependencies */
typedef enum ASN_RRC_SRS_ResourceSet__resourceType_PR {
	ASN_RRC_SRS_ResourceSet__resourceType_PR_NOTHING,	/* No components present */
	ASN_RRC_SRS_ResourceSet__resourceType_PR_aperiodic,
	ASN_RRC_SRS_ResourceSet__resourceType_PR_semi_persistent,
	ASN_RRC_SRS_ResourceSet__resourceType_PR_periodic
} ASN_RRC_SRS_ResourceSet__resourceType_PR;
typedef enum ASN_RRC_SRS_ResourceSet__usage {
	ASN_RRC_SRS_ResourceSet__usage_beamManagement	= 0,
	ASN_RRC_SRS_ResourceSet__usage_codebook	= 1,
	ASN_RRC_SRS_ResourceSet__usage_nonCodebook	= 2,
	ASN_RRC_SRS_ResourceSet__usage_antennaSwitching	= 3
} e_ASN_RRC_SRS_ResourceSet__usage;
typedef enum ASN_RRC_SRS_ResourceSet__pathlossReferenceRS_PR {
	ASN_RRC_SRS_ResourceSet__pathlossReferenceRS_PR_NOTHING,	/* No components present */
	ASN_RRC_SRS_ResourceSet__pathlossReferenceRS_PR_ssb_Index,
	ASN_RRC_SRS_ResourceSet__pathlossReferenceRS_PR_csi_RS_Index
} ASN_RRC_SRS_ResourceSet__pathlossReferenceRS_PR;
typedef enum ASN_RRC_SRS_ResourceSet__srs_PowerControlAdjustmentStates {
	ASN_RRC_SRS_ResourceSet__srs_PowerControlAdjustmentStates_sameAsFci2	= 0,
	ASN_RRC_SRS_ResourceSet__srs_PowerControlAdjustmentStates_separateClosedLoop	= 1
} e_ASN_RRC_SRS_ResourceSet__srs_PowerControlAdjustmentStates;

/* ASN_RRC_SRS-ResourceSet */
typedef struct ASN_RRC_SRS_ResourceSet {
	ASN_RRC_SRS_ResourceSetId_t	 srs_ResourceSetId;
	struct ASN_RRC_SRS_ResourceSet__srs_ResourceIdList {
		A_SEQUENCE_OF(ASN_RRC_SRS_ResourceId_t) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *srs_ResourceIdList;
	struct ASN_RRC_SRS_ResourceSet__resourceType {
		ASN_RRC_SRS_ResourceSet__resourceType_PR present;
		union ASN_RRC_SRS_ResourceSet__ASN_RRC_resourceType_u {
			struct ASN_RRC_SRS_ResourceSet__resourceType__aperiodic {
				long	 aperiodicSRS_ResourceTrigger;
				ASN_RRC_NZP_CSI_RS_ResourceId_t	*csi_RS;	/* OPTIONAL */
				long	*slotOffset;	/* OPTIONAL */
				/*
				 * This type is extensible,
				 * possible extensions are below.
				 */
				struct ASN_RRC_SRS_ResourceSet__resourceType__aperiodic__ext1 {
					struct ASN_RRC_SRS_ResourceSet__resourceType__aperiodic__ext1__aperiodicSRS_ResourceTriggerList_v1530 {
						A_SEQUENCE_OF(long) list;
						
						/* Context for parsing across buffer boundaries */
						asn_struct_ctx_t _asn_ctx;
					} *aperiodicSRS_ResourceTriggerList_v1530;
					
					/* 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;
			} *aperiodic;
			struct ASN_RRC_SRS_ResourceSet__resourceType__semi_persistent {
				ASN_RRC_NZP_CSI_RS_ResourceId_t	*associatedCSI_RS;	/* OPTIONAL */
				/*
				 * This type is extensible,
				 * possible extensions are below.
				 */
				
				/* Context for parsing across buffer boundaries */
				asn_struct_ctx_t _asn_ctx;
			} *semi_persistent;
			struct ASN_RRC_SRS_ResourceSet__resourceType__periodic {
				ASN_RRC_NZP_CSI_RS_ResourceId_t	*associatedCSI_RS;	/* OPTIONAL */
				/*
				 * This type is extensible,
				 * possible extensions are below.
				 */
				
				/* Context for parsing across buffer boundaries */
				asn_struct_ctx_t _asn_ctx;
			} *periodic;
		} choice;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} resourceType;
	long	 usage;
	ASN_RRC_Alpha_t	*alpha;	/* OPTIONAL */
	long	*p0;	/* OPTIONAL */
	struct ASN_RRC_SRS_ResourceSet__pathlossReferenceRS {
		ASN_RRC_SRS_ResourceSet__pathlossReferenceRS_PR present;
		union ASN_RRC_SRS_ResourceSet__ASN_RRC_pathlossReferenceRS_u {
			ASN_RRC_SSB_Index_t	 ssb_Index;
			ASN_RRC_NZP_CSI_RS_ResourceId_t	 csi_RS_Index;
		} choice;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *pathlossReferenceRS;
	long	*srs_PowerControlAdjustmentStates;	/* OPTIONAL */
	/*
	 * This type is extensible,
	 * possible extensions are below.
	 */
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} ASN_RRC_SRS_ResourceSet_t;

/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_usage_20;	// (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_srs_PowerControlAdjustmentStates_30;	// (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_SRS_ResourceSet;
extern asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_SRS_ResourceSet_specs_1;
extern asn_TYPE_member_t asn_MBR_ASN_RRC_SRS_ResourceSet_1[8];

#ifdef __cplusplus
}
#endif

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