/*
 * 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_PDSCH_Config_H_
#define	_ASN_RRC_PDSCH_Config_H_


#include <asn_application.h>

/* Including external dependencies */
#include <NativeInteger.h>
#include <NativeEnumerated.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include "ASN_RRC_TCI-StateId.h"
#include "ASN_RRC_RateMatchPatternId.h"
#include <constr_SEQUENCE.h>
#include <constr_CHOICE.h>
#include "ASN_RRC_ZP-CSI-RS-ResourceId.h"
#include "ASN_RRC_ZP-CSI-RS-ResourceSetId.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Dependencies */
typedef enum ASN_RRC_PDSCH_Config__vrb_ToPRB_Interleaver {
	ASN_RRC_PDSCH_Config__vrb_ToPRB_Interleaver_n2	= 0,
	ASN_RRC_PDSCH_Config__vrb_ToPRB_Interleaver_n4	= 1
} e_ASN_RRC_PDSCH_Config__vrb_ToPRB_Interleaver;
typedef enum ASN_RRC_PDSCH_Config__resourceAllocation {
	ASN_RRC_PDSCH_Config__resourceAllocation_resourceAllocationType0	= 0,
	ASN_RRC_PDSCH_Config__resourceAllocation_resourceAllocationType1	= 1,
	ASN_RRC_PDSCH_Config__resourceAllocation_dynamicSwitch	= 2
} e_ASN_RRC_PDSCH_Config__resourceAllocation;
typedef enum ASN_RRC_PDSCH_Config__pdsch_AggregationFactor {
	ASN_RRC_PDSCH_Config__pdsch_AggregationFactor_n2	= 0,
	ASN_RRC_PDSCH_Config__pdsch_AggregationFactor_n4	= 1,
	ASN_RRC_PDSCH_Config__pdsch_AggregationFactor_n8	= 2
} e_ASN_RRC_PDSCH_Config__pdsch_AggregationFactor;
typedef enum ASN_RRC_PDSCH_Config__rbg_Size {
	ASN_RRC_PDSCH_Config__rbg_Size_config1	= 0,
	ASN_RRC_PDSCH_Config__rbg_Size_config2	= 1
} e_ASN_RRC_PDSCH_Config__rbg_Size;
typedef enum ASN_RRC_PDSCH_Config__mcs_Table {
	ASN_RRC_PDSCH_Config__mcs_Table_qam256	= 0,
	ASN_RRC_PDSCH_Config__mcs_Table_qam64LowSE	= 1
} e_ASN_RRC_PDSCH_Config__mcs_Table;
typedef enum ASN_RRC_PDSCH_Config__maxNrofCodeWordsScheduledByDCI {
	ASN_RRC_PDSCH_Config__maxNrofCodeWordsScheduledByDCI_n1	= 0,
	ASN_RRC_PDSCH_Config__maxNrofCodeWordsScheduledByDCI_n2	= 1
} e_ASN_RRC_PDSCH_Config__maxNrofCodeWordsScheduledByDCI;
typedef enum ASN_RRC_PDSCH_Config__prb_BundlingType_PR {
	ASN_RRC_PDSCH_Config__prb_BundlingType_PR_NOTHING,	/* No components present */
	ASN_RRC_PDSCH_Config__prb_BundlingType_PR_staticBundling,
	ASN_RRC_PDSCH_Config__prb_BundlingType_PR_dynamicBundling
} ASN_RRC_PDSCH_Config__prb_BundlingType_PR;
typedef enum ASN_RRC_PDSCH_Config__prb_BundlingType__staticBundling__bundleSize {
	ASN_RRC_PDSCH_Config__prb_BundlingType__staticBundling__bundleSize_n4	= 0,
	ASN_RRC_PDSCH_Config__prb_BundlingType__staticBundling__bundleSize_wideband	= 1
} e_ASN_RRC_PDSCH_Config__prb_BundlingType__staticBundling__bundleSize;
typedef enum ASN_RRC_PDSCH_Config__prb_BundlingType__dynamicBundling__bundleSizeSet1 {
	ASN_RRC_PDSCH_Config__prb_BundlingType__dynamicBundling__bundleSizeSet1_n4	= 0,
	ASN_RRC_PDSCH_Config__prb_BundlingType__dynamicBundling__bundleSizeSet1_wideband	= 1,
	ASN_RRC_PDSCH_Config__prb_BundlingType__dynamicBundling__bundleSizeSet1_n2_wideband	= 2,
	ASN_RRC_PDSCH_Config__prb_BundlingType__dynamicBundling__bundleSizeSet1_n4_wideband	= 3
} e_ASN_RRC_PDSCH_Config__prb_BundlingType__dynamicBundling__bundleSizeSet1;
typedef enum ASN_RRC_PDSCH_Config__prb_BundlingType__dynamicBundling__bundleSizeSet2 {
	ASN_RRC_PDSCH_Config__prb_BundlingType__dynamicBundling__bundleSizeSet2_n4	= 0,
	ASN_RRC_PDSCH_Config__prb_BundlingType__dynamicBundling__bundleSizeSet2_wideband	= 1
} e_ASN_RRC_PDSCH_Config__prb_BundlingType__dynamicBundling__bundleSizeSet2;

/* Forward declarations */
struct ASN_RRC_SetupRelease_DMRS_DownlinkConfig;
struct ASN_RRC_SetupRelease_PDSCH_TimeDomainResourceAllocationList;
struct ASN_RRC_RateMatchPatternGroup;
struct ASN_RRC_SetupRelease_ZP_CSI_RS_ResourceSet;
struct ASN_RRC_TCI_State;
struct ASN_RRC_RateMatchPattern;
struct ASN_RRC_ZP_CSI_RS_Resource;
struct ASN_RRC_ZP_CSI_RS_ResourceSet;

/* ASN_RRC_PDSCH-Config */
typedef struct ASN_RRC_PDSCH_Config {
	long	*dataScramblingIdentityPDSCH;	/* OPTIONAL */
	struct ASN_RRC_SetupRelease_DMRS_DownlinkConfig	*dmrs_DownlinkForPDSCH_MappingTypeA;	/* OPTIONAL */
	struct ASN_RRC_SetupRelease_DMRS_DownlinkConfig	*dmrs_DownlinkForPDSCH_MappingTypeB;	/* OPTIONAL */
	struct ASN_RRC_PDSCH_Config__tci_StatesToAddModList {
		A_SEQUENCE_OF(struct ASN_RRC_TCI_State) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *tci_StatesToAddModList;
	struct ASN_RRC_PDSCH_Config__tci_StatesToReleaseList {
		A_SEQUENCE_OF(ASN_RRC_TCI_StateId_t) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *tci_StatesToReleaseList;
	long	*vrb_ToPRB_Interleaver;	/* OPTIONAL */
	long	 resourceAllocation;
	struct ASN_RRC_SetupRelease_PDSCH_TimeDomainResourceAllocationList	*pdsch_TimeDomainAllocationList;	/* OPTIONAL */
	long	*pdsch_AggregationFactor;	/* OPTIONAL */
	struct ASN_RRC_PDSCH_Config__rateMatchPatternToAddModList {
		A_SEQUENCE_OF(struct ASN_RRC_RateMatchPattern) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *rateMatchPatternToAddModList;
	struct ASN_RRC_PDSCH_Config__rateMatchPatternToReleaseList {
		A_SEQUENCE_OF(ASN_RRC_RateMatchPatternId_t) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *rateMatchPatternToReleaseList;
	struct ASN_RRC_RateMatchPatternGroup	*rateMatchPatternGroup1;	/* OPTIONAL */
	struct ASN_RRC_RateMatchPatternGroup	*rateMatchPatternGroup2;	/* OPTIONAL */
	long	 rbg_Size;
	long	*mcs_Table;	/* OPTIONAL */
	long	*maxNrofCodeWordsScheduledByDCI;	/* OPTIONAL */
	struct ASN_RRC_PDSCH_Config__prb_BundlingType {
		ASN_RRC_PDSCH_Config__prb_BundlingType_PR present;
		union ASN_RRC_PDSCH_Config__ASN_RRC_prb_BundlingType_u {
			struct ASN_RRC_PDSCH_Config__prb_BundlingType__staticBundling {
				long	*bundleSize;	/* OPTIONAL */
				
				/* Context for parsing across buffer boundaries */
				asn_struct_ctx_t _asn_ctx;
			} *staticBundling;
			struct ASN_RRC_PDSCH_Config__prb_BundlingType__dynamicBundling {
				long	*bundleSizeSet1;	/* OPTIONAL */
				long	*bundleSizeSet2;	/* OPTIONAL */
				
				/* Context for parsing across buffer boundaries */
				asn_struct_ctx_t _asn_ctx;
			} *dynamicBundling;
		} choice;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} prb_BundlingType;
	struct ASN_RRC_PDSCH_Config__zp_CSI_RS_ResourceToAddModList {
		A_SEQUENCE_OF(struct ASN_RRC_ZP_CSI_RS_Resource) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *zp_CSI_RS_ResourceToAddModList;
	struct ASN_RRC_PDSCH_Config__zp_CSI_RS_ResourceToReleaseList {
		A_SEQUENCE_OF(ASN_RRC_ZP_CSI_RS_ResourceId_t) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *zp_CSI_RS_ResourceToReleaseList;
	struct ASN_RRC_PDSCH_Config__aperiodic_ZP_CSI_RS_ResourceSetsToAddModList {
		A_SEQUENCE_OF(struct ASN_RRC_ZP_CSI_RS_ResourceSet) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *aperiodic_ZP_CSI_RS_ResourceSetsToAddModList;
	struct ASN_RRC_PDSCH_Config__aperiodic_ZP_CSI_RS_ResourceSetsToReleaseList {
		A_SEQUENCE_OF(ASN_RRC_ZP_CSI_RS_ResourceSetId_t) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *aperiodic_ZP_CSI_RS_ResourceSetsToReleaseList;
	struct ASN_RRC_PDSCH_Config__sp_ZP_CSI_RS_ResourceSetsToAddModList {
		A_SEQUENCE_OF(struct ASN_RRC_ZP_CSI_RS_ResourceSet) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *sp_ZP_CSI_RS_ResourceSetsToAddModList;
	struct ASN_RRC_PDSCH_Config__sp_ZP_CSI_RS_ResourceSetsToReleaseList {
		A_SEQUENCE_OF(ASN_RRC_ZP_CSI_RS_ResourceSetId_t) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *sp_ZP_CSI_RS_ResourceSetsToReleaseList;
	struct ASN_RRC_SetupRelease_ZP_CSI_RS_ResourceSet	*p_ZP_CSI_RS_ResourceSet;	/* OPTIONAL */
	/*
	 * This type is extensible,
	 * possible extensions are below.
	 */
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} ASN_RRC_PDSCH_Config_t;

/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_vrb_ToPRB_Interleaver_9;	// (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_resourceAllocation_12;	// (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_pdsch_AggregationFactor_17;	// (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_rbg_Size_27;	// (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_mcs_Table_30;	// (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_maxNrofCodeWordsScheduledByDCI_33;	// (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_bundleSize_38;	// (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_bundleSizeSet1_42;	// (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_bundleSizeSet2_47;	// (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_PDSCH_Config;
extern asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_PDSCH_Config_specs_1;
extern asn_TYPE_member_t asn_MBR_ASN_RRC_PDSCH_Config_1[24];

#ifdef __cplusplus
}
#endif

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