/*
 * 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_SpatialRelationInfo_H_
#define	_ASN_RRC_SRS_SpatialRelationInfo_H_


#include <asn_application.h>

/* Including external dependencies */
#include "ASN_RRC_ServCellIndex.h"
#include "ASN_RRC_SSB-Index.h"
#include "ASN_RRC_NZP-CSI-RS-ResourceId.h"
#include "ASN_RRC_SRS-ResourceId.h"
#include "ASN_RRC_BWP-Id.h"
#include <constr_SEQUENCE.h>
#include <constr_CHOICE.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Dependencies */
typedef enum ASN_RRC_SRS_SpatialRelationInfo__referenceSignal_PR {
	ASN_RRC_SRS_SpatialRelationInfo__referenceSignal_PR_NOTHING,	/* No components present */
	ASN_RRC_SRS_SpatialRelationInfo__referenceSignal_PR_ssb_Index,
	ASN_RRC_SRS_SpatialRelationInfo__referenceSignal_PR_csi_RS_Index,
	ASN_RRC_SRS_SpatialRelationInfo__referenceSignal_PR_srs
} ASN_RRC_SRS_SpatialRelationInfo__referenceSignal_PR;

/* ASN_RRC_SRS-SpatialRelationInfo */
typedef struct ASN_RRC_SRS_SpatialRelationInfo {
	ASN_RRC_ServCellIndex_t	*servingCellId;	/* OPTIONAL */
	struct ASN_RRC_SRS_SpatialRelationInfo__referenceSignal {
		ASN_RRC_SRS_SpatialRelationInfo__referenceSignal_PR present;
		union ASN_RRC_SRS_SpatialRelationInfo__ASN_RRC_referenceSignal_u {
			ASN_RRC_SSB_Index_t	 ssb_Index;
			ASN_RRC_NZP_CSI_RS_ResourceId_t	 csi_RS_Index;
			struct ASN_RRC_SRS_SpatialRelationInfo__referenceSignal__srs {
				ASN_RRC_SRS_ResourceId_t	 resourceId;
				ASN_RRC_BWP_Id_t	 uplinkBWP;
				
				/* Context for parsing across buffer boundaries */
				asn_struct_ctx_t _asn_ctx;
			} *srs;
		} choice;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} referenceSignal;
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} ASN_RRC_SRS_SpatialRelationInfo_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_SRS_SpatialRelationInfo;
extern asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_SRS_SpatialRelationInfo_specs_1;
extern asn_TYPE_member_t asn_MBR_ASN_RRC_SRS_SpatialRelationInfo_1[2];

#ifdef __cplusplus
}
#endif

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