/*
 * 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_ServingCellConfigCommon_H_
#define	_ASN_RRC_ServingCellConfigCommon_H_


#include <asn_application.h>

/* Including external dependencies */
#include "ASN_RRC_PhysCellId.h"
#include <NativeEnumerated.h>
#include "ASN_RRC_SubcarrierSpacing.h"
#include <NativeInteger.h>
#include <BIT_STRING.h>
#include <constr_CHOICE.h>
#include <asn_SEQUENCE_OF.h>
#include <constr_SEQUENCE_OF.h>
#include "ASN_RRC_RateMatchPatternId.h"
#include <constr_SEQUENCE.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Dependencies */
typedef enum ASN_RRC_ServingCellConfigCommon__n_TimingAdvanceOffset {
	ASN_RRC_ServingCellConfigCommon__n_TimingAdvanceOffset_n0	= 0,
	ASN_RRC_ServingCellConfigCommon__n_TimingAdvanceOffset_n25600	= 1,
	ASN_RRC_ServingCellConfigCommon__n_TimingAdvanceOffset_n39936	= 2
} e_ASN_RRC_ServingCellConfigCommon__n_TimingAdvanceOffset;
typedef enum ASN_RRC_ServingCellConfigCommon__ssb_PositionsInBurst_PR {
	ASN_RRC_ServingCellConfigCommon__ssb_PositionsInBurst_PR_NOTHING,	/* No components present */
	ASN_RRC_ServingCellConfigCommon__ssb_PositionsInBurst_PR_shortBitmap,
	ASN_RRC_ServingCellConfigCommon__ssb_PositionsInBurst_PR_mediumBitmap,
	ASN_RRC_ServingCellConfigCommon__ssb_PositionsInBurst_PR_longBitmap
} ASN_RRC_ServingCellConfigCommon__ssb_PositionsInBurst_PR;
typedef enum ASN_RRC_ServingCellConfigCommon__ssb_periodicityServingCell {
	ASN_RRC_ServingCellConfigCommon__ssb_periodicityServingCell_ms5	= 0,
	ASN_RRC_ServingCellConfigCommon__ssb_periodicityServingCell_ms10	= 1,
	ASN_RRC_ServingCellConfigCommon__ssb_periodicityServingCell_ms20	= 2,
	ASN_RRC_ServingCellConfigCommon__ssb_periodicityServingCell_ms40	= 3,
	ASN_RRC_ServingCellConfigCommon__ssb_periodicityServingCell_ms80	= 4,
	ASN_RRC_ServingCellConfigCommon__ssb_periodicityServingCell_ms160	= 5,
	ASN_RRC_ServingCellConfigCommon__ssb_periodicityServingCell_spare2	= 6,
	ASN_RRC_ServingCellConfigCommon__ssb_periodicityServingCell_spare1	= 7
} e_ASN_RRC_ServingCellConfigCommon__ssb_periodicityServingCell;
typedef enum ASN_RRC_ServingCellConfigCommon__dmrs_TypeA_Position {
	ASN_RRC_ServingCellConfigCommon__dmrs_TypeA_Position_pos2	= 0,
	ASN_RRC_ServingCellConfigCommon__dmrs_TypeA_Position_pos3	= 1
} e_ASN_RRC_ServingCellConfigCommon__dmrs_TypeA_Position;

/* Forward declarations */
struct ASN_RRC_DownlinkConfigCommon;
struct ASN_RRC_UplinkConfigCommon;
struct ASN_RRC_SetupRelease_RateMatchPatternLTE_CRS;
struct ASN_RRC_TDD_UL_DL_ConfigCommon;
struct ASN_RRC_RateMatchPattern;

/* ASN_RRC_ServingCellConfigCommon */
typedef struct ASN_RRC_ServingCellConfigCommon {
	ASN_RRC_PhysCellId_t	*physCellId;	/* OPTIONAL */
	struct ASN_RRC_DownlinkConfigCommon	*downlinkConfigCommon;	/* OPTIONAL */
	struct ASN_RRC_UplinkConfigCommon	*uplinkConfigCommon;	/* OPTIONAL */
	struct ASN_RRC_UplinkConfigCommon	*supplementaryUplinkConfig;	/* OPTIONAL */
	long	*n_TimingAdvanceOffset;	/* OPTIONAL */
	struct ASN_RRC_ServingCellConfigCommon__ssb_PositionsInBurst {
		ASN_RRC_ServingCellConfigCommon__ssb_PositionsInBurst_PR present;
		union ASN_RRC_ServingCellConfigCommon__ASN_RRC_ssb_PositionsInBurst_u {
			BIT_STRING_t	 shortBitmap;
			BIT_STRING_t	 mediumBitmap;
			BIT_STRING_t	 longBitmap;
		} choice;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *ssb_PositionsInBurst;
	long	*ssb_periodicityServingCell;	/* OPTIONAL */
	long	 dmrs_TypeA_Position;
	struct ASN_RRC_SetupRelease_RateMatchPatternLTE_CRS	*lte_CRS_ToMatchAround;	/* OPTIONAL */
	struct ASN_RRC_ServingCellConfigCommon__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_ServingCellConfigCommon__rateMatchPatternToReleaseList {
		A_SEQUENCE_OF(ASN_RRC_RateMatchPatternId_t) list;
		
		/* Context for parsing across buffer boundaries */
		asn_struct_ctx_t _asn_ctx;
	} *rateMatchPatternToReleaseList;
	ASN_RRC_SubcarrierSpacing_t	*ssbSubcarrierSpacing;	/* OPTIONAL */
	struct ASN_RRC_TDD_UL_DL_ConfigCommon	*tdd_UL_DL_ConfigurationCommon;	/* OPTIONAL */
	long	 ss_PBCH_BlockPower;
	/*
	 * This type is extensible,
	 * possible extensions are below.
	 */
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} ASN_RRC_ServingCellConfigCommon_t;

/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_n_TimingAdvanceOffset_6;	// (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_ssb_periodicityServingCell_14;	// (Use -fall-defs-global to expose) */
/* extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_dmrs_TypeA_Position_23;	// (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_ASN_RRC_ServingCellConfigCommon;
extern asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_ServingCellConfigCommon_specs_1;
extern asn_TYPE_member_t asn_MBR_ASN_RRC_ServingCellConfigCommon_1[14];

#ifdef __cplusplus
}
#endif

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