mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
196 lines
11 KiB
C
196 lines
11 KiB
C
/*
|
|
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
|
|
* From ASN.1 module "EUTRA-RRC-Definitions"
|
|
* found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn"
|
|
* `asn1c -gen-PER -fcompound-names -fnative-types`
|
|
*/
|
|
|
|
#ifndef _RACH_ConfigCommon_H_
|
|
#define _RACH_ConfigCommon_H_
|
|
|
|
|
|
#include <asn_application.h>
|
|
|
|
/* Including external dependencies */
|
|
#include <NativeInteger.h>
|
|
#include <NativeEnumerated.h>
|
|
#include <constr_SEQUENCE.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Dependencies */
|
|
typedef enum RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles {
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n4 = 0,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n8 = 1,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n12 = 2,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n16 = 3,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n20 = 4,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n24 = 5,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n28 = 6,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n32 = 7,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n36 = 8,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n40 = 9,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n44 = 10,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n48 = 11,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n52 = 12,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n56 = 13,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n60 = 14,
|
|
RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles_n64 = 15
|
|
} e_RACH_ConfigCommon__preambleInfo__numberOfRA_Preambles;
|
|
typedef enum RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA {
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n4 = 0,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n8 = 1,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n12 = 2,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n16 = 3,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n20 = 4,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n24 = 5,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n28 = 6,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n32 = 7,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n36 = 8,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n40 = 9,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n44 = 10,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n48 = 11,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n52 = 12,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n56 = 13,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA_n60 = 14
|
|
} e_RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__sizeOfRA_PreamblesGroupA;
|
|
typedef enum RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messageSizeGroupA {
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messageSizeGroupA_b56 = 0,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messageSizeGroupA_b144 = 1,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messageSizeGroupA_b208 = 2,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messageSizeGroupA_b256 = 3
|
|
} e_RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messageSizeGroupA;
|
|
typedef enum RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB {
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_minusinfinity = 0,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB0 = 1,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB5 = 2,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB8 = 3,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB10 = 4,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB12 = 5,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB15 = 6,
|
|
RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB_dB18 = 7
|
|
} e_RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig__messagePowerOffsetGroupB;
|
|
typedef enum RACH_ConfigCommon__powerRampingParameters__powerRampingStep {
|
|
RACH_ConfigCommon__powerRampingParameters__powerRampingStep_dB0 = 0,
|
|
RACH_ConfigCommon__powerRampingParameters__powerRampingStep_dB2 = 1,
|
|
RACH_ConfigCommon__powerRampingParameters__powerRampingStep_dB4 = 2,
|
|
RACH_ConfigCommon__powerRampingParameters__powerRampingStep_dB6 = 3
|
|
} e_RACH_ConfigCommon__powerRampingParameters__powerRampingStep;
|
|
typedef enum RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower {
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_120 = 0,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_118 = 1,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_116 = 2,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_114 = 3,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_112 = 4,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_110 = 5,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_108 = 6,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_106 = 7,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_104 = 8,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_102 = 9,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_100 = 10,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_98 = 11,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_96 = 12,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_94 = 13,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_92 = 14,
|
|
RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower_dBm_90 = 15
|
|
} e_RACH_ConfigCommon__powerRampingParameters__preambleInitialReceivedTargetPower;
|
|
typedef enum RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax {
|
|
RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n3 = 0,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n4 = 1,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n5 = 2,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n6 = 3,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n7 = 4,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n8 = 5,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n10 = 6,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n20 = 7,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n50 = 8,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n100 = 9,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax_n200 = 10
|
|
} e_RACH_ConfigCommon__ra_SupervisionInfo__preambleTransMax;
|
|
typedef enum RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize {
|
|
RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf2 = 0,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf3 = 1,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf4 = 2,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf5 = 3,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf6 = 4,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf7 = 5,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf8 = 6,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize_sf10 = 7
|
|
} e_RACH_ConfigCommon__ra_SupervisionInfo__ra_ResponseWindowSize;
|
|
typedef enum RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer {
|
|
RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf8 = 0,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf16 = 1,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf24 = 2,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf32 = 3,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf40 = 4,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf48 = 5,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf56 = 6,
|
|
RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer_sf64 = 7
|
|
} e_RACH_ConfigCommon__ra_SupervisionInfo__mac_ContentionResolutionTimer;
|
|
|
|
/* RACH-ConfigCommon */
|
|
typedef struct RACH_ConfigCommon {
|
|
struct RACH_ConfigCommon__preambleInfo {
|
|
long numberOfRA_Preambles;
|
|
struct RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig {
|
|
long sizeOfRA_PreamblesGroupA;
|
|
long messageSizeGroupA;
|
|
long messagePowerOffsetGroupB;
|
|
/*
|
|
* This type is extensible,
|
|
* possible extensions are below.
|
|
*/
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} *preamblesGroupAConfig;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} preambleInfo;
|
|
struct RACH_ConfigCommon__powerRampingParameters {
|
|
long powerRampingStep;
|
|
long preambleInitialReceivedTargetPower;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} powerRampingParameters;
|
|
struct RACH_ConfigCommon__ra_SupervisionInfo {
|
|
long preambleTransMax;
|
|
long ra_ResponseWindowSize;
|
|
long mac_ContentionResolutionTimer;
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} ra_SupervisionInfo;
|
|
long maxHARQ_Msg3Tx;
|
|
/*
|
|
* This type is extensible,
|
|
* possible extensions are below.
|
|
*/
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
asn_struct_ctx_t _asn_ctx;
|
|
} RACH_ConfigCommon_t;
|
|
|
|
/* Implementation */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_numberOfRA_Preambles_3; // (Use -fall-defs-global to expose) */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_sizeOfRA_PreamblesGroupA_21; // (Use -fall-defs-global to expose) */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_messageSizeGroupA_37; // (Use -fall-defs-global to expose) */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_messagePowerOffsetGroupB_42; // (Use -fall-defs-global to expose) */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_powerRampingStep_53; // (Use -fall-defs-global to expose) */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_preambleInitialReceivedTargetPower_58; // (Use -fall-defs-global to expose) */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_preambleTransMax_76; // (Use -fall-defs-global to expose) */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_ra_ResponseWindowSize_88; // (Use -fall-defs-global to expose) */
|
|
/* extern asn_TYPE_descriptor_t asn_DEF_mac_ContentionResolutionTimer_97; // (Use -fall-defs-global to expose) */
|
|
extern asn_TYPE_descriptor_t asn_DEF_RACH_ConfigCommon;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _RACH_ConfigCommon_H_ */
|
|
#include <asn_internal.h>
|